Declare vtopl in vswap at the beginning of the function before any assignments. Doing otherwise means C99 is assumed when compiling.
Unified · Split
| @@ -458,6 +458,7 @@ static void vseti(int r, int v) · 457 unmodified lines | ||
| 458 | 458 | |
| 459 | 459 | ST_FUNC void vswap(void) |
| 460 | 460 | { |
| 461 | + unsigned long *vtopl; | |
| 461 | 462 | /* cannot let cpu flags if other instruction are generated. Also |
| 462 | 463 | avoid leaving VT_JMP anywhere except on the top of the stack |
| 463 | 464 | because it would complicate the code generator. */ |
| @@ -473,7 +474,7 @@ ST_FUNC void vswap(void) · 9 unmodified lines | ||
| 473 | 474 | * vswap is called often and exchanging vtop[0] vs vtop[-1] is hot on |
| 474 | 475 | * profile, so it is hand optimized |
| 475 | 476 | */ |
| 476 | − unsigned long *vtopl = (unsigned long *)vtop; | |
| 477 | + vtopl = (unsigned long *) vtop; | |
| 477 | 478 | # define VSIZEL (sizeof(*vtop) / sizeof(*vtopl)) |
| 478 | 479 | |
| 479 | 480 | _STATIC_ASSERT( VSIZEL*sizeof(*vtopl) == sizeof(*vtop) ); |