scal-to-vec1.c (one): New volatile variable.
gcc/testsuite/ * gcc.c-torture/execute/scal-to-vec1.c (one): New volatile variable. (main): Use it instead of argc. From-SVN: r183489
This commit is contained in:
parent
999bcff5bd
commit
2c49569ece
|
@ -1,3 +1,8 @@
|
|||
2012-01-24 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* gcc.c-torture/execute/scal-to-vec1.c (one): New volatile variable.
|
||||
(main): Use it instead of argc.
|
||||
|
||||
2012-01-24 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/51973
|
||||
|
|
|
@ -24,13 +24,14 @@ do {\
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
volatile int one = 1;
|
||||
|
||||
int main (int argc, char *argv[]) {
|
||||
#define fvec_2 (vector(4, float)){2., 2., 2., 2.}
|
||||
#define dvec_2 (vector(2, double)){2., 2.}
|
||||
|
||||
|
||||
vector(8, short) v0 = {argc, 1,2,3,4,5,6,7};
|
||||
vector(8, short) v0 = {one, 1, 2, 3, 4, 5, 6, 7};
|
||||
vector(8, short) v1;
|
||||
|
||||
vector(4, float) f0 = {1., 2., 3., 4.};
|
||||
|
|
Loading…
Reference in New Issue