This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24661] unable to find a register to spill in class NO_REGS on ia64
- From: "matz at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2005 14:49:32 -0000
- Subject: [Bug target/24661] unable to find a register to spill in class NO_REGS on ia64
- References: <bug-24661-10160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from matz at suse dot de 2005-11-09 14:49 -------
A shorter testcase (which at least breaks on SuSEs 3.3-hammer compiler) is:
---------------------------------------
typedef union value {
long double d;
} Value;
double ld2d(Value v) {
return v.d;
}
---------------------------------------
The problem seems to be that the register containing the union is TImode,
which gets converted to TFmode via subreg, which in turn is truncated to
DFmode via float_truncate, which somehow confuses gcc.
--
matz at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24661