public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/100272] New: some incomplete dg-commands
Date: Mon, 26 Apr 2021 19:41:33 +0000	[thread overview]
Message-ID: <bug-100272-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100272

            Bug ID: 100272
           Summary: some incomplete dg-commands
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

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" }

./gcc/testsuite/g++.dg/diagnostic/ptrtomem1.C:22:requires (sizeof(T)==1) //
dg-message {\[with T = int \(X::\*\)\[5\]\]} }



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" } */

./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" }

             reply	other threads:[~2021-04-26 19:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 19:41 gscfq@t-online.de [this message]
2021-04-27  8:40 ` [Bug testsuite/100272] " rguenth at gcc dot gnu.org
2021-04-27  8:55 ` cvs-commit at gcc dot gnu.org
2021-04-27  8:56 ` rguenth at gcc dot gnu.org
2021-04-27  9:04 ` cvs-commit at gcc dot gnu.org
2021-04-27  9:05 ` rguenth at gcc dot gnu.org
2021-04-27 17:03 ` cvs-commit at gcc dot gnu.org
2021-04-27 17:04 ` msebor at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-100272-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).