http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46114
--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2010-10-22 10:15:20 UTC --- > --- Comment #6 from Bernd Schmidt <bernds at gcc dot gnu.org> 2010-10-21 > 23:33:47 UTC --- > I'm assuming you run the testcase on Solaris? Can you provide good/bad > assembly > output? Sure, both attached. Each of them was compiled with gcc -g -O2 -S. As could be expected, the bug has nothing to do with wether or nor gld is in use, only with the details of the input. It can be reproduced with a gcc configured to use Sun as and ld instead of gas and gld. The attached -S output is for a compiler configured to use CVS gas and gld, though. The bad one is from r164552 (your patch), the good one from r164551 (the last working rev). Thanks. Rainer