[Bug other/85123] [8 regression] test case gcc.dg/pr63594-2.c begins failing with r254862
bergner at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 30 14:01:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85123
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-03-30
CC| |bergner at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Confirmed. Here's a minimal test case. It looks like the code for test1float1
is what is causing the problems.
typedef float vfloat1 __attribute__ ((__vector_size__ (1 * sizeof (float))));
__attribute__ ((noinline, noclone))
vfloat1 test1float1 (float c)
{
vfloat1 v = { c };
return v;
}
void
test3float1 (void)
{
float c = 17;
int i;
vfloat1 a = test1float1 (c);
for (i = 0; i < 1; i++)
if (a[i] != 17)
__builtin_abort ();
}
int
main ()
{
test3float1 ();
return 0;
}
More information about the Gcc-bugs
mailing list