This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13785] powerpc64 long long ICE
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 06:54:54 -0000
- Subject: [Bug target/13785] powerpc64 long long ICE
- References: <20040121052053.13785.dhazeghi@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-21 06:54 -------
Smaller example:
long long (*y)(int t);
long long get_alias_set (int t)
{
return y(t);
}
The problem is that in gen_call_value which comes from the machine description of the
define_expand of "call".
This line:
operands[0] = force_reg (Pmode, operands[0]);
cause the problem because operand0 is a parallel of reg 3 and reg 4 which is right as the return
value is both r3 and r4, maybe a check for this case needs to be right before call force_reg?
I will test a patch like what I just suggested.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-01-21 06:54:53
date| |
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13785