On 29 January 2016 at 05:03, Marek Polacek <pola...@redhat.com> wrote:
> On Fri, Jan 29, 2016 at 04:46:56AM +0530, Prathamesh Kulkarni wrote:
>> @@ -19016,10 +19017,22 @@ cp_parser_direct_declarator (cp_parser* parser,
>>         cp_lexer_consume_token (parser->lexer);
>>         /* Peek at the next token.  */
>>         token = cp_lexer_peek_token (parser->lexer);
>> +
>> +       /* If static keyword immediately follows [, report error.  */
>> +       if (cp_lexer_next_token_is_keyword (parser->lexer, RID_STATIC)
>> +           && current_binding_level->kind == sk_function_parms)
>> +         {
>> +           error_at (token->location,
>> +                     "static array size is a C99 feature,"
>> +                     "not permitted in C++");
>> +           bounds = error_mark_node;
>> +         }
>> +
>
> I think this isn't sufficient as-is; if we're changing the diagnostics here,
> we should also handle e.g. void f(int a[const 10]); where clang++ says
> g.C:1:13: error: qualifier in array size is a C99 feature, not permitted in 
> C++
>
> And also e.g.
> void f(int a[const static 10]);
> void f(int a[static const 10]);
> and similar.
Thanks for the review. AFAIK the type-qualifiers would be const,
restrict, volatile and _Atomic (n1570 p 6.7.3) ?
I added a check for those and for variable length array.
I am having issues with writing the test-case,
some cases pass with -std=c++11 but fail with -std=c++98.
Could you please have a look ?

Thanks,
Prathamesh
>
>         Marek
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 33f1df3..04137b3 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -982,6 +982,24 @@ cp_lexer_next_token_is_decl_specifier_keyword (cp_lexer 
*lexer)
     }
 }
 
+static bool
+cp_lexer_next_token_is_c_type_qual (cp_lexer *lexer)
+{
+  if (cp_lexer_next_token_is_keyword (lexer, RID_CONST) 
+      || cp_lexer_next_token_is_keyword (lexer, RID_VOLATILE))
+    return true;
+
+  cp_token *token = cp_lexer_peek_token (lexer);
+  if (token->type == CPP_NAME)
+    {
+      tree name = token->u.value;
+      const char *p = IDENTIFIER_POINTER (name);
+      return !strcmp (p, "restrict") || !strcmp (p, "_Atomic");
+    }
+
+  return false;
+}
+
 /* Returns TRUE iff the token T begins a decltype type.  */
 
 static bool
@@ -18998,10 +19016,40 @@ cp_parser_direct_declarator (cp_parser* parser,
          cp_lexer_consume_token (parser->lexer);
          /* Peek at the next token.  */
          token = cp_lexer_peek_token (parser->lexer);
+
+         /* If static or type-qualifier or * immediately follows [,
+            report error.  */
+         if (current_binding_level->kind == sk_function_parms)
+           {
+             if (cp_lexer_next_token_is_keyword (parser->lexer, RID_STATIC))
+               {
+                   error_at (token->location,
+                             "static array size is a C99 feature, "
+                             "not permitted in C++");
+                   bounds = error_mark_node;
+               }
+             else if (cp_lexer_next_token_is_c_type_qual (parser->lexer))
+               {
+                   error_at (token->location,
+                             "qualifier in array size is a C99 feature, "
+                             "not permitted in C++");
+                   bounds = error_mark_node;
+               }
+             
+             else if (token->type == CPP_MULT)
+               {
+                   error_at (token->location,
+                             "variable-length array size is a C99 feature, "
+                             "not permitted in C++");
+                   bounds = error_mark_node;
+               }
+           }
+
          /* If the next token is `]', then there is no
             constant-expression.  */
-         if (token->type != CPP_CLOSE_SQUARE)
+         if (token->type != CPP_CLOSE_SQUARE && bounds != error_mark_node)
            {
+
              bool non_constant_p;
              bounds
                = cp_parser_constant_expression (parser,
diff --git a/gcc/testsuite/g++.dg/parse/static-array-error.C 
b/gcc/testsuite/g++.dg/parse/static-array-error.C
new file mode 100644
index 0000000..028320d
--- /dev/null
+++ b/gcc/testsuite/g++.dg/parse/static-array-error.C
@@ -0,0 +1,33 @@
+// { dg-do compile }
+
+void f1(int a[static 10]);  /* { dg-error "static array size is a C99 feature" 
} */
+/* { dg-error "expected '\\]' before 'static'" "" { target *-*-* } 3 } */
+/* { dg-error "expected '\\)' before 'static'" "" { target *-*-* } 3 } */
+/* { dg-error "expected initializer before 'static'" "" { target *-*-* } 3 } */
+
+void f2(int a[const 10]); /* { dg-error "qualifier in array size is a C99 
feature" } */
+/* { dg-error "expected '\\]' before 'const'" "" { target *-*-* } 8 } */
+/* { dg-error "expected '\\)' before 'const'" "" { target *-*-* } 8 } */
+/* { dg-error "expected initializer before numeric constant" "" { target *-*-* 
} 8 } */
+
+void f3(int a[restrict 10]); /* { dg-error "qualifier in array size is a C99 
feature" } */
+/* { dg-error "expected '\\]' before 'restrict'" "" { target *-*-* } 13 } */
+/* { dg-error "expected '\\)' before 'restrict'" "" { target *-*-* } 13 } */
+/* { dg-error "expected initializer before 'restrict'" "" { target *-*-* } 13 
} */
+
+void f4(int a[volatile 10]); /* { dg-error "qualifier in array size is a C99 
feature" } */
+/* { dg-error "expected '\\]' before 'volatile'" "" { target *-*-* } 18 } */
+/* { dg-error "expected '\\)' before 'volatile'" "" { target *-*-* } 18 } */
+/* { dg-error "expected initializer before numeric constant" "" { target *-*-* 
} 18 } */
+
+
+void f4(int a[_Atomic 10]); /* { dg-error "qualifier in array size is a C99 
feature" } */
+/* { dg-error "expected '\\]' before '_Atomic'" "" { target *-*-* } 24 } */
+/* { dg-error "expected '\\)' before '_Atomic'" "" { target *-*-* } 24 } */
+/* { dg-error "expected initializer before '_Atomic'" "" { target *-*-* } 24 } 
*/
+
+
+void f5(int a[*]); /* { dg-error "variable-length array size is a C99 feature" 
} */
+/* { dg-error "expected ']' before '*' token" "" { target *-*-* } 24 } */
+/* { dg-error "expected '\\)' before '*' token" "" { target *-*-* } 24 } */
+/* { dg-error "expected initializer before '*' token" "" { target *-*-* } 24 } 
*/
Test Run By bilbo on Fri Jan 29 22:13:56 2016
Native configuration is x86_64-pc-linux-gnu

		=== g++ tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/dg.exp ...
LD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_RUN_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
SHLIB_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
LD_LIBRARY_PATH_32=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_LIBRARY_PATH_64=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
DYLD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
ALWAYS_CXXFLAGS set to {additional_flags=-fno-diagnostics-show-caret -fdiagnostics-color=never } {additional_flags=-nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util} {ldflags= -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs} additional_flags=-fmessage-length=0
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto  -c -o lto4687.o lto4687.c    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -c -o lto4687.o lto4687.c
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ linker_plugin4687.c    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin    -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm  -o linker_plugin4687.exe    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ linker_plugin4687.c -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm -o linker_plugin4687.exe
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0  -std=c++98  -pedantic-errors -Wno-long-long  -S -o static-array-error.s    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++98 -pedantic-errors -Wno-long-long -S -o static-array-error.s
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: static array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ']' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ')' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected initializer before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ']' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ')' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:21: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ']' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ')' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected initializer before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ']' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ')' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:24: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ']' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ')' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected initializer before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: variable-length array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token
compiler exited with status 1
output is:
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: static array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ']' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ')' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected initializer before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ']' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ')' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:21: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ']' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ')' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected initializer before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ']' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ')' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:24: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ']' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ')' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected initializer before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: variable-length array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token

PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 30)
FAIL: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++98  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++98 (test for excess errors)
Excess errors:
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token

Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0  -std=c++11  -pedantic-errors -Wno-long-long  -S -o static-array-error.s    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++11 -pedantic-errors -Wno-long-long -S -o static-array-error.s
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: static array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ']' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ')' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected initializer before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ']' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ')' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:21: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ']' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ')' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected initializer before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ']' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ')' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:24: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ']' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ')' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected initializer before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: variable-length array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token
compiler exited with status 1
output is:
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: static array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ']' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ')' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected initializer before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ']' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ')' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:21: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ']' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ')' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected initializer before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ']' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ')' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:24: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ']' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ')' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected initializer before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: variable-length array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token

PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 30)
FAIL: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++11  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++11 (test for excess errors)
Excess errors:
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token

Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0  -std=c++14  -pedantic-errors -Wno-long-long  -S -o static-array-error.s    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++2/../../ /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++14 -pedantic-errors -Wno-long-long -S -o static-array-error.s
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: static array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ']' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ')' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected initializer before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ']' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ')' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:21: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ']' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ')' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected initializer before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ']' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ')' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:24: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ']' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ')' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected initializer before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: variable-length array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token
compiler exited with status 1
output is:
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: static array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ']' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected ')' before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:3:15: error: expected initializer before 'static'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ']' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:15: error: expected ')' before 'const'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:8:21: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ']' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected ')' before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:13:15: error: expected initializer before 'restrict'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ']' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:15: error: expected ')' before 'volatile'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:18:24: error: expected initializer before numeric constant
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: qualifier in array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ']' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected ')' before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:24:15: error: expected initializer before '_Atomic'
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: variable-length array size is a C99 feature, not permitted in C++
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token

PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 3)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 8)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 13)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 18)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 24)
PASS: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 30)
FAIL: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++14  (test for errors, line 24)
FAIL: g++.dg/parse/static-array-error.C  -std=c++14 (test for excess errors)
Excess errors:
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ']' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected ')' before '*' token
/home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/parse/static-array-error.C:30:15: error: expected initializer before '*' token

testcase /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/dg.exp completed in 0 seconds

LD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_RUN_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
SHLIB_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
LD_LIBRARY_PATH_32=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_LIBRARY_PATH_64=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
DYLD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
ALWAYS_CXXFLAGS set to {additional_flags=-fno-diagnostics-show-caret -fdiagnostics-color=never } {additional_flags=-nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util} {ldflags= -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs} additional_flags=-fmessage-length=0
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto  -c -o lto4673.o lto4673.c    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../ -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -c -o lto4673.o lto4673.c
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../ linker_plugin4673.c    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin    -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm  -o linker_plugin4673.exe    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../ linker_plugin4673.c -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm -o linker_plugin4673.exe
testcase /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/dg.exp completed in 1 seconds

LD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_RUN_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
SHLIB_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
LD_LIBRARY_PATH_32=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_LIBRARY_PATH_64=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
DYLD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
ALWAYS_CXXFLAGS set to {additional_flags=-fno-diagnostics-show-caret -fdiagnostics-color=never } {additional_flags=-nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util} {ldflags= -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs} additional_flags=-fmessage-length=0
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto  -c -o lto4674.o lto4674.c    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../ -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -c -o lto4674.o lto4674.c
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../ linker_plugin4674.c    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin    -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm  -o linker_plugin4674.exe    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++1/../../ linker_plugin4674.c -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm -o linker_plugin4674.exe
testcase /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/dg.exp completed in 0 seconds

LD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_RUN_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
SHLIB_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
LD_LIBRARY_PATH_32=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_LIBRARY_PATH_64=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
DYLD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
ALWAYS_CXXFLAGS set to {additional_flags=-fno-diagnostics-show-caret -fdiagnostics-color=never } {additional_flags=-nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util} {ldflags= -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs} additional_flags=-fmessage-length=0
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto  -c -o lto4681.o lto4681.c    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../ -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -c -o lto4681.o lto4681.c
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../ linker_plugin4681.c    -fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin    -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm  -o linker_plugin4681.exe    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../xg++ -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++3/../../ linker_plugin4681.c -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -flto -fuse-linker-plugin -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs -lm -o linker_plugin4681.exe
testcase /home/bilbo/gnu-toolchain/static-array-warn/gcc/gcc/testsuite/g++.dg/dg.exp completed in 1 seconds


		=== g++ Summary ===

# of expected passes		63
# of unexpected failures	12
LD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_RUN_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
SHLIB_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
LD_LIBRARY_PATH_32=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
LD_LIBRARY_PATH_64=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-gmp/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpfr/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-mpc/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./isl/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/./prev-isl/.libs
DYLD_LIBRARY_PATH=.:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc:/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/32
ALWAYS_CXXFLAGS set to {additional_flags=-fno-diagnostics-show-caret -fdiagnostics-color=never } {additional_flags=-nostdinc++ -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/libsupc++ -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/include/backward -I/home/bilbo/gnu-toolchain/static-array-warn/gcc/libstdc++-v3/testsuite/util} {ldflags= -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs  -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs -B/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/ -L/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/x86_64-pc-linux-gnu/./libitm/.libs} additional_flags=-fmessage-length=0
Executing on host: /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++ -v    (timeout = 300)
spawn -ignore SIGHUP /home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++ -v
Using built-in specs.
COLLECT_GCC=/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++,lto --disable-bootstrap
Thread model: posix
gcc version 6.0.0 20160127 (experimental) (GCC) 
/home/bilbo/gnu-toolchain/static-array-warn/stage1-build/gcc/testsuite/g++/../../xg++  version 6.0.0 20160127 (experimental) (GCC) 

runtest completed at Fri Jan 29 22:13:57 2016

Attachment: ChangeLog
Description: Binary data

Reply via email to