diff mbox

[testsuite,committed] : Fix a test that assumed int is 32 bits.

Message ID 558e4adc-fb45-837c-16a4-0cb0f8232ed9@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay Nov. 22, 2016, 2:10 p.m. UTC
Committed as obvious because the test case is clearly about a vector of 
4 * int.

Johann

gcc/testsuite/
	* c-c++-common/builtin-shuffle-1.c (V): Use 4 * int in vector.
diff mbox

Patch

Index: c-c++-common/builtin-shuffle-1.c
===================================================================
--- c-c++-common/builtin-shuffle-1.c    (revision 242541)
+++ c-c++-common/builtin-shuffle-1.c    (working copy)
@@ -1,7 +1,7 @@ 
  /* PR c++/78089 */
  /* { dg-do run } */

-typedef int V __attribute__((vector_size (16)));
+typedef int V __attribute__((vector_size (4 * __SIZEOF_INT__)));
  V a, b, c;

  int