This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28181] New: [4.1/4.2 regression] ICE in reload_cse_simplify_operands, at postreload.c:393 on m68k
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2006 20:13:30 -0000
- Subject: [Bug target/28181] New: [4.1/4.2 regression] ICE in reload_cse_simplify_operands, at postreload.c:393 on m68k
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[ Forwarded from http://bugs.debian.org/375522 ]
I get the following ICE with gcc 4.1 and 4.2 on m68k:
928:tbm@reyes: ~] 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:tbm@reyes: ~] 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:tbm@reyes: ~]
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