------- Comment #6 from dominiq at lps dot ens dot fr  2009-02-21 09:14 -------
On powerpc-apple-darwin9 gcc-4.3.3 gives almost the same ICE:

/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c: In
function 'bar':
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:27:
warning: 'float' is promoted to 'double' when passed through '...'
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:27:
note: (so you should pass 'double' not 'float' to 'va_arg')
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:27:
note: if this code is reached, the program will abort
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:29:
internal compiler error: in move_insn, at haifa-sched.c:1786

while gcc-4.2.1 (Apple) gives:

/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c: In
function 'bar':
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:27:
warning: 'float' is promoted to 'double' when passed through '...'
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:27:
warning: (so you should pass 'double' not 'float' to 'va_arg')
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:27:
note: if this code is reached, the program will abort
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/execute/va-arg-trap-1.c:29:
internal compiler error: Bus error


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39254

Reply via email to