This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/13785] powerpc64 long long ICE


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]