------- Comment #11 from amylaar at gcc dot gnu dot org 2009-03-03 09:40 ------- (In reply to comment #10) > Mike, as far as I can tell, you originally (in 1997) added the code to > rs6000.md which is now in rs6000.c:rs6000_emit_move and emits a USE > for SYMBOL_REFS that are the source of a move. (Search for > "Emit a USE operation").
I have tried to #ifdef 0 this code in rs6000_emit_move, and a regression test on gcc40 (powerpc64-unknown-linux-gnu) shows only two differences, i.e. FAIL: gcc.c-torture/execute/va-arg-trap-1.c compilation, -O2 (internal compile r error) FAIL: gcc.c-torture/execute/va-arg-trap-1.c compilation, -Os (internal compile r error) from the baseline went away. I've used revision 144485 for my baseline, and after determining that a standard bootstrap did not work (probably a 32/64 bit ABI problem, I didn't think it was worth the trouble to hand-bootstrap to 64 bit considering this is probably not the OS we really need testing) I built / tested with: ( make all-gcc all-target-libgcc all-target-libobjc all-target-libstdc++-v3 all-target-libgfortran;make check) > make.out 2>&1 & baseline summaries: === gcc Summary === # of expected passes 52951 # of unexpected failures 23 # of expected failures 204 # of unresolved testcases 2 # of unsupported tests 615 === g++ Summary === # of expected passes 19046 # of expected failures 140 # of unsupported tests 133 === gfortran Summary === # of expected passes 29054 # of expected failures 11 # of unsupported tests 183 === libstdc++ Summary === # of expected passes 5828 # of unexpected failures 1 # of unexpected successes 4 # of expected failures 80 # of unsupported tests 333 Patched summary: === gcc Summary === # of expected passes 52955 # of unexpected failures 21 # of expected failures 204 # of unsupported tests 615 ; identical as baseline above for the other testsuites. I think this should be tested on a power or powerpc AIX target. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39254