[Bug target/19421] [4.0 regression] ICE with soft-float on m68k

corsepiu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 23 12:26:00 GMT 2005


------- Additional Comments From corsepiu at gcc dot gnu dot org  2005-01-23 12:26 -------
Created an attachment (id=8044)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8044&action=view)
Example 2 to reproduce the ICE

There seems to be some improvement on this PR. pr19421.c doesn't trigger the
ICE anymore with 4.0.0 as of 20050121.

The original code, pr19421.c had been derived from, however still ICEs for
certain CFLAGS. I am attaching a somewhat rawer version (pr19421-1.c) of the
original code.

For me, compiling pr19421-1.c ICEs for
# m68k-rtems4.7-gcc -o tmp.o -c pr19421-1.c -O2 -msoft-float
pr19421-1.c: In function 'paranoia':
pr19421-1.c:2084: internal compiler error: Segmentation fault

but doesn't ICE for
# m68k-rtems4.7-gcc -o tmp.o -c pr19421-1.c -O1 -msoft-float
and
# m68k-rtems4.7-gcc -o tmp.o -c pr19421-1.c -O2

# m68k-rtems4.7-gcc --version
m68k-rtems4.7-gcc (GCC) 4.0.0 20050121 (experimental)

Also, this ICE doesn't seem to depend on the version of host compiler being
used to compile m68k-rtems4.7-gcc. On FC3, both, a gcc-3.4.2 compiled
m68k-rtems4.7-gcc and a gcc4.0.0 compiled m68k-rtems-gcc, expose the same
behavior.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19421



More information about the Gcc-bugs mailing list