re PR fortran/31588 (gfortran should be able to output Makefile dependencies with -M* options)
2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com> PR target/31588 * config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle error_mark_node's. 2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com> PR target/31588 * g++.dg/ext/altivec-15.C: New testcase. From-SVN: r133541
This commit is contained in:
parent
9c349a39eb
commit
fd88fd0992
@ -1,3 +1,9 @@
|
|||||||
|
2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com>
|
||||||
|
|
||||||
|
PR target/31588
|
||||||
|
* config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle
|
||||||
|
error_mark_node's.
|
||||||
|
|
||||||
2008-03-25 Richard Sandiford <rsandifo@nildram.co.uk>
|
2008-03-25 Richard Sandiford <rsandifo@nildram.co.uk>
|
||||||
|
|
||||||
PR rtl-optimization/35232
|
PR rtl-optimization/35232
|
||||||
|
@ -2421,6 +2421,8 @@ rs6000_builtin_type_compatible (tree t, int id)
|
|||||||
{
|
{
|
||||||
tree builtin_type;
|
tree builtin_type;
|
||||||
builtin_type = rs6000_builtin_type (id);
|
builtin_type = rs6000_builtin_type (id);
|
||||||
|
if (t == error_mark_node)
|
||||||
|
return false;
|
||||||
if (INTEGRAL_TYPE_P (t) && INTEGRAL_TYPE_P (builtin_type))
|
if (INTEGRAL_TYPE_P (t) && INTEGRAL_TYPE_P (builtin_type))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com>
|
||||||
|
|
||||||
|
PR target/31588
|
||||||
|
* g++.dg/ext/altivec-15.C: New testcase.
|
||||||
|
|
||||||
2008-03-25 Andrew Pinski <pinskia@gmail.com>
|
2008-03-25 Andrew Pinski <pinskia@gmail.com>
|
||||||
|
|
||||||
PR objc/29197
|
PR objc/29197
|
||||||
|
13
gcc/testsuite/g++.dg/ext/altivec-15.C
Normal file
13
gcc/testsuite/g++.dg/ext/altivec-15.C
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/* { dg-do compile { target powerpc*-*-* } } */
|
||||||
|
/* { dg-require-effective-target powerpc_altivec_ok } */
|
||||||
|
/* { dg-options "-maltivec" } */
|
||||||
|
|
||||||
|
struct SubData
|
||||||
|
{
|
||||||
|
inline const Float Clamp(Float f, Float f0, Float f1) // { dg-error "" }
|
||||||
|
}
|
||||||
|
inline const void SinCos(Float angle, Float& sine, Float& cosine) // { dg-error "" }
|
||||||
|
{
|
||||||
|
C0 = __builtin_vec_splat(_simdCosEstCoefficients, 0); // { dg-error "" }
|
||||||
|
C1 = __builtin_vec_splat(_simdCosEstCoefficients, 1); // { dg-error "" }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user