https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100272
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
Last reconfirmed| |2021-04-27
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to G. Steinmetz from comment #0)
> Missing a starting "{" after "//" :
>
> ./gcc/testsuite/g++.dg/ext/flexary13.C: { 0, { } }; // dg-warning
> "initialization of a flexible array member" }
> ./gcc/testsuite/g++.dg/ext/flexary13.C: { 1, { 2 } }; // dg-warning
> "initialization of a flexible array member" }
> ./gcc/testsuite/g++.dg/ext/flexary13.C: { 2, { 3, 4 } }; // dg-warning
> "initialization of a flexible array member" }
> ./gcc/testsuite/g++.dg/ext/flexary13.C: { 123, i }; // dg-warning
> "initialization of a flexible array member" }
> ./gcc/testsuite/g++.dg/ext/flexary13.C: { 456, { i } }; // dg-warning
> "initialization of a flexible array member" }
> ./gcc/testsuite/g++.dg/ext/flexary13.C: { 3, { i, j, k } }; //
> dg-warning "initialization of a flexible array member" }
> ./gcc/testsuite/g++.dg/ext/flexary13.C: { 1, { 2 } }; // dg-warning
> "initialization of a flexible array member" }
The warnings don't appear - maybe it was a way to "xfail" them w/o xfailing...
> ./gcc/testsuite/g++.dg/diagnostic/ptrtomem1.C:22:requires (sizeof(T)==1) //
> dg-message {\[with T = int \(X::\*\)\[5\]\]} }
Fixing.
>
>
> Missing both starting "{" and ending "}" (if desired at all) :
>
> ./gcc/testsuite/g++.dg/template/spec26.C:1:// dg-do run
>
> ./gcc/testsuite/gcc.dg/pr20126.c:1:/* dg-do run */
> ./gcc/testsuite/gcc.dg/pr20126.c:2:/* dg-options "-O2" */
>
> ./gcc/testsuite/gcc.dg/tree-ssa/pr20739.c:3:/* dg-do compile */
> ./gcc/testsuite/gcc.dg/tree-ssa/pr20739.c:4:/* dg-options "-O" */
>
> ./gcc/testsuite/gcc.dg/tree-ssa/predcom-1.c:50:/* dg-final {
> scan-tree-dump-times "looparound ref" 1 "pcom" } */
xfail as well
> ./libffi/testsuite/libffi.complex/complex_int.c:79: /* dg-output "-2,8i
> 2,8i, x 1234 1234, y 11110 11110" */
>
>
>
> This dg-command seems to be truncated at "+" :
>
> ./gcc/testsuite/g++.dg/ipa/pr45572-2.C:2:// { dg-options
> "-finline-small-functions -findirect-inlining -finline-function+
> ---
> ./gcc/testsuite/g++.dg/ipa/pr45572-2.C:2:// { dg-options
> "-finline-small-functions -findirect-inlining -finline-functions" }