[Bug target/11271] [3.4 regression] [arm-elf] regex.c ICEs for thumb multilib
rearnsha at arm dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 28 16:46:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11271
------- Additional Comments From rearnsha at arm dot com 2003-07-28 16:46 -------
Subject: Re: [3.4 regression] [arm-elf] regex.c ICEs
for thumb multilib
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11271
This turns out to be a result of the following patch:
http://gcc.gnu.org/ml/gcc-patches/2003-03/msg02014.html
+ 2003-03-26 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ PR target/7784
+ * reload.c (find_reloads_address): Handle
+ (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
+ all base registers.
+
As far as I can determine, this is because of the extra constraint added
to the test that ensures that the register being reloaded is valid as a
base register. Unfortunately, this fails on thumb, since SP is not a
valid base register for QImode (so a further reload will be needed).
Prior to this patch we seemed to get things right even without the
additional test.
Eric, was there a particular reason for adding the test of
REG_MODE_OK_FOR_BASE_P?
R.
More information about the Gcc-bugs
mailing list