re PR target/13785 (powerpc64 long long ICE)

2004-01-21  Andrew Pinski  <apinski@apple.com>

        PR target/13785
        * gcc.dg/20030121-1.c: New test.

2004-01-21  Andrew Pinski  <apinski@apple.com>

        PR target/13785
        * config/rs6000/rs6000.md (call_value): Force operand
        1 not operand 0 into a register.

From-SVN: r76332
This commit is contained in:
Andrew Pinski 2004-01-22 02:44:37 +00:00 committed by Andrew Pinski
parent 75ef0594a3
commit 5cc5eddc7c
4 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-01-21 Andrew Pinski <apinski@apple.com>
PR target/13785
* config/rs6000/rs6000.md (call_value): Force operand
1 not operand 0 into a register.
2004-01-21 Kazu Hirata <kazu@cs.umass.edu>
* cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,

View File

@ -10181,7 +10181,7 @@
if (DEFAULT_ABI == ABI_V4
|| DEFAULT_ABI == ABI_DARWIN)
operands[0] = force_reg (Pmode, operands[0]);
operands[1] = force_reg (Pmode, operands[1]);
else if (DEFAULT_ABI == ABI_AIX)
{

View File

@ -1,3 +1,8 @@
2004-01-21 Andrew Pinski <apinski@apple.com>
PR target/13785
* gcc.dg/20030121-1.c: New test.
2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030123-1.c: Add -fno-omit-frame-pointer option. Do not

View File

@ -0,0 +1,8 @@
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-options "-O2 -force_cpusubtype_ALL -mpowerpc64" } */
long long (*y)(int t);
long long get_alias_set (int t)
{
return y(t);
}