Commit 2c49569e by Richard Sandiford Committed by Richard Sandiford

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
parent 999bcff5
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.};
......
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