This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52306] ICE in cselib_record_set, at cselib.c:2158
- From: "tg at mirbsd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Jan 2013 21:17:04 +0000
- Subject: [Bug middle-end/52306] ICE in cselib_record_set, at cselib.c:2158
- Auto-submitted: auto-generated
- References: <bug-52306-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52306
Thorsten Glaser <tg at mirbsd dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE in CSE |ICE in cselib_record_set,
| |at cselib.c:2158
--- Comment #12 from Thorsten Glaser <tg at mirbsd dot org> 2013-01-29 21:17:04 UTC ---
# cat /usr/bin/g++
#!/bin/mksh-static
/usr/bin/g++-4.6 "$@" && exit 0
/usr/bin/g++-4.6 "$@" -O1 && exit 0
exec /usr/bin/g++-4.6 "$@" -O0
Has anyone thought of making GCC do that automatically? It already retries on
ICEs to weed out possibly bad memoryâ if we have an ICE like this specific
case, where we *know* optimisation makes a difference and itâs a bug in the
compiler, we could just retry lowering the optimisation level each time.
(My shell script is very suboptimal as it always retries twice. Iâm using it
only for the second time now, and both times only during the build, after all
configury has been run. Some C++ code seems to exercise PR52306 more than, say,
libvirt which has only one occurrence (times two)â)