/home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘undeclared_identifier’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:9:3: error: ‘name’ undeclared (first use in this function) name; /* { dg-error "'name' undeclared" } */ ▲─── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:9:3: note: each undeclared identifier is reported only once for each function it appears in /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘unknown_type_name’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:20:3: error: unknown type name ‘foo’ foo bar; /* { dg-error "unknown type name 'foo'" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:28:3: error: unknown type name ‘qux’ qux *baz; /* { dg-error "unknown type name 'qux'" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘test_identifier_conflicts_with_cplusplus’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:39:7: warning: identifier ‘new’ conflicts with C++ keyword [-Wc++-compat] int new; /* { dg-warning "identifier 'new' conflicts with" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: At top level: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:49:16: error: ISO C requires a named argument before ‘...’ bogus_varargs (...); /* { dg-error "ISO C requires a named argument before '...'" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:58:6: error: unknown type name ‘unknown_type’ foo (unknown_type param); /* { dg-error "unknown type name 'unknown_type'" } */ ▲─────────── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘wide_string_literal_in_asm’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:68:8: error: wide string literal in ‘asm’ asm (L"nop"); /* { dg-error "wide string literal in 'asm'" } */ ▲───── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘label_in_front_of_decl’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:80:3: error: a label can only be part of a statement and a declaration is not a statement label: ───── int i; /* { dg-error "a label can only be part of a statement and a declaration is not a statement" } */ ▲── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: In function ‘break_and_continue_in_wrong_places’: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:95:5: error: break statement not within loop or switch break; /* { dg-error "break statement not within loop or switch" } */ ▲──── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:104:5: error: continue statement not within a loop continue; /* { dg-error "continue statement not within a loop" } */ ▲─────── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c: At top level: /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:113:5: error: two or more data types in declaration specifiers int float bogus; /* { dg-error "two or more data types in declaration specifiers" } */ ▲──── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:119:11: error: ‘long long long’ is too long for GCC long long long bogus2; /* { dg-error "'long long long' is too long for GCC" } */ ▲─── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:125:6: error: both ‘long’ and ‘short’ in declaration specifiers long short bogus3; /* { dg-error "both 'long' and 'short' in declaration specifiers" } */ ▲──── /home/david/coding-3/gcc-git-rich-errors/src/gcc/testsuite/gcc.dg/diagnostic-ranges-1.c:131:8: error: both ‘signed’ and ‘unsigned’ in declaration specifiers signed unsigned bogus4; /* { dg-error "both 'signed' and 'unsigned' in declaration specifiers" } */ ▲───────