public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/99230] New: [11 Regression] gcc.dg/pr83527.c excess errors: '-fcompare-debug' failure (length)
@ 2021-02-23 21:40 hp at gcc dot gnu.org
  2021-02-23 21:42 ` [Bug debug/99230] " hp at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: hp at gcc dot gnu.org @ 2021-02-23 21:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99230
           Summary: [11 Regression] gcc.dg/pr83527.c excess errors:
                    '-fcompare-debug' failure (length)
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: aoliva at gcc dot gnu.org, sandra at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: cris-elf

This test started to fail for cris-elf almost identically to the description in
PR83527 since 3696a50beeb73f4 / r11-3302 "Change C front end to emit structured
loop and switch tree nodes", but I don't see this failure for other targets in
the gcc-testresults@ archives (at least no search engine hits) and I can't find
an obvious target description oddity related to switches or case-tables.

Build machine is x86_64 stock Debian 9.  A brief look at the commit fixing
PR83527 (18408e962e5a) didn't help with applying that to the mentioned switch
rewrite.

No extra tools are needed to repeat the problem, just configure with  e.g.
"--target=cris-elf --enable-languages=c" and
"make all-gcc" then "make check-gcc-c RUNTESTFLAGS=dg.exp=pr83527.c"

(I use --target_board=cris-sim usually but that can be elided for this test.)

Perhaps of interest:
--- pr83527.gk.c.gkd    2021-02-23 16:02:07.985669417 +0100
+++ pr83527.c.gkd       2021-02-23 16:02:07.973669826 +0100
@@ -7,7 +7,7 @@ Declarations used by fn1, sorted by DECL
 5:   void <L0>;
 2:   void <L1>;
 3:   void <L2>;
-1:   void <L9>;
+1:   void <L10>;

 ;; Function fn1 (fn1, funcdef_no=0, cgraph_uid=1, symbol_order=2)

Testsuite run:
Running /x/gcc/gcc/testsuite/gcc.dg/dg.exp ...
... (lines elided)
FAIL: gcc.dg/pr83527.c (test for excess errors)

>From gcc.log:
xgcc: error: /x/gcc/gcc/testsuite/gcc.dg/pr83527.c: '-fcompare-debug' failure
(length)

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

end of thread, other threads:[~2021-03-24 15:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 21:40 [Bug debug/99230] New: [11 Regression] gcc.dg/pr83527.c excess errors: '-fcompare-debug' failure (length) hp at gcc dot gnu.org
2021-02-23 21:42 ` [Bug debug/99230] " hp at gcc dot gnu.org
2021-02-24  8:30 ` rguenth at gcc dot gnu.org
2021-02-24 16:59 ` jakub at gcc dot gnu.org
2021-02-26 12:59 ` rguenth at gcc dot gnu.org
2021-03-01 11:53 ` jakub at gcc dot gnu.org
2021-03-01 12:46 ` jakub at gcc dot gnu.org
2021-03-17 18:56 ` jakub at gcc dot gnu.org
2021-03-18 14:57 ` hp at gcc dot gnu.org
2021-03-20 16:02 ` cvs-commit at gcc dot gnu.org
2021-03-24 15:09 ` 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).