public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/107311] New: New test case gcc.dg/c2x-enum-1.c fails @ 2022-10-19 1:47 seurer at gcc dot gnu.org 2022-10-19 7:24 ` [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f rguenth at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: seurer at gcc dot gnu.org @ 2022-10-19 1:47 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107311 Bug ID: 107311 Summary: New test case gcc.dg/c2x-enum-1.c fails Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:3b3083a598ca3f4b6203284e01ed39ab6ff0844f, r13-3360-g3b3083a598ca3f make -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}' dg.exp=gcc.dg/c2x-enum-1.c" FAIL: gcc.dg/c2x-enum-1.c (test for excess errors) This is failing with 32 bits on big endian powerpc64. 64 bits works fine. spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled39558.cc -m32 -fdiagnostics-plain-output -S -o exceptions_enabled39558.s FAIL: gcc.dg/c2x-enum-1.c (test for excess errors) Excess errors: /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/c2x-enum-1.c:8:47: error: pointer type mismatch in conditional expression Author: Joseph Myers <joseph@codesourcery.com> Date: Tue Oct 18 14:07:27 2022 +0000 c: C2x enums wider than int [PR36113] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f 2022-10-19 1:47 [Bug c/107311] New: New test case gcc.dg/c2x-enum-1.c fails seurer at gcc dot gnu.org @ 2022-10-19 7:24 ` rguenth at gcc dot gnu.org 2022-10-19 7:33 ` jakub at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-10-19 7:24 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107311 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testsuite-fail Priority|P3 |P1 Target Milestone|--- |13.0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f 2022-10-19 1:47 [Bug c/107311] New: New test case gcc.dg/c2x-enum-1.c fails seurer at gcc dot gnu.org 2022-10-19 7:24 ` [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f rguenth at gcc dot gnu.org @ 2022-10-19 7:33 ` jakub at gcc dot gnu.org 2022-10-19 16:53 ` cvs-commit at gcc dot gnu.org 2022-10-19 17:12 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2022-10-19 7:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107311 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2022-10-19 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It fails on i686-linux too and I think on all sizeof(int) == sizeof(long) && sizeof(long) < sizeof(long long) targets (so all 32-bit?). https://gcc.gnu.org/pipermail/gcc-patches/2022-October/603846.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f 2022-10-19 1:47 [Bug c/107311] New: New test case gcc.dg/c2x-enum-1.c fails seurer at gcc dot gnu.org 2022-10-19 7:24 ` [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f rguenth at gcc dot gnu.org 2022-10-19 7:33 ` jakub at gcc dot gnu.org @ 2022-10-19 16:53 ` cvs-commit at gcc dot gnu.org 2022-10-19 17:12 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2022-10-19 16:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107311 --- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>: https://gcc.gnu.org/g:a01eae670600852f78e8df1b88259572f181d42e commit r13-3385-ga01eae670600852f78e8df1b88259572f181d42e Author: Jakub Jelinek <jakub@redhat.com> Date: Wed Oct 19 18:49:03 2022 +0200 testsuite: Fix up c2x-enum-1.c for 32-bit arches [PR107311] On Wed, Oct 19, 2022 at 02:57:59PM +0000, Joseph Myers wrote: > I think the type checked for e5a should be conditional on __LONG_MAX__ > > __INT_MAX__; everything else there should be OK regardless. This patch does that. 2022-10-19 Jakub Jelinek <jakub@redhat.com> PR c/107311 * gcc.dg/c2x-enum-1.c (enum e5): Expect e5a type inside of enum to be int rather than long if long isn't wider than int. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f 2022-10-19 1:47 [Bug c/107311] New: New test case gcc.dg/c2x-enum-1.c fails seurer at gcc dot gnu.org ` (2 preceding siblings ...) 2022-10-19 16:53 ` cvs-commit at gcc dot gnu.org @ 2022-10-19 17:12 ` jakub at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: jakub at gcc dot gnu.org @ 2022-10-19 17:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107311 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-10-19 17:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-10-19 1:47 [Bug c/107311] New: New test case gcc.dg/c2x-enum-1.c fails seurer at gcc dot gnu.org 2022-10-19 7:24 ` [Bug c/107311] [13 regression] test case gcc.dg/c2x-enum-1.c fails after r13-3360-g3b3083a598ca3f rguenth at gcc dot gnu.org 2022-10-19 7:33 ` jakub at gcc dot gnu.org 2022-10-19 16:53 ` cvs-commit at gcc dot gnu.org 2022-10-19 17:12 ` jakub 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).