]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c1x --> c11.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Oct 2013 16:36:22 +0000 (16:36 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Oct 2013 16:36:22 +0000 (16:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203927 138bc75d-0d04-0410-961f-82ee72b054a4

27 files changed:
gcc/testsuite/gcc.dg/c1x-align-1.c
gcc/testsuite/gcc.dg/c1x-align-2.c
gcc/testsuite/gcc.dg/c1x-align-3.c
gcc/testsuite/gcc.dg/c1x-align-4.c
gcc/testsuite/gcc.dg/c1x-align-5.c
gcc/testsuite/gcc.dg/c1x-anon-struct-1.c
gcc/testsuite/gcc.dg/c1x-anon-struct-2.c
gcc/testsuite/gcc.dg/c1x-anon-struct-3.c
gcc/testsuite/gcc.dg/c1x-float-1.c
gcc/testsuite/gcc.dg/c1x-noreturn-1.c
gcc/testsuite/gcc.dg/c1x-noreturn-2.c
gcc/testsuite/gcc.dg/c1x-noreturn-3.c
gcc/testsuite/gcc.dg/c1x-noreturn-4.c
gcc/testsuite/gcc.dg/c1x-noreturn-5.c
gcc/testsuite/gcc.dg/c1x-pointer-float-1.c
gcc/testsuite/gcc.dg/c1x-static-assert-1.c
gcc/testsuite/gcc.dg/c1x-static-assert-2.c
gcc/testsuite/gcc.dg/c1x-static-assert-3.c
gcc/testsuite/gcc.dg/c1x-static-assert-4.c
gcc/testsuite/gcc.dg/c1x-static-assert-5.c
gcc/testsuite/gcc.dg/c1x-static-assert-6.c
gcc/testsuite/gcc.dg/c1x-typedef-1.c
gcc/testsuite/gcc.dg/c1x-uni-string-1.c
gcc/testsuite/gcc.dg/c1x-uni-string-2.c
gcc/testsuite/gcc.dg/c90-float-1.c
gcc/testsuite/gcc.dg/c99-float-1.c
gcc/testsuite/gcc.dg/torture/builtin-complex-1.c

index 9fe5757bed0a7ff9abad0a8771c248d9a3a1857c..e0058c3800760dbdcbbc9dcf78799f66f230634b 100644 (file)
@@ -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>
 
index 19f7dd6721403b9c0f307ad59664d6083b36d592..a1750ac547a14bcb0951e7d56a1f79017d46e057 100644 (file)
@@ -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>
index b97351cdeaf91a2df2cb60fd46c41429beb5828e..39b81ef6f57511666e7111b0aee2a42d0cfb06c9 100644 (file)
@@ -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;
index cc13f93d9c05a15ef123a440a554a297e7c941ef..6377db6edf3190333b542b0c9ca6e4e658d72e69 100644 (file)
@@ -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>
index 614edcf6f9b292efe174ae7135ee7e8625ff3b04..c8e475120f8506d4b689a18c0f01c633502dfeff 100644 (file)
@@ -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" } */
index 6d4b433d733b22351cc5eaf797fd07d3ed23a714..779ae66b7e1c743ca8381be37acc320b7d76dd93 100644 (file)
@@ -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>
 
index cb8043117d5d13c566838fc0fb5b9aa706e740a6..d954b4b12703b6f0985627c192ee05bea1d746b5 100644 (file)
@@ -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
 {
index 1841eddd0a18bf5eda1f5ccd0f0e00a2b76db807..05cc3660cb8b2fd1feddd437296b81df040d35f6 100644 (file)
@@ -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
 {
index 75233ac82277484b5bacc0c0ce764fe4a69cab0d..376c44d3e781845bd9a6346e1d458765d6d4d947 100644 (file)
@@ -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>
index d9c141d532617456ba1cdadfc2a259b894b5e2de..e92c5ae0456c0ac9665715183942f416b9d146f1 100644 (file)
@@ -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);
 
index 81972f1e8bef9ef1d1959731f428d5fef37c7733..951d028f7ae7b576946c31e9e0d295aff7e4820c 100644 (file)
@@ -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>
 
index b12c23efafc3e2f2346988d2fcb59d23edbad854..168d012a3f00aa7044ba3e60bcce2e9a7ba042aa 100644 (file)
@@ -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);
 
index 72dceafba192d3ca1e3662881a33aec3947a8cf9..a92a1140f676c0edd846d0e5da44a9c8bf29cb1b 100644 (file)
@@ -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);
 
index 73f22165cb051a1c18fcff67bbc645c8a929645d..d1c0949f32ba0e1ffbea39fff010c64d5ff2ea93 100644 (file)
@@ -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" } */
 
index 57c5be887364a2b5f05dbddb0aa2f91a6915aa05..8c24165877771db579ff47551cd4c28028c76668 100644 (file)
@@ -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;
index bf7aa59451179c098e3dd24a45f69de1faa6bf60..9209a7a4076dbd5f99b09e1efd928de34fa0bcd5 100644 (file)
@@ -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");
 
index 9a48ca7e861111c23def6999109f1025cb50eda0..de2f573cb8c9c698a268fed7b166277b01048487 100644 (file)
@@ -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\"" } */
 
index 81b504e2ab1ef17cefe2768d3a3d097f4b58b504..79448a533e539f02b36f7d91066651cbeef36896 100644 (file)
@@ -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 } */
index ebc95f5f906debce6e6cda74613c25743a0b503f..ddab440ff48c9fb8a154b13c76e1d1ba271bfe6f 100644 (file)
@@ -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.  */
index d4d0821f0e30c027bb9206733382fd4c47d7992a..e88b8167a198161327012a4b709fd1cfd921c842 100644 (file)
@@ -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");
index c544cadc268124efb40fe9cf25e29777e6a23155..ac7e14114dbe5f1de026e703a82e681284203a45 100644 (file)
@@ -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" } */
index a68b23ff5e6c4347cc5d7257d9747f2bb6ac4f5b..3224ba5a418ebffd9d548dfcb739c42964d106af 100644 (file)
@@ -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.  */
 
index 30a98c1d669b3e04ba4376b923bc734cddd2cc9b..9f86bea826b75ca6dac55ddecea5b22aa231c58c 100644 (file)
@@ -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;
index 698b0c1df39a7ad628fc9bac2cb4751b3c78c6a9..583c38a87e2955ed47f2cbe3e1f4f703db197367 100644 (file)
@@ -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" } */
index 5a2cab657a3ca8c75149402602004960fc5eb304..649cddfa071eb46988f82d031ed84c3e2bed585a 100644 (file)
@@ -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>
index f0dc39136e964a61736882dde965f72cfcc04c34..7ee87a564a46fe3129da10618630a4b23b5184c5 100644 (file)
@@ -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>
index 20dc4c48a28738f4fcb4f532822e9f28b49fe97d..0d26c9cc707dc3a9acfcfee3963986372e893a75 100644 (file)
@@ -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);