mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-06 05:10:29 +08:00
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
This commit is contained in:
parent
c3329535ac
commit
6559c761d4
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
9
gcc/testsuite/g++.dg/torture/pr38565.C
Normal file
9
gcc/testsuite/g++.dg/torture/pr38565.C
Normal file
@ -0,0 +1,9 @@
|
||||
// { 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user