This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/15068] ICE in elim_reg_cond
- From: "random at rnd dot cx" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2004 01:38:12 -0000
- Subject: [Bug rtl-optimization/15068] ICE in elim_reg_cond
- References: <20040422102055.15068.pb@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From random at rnd dot cx 2004-07-21 01:38 -------
I have had the same problem with GCC 3.2.3 (as well as 3.3.3 and 3.4.0),
building a native arm compiler.
I don't know anything substantial about GCC internals, so please excuse if this
comment is totally worthless...but:
In a cursory look at elim_reg_cond, it looked to me as though the function was
encountering an unexpected rtx code. So I checked, and found that when the ICE
is encountered it's because elim_reg_cond is called with an rtx with code 0
(UNKNOWN).
So in an effort to work around the problem, I modified elim_reg_cond so that
instead of calling abort() it simply returns the original rtx, and as far as I
can tell that does seem to work. (At least, when I ran the test suites for the
glibc I built with this workaround, the tests for the relevant functions all
passed.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15068