Commit 6559c761 by Andrew Pinski Committed by Andrew Pinski

re PR middle-end/38565 (ICE with vector code)

2008-12-18  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/38565
        * testsuite/g++.dg/torture/pr38565.C: New test.

From-SVN: r142821
parent c3329535
2008-12-18 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/38565
* testsuite/g++.dg/torture/pr38565.C: New test.
2008-12-18 Jakub Jelinek <jakub@redhat.com>
PR c++/38427
......
// { dg-do compile }
#define vector __attribute__((vector_size(16) ))
vector unsigned int f(int a)
{
vector unsigned int mask = a ? (vector unsigned int){ 0x80000000, 0x80000000,
0x80000000, 0x80000000 } : (vector unsigned int){0};
return mask;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment