From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 29A2A3848012; Tue, 23 Feb 2021 21:40:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29A2A3848012 From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/99230] New: [11 Regression] gcc.dg/pr83527.c excess errors: '-fcompare-debug' failure (length) Date: Tue, 23 Feb 2021 21:40:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 21:40:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99230 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 descriptio= n in PR83527 since 3696a50beeb73f4 / r11-3302 "Change C front end to emit struct= ured 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 swit= ch rewrite. No extra tools are needed to repeat the problem, just configure with e.g. "--target=3Dcris-elf --enable-languages=3Dc" and "make all-gcc" then "make check-gcc-c RUNTESTFLAGS=3Ddg.exp=3Dpr83527.c" (I use --target_board=3Dcris-sim usually but that can be elided for this te= st.) 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 ; 2: void ; 3: void ; -1: void ; +1: void ; ;; Function fn1 (fn1, funcdef_no=3D0, cgraph_uid=3D1, symbol_order=3D2) 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' failu= re (length)=