[Bug target/12527] [3.4 regression] [arm] bootstrap error on arm-linux, miscompiling genconstants

rearnsha at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 15 14:30: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=12527


rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2003-10-14 04:10:30         |2003-10-15 14:30:46
               date|                            |


------- Additional Comments From rearnsha at gcc dot gnu dot org  2003-10-15 14:30 -------
I've just realized what is going wrong here.  It's because the arm-linux target
is (erroneously in my opinion) including arm/unknown-elf.h.  This file defaults
the CPU target to ARM7TDMI, which means that the bx instruction becomes
available.  The patch in question just means that this latent bug has gone critical.

You can probably work around this problem for now by configuring with
--with-cpu=arm6 or some other suitable CPU.



More information about the Gcc-bugs mailing list