[ Forwarded from http://bugs.debian.org/375522 ]
I get the following ICE with gcc 4.1 and 4.2 on m68k: 928:[EMAIL PROTECTED]: ~] m68k-linux-gnu-gcc -c -O2 mini.c mini.c: In function âscanâ: mini.c:48: warning: incompatible implicit declaration of built-in function âstrlenâ mini.c:90: warning: assignment makes integer from pointer without a cast mini.c:94: warning: incompatible implicit declaration of built-in function âstrlenâ mini.c:115: warning: initialization from incompatible pointer type mini.c:122: error: insn does not satisfy its constraints: (insn 323 57 324 9 (set (reg:QI 8 %a0) (mem/s:QI (plus:SI (reg/f:SI 14 %a6) (const_int -128 [0xffffff80])) [0 name+0 S1 A16])) 41 {*m68k.md:748} (nil) (nil)) mini.c:122: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. zsh: exit 1 m68k-linux-gnu-gcc -c -O2 mini.c 929:[EMAIL PROTECTED]: ~] m68k-linux-gnu-gcc -c -O1 mini.c mini.c: In function âscanâ: mini.c:48: warning: incompatible implicit declaration of built-in function âstrlenâ mini.c:90: warning: assignment makes integer from pointer without a cast mini.c:94: warning: incompatible implicit declaration of built-in function âstrlenâ mini.c:115: warning: initialization from incompatible pointer type 930:[EMAIL PROTECTED]: ~] FWIW, this test case fails with 4.2 but works with 4.1. The original bug was reported against 4.1 though. I can build a 4.1 and run delta again if this would be helpful. The original ICE with 4.1 is: crest% gcc -c -O2 scansbr.i scansbr.c: In function 'scan': scansbr.c:369: error: insn does not satisfy its constraints: (insn 1657 689 1658 81 (set (reg:QI 8 %a0) (mem/s:QI (plus:SI (reg/f:SI 14 %a6) (const_int -212 [0xffffff2c])) [0 name+0 S1 A16])) 33 {*m68k.md:748} (nil) (nil)) scansbr.c:369: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. -- Summary: [4.1/4.2 regression] ICE in reload_cse_simplify_operands, at postreload.c:393 on m68k Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com GCC build triplet: m68k-linux-gnu GCC target triplet: m68k-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28181