From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E86543894410; Tue, 27 Apr 2021 08:40:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E86543894410 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/100272] some incomplete dg-commands Date: Tue, 27 Apr 2021 08:40:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cf_reconfirmed_on bug_status everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2021 08:40:33 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100272 Richard Biener 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 --- (In reply to G. Steinmetz from comment #0) > Missing a starting "{" after "//" : >=20 > ./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-warni= ng > "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)=3D= =3D1) // > dg-message {\[with T =3D int \(X::\*\)\[5\]\]} } Fixing. >=20 >=20 > Missing both starting "{" and ending "}" (if desired at all) : >=20 > ./gcc/testsuite/g++.dg/template/spec26.C:1:// dg-do run >=20 > ./gcc/testsuite/gcc.dg/pr20126.c:1:/* dg-do run */ > ./gcc/testsuite/gcc.dg/pr20126.c:2:/* dg-options "-O2" */ >=20 > ./gcc/testsuite/gcc.dg/tree-ssa/pr20739.c:3:/* dg-do compile */ > ./gcc/testsuite/gcc.dg/tree-ssa/pr20739.c:4:/* dg-options "-O" */ >=20 > ./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" */ >=20 >=20 >=20 > This dg-command seems to be truncated at "+" : >=20 > ./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" }=