aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>2013-10-22 16:36:22 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-10-22 16:36:22 +0000
commit1bec9d5fcf6d71fee20ab0f78febfabfb2742cef (patch)
tree0beac7589588e1af641fafb6930c53aecfd7d54b
parent574733d33500dd8e9e14a93507ccacb00dee63ce (diff)
downloadgcc-1bec9d5fcf6d71fee20ab0f78febfabfb2742cef.zip
gcc-1bec9d5fcf6d71fee20ab0f78febfabfb2742cef.tar.gz
gcc-1bec9d5fcf6d71fee20ab0f78febfabfb2742cef.tar.bz2
c1x --> c11.
From-SVN: r203927
-rw-r--r--gcc/testsuite/gcc.dg/c1x-align-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-align-2.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-align-3.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-align-4.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-align-5.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-anon-struct-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-anon-struct-2.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-anon-struct-3.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-float-1.c6
-rw-r--r--gcc/testsuite/gcc.dg/c1x-noreturn-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-noreturn-2.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-noreturn-3.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-noreturn-4.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-noreturn-5.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-pointer-float-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-static-assert-1.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-static-assert-2.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-static-assert-3.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-static-assert-4.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-static-assert-5.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-static-assert-6.c4
-rw-r--r--gcc/testsuite/gcc.dg/c1x-typedef-1.c6
-rw-r--r--gcc/testsuite/gcc.dg/c1x-uni-string-1.c6
-rw-r--r--gcc/testsuite/gcc.dg/c1x-uni-string-2.c4
-rw-r--r--gcc/testsuite/gcc.dg/c90-float-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/c99-float-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/builtin-complex-1.c2
27 files changed, 54 insertions, 54 deletions
diff --git a/gcc/testsuite/gcc.dg/c1x-align-1.c b/gcc/testsuite/gcc.dg/c1x-align-1.c
index 9fe5757..e0058c3 100644
--- a/gcc/testsuite/gcc.dg/c1x-align-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-align-1.c
@@ -1,6 +1,6 @@
-/* Test C1X alignment support. Test valid code. */
+/* Test C11 alignment support. Test valid code. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
#include <stddef.h>
diff --git a/gcc/testsuite/gcc.dg/c1x-align-2.c b/gcc/testsuite/gcc.dg/c1x-align-2.c
index 19f7dd6..a1750ac 100644
--- a/gcc/testsuite/gcc.dg/c1x-align-2.c
+++ b/gcc/testsuite/gcc.dg/c1x-align-2.c
@@ -1,6 +1,6 @@
-/* Test C1X alignment support. Test valid code using stdalign.h. */
+/* Test C11 alignment support. Test valid code using stdalign.h. */
/* { dg-do run } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
#include <stdalign.h>
#include <stddef.h>
diff --git a/gcc/testsuite/gcc.dg/c1x-align-3.c b/gcc/testsuite/gcc.dg/c1x-align-3.c
index b97351c..39b81ef 100644
--- a/gcc/testsuite/gcc.dg/c1x-align-3.c
+++ b/gcc/testsuite/gcc.dg/c1x-align-3.c
@@ -1,6 +1,6 @@
-/* Test C1X alignment support. Test invalid code. */
+/* Test C11 alignment support. Test invalid code. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
int a = _Alignof (void (void)); /* { dg-error "function" } */
struct s;
diff --git a/gcc/testsuite/gcc.dg/c1x-align-4.c b/gcc/testsuite/gcc.dg/c1x-align-4.c
index cc13f93..6377db6 100644
--- a/gcc/testsuite/gcc.dg/c1x-align-4.c
+++ b/gcc/testsuite/gcc.dg/c1x-align-4.c
@@ -1,7 +1,7 @@
-/* Test C1X alignment support. Test reducing alignment (assumes there
+/* Test C11 alignment support. Test reducing alignment (assumes there
are at least some alignment constraints). */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
/* { dg-skip-if "no alignment constraints" { "avr-*-*" } { "*" } { "" } } */
#include <stddef.h>
diff --git a/gcc/testsuite/gcc.dg/c1x-align-5.c b/gcc/testsuite/gcc.dg/c1x-align-5.c
index 614edcf..c8e4751 100644
--- a/gcc/testsuite/gcc.dg/c1x-align-5.c
+++ b/gcc/testsuite/gcc.dg/c1x-align-5.c
@@ -1,6 +1,6 @@
-/* Test C1X alignment support. Test invalid code. */
+/* Test C11 alignment support. Test invalid code. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
void foo (int []);
void bar1 (int [_Alignas (double) 10]); /* { dg-error "expected expression before" } */
diff --git a/gcc/testsuite/gcc.dg/c1x-anon-struct-1.c b/gcc/testsuite/gcc.dg/c1x-anon-struct-1.c
index 6d4b433..779ae66 100644
--- a/gcc/testsuite/gcc.dg/c1x-anon-struct-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-anon-struct-1.c
@@ -1,6 +1,6 @@
-/* Test for anonymous structures and unions in C1X. */
+/* Test for anonymous structures and unions in C11. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
#include <stddef.h>
diff --git a/gcc/testsuite/gcc.dg/c1x-anon-struct-2.c b/gcc/testsuite/gcc.dg/c1x-anon-struct-2.c
index cb804311..d954b4b 100644
--- a/gcc/testsuite/gcc.dg/c1x-anon-struct-2.c
+++ b/gcc/testsuite/gcc.dg/c1x-anon-struct-2.c
@@ -1,7 +1,7 @@
-/* Test for anonymous structures and unions in C1X. Test for invalid
+/* Test for anonymous structures and unions in C11. Test for invalid
cases. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
typedef struct s0
{
diff --git a/gcc/testsuite/gcc.dg/c1x-anon-struct-3.c b/gcc/testsuite/gcc.dg/c1x-anon-struct-3.c
index 1841edd..05cc366 100644
--- a/gcc/testsuite/gcc.dg/c1x-anon-struct-3.c
+++ b/gcc/testsuite/gcc.dg/c1x-anon-struct-3.c
@@ -1,7 +1,7 @@
-/* Test for anonymous structures and unions in C1X. Test for invalid
+/* Test for anonymous structures and unions in C11. Test for invalid
cases: typedefs disallowed by N1549. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
typedef struct
{
diff --git a/gcc/testsuite/gcc.dg/c1x-float-1.c b/gcc/testsuite/gcc.dg/c1x-float-1.c
index 75233ac..376c44d 100644
--- a/gcc/testsuite/gcc.dg/c1x-float-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-float-1.c
@@ -1,9 +1,9 @@
-/* Test for <float.h> C1X macros. */
+/* Test for <float.h> C11 macros. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do preprocess } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
-/* This test checks that the C1X macros are defined;
+/* This test checks that the C11 macros are defined;
it does not check the correctness of their values. */
#include <float.h>
diff --git a/gcc/testsuite/gcc.dg/c1x-noreturn-1.c b/gcc/testsuite/gcc.dg/c1x-noreturn-1.c
index d9c141d..e92c5ae 100644
--- a/gcc/testsuite/gcc.dg/c1x-noreturn-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-noreturn-1.c
@@ -1,6 +1,6 @@
-/* Test C1X _Noreturn. Test valid code. */
+/* Test C11 _Noreturn. Test valid code. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
_Noreturn void exit (int);
diff --git a/gcc/testsuite/gcc.dg/c1x-noreturn-2.c b/gcc/testsuite/gcc.dg/c1x-noreturn-2.c
index 81972f1..951d028 100644
--- a/gcc/testsuite/gcc.dg/c1x-noreturn-2.c
+++ b/gcc/testsuite/gcc.dg/c1x-noreturn-2.c
@@ -1,6 +1,6 @@
-/* Test C1X _Noreturn. Test valid code using stdnoreturn.h. */
+/* Test C11 _Noreturn. Test valid code using stdnoreturn.h. */
/* { dg-do run } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
#include <stdnoreturn.h>
diff --git a/gcc/testsuite/gcc.dg/c1x-noreturn-3.c b/gcc/testsuite/gcc.dg/c1x-noreturn-3.c
index b12c23e..168d012 100644
--- a/gcc/testsuite/gcc.dg/c1x-noreturn-3.c
+++ b/gcc/testsuite/gcc.dg/c1x-noreturn-3.c
@@ -1,6 +1,6 @@
-/* Test C1X _Noreturn. Test _Noreturn on main, hosted. */
+/* Test C11 _Noreturn. Test _Noreturn on main, hosted. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors -fhosted" } */
+/* { dg-options "-std=c11 -pedantic-errors -fhosted" } */
_Noreturn void exit (int);
diff --git a/gcc/testsuite/gcc.dg/c1x-noreturn-4.c b/gcc/testsuite/gcc.dg/c1x-noreturn-4.c
index 72dceaf..a92a114 100644
--- a/gcc/testsuite/gcc.dg/c1x-noreturn-4.c
+++ b/gcc/testsuite/gcc.dg/c1x-noreturn-4.c
@@ -1,6 +1,6 @@
-/* Test C1X _Noreturn. Test _Noreturn on main, freestanding. */
+/* Test C11 _Noreturn. Test _Noreturn on main, freestanding. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors -ffreestanding" } */
+/* { dg-options "-std=c11 -pedantic-errors -ffreestanding" } */
_Noreturn void exit (int);
diff --git a/gcc/testsuite/gcc.dg/c1x-noreturn-5.c b/gcc/testsuite/gcc.dg/c1x-noreturn-5.c
index 73f2216..d1c0949 100644
--- a/gcc/testsuite/gcc.dg/c1x-noreturn-5.c
+++ b/gcc/testsuite/gcc.dg/c1x-noreturn-5.c
@@ -1,6 +1,6 @@
-/* Test C1X _Noreturn. Test invalid uses. */
+/* Test C11 _Noreturn. Test invalid uses. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
_Noreturn struct s; /* { dg-error "empty declaration" } */
diff --git a/gcc/testsuite/gcc.dg/c1x-pointer-float-1.c b/gcc/testsuite/gcc.dg/c1x-pointer-float-1.c
index 57c5be8..8c24165 100644
--- a/gcc/testsuite/gcc.dg/c1x-pointer-float-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-pointer-float-1.c
@@ -1,6 +1,6 @@
-/* Test C1X constraint against pointer / floating-point casts. */
+/* Test C11 constraint against pointer / floating-point casts. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
void *p;
float f;
diff --git a/gcc/testsuite/gcc.dg/c1x-static-assert-1.c b/gcc/testsuite/gcc.dg/c1x-static-assert-1.c
index bf7aa59..9209a7a 100644
--- a/gcc/testsuite/gcc.dg/c1x-static-assert-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-static-assert-1.c
@@ -1,6 +1,6 @@
-/* Test C1X static assertions. Valid assertions. */
+/* Test C11 static assertions. Valid assertions. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
_Static_assert (1, "foo");
diff --git a/gcc/testsuite/gcc.dg/c1x-static-assert-2.c b/gcc/testsuite/gcc.dg/c1x-static-assert-2.c
index 9a48ca7..de2f573 100644
--- a/gcc/testsuite/gcc.dg/c1x-static-assert-2.c
+++ b/gcc/testsuite/gcc.dg/c1x-static-assert-2.c
@@ -1,6 +1,6 @@
-/* Test C1X static assertions. Failed assertions. */
+/* Test C11 static assertions. Failed assertions. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
_Static_assert (0, "assert1"); /* { dg-error "static assertion failed: \"assert1\"" } */
diff --git a/gcc/testsuite/gcc.dg/c1x-static-assert-3.c b/gcc/testsuite/gcc.dg/c1x-static-assert-3.c
index 81b504e..79448a5 100644
--- a/gcc/testsuite/gcc.dg/c1x-static-assert-3.c
+++ b/gcc/testsuite/gcc.dg/c1x-static-assert-3.c
@@ -1,6 +1,6 @@
-/* Test C1X static assertions. Invalid assertions. */
+/* Test C11 static assertions. Invalid assertions. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
_Static_assert (__INT_MAX__ * 2, "overflow"); /* { dg-warning "integer overflow in expression" } */
/* { dg-error "overflow in constant expression" "error" { target *-*-* } 5 } */
diff --git a/gcc/testsuite/gcc.dg/c1x-static-assert-4.c b/gcc/testsuite/gcc.dg/c1x-static-assert-4.c
index ebc95f5..ddab440 100644
--- a/gcc/testsuite/gcc.dg/c1x-static-assert-4.c
+++ b/gcc/testsuite/gcc.dg/c1x-static-assert-4.c
@@ -1,6 +1,6 @@
-/* Test C1X static assertions. More invalid assertions. */
+/* Test C11 static assertions. More invalid assertions. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
/* Static assertions not valid in old-style parameter declarations
because declarations there must have declarators. */
diff --git a/gcc/testsuite/gcc.dg/c1x-static-assert-5.c b/gcc/testsuite/gcc.dg/c1x-static-assert-5.c
index d4d0821..e88b816 100644
--- a/gcc/testsuite/gcc.dg/c1x-static-assert-5.c
+++ b/gcc/testsuite/gcc.dg/c1x-static-assert-5.c
@@ -1,5 +1,5 @@
-/* Test C1X static assertions. Non-constant-expression without -pedantic. */
+/* Test C11 static assertions. Non-constant-expression without -pedantic. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x" } */
+/* { dg-options "-std=c11" } */
_Static_assert ((int)(1.0 + 1.0), "non-constant-expression");
diff --git a/gcc/testsuite/gcc.dg/c1x-static-assert-6.c b/gcc/testsuite/gcc.dg/c1x-static-assert-6.c
index c544cad..ac7e141 100644
--- a/gcc/testsuite/gcc.dg/c1x-static-assert-6.c
+++ b/gcc/testsuite/gcc.dg/c1x-static-assert-6.c
@@ -1,5 +1,5 @@
-/* Test C1X static assertions. Non-constant-expression with -pedantic. */
+/* Test C11 static assertions. Non-constant-expression with -pedantic. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic" } */
+/* { dg-options "-std=c11 -pedantic" } */
_Static_assert ((int)(1.0 + 1.0), "non-constant-expression"); /* { dg-warning "not an integer constant expression" } */
diff --git a/gcc/testsuite/gcc.dg/c1x-typedef-1.c b/gcc/testsuite/gcc.dg/c1x-typedef-1.c
index a68b23f..3224ba5 100644
--- a/gcc/testsuite/gcc.dg/c1x-typedef-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-typedef-1.c
@@ -1,8 +1,8 @@
-/* Test typedef redeclaration in C1X. */
+/* Test typedef redeclaration in C11. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
-/* C1X permits typedefs to be redeclared to the same type, but not to
+/* C11 permits typedefs to be redeclared to the same type, but not to
different-but-compatible types, and not when the type is variably
modified. */
diff --git a/gcc/testsuite/gcc.dg/c1x-uni-string-1.c b/gcc/testsuite/gcc.dg/c1x-uni-string-1.c
index 30a98c1..9f86bea 100644
--- a/gcc/testsuite/gcc.dg/c1x-uni-string-1.c
+++ b/gcc/testsuite/gcc.dg/c1x-uni-string-1.c
@@ -1,10 +1,10 @@
-/* Test Unicode strings in C1X. Test valid code. */
+/* Test Unicode strings in C11. Test valid code. */
/* { dg-do run } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
/* More thorough tests are in c-c++-common/raw-string-*.c; this test
verifies the particular subset (Unicode but not raw strings) that
- is in C1X. */
+ is in C11. */
typedef __CHAR16_TYPE__ char16_t;
typedef __CHAR32_TYPE__ char32_t;
diff --git a/gcc/testsuite/gcc.dg/c1x-uni-string-2.c b/gcc/testsuite/gcc.dg/c1x-uni-string-2.c
index 698b0c1..583c38a 100644
--- a/gcc/testsuite/gcc.dg/c1x-uni-string-2.c
+++ b/gcc/testsuite/gcc.dg/c1x-uni-string-2.c
@@ -1,6 +1,6 @@
-/* Test Unicode strings in C1X. Test constraint. */
+/* Test Unicode strings in C11. Test constraint. */
/* { dg-do compile } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
const void *p1 = L"a" u8"b"; /* { dg-error "concatenation" } */
const void *p2 = L"a" "b" u8"c"; /* { dg-error "concatenation" } */
diff --git a/gcc/testsuite/gcc.dg/c90-float-1.c b/gcc/testsuite/gcc.dg/c90-float-1.c
index 5a2cab6..649cddf 100644
--- a/gcc/testsuite/gcc.dg/c90-float-1.c
+++ b/gcc/testsuite/gcc.dg/c90-float-1.c
@@ -3,7 +3,7 @@
/* { dg-do preprocess } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
-/* This test checks that the C90 macros (but not the C99 or C1X ones)
+/* This test checks that the C90 macros (but not the C99 or C11 ones)
are defined; it does not check the correctness of their values. */
#include <float.h>
diff --git a/gcc/testsuite/gcc.dg/c99-float-1.c b/gcc/testsuite/gcc.dg/c99-float-1.c
index f0dc391..7ee87a5 100644
--- a/gcc/testsuite/gcc.dg/c99-float-1.c
+++ b/gcc/testsuite/gcc.dg/c99-float-1.c
@@ -3,7 +3,7 @@
/* { dg-do preprocess } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
-/* This test checks that the C99 macros (but not the C1X ones) are defined;
+/* This test checks that the C99 macros (but not the C11 ones) are defined;
it does not check the correctness of their values. */
#include <float.h>
diff --git a/gcc/testsuite/gcc.dg/torture/builtin-complex-1.c b/gcc/testsuite/gcc.dg/torture/builtin-complex-1.c
index 20dc4c4..0d26c9c 100644
--- a/gcc/testsuite/gcc.dg/torture/builtin-complex-1.c
+++ b/gcc/testsuite/gcc.dg/torture/builtin-complex-1.c
@@ -1,6 +1,6 @@
/* Test __builtin_complex semantics. */
/* { dg-do run } */
-/* { dg-options "-std=c1x -pedantic-errors" } */
+/* { dg-options "-std=c11 -pedantic-errors" } */
/* { dg-add-options ieee } */
extern void exit (int);