Bug 26906 - internal compiler error: in do_SUBST, at combine.c:447
Summary: internal compiler error: in do_SUBST, at combine.c:447
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 3.4.4
: P3 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2006-03-28 16:33 UTC by Leon Woestenberg
Modified: 2009-10-14 14:17 UTC (History)
2 users (show)

See Also:
Host: x86_64-pc-linux
Target: armeb-linux
Build: x86_64-pc-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed C file (incomplete) (90.38 KB, text/plain)
2006-03-28 16:37 UTC, Leon Woestenberg
Details
preprocessed C file (bzip2'd) (72.76 KB, text/plain)
2006-03-28 16:47 UTC, Leon Woestenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Woestenberg 2006-03-28 16:33:31 UTC
ICE when cross-compiling on x86_64 host for armeb target.

Included the command that makes GCC fail (minus all -I include paths) with an ICE, the output. I will attach the preprocessed C file in a direct follow-up.

See also existing bug 23442 on a different platform.

armeb-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/usr/lib\" -DGTK_DATADIR=\"/usr/share\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.8.9\" -DGTK_BINARY_VERSION=\"2.4.0\" -DGTK_HOST=\"armeb-unknown-linux-gnu\" -DGTK_COMPILATION -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread -Os -fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions -fweb -funit-at-a-time -Wall -c gtktooltips.i  -fPIC -DPIC -o gtktooltips.o

gtktooltips.c: In function `gtk_tooltips_init':
gtktooltips.c:127: internal compiler error: in do_SUBST, at combine.c:447
Comment 1 Leon Woestenberg 2006-03-28 16:37:13 UTC
Created attachment 11139 [details]
preprocessed C file (incomplete)
Comment 2 Leon Woestenberg 2006-03-28 16:40:14 UTC
By removing the optimization flag (-Os) the compiler no longer ICEs. Also, -O1, -O2, -O3 are OK.
Comment 3 Leon Woestenberg 2006-03-28 16:47:33 UTC
Created attachment 11140 [details]
preprocessed C file (bzip2'd)
Comment 4 Andrew Pinski 2006-03-30 22:01:34 UTC
3.4.x is no longer being updated, can you try 4.0.x or 4.1.0?
Comment 5 Laurent GUERBY 2009-01-02 12:51:50 UTC
4.3.2-1 debian gnueabi and trunk rev 142984 do not ICE, waiting for confirmation.
Comment 6 Richard Earnshaw 2009-10-14 14:17:16 UTC
No feedback.  Presumed fixed.