ICE with -freorder-blocks in `remove_unncessary_notes', at emit-rtl.c:2778

Clinton Popetz cpopetz@cygnus.com
Thu Apr 27 12:04:00 GMT 2000


On Thu, Apr 27, 2000 at 05:32:23PM +0200, Andreas Jaeger wrote:
> 
> I've tried to use -freorder-blocks for compiling glibc with the
> current gcc version and got an ICE.  I've removed all uneccessary stuff
> from the preprocessed file and append it below.  Without
> -freorder-blocks I don't see this problem.
> 
> The ICE is:
> /opt/gcc-2.96.test/lib/gcc-lib/i686-pc-linux-gnu/2.96/cc1 init-first.i -mcpu=pentiumpro -quiet -dumpbase init-first.c -mpentiumpro -momit-leaf-frame-pointer -g -O3 -Wall -Winline -Wno-format -Wstrict-prototypes -Wwrite-strings -version -freorder-blocks -fstrict-aliasing -fkeep-inline-functions -o init-first.s

Currently -freorder-blocks doesn't properly deal with BLOCK notes, so it can't
be used at -O > 1 with -g.  (It's work-in-progress.)

				-Clint


More information about the Gcc-bugs mailing list