public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/110756] [14 Regression] commit g:92d1425ca78 causes failures in g++.dg/gomp/pr58567.C
Date: Sun, 20 Aug 2023 19:02:30 +0000	[thread overview]
Message-ID: <bug-110756-4-TQdbYtcjUg@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-110756-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:

https://gcc.gnu.org/g:40a6803c6d8ca244a7bdda8e4ec986c418362b24

commit r14-3344-g40a6803c6d8ca244a7bdda8e4ec986c418362b24
Author: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Date:   Sun Aug 20 20:46:05 2023 +0200

    testsuite: Adjust g++.dg/gomp/pr58567.C to new compiler message

    Commit 92d1425ca780 "c++: redundant targ coercion for var/alias tmpls"
    changed the compiler error message in this testcase from

    <source>: In instantiation of 'void foo() [with T = int]':
    <source>:14:11:   required from here
    <source>:8:22: error: 'int' is not a class, struct, or union type
    <source>:8:22: error: 'int' is not a class, struct, or union type
    <source>:8:22: error: 'int' is not a class, struct, or union type
    <source>:8:3: error: expected iteration declaration or initialization
    compiler exited with status 1

    to:

    <source>: In instantiation of 'void foo() [with T = int]':
    <source>:14:11:   required from here
    <source>:8:22: error: 'int' is not a class, struct, or union type
    <source>:8:3: error: invalid type for iteration variable 'i'
    compiler exited with status 1
    Excess errors:
    <source>:8:3: error: invalid type for iteration variable 'i'

    Andrew Pinski analysed the issue in PR 110756 and considered that it was a
    testsuite issue in that the error message changed slightly.  Also, it's a
    better error message.

    Therefore, we only need to adjust the testcase to expect the new message.

    gcc/testsuite/ChangeLog:
            PR testsuite/110756
            * g++.dg/gomp/pr58567.C: Adjust to new compiler error message.

  parent reply	other threads:[~2023-08-20 19:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 21:44 [Bug c++/110756] New: " thiago.bauermann at linaro dot org
2023-07-20 21:51 ` [Bug testsuite/110756] " pinskia at gcc dot gnu.org
2023-07-20 23:15 ` thiago.bauermann at linaro dot org
2023-07-21 13:38 ` ppalka at gcc dot gnu.org
2023-07-21 19:53 ` pinskia at gcc dot gnu.org
2023-08-20 19:02 ` cvs-commit at gcc dot gnu.org [this message]
2023-08-20 19:05 ` burnus 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-110756-4-TQdbYtcjUg@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).