Browse Source

Work around an optimizer bug in gcc 4.3 on x86.

cache-refactoring
Klaus Treichel 16 years ago
parent
commit
a7974595b1
  1. 7
      ChangeLog
  2. 2
      tools/gen-apply.c

7
ChangeLog

@ -1,3 +1,10 @@
2009-01-30 Peter Fristedt <fristedt@gmail.com>
Kirill Kononenko <Kirill.Kononenko@gmail.com>
* tools/gen-apply.c (run_detect_struct_##n): Work around a bug in
gcc-4.3 with optimization level 2 and Debian Lenny. Make
'jit_nint stack[1]' volatile.
2009-01-01 Klaus Treichel <ktreichel@web.de>
* jit/jit-rules-x86-64.ins (JIT_OP_NFLOAT_TO_FLOAT32,

2
tools/gen-apply.c

@ -959,7 +959,7 @@ void detect_float_return(void)
void run_detect_struct_##n(void) \
{ \
jit_nint *args; \
jit_nint stack[1]; \
volatile jit_nint stack[1]; \
jit_nint buffer[64 / sizeof(jit_nint)]; \
void *apply_return; \
jit_builtin_apply_args(jit_nint *, args); \

Loading…
Cancel
Save