public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/115545] New: [15 regression] missing/excess errors after r15-1395-g01044471ea39f9
Date: Tue, 18 Jun 2024 22:57:34 +0000	[thread overview]
Message-ID: <bug-115545-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 115545
           Summary: [15 regression] missing/excess errors after
                    r15-1395-g01044471ea39f9
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:01044471ea39f9be4803c583ef2a946abc657f99, r15-1395-g01044471ea39f9

Seeing this on powerpc64 BE systems.

FAIL: gcc.dg/c23-tag-enum-6.c  (test for errors, line 10)
FAIL: gcc.dg/c23-tag-enum-6.c  (test for errors, line 13)
FAIL: gcc.dg/c23-tag-enum-7.c (test for excess errors)
FAIL: gcc.dg/pr115109.c (test for excess errors)


commit 01044471ea39f9be4803c583ef2a946abc657f99 (HEAD)
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Tue Jun 18 12:22:30 2024 +0100

    Make force_subreg emit nothing on failure



Looks like it is missing some errors

spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-6.c -m32
-fdiagnostics-plain-output -std=c23 -fno-short-enums -S -o c23-tag-enum-6.s
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-6.c:16:24:
error: value of redeclared enumerator outside the range of 'enum F'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-6.c:15:10:
note: previous definition of 'A' with type 'enum F'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-6.c:19:39:
error: overflow in enumeration values
compiler exited with status 1
FAIL: gcc.dg/c23-tag-enum-6.c  (test for errors, line 10)
FAIL: gcc.dg/c23-tag-enum-6.c  (test for errors, line 13)
PASS: gcc.dg/c23-tag-enum-6.c  (test for errors, line 16)
PASS: gcc.dg/c23-tag-enum-6.c  (test for errors, line 19)

And has excess errors

spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/ exceptions_enabled727535.cc -m32
-fdiagnostics-plain-output -Wno-complain-wrong-lang -S -o
exceptions_enabled727535.s
FAIL: gcc.dg/c23-tag-enum-7.c (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:15:18:
warning: left shift count >= width of type [-Wshift-count-overflow]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:16:24:
error: '_Generic' selector of type 'int' is not compatible with any association
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:16:15:
error: expression in static assertion is not an integer
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:17:24:
error: '_Generic' selector of type 'int' is not compatible with any association
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:17:15:
error: expression in static assertion is not an integer
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:18:18:
warning: left shift count >= width of type [-Wshift-count-overflow]
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:18:39:
error: conflicting redeclaration of enumerator 'd'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:18:39:
error: conflicting redefinition of enum 'enum H'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:19:24:
error: '_Generic' selector of type 'int' is not compatible with any association
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:19:15:
error: expression in static assertion is not an integer
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:20:24:
error: '_Generic' selector of type 'int' is not compatible with any association
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:20:15:
error: expression in static assertion is not an integer
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:23:71:
error: '_Generic' selector of type 'long long unsigned int' is not compatible
with any association
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/c23-tag-enum-7.c:33:61:
error: '_Generic' selector of type 'long long int' is not compatible with any
association

spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test2/gcc/ exceptions_enabled730621.cc -m32
-fdiagnostics-plain-output -Wno-complain-wrong-lang -S -o
exceptions_enabled730621.s
FAIL: gcc.dg/pr115109.c (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/pr115109.c:7:54: error:
'_Generic' selector of type 'int' is not compatible with any association
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/pr115109.c:7:41: error:
conflicting redeclaration of enumerator 'b'
/home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/pr115109.c:7:62: error:
conflicting redefinition of enum 'enum E'

             reply	other threads:[~2024-06-18 22:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18 22:57 seurer at gcc dot gnu.org [this message]
2024-06-18 23:05 ` [Bug other/115545] [15 regression] missing/excess errors after r15-1394 pinskia at gcc dot gnu.org
2024-06-18 23:06 ` [Bug testsuite/115545] " pinskia at gcc dot gnu.org
2024-06-18 23:08 ` pinskia at gcc dot gnu.org
2024-06-19  5:22 ` uecker at gcc dot gnu.org
2024-06-19  5:26 ` pinskia at gcc dot gnu.org
2024-06-28  5:22 ` [Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394 for targets where sizeof(int)==sizeof(long) uecker 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-115545-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).