This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24914] gcc fails when built with --with-cpu=ep9312 --with-fpu=maverick
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2005 20:05:34 -0000
- Subject: [Bug target/24914] gcc fails when built with --with-cpu=ep9312 --with-fpu=maverick
- References: <bug-24914-11712@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rearnsha at gcc dot gnu dot org 2005-11-18 20:05 -------
Sometimes when the reload needs to reload an expression that is a subreg
of a wider register, X, into a different class than X it will call
find_valid_class. This routine simply checks whether the class has any
registers that *could* hold the value in X, it does not check that there
*are* any such registers available. This was causing a problem on ARM in
some circumstances because HARD_REGNO_MODE_OK was returning true for a
class that would be suitable *if* such registers were available on the
machine, but because of compilation options in force the set was currently
empty.
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24914