[ Forwarded from http://bugs.debian.org/459429 ] With 4.1 and 4.2 we get the following ICE on m68k with -O2. This doesn't happen with 4.3. (etch)3889:tbm@em64t: ..-m68k-20080106-r131352/gcc] ./xgcc -B. -c -O2 ~/erlexec.preprocessed.4.2.c ./erlexec.c: In function ‘build_args_from_string’: ./erlexec.c:1364: internal compiler error: output_operand: invalid expression as operand Please submit a full bug report,
Created attachment 14887 [details] preprocessed source
If this isn't a regression please close it as fixed in 4.3. Otherwise please adjust the Summary and the target milestone.
Subject: Bug 34688 Author: mkuvyrkov Date: Sat Jan 26 23:08:54 2008 New Revision: 131878 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131878 Log: PR middle-end/34688 * final.c (output_addr_const): Handle TRUNCATE. * gcc.c-torture/compile/pr34688: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr34688.c Modified: trunk/gcc/ChangeLog trunk/gcc/final.c trunk/gcc/testsuite/ChangeLog
Fixed in the above revision.
the fix was checked in on the trunk only; please reopen the report
Right, sorry.
Subject: Bug 34688 Author: mkuvyrkov Date: Tue Mar 25 15:25:37 2008 New Revision: 133521 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133521 Log: Backport from mainline: PR middle-end/34688 * final.c (output_addr_const): Handle TRUNCATE. PR middle-end/34688 * gcc.c-torture/compile/pr34688: New test. Added: branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/pr34688.c Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/final.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
Fixed on 4.2 as well.
wontfix on the 4.1 branch.