This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20491] [4.0/4.1 Regression] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2005 22:09:45 -0000
- Subject: [Bug middle-end/20491] [4.0/4.1 Regression] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042
- References: <20050316021720.20491.aelschuring@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2005-03-31 22:09 -------
Subject: Re: [PR middle-end/20491] combine generates bad subregs
On Wed, Mar 30, 2005 at 04:27:50PM -0300, Alexandre Oliva wrote:
> - else
> + else if (REG_P (y))
> {
> /* Simplify_subreg can't handle some REG cases, but we have to. */
> unsigned int regno = subreg_regno (x);
The next line is
gcc_assert (REG_P (y));
you should remove that. Ok with that change.
r~
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20491