public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/115545] New: [15 regression] missing/excess errors after r15-1395-g01044471ea39f9
@ 2024-06-18 22:57 seurer at gcc dot gnu.org
  2024-06-18 23:05 ` [Bug other/115545] [15 regression] missing/excess errors after r15-1394 pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: seurer at gcc dot gnu.org @ 2024-06-18 22:57 UTC (permalink / raw)
  To: gcc-bugs

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'

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-06-28  5:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-18 22:57 [Bug other/115545] New: [15 regression] missing/excess errors after r15-1395-g01044471ea39f9 seurer at gcc dot gnu.org
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

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).