From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67737 invoked by alias); 24 Oct 2019 18:33:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 67703 invoked by uid 48); 24 Oct 2019 18:33:55 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92215] New: flawed diagnostic for bit-field with non-integral type Date: Thu, 24 Oct 2019 18:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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 target_milestone 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-SW-Source: 2019-10/txt/msg02201.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92215 Bug ID: 92215 Summary: flawed diagnostic for bit-field with non-integral type Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- struct S { int *foo : 3; }; r.C:2:8: error: function definition does not declare parameters 2 | int *foo : 3; | ^~~ Huh? We should say something like r.C:2:8: error: bit-field 'foo' has non-integral type 'int *' >>From gcc-bugs-return-657476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 18:34:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68623 invoked by alias); 24 Oct 2019 18:34:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68550 invoked by uid 48); 24 Oct 2019 18:34:23 -0000 From: "fuchedzhy at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier Date: Thu, 24 Oct 2019 18:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: fuchedzhy at google dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02202.txt.bz2 Content-length: 205 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91812 --- Comment #13 from Gregory Fuchedzhy --- (In reply to Richard Biener from comment #12) > Fixed. Thanks a lot, Richard! >>From gcc-bugs-return-657477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 19:27:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119889 invoked by alias); 24 Oct 2019 19:27:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119805 invoked by uid 48); 24 Oct 2019 19:27:14 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91962] [10 Regression] ice in build_target_expr, at cp/tree.c:488 Date: Thu, 24 Oct 2019 19:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02203.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91962 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #4 from Marek Polacek --- https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01771.html >>From gcc-bugs-return-657478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 19:42:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25084 invoked by alias); 24 Oct 2019 19:42:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25007 invoked by uid 48); 24 Oct 2019 19:42:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92115] [10 Regression] ICE in gimple_cond_get_ops_from_tree, at gimple-expr.c:577 Date: Thu, 24 Oct 2019 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02204.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92115 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-657479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 20:50:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13633 invoked by alias); 24 Oct 2019 20:50:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12943 invoked by uid 48); 24 Oct 2019 20:50:36 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84487] [8/9 Regression] Large rodate section increase in 465.tonto with r254427 Date: Thu, 24 Oct 2019 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02205.txt.bz2 Content-length: 1051 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84487 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |bergner at gcc dot gnu.org Resolution|FIXED |--- --- Comment #31 from Peter Bergner --- (In reply to Christophe Lyon from comment #30) > Since this was backported to gcc-8-branch, I've noticed: > FAIL: gfortran.dg/pr51434.f90 -O2 execution test > FAIL: gfortran.dg/pr51434.f90 -Os execution test > on arm and aarch64 I'm seeing this on powerpc64le-linux as well, also only on FSF 8 branch. I= 'm unsure if the patch is at fault or whether it's exposing a latent issue, si= nce I can get the tests to pass if I add -fno-tree-vrp. Maybe there's some interaction between this patch and VRP? I'm reopening the bug until this is resolved. >>From gcc-bugs-return-657480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 20:50:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14049 invoked by alias); 24 Oct 2019 20:50:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13371 invoked by uid 48); 24 Oct 2019 20:50:41 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) Date: Thu, 24 Oct 2019 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02207.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 Bug 26163 depends on bug 84487, which changed state. Bug 84487 Summary: [8/9 Regression] Large rodate section increase in 465.to= nto with r254427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84487 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- >>From gcc-bugs-return-657481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 20:50:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14352 invoked by alias); 24 Oct 2019 20:50:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13725 invoked by uid 48); 24 Oct 2019 20:50:44 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84613] [meta-bug] SPEC compiler performance issues Date: Thu, 24 Oct 2019 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02206.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84613 Bug 84613 depends on bug 84487, which changed state. Bug 84487 Summary: [8/9 Regression] Large rodate section increase in 465.to= nto with r254427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84487 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- >>From gcc-bugs-return-657482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 20:57:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32189 invoked by alias); 24 Oct 2019 20:57:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30606 invoked by uid 48); 24 Oct 2019 20:57:04 -0000 From: "kozzi11 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/92216] New: GDC generate duplicate symbols when mixins and interfaces are used to gather Date: Thu, 24 Oct 2019 20:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kozzi11 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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 target_milestone attachments.created 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-SW-Source: 2019-10/txt/msg02208.txt.bz2 Content-length: 1270 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92216 Bug ID: 92216 Summary: GDC generate duplicate symbols when mixins and interfaces are used to gather Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: kozzi11 at gmail dot com Target Milestone: --- Created attachment 47109 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47109&action=3Dedit Zip archive with b.d and c.d files There seems to be an issue with generating object symbols for mixins. In so= me cases gdc generate same symbols (not weak) in object files so there is a collision when linking. Trying to build gtkd package is one of examples. I have write small example= to mitigate this issue. It is add as an attachment. $ gdc -c -o b.o b.d $ gdc -c -o c.o c.d $ gdc -o test.o b.o c.o ld: c.o: in function `_DT16_D1b1B8__mixin24getSMFZPv': c.d:(.text+0x27): multiple definition of `_DT16_D1b1B8__mixin24getSMFZPv'; b.o:b.d:(.text+0x38): first defined here I have try this with gcc 9.2 (gdc (GCC) 9.2.0) And with git gcc(gdc) 10 (from august) same issue for both versions >>From gcc-bugs-return-657483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 21:02:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48771 invoked by alias); 24 Oct 2019 21:02:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48718 invoked by uid 48); 24 Oct 2019 21:02:47 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92215] flawed diagnostic for bit-field with non-integral type Date: Thu, 24 Oct 2019 21:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02209.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92215 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-24 Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Patch incoming. >>From gcc-bugs-return-657484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 21:44:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70842 invoked by alias); 24 Oct 2019 21:44:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70680 invoked by uid 48); 24 Oct 2019 21:44:32 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92194] maybe-uninitialized false positive with c++2a Date: Thu, 24 Oct 2019 21:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: cc see_also Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02210.txt.bz2 Content-length: 646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92194 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D80635 --- Comment #3 from Eric Gallager --- (In reply to Martin Sebor from comment #1) > Possible duplicate of pr80635. Well, related at least... >>From gcc-bugs-return-657485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 21:53:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84331 invoked by alias); 24 Oct 2019 21:53:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84265 invoked by uid 48); 24 Oct 2019 21:53:09 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87768] [8 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19002 when using concepts Date: Thu, 24 Oct 2019 21:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02211.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87768 --- Comment #7 from Eric Gallager --- (In reply to gcc-bugs from comment #6) > I can confirm that this works from 9 and up. Is there any chance to backp= ort > it to 8? That's why this bug is still open. >=20 > In the ticket it says `Target Milestone: 8.4`, does that mean there will = be > a 8.4 release that fixes this? Yes, there will be a release for 8.4, the intent is that 8.4 will fix this,= but the backport hasn't actually happened yet >>From gcc-bugs-return-657486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 22:01:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107955 invoked by alias); 24 Oct 2019 22:00:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106458 invoked by uid 48); 24 Oct 2019 22:00:40 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85678] -fno-common should be default Date: Thu, 24 Oct 2019 22:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02212.txt.bz2 Content-length: 214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85678 --- Comment #4 from Eric Gallager --- This keeps getting brought up in bug 91766 (already added as related from t= he other end) >>From gcc-bugs-return-657487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 22:08:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113681 invoked by alias); 24 Oct 2019 22:08:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113647 invoked by uid 48); 24 Oct 2019 22:08:23 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92134] static constinit members incorrectly compile Date: Thu, 24 Oct 2019 22:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02213.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92134 --- Comment #1 from Marek Polacek --- Untested fix: --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -990,6 +990,9 @@ grokfield (const cp_declarator *declarator, else flags =3D LOOKUP_IMPLICIT; + if (decl_spec_seq_has_spec_p (declspecs, ds_constinit)) + flags |=3D LOOKUP_CONSTINIT; + switch (TREE_CODE (value)) { case VAR_DECL: >>From gcc-bugs-return-657488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 22:33:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65817 invoked by alias); 24 Oct 2019 22:33:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63856 invoked by uid 48); 24 Oct 2019 22:33:39 -0000 From: "pageexec at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug plugins/92217] New: compiler crash due to get_named_event_id not initializing extra reallocated memory Date: Thu, 24 Oct 2019 22:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: plugins X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pageexec at gmail dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02214.txt.bz2 Content-length: 1214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92217 Bug ID: 92217 Summary: compiler crash due to get_named_event_id not initializing extra reallocated memory Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins Assignee: unassigned at gcc dot gnu.org Reporter: pageexec at gmail dot com Target Milestone: --- When trying to use get_named_event_id/etc for sending events from a plugin, invoke_plugin_callbacks_full will likely segfault because XNEWVEC/XRESIZEVE= C in get_named_event_id don't initialize the extra part of the new memory block = nor does get_named_event_id memset it explicitly. Next, register_callback will = then link the new callback_info to whatever random memory content is found at plugin_callbacks[event] and then invoke_plugin_callbacks_full will crash wh= en it tries to walk there. This bug has been present since the beginning so I guess noone has ever tes= ted or used this facility before but it'd still be nice to get it fixed as it simplifies certain inter-plugin communications a lot. Thanks, PaX Team >>From gcc-bugs-return-657489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 01:57:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33127 invoked by alias); 25 Oct 2019 01:57:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33086 invoked by uid 48); 25 Oct 2019 01:57:53 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Fri, 25 Oct 2019 01:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02215.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92213 --- Comment #3 from H.J. Lu --- IRA has ; bb 2 artificial_defs: { } ;; bb 2 artificial_uses: { u0(6){ }u1(7){ }u2(16){ }u3(19){ }} ;; lr in 5 [di] 6 [bp] 7 [sp] 16 [argp] 19 [frame] ;; lr use 5 [di] 6 [bp] 7 [sp] 16 [argp] 19 [frame] LRA become ; bb 2 artificial_defs: { } ;; bb 2 artificial_uses: { u0(6){ }u1(7){ }u2(16){ }u3(19){ }} ;; lr in 68 [k0] <<<<<< This doesn't look right. ;; lr use 5 [di] 6 [bp] 7 [sp] 16 [argp] 19 [frame] >>From gcc-bugs-return-657490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 03:10:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17684 invoked by alias); 25 Oct 2019 03:10:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17648 invoked by uid 48); 25 Oct 2019 03:10:23 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92218] New: PowerPC indexed insn attribute misses some insns (bswap, atomic, small int float memory) Date: Fri, 25 Oct 2019 03:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner 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 target_milestone 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-SW-Source: 2019-10/txt/msg02216.txt.bz2 Content-length: 1220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92218 Bug ID: 92218 Summary: PowerPC indexed insn attribute misses some insns (bswap, atomic, small int float memory) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- In working on the PowerPC 'future' processor, I was using the 'indexed' insn attribute to know when a certain insn used indexed addressing instead of of= fset addressing. However it fails in one crucial case. If the address is a single register (i.e. indirect addressing) and the insn form requires indexed addressing, t= he indexed_address_mem predicate function will fail. Off the top of my head, the places where this happens is: 1) Load/store of 8/16/32-bit integers to/from vector/FPR registers; 2) Byte swap to/from memory; or 3) Atomic memory operations. The simplest approach is to go into each of the problematical insns, and explicitly set 'indexed' to 'yes' for the alternatives that require indexed addressing. >>From gcc-bugs-return-657491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 03:12:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21161 invoked by alias); 25 Oct 2019 03:12:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20496 invoked by uid 48); 25 Oct 2019 03:12:36 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92218] PowerPC indexed insn attribute misses some insns (bswap, atomic, small int float/vector load/store) Date: Fri, 25 Oct 2019 03:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to short_desc everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02217.txt.bz2 Content-length: 794 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92218 Michael Meissner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-25 Assignee|unassigned at gcc dot gnu.org |meissner at gcc dot= gnu.org Summary|PowerPC indexed insn |PowerPC indexed insn |attribute misses some insns |attribute misses some insns |(bswap, atomic, small int |(bswap, atomic, small int |float memory) |float/vector load/store) Ever confirmed|0 |1 >>From gcc-bugs-return-657492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 03:45:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121191 invoked by alias); 25 Oct 2019 03:44:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121123 invoked by uid 48); 25 Oct 2019 03:44:54 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Fri, 25 Oct 2019 03:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02218.txt.bz2 Content-length: 895 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92213 --- Comment #4 from H.J. Lu --- /* The transfer function used by the DF equation solver to propagate live info through block with BB_INDEX according to the following equation: bb.livein =3D (bb.liveout - bb.kill) OR bb.gen */ static bool=20 live_trans_fun (int bb_index) { basic_block bb =3D get_bb_data_by_index (bb_index)->bb; bitmap bb_liveout =3D df_get_live_out (bb); bitmap bb_livein =3D df_get_live_in (bb); bb_data_t bb_info =3D get_bb_data (bb); bitmap_and_compl (&temp_bitmap, bb_liveout, &all_hard_regs_bitmap); ^^^^^^^^^^^^^^^^^^^^ This does "temp_bitmap =3D bb_liveout & ~all_hard_regs_bitmap" which clears all hard live out registers. return bitmap_ior_and_compl (bb_livein, &bb_info->gen_pseudos, &temp_bitmap, &bb_info->killed_pseudos); } >>From gcc-bugs-return-657494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 04:50:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52102 invoked by alias); 25 Oct 2019 04:50:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52068 invoked by uid 48); 25 Oct 2019 04:50:39 -0000 From: "gcc at mailinator dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92220] New: -Wconversion generates a false warning for modulo expression when the modulus has smaller type Date: Fri, 25 Oct 2019 04:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at mailinator dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02220.txt.bz2 Content-length: 1974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92220 Bug ID: 92220 Summary: -Wconversion generates a false warning for modulo expression when the modulus has smaller type Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- ``` []$ gcc -v Using built-in specs. COLLECT_GCC=3D/usr/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=3D/usr --libdir=3D/u= sr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-p= ch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-mult= ilib --disable-werror --enable-checking=3Drelease --enable-default-pie --enable-default-ssp --enable-cet=3Dauto Thread model: posix gcc version 9.2.0 (GCC)=20 []$ cat a.c int f(long long a,int b){ return a%b; } []$ gcc -Wall -Wconversion a.c -c a.c: In function =E2=80=98f=E2=80=99: a.c:2:10: warning: conversion from =E2=80=98long long int=E2=80=99 to =E2= =80=98int=E2=80=99 may change value [-Wconversion] 2 | return a%b; | ~^~ ``` The specification for `-Wconversion` is "Warn for implicit conversions that= may alter a value.". In this case the result is guaranteed to be convertible to= the type of `b` (`int`) without changing the value. >>From gcc-bugs-return-657493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 04:50:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51006 invoked by alias); 25 Oct 2019 04:50:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50929 invoked by uid 48); 25 Oct 2019 04:50:02 -0000 From: "gcc at mailinator dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92219] New: -Wconversion generates a false warning for modulo expression when the modulus has smaller type Date: Fri, 25 Oct 2019 04:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at mailinator dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02219.txt.bz2 Content-length: 1974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92219 Bug ID: 92219 Summary: -Wconversion generates a false warning for modulo expression when the modulus has smaller type Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- ``` []$ gcc -v Using built-in specs. COLLECT_GCC=3D/usr/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=3D/usr --libdir=3D/u= sr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-p= ch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-mult= ilib --disable-werror --enable-checking=3Drelease --enable-default-pie --enable-default-ssp --enable-cet=3Dauto Thread model: posix gcc version 9.2.0 (GCC)=20 []$ cat a.c int f(long long a,int b){ return a%b; } []$ gcc -Wall -Wconversion a.c -c a.c: In function =E2=80=98f=E2=80=99: a.c:2:10: warning: conversion from =E2=80=98long long int=E2=80=99 to =E2= =80=98int=E2=80=99 may change value [-Wconversion] 2 | return a%b; | ~^~ ``` The specification for `-Wconversion` is "Warn for implicit conversions that= may alter a value.". In this case the result is guaranteed to be convertible to= the type of `b` (`int`) without changing the value. >>From gcc-bugs-return-657495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 05:41:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64364 invoked by alias); 25 Oct 2019 05:41:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64305 invoked by uid 48); 25 Oct 2019 05:40:56 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92220] -Wconversion generates a false warning for modulo expression when the modulus has smaller type Date: Fri, 25 Oct 2019 05:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02221.txt.bz2 Content-length: 207 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92220 --- Comment #1 from Andrew Pinski --- No i think there is one case where what you said is incorrect. When both are INT_MIN. >>From gcc-bugs-return-657496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 05:46:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69213 invoked by alias); 25 Oct 2019 05:46:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69156 invoked by uid 48); 25 Oct 2019 05:46:48 -0000 From: "dimitar.yordanov at sap dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92221] New: [Regression] template argument deduction/substitution failed after "Implement P0846R0, ADL and function templates" Date: Fri, 25 Oct 2019 05:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimitar.yordanov at sap dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02222.txt.bz2 Content-length: 1791 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92221 Bug ID: 92221 Summary: [Regression] template argument deduction/substitution failed after "Implement P0846R0, ADL and function templates" Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dimitar.yordanov at sap dot com Target Milestone: --- Hi, we see a regression for the following example: $cat > foo.cpp << EOF template class a { using b =3D int; using c =3D int; b d; void e() { g(d); } template static void g(f...); }; EOF $g++ -c foo.cpp foo.cpp: In member function =E2=80=98void a< >::e(= )=E2=80=99: foo.cpp:5:20: error: no matching function for call to =E2=80=98a< >::g >::c>(a< >::b&)=E2=80=99 5 | void e() { g(d); } | ^ foo.cpp:6:40: note: candidate: =E2=80=98template template static void a< >::g(f ...)=E2=80=99 6 | template static void g(f...); | ^ foo.cpp:6:40: note: template argument deduction/substitution failed: foo.cpp:5:20: note: mismatched types =E2=80=98f=E2=80=99 and =E2=80=98int= =E2=80=99 5 | void e() { g(d); } | ^ First appears after: 2018-11-01 Marek Polacek Implement P0846R0, ADL and function templates. * decl.c (grokfndecl): Allow FUNCTION_DECL in assert. ... Best wishes Dimitar >>From gcc-bugs-return-657497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 07:07:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72522 invoked by alias); 25 Oct 2019 07:07:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72431 invoked by uid 55); 25 Oct 2019 07:07:11 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Fri, 25 Oct 2019 07:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02223.txt.bz2 Content-length: 323 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65930 --- Comment #29 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #23 from Richard Biener --- [...] > I'm going to install a patch. The SPARC failues are fixed indeed. Thanks. Rainer >>From gcc-bugs-return-657499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 08:28:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21632 invoked by alias); 25 Oct 2019 08:28:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21558 invoked by uid 48); 25 Oct 2019 08:28:27 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92219] -Wconversion generates a false warning for modulo expression when the modulus has smaller type Date: Fri, 25 Oct 2019 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02225.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92219 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Richard Biener --- =2E *** This bug has been marked as a duplicate of bug 92220 *** >>From gcc-bugs-return-657500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 08:28:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21648 invoked by alias); 25 Oct 2019 08:28:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21569 invoked by uid 48); 25 Oct 2019 08:28:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92220] -Wconversion generates a false warning for modulo expression when the modulus has smaller type Date: Fri, 25 Oct 2019 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02226.txt.bz2 Content-length: 184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92220 --- Comment #2 from Richard Biener --- *** Bug 92219 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 08:28:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20884 invoked by alias); 25 Oct 2019 08:28:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20804 invoked by uid 48); 25 Oct 2019 08:28:10 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85678] -fno-common should be default Date: Fri, 25 Oct 2019 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02224.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85678 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #5 from Jonathan Wakely --- The other bug links to a patch to change the default: https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01549.html >>From gcc-bugs-return-657501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 08:30:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24720 invoked by alias); 25 Oct 2019 08:30:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24552 invoked by uid 48); 25 Oct 2019 08:30:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92221] [9/10 Regression] template argument deduction/substitution failed after "Implement P0846R0, ADL and function templates" Date: Fri, 25 Oct 2019 08:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_known_to_work target_milestone short_desc cf_known_to_fail Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02227.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92221 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Known to work| |8.3.0 Target Milestone|--- |9.3 Summary|[Regression] template |[9/10 Regression] template |argument |argument |deduction/substitution |deduction/substitution |failed after "Implement |failed after "Implement |P0846R0, ADL and function |P0846R0, ADL and function |templates" |templates" Known to fail| |9.1.0 >>From gcc-bugs-return-657502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 08:49:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5167 invoked by alias); 25 Oct 2019 08:49:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4558 invoked by uid 48); 25 Oct 2019 08:49:46 -0000 From: "gcc at mailinator dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92220] -Wconversion generates a false warning for modulo expression when the modulus has smaller type Date: Fri, 25 Oct 2019 08:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at mailinator dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02228.txt.bz2 Content-length: 289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92220 --- Comment #3 from John Simon --- (In reply to Andrew Pinski from comment #1) > No i think there is one case where what you said is incorrect. When both = are > INT_MIN. In this case the result will be 0. >>From gcc-bugs-return-657503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 09:04:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117613 invoked by alias); 25 Oct 2019 09:04:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117527 invoked by uid 48); 25 Oct 2019 09:04:11 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92222] New: ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 target_milestone attachments.created 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-SW-Source: 2019-10/txt/msg02229.txt.bz2 Content-length: 1560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 Bug ID: 92222 Summary: ice in useless_type_conversion_p, at gimple-expr.c:86 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 47110 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47110&action=3Dedit C source code The attached C code, when compiled by recent gcc trunk and compiler flag -O= 3, does this: ../results.277350/bin/gcc during GIMPLE pass: slp main.c: In function =E2=80=98disp_binary=E2=80=99: main.c:234:13: internal compiler error: tree check: expected class =E2=80= =98type=E2=80=99, have=20 =E2=80=98exceptional=E2=80=99 (error_mark) in useless_type_conversion_p, at= gimple-expr.c:86 0x71c6dd tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) ../../trunk/gcc/tree.c:9975 0x626a1b tree_class_check(tree_node*, tree_code_class, char const*, int, ch= ar co nst*) ../../trunk/gcc/tree.h:3390 0x626a1b useless_type_conversion_p(tree_node*, tree_node*) ../../trunk/gcc/gimple-expr.c:86 0xea3fe4 verify_gimple_assign_single ../../trunk/gcc/tree-cfg.c:4545 0xea3fe4 verify_gimple_assign ../../trunk/gcc/tree-cfg.c:4609 The problem seems to start sometime between revision 277300 and 277350. I will have my usual go at reducing the code. >>From gcc-bugs-return-657504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 09:07:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127105 invoked by alias); 25 Oct 2019 09:07:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127061 invoked by uid 48); 25 Oct 2019 09:07:37 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92222] ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02230.txt.bz2 Content-length: 301 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 --- Comment #1 from David Binderman --- Reduced C code is unsigned char *a; b; c() { char *d; int e; for (; b; b++) { e =3D 7; for (; e >=3D 0; e--) *d++ =3D a[b] & 1 << e ? '1' : '0'; } f(); } >>From gcc-bugs-return-657505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 09:09:26 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129001 invoked by alias); 25 Oct 2019 09:09:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128967 invoked by uid 48); 25 Oct 2019 09:09:22 -0000 From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Fri, 25 Oct 2019 09:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02231.txt.bz2 Content-length: 3574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92213 --- Comment #5 from Hongtao.liu --- all_hard_regs_bitmap didn't has 68(k0). first =3D 0x37fd100 current =3D 0x37fd100 indx =3D 0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 0x37fd100 next =3D (nil) prev =3D (nil) indx =3D 0=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 bits =3D { 0 1 2 3 4 5 6 7 8 9 10 11=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 12 13 14 15 16 17 18 19 20 21 22 23=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 24 25 26 27 28 29 30 31 32 33 34 35=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 36 37 38 39 40 41 42 43 44 45 46 47=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 48 49 50 51 52 53 54 55 56 57 58 59=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 60 61 62 63 64 65 66 67 69 70 71 72=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 73 74 75 } it's cleared by=20 /* As we did not change CFG since LRA start we can use=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 DF-infrastructure solver to solve live data flow problem. */=20= =20=20=20=20=20=20=20=20=20 for (int i =3D 0; HARD_REGISTER_NUM_P (i); ++i)=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 if (TEST_HARD_REG_BIT (hard_regs_spilled_into, i))=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =3D> bitmap_clear_bit (&all_hard_regs_bitmap, i);=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 } Breakpoint 32, lra_create_live_ranges_1 (all_p=3Dtrue, dead_insn_p=3Dfalse)= at ../../../gnu-toolchain/gcc/gcc/lra-lives.c:1396=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1396 bitmap_clear_bit (&all_hard_regs_bitmap, i);=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 (gdb) p i=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 $200 =3D 68=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 (gdb) p hard_regs_spilled_into=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 $201 =3D {elts =3D {0, 16}}=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 (gdb) p i=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 $202 =3D 68 >>From gcc-bugs-return-657506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 09:12:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1011 invoked by alias); 25 Oct 2019 09:12:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 962 invoked by uid 48); 25 Oct 2019 09:12:20 -0000 From: "lahav.sch.gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92223] New: Redundant pushing to stack when passing empty structs to function (x32) Date: Fri, 25 Oct 2019 09:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lahav.sch.gcc at gmail dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02232.txt.bz2 Content-length: 1350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92223 Bug ID: 92223 Summary: Redundant pushing to stack when passing empty structs to function (x32) Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lahav.sch.gcc at gmail dot com Target Milestone: --- Hi! I tested the following code in several version of GCC, including trunk. In the following code: struct Empty {}; void foo(int, Empty, int); int main() { foo(10, Empty{}, 15); } The call to foo compiles to: pushl $0xf pushl $0x0 pushl $0xa call foo(int, Empty, int) A similar issue was fixed in the GCC 8.1 release, but only for x86-64 - In = x64 the Empty parameter is now completely removed (Instead of passing an dummy 0 value on the stack), but in x32 it still remains. I'm not sure if the x32 ABI mandates that such empty classes should be completely removed (In contrast with the System V x86-64 ABI which states t= hey indeed should not be passed). In pre-GCC 8 version on x86-64 a similar behaviour happend - 0xa was into $= edi, the 0xf was passed to $esi, but there was a "pushq $0x0" to the stack. Perhaps the two behaviour are related? >>From gcc-bugs-return-657507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 09:23:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51961 invoked by alias); 25 Oct 2019 09:23:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51893 invoked by uid 48); 25 Oct 2019 09:22:59 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92223] Redundant pushing to stack when passing empty structs to function (x32) Date: Fri, 25 Oct 2019 09:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02233.txt.bz2 Content-length: 855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92223 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-25 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- Are you talking about 32-bit x86 and 64-bit x86_64? Because "x32" means something completely different: https://en.wikipedia.org/wiki/X32_ABI "x64" is also wrong, it's a stupid term used by Microsoft for x86_64, but x= 32 means something completely different to 32-bit x86 a.k.a IA-32. Please avoid "x64" completely and only use "x32" if you actually mean x32, = not 32-bit x86. >>From gcc-bugs-return-657508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 09:32:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16982 invoked by alias); 25 Oct 2019 09:32:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11601 invoked by uid 48); 25 Oct 2019 09:32:26 -0000 From: "lahav.sch.gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92223] Redundant pushing to stack when passing empty structs to function (x32) Date: Fri, 25 Oct 2019 09:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lahav.sch.gcc at gmail dot com X-Bugzilla-Status: WAITING 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02234.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92223 --- Comment #2 from Lahav Schlesinger --- (In reply to Jonathan Wakely from comment #1) > Are you talking about 32-bit x86 and 64-bit x86_64? >=20 > Because "x32" means something completely different: > https://en.wikipedia.org/wiki/X32_ABI >=20 > "x64" is also wrong, it's a stupid term used by Microsoft for x86_64, but > x32 means something completely different to 32-bit x86 a.k.a IA-32. >=20 > Please avoid "x64" completely and only use "x32" if you actually mean x32, > not 32-bit x86. Yes, I'm referring to the 32-bit x86 and 64-bit x86_64. Thanks for clearing up the differences. >>From gcc-bugs-return-657509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 09:56:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83108 invoked by alias); 25 Oct 2019 09:56:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83049 invoked by uid 48); 25 Oct 2019 09:56:50 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92223] Redundant pushing to stack when passing empty structs to function (x32) Date: Fri, 25 Oct 2019 09:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_gcctarget bug_status component everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02235.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92223 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |i?86-*-* Status|WAITING |UNCONFIRMED Component|c++ |target Ever confirmed|1 |0 --- Comment #3 from Jonathan Wakely --- OK thanks, I'm changing the Component and setting the Target field then. >>From gcc-bugs-return-657510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:02:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88874 invoked by alias); 25 Oct 2019 10:02:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88851 invoked by uid 48); 25 Oct 2019 10:02:34 -0000 From: "mariogalindoq at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92224] New: Set: Can't be created a set with const template parameter Date: Fri, 25 Oct 2019 10:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mariogalindoq at hotmail dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02236.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92224 Bug ID: 92224 Summary: Set: Can't be created a set with const template parameter Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: mariogalindoq at hotmail dot com Target Milestone: --- std::set keys are always const, however it is not possible to create a set = with a const template parameter. The following should be right but gives a error: std::set s; // error!! >>From gcc-bugs-return-657511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:06:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96009 invoked by alias); 25 Oct 2019 10:06:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93689 invoked by uid 48); 25 Oct 2019 10:06:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92222] ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component assigned_to everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02237.txt.bz2 Content-length: 650 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-25 Component|c |tree-optimization Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- I will have a look. >>From gcc-bugs-return-657512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:07:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99782 invoked by alias); 25 Oct 2019 10:06:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99750 invoked by uid 48); 25 Oct 2019 10:06:55 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Fri, 25 Oct 2019 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02238.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92207 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #9 from Richard Earnshaw --- This is a bug in newlib-3.1.0 that should have been fixed in trunk with https://sourceware.org/ml/newlib/2019/msg00413.html So closing as invalid. >>From gcc-bugs-return-657513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:14:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105671 invoked by alias); 25 Oct 2019 10:13:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105645 invoked by uid 48); 25 Oct 2019 10:13:55 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Fri, 25 Oct 2019 10:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02239.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92207 --- Comment #10 from Richard Earnshaw --- A bit more trace from the gdb session as evidence. (gdb) p HeapLimit=20 'HeapLimit' has unknown type; cast it to its declared type (gdb) p &HeapLimit $1 =3D ( *) 0x48f78 (gdb) x/x $1 0x48f78: 0x0804a000 (gdb) p __heap_limit No symbol "__heap_limit" in current context. >>From gcc-bugs-return-657514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:18:49 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110156 invoked by alias); 25 Oct 2019 10:18:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110119 invoked by uid 48); 25 Oct 2019 10:18:44 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92224] Set: Can't be created a set with const template parameter Date: Fri, 25 Oct 2019 10:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02240.txt.bz2 Content-length: 635 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92224 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely --- The standard says that the template argument for an allocator must be a non-const, non-volatile object type, so trying to instantiate std::allocator is undefined, and libstdc++ is allowed to reject = it. >>From gcc-bugs-return-657515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:20:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111514 invoked by alias); 25 Oct 2019 10:20:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111448 invoked by uid 48); 25 Oct 2019 10:20:14 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92224] Set: Can't be created a set with const template parameter Date: Fri, 25 Oct 2019 10:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02241.txt.bz2 Content-length: 374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92224 --- Comment #2 from Jonathan Wakely --- Also, set keys are *not* const, otherwise you wouldn't be able to assign one set to another set without reallocating every element. std::set::iterator only gives you const *access* to the elements, but the elements themselves are not actually const. >>From gcc-bugs-return-657516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:26:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116161 invoked by alias); 25 Oct 2019 10:26:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116119 invoked by uid 48); 25 Oct 2019 10:26:26 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int or int Date: Fri, 25 Oct 2019 10:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02242.txt.bz2 Content-length: 934 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92158 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #5 from Jonathan Wakely --- Thank you for the corrected testcase, although compiling with -Werror when asking for warnings is not very helpful (it obscures what's a warning and what's an error) and posting code that doesn't even compile is not very hel= pful either. Confirming as a diagnostic enhancement for the following testcase: enum E { a =3D -1 } ; unsigned i =3D a; Clang warns with -Wsign-conversion (not enabled by -Wall or -Wextra): e.cc:2:14: warning: implicit conversion changes signedness: 'E' to 'unsigned int' [-Wsign-conversion] unsigned i =3D a; ~ ^ 1 warning generated. >>From gcc-bugs-return-657517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:44:49 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27263 invoked by alias); 25 Oct 2019 10:44:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27232 invoked by uid 48); 25 Oct 2019 10:44:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92222] ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 10:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02243.txt.bz2 Content-length: 177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 --- Comment #3 from Richard Biener --- I think this issue is probably latent. Testing patch. >>From gcc-bugs-return-657518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 10:50:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46901 invoked by alias); 25 Oct 2019 10:50:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46844 invoked by uid 48); 25 Oct 2019 10:49:53 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Fri, 25 Oct 2019 10:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02244.txt.bz2 Content-length: 243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92207 --- Comment #11 from Richard Earnshaw --- BTW, it looks like the libgloss implementation of the syscall API and start= up code has had this change since 2015. >>From gcc-bugs-return-657519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:07:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11643 invoked by alias); 25 Oct 2019 11:07:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11617 invoked by uid 48); 25 Oct 2019 11:07:27 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92225] New: ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 11:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 target_milestone attachments.created 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-SW-Source: 2019-10/txt/msg02245.txt.bz2 Content-length: 1539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 Bug ID: 92225 Summary: ice in gen_smaxv2di3, at config/i386/sse.md:12225 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 47111 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47111&action=3Dedit gzipped C++ source code For the attached C++ code, recent gcc trunk and compiler flag -O3, it does this: during RTL pass: expand /home/dcb30/rpmbuild/BUILD/qfaxreader-0.3.2/src/qfrpostscript.cpp: In member function =E2=80=98bool QfrPostscript::drawLevel2Image(int, int, int, int, Q= frTiffIO&)=E2=80=99: /home/dcb30/rpmbuild/BUILD/qfaxreader-0.3.2/src/qfrpostscript.cpp:362:6: internal compiler error: in gen_smaxv2di3, at config/i386/sse.md:12225 362 | bool QfrPostscript::drawLevel2Image(int x, int y, int w, int h, QfrTiffIO &tif) | ^~~~~~~~~~~~~ 0x888ac6 gen_smaxv2di3(rtx_def*, rtx_def*, rtx_def*) ../../trunk/gcc/config/i386/sse.md:12225 0x14b481b ix86_expand_reduc(rtx_def* (*)(rtx_def*, rtx_def*, rtx_def*), rtx_def*, rtx_def*) ../../trunk/gcc/config/i386/i386-expand.c:15062 0x1804e3c gen_reduc_smax_scal_v2di(rtx_def*, rtx_def*) ../../trunk/gcc/config/i386/sse.md:2784 0xfbac48 insn_gen_fn::operator()(rtx_def*, rtx_def*) const ../../trunk/gcc/recog.h:318 >>From gcc-bugs-return-657520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:10:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19333 invoked by alias); 25 Oct 2019 11:10:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19313 invoked by uid 48); 25 Oct 2019 11:10:23 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02246.txt.bz2 Content-length: 260 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #1 from David Binderman --- The bug first seems to occur sometime between revision 277300 and 277350. Since this is C++ code, it may take me some time to reduce it. >>From gcc-bugs-return-657521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:18:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39895 invoked by alias); 25 Oct 2019 11:18:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39826 invoked by uid 55); 25 Oct 2019 11:18:14 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92153] [10 Regression] ICE / segmentation fault, use-after-free at gcc/ggc-page.c:1159 Date: Fri, 25 Oct 2019 11:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: GC X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02247.txt.bz2 Content-length: 1153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92153 --- Comment #3 from Jan Hubicka --- Author: hubicka Date: Fri Oct 25 11:17:38 2019 New Revision: 277443 URL: https://gcc.gnu.org/viewcvs?rev=3D277443&root=3Dgcc&view=3Drev Log: Backport ggc_trim Backport from mainline 2019-10-18 Jakub Jelinek PR middle-end/92153 * ggc-page.c (release_pages): Read g->alloc_size before free rather than after it. 2019-10-11 Jan Hubicka * ggc-page.c (release_pages): Output statistics when !quiet_flag. (ggc_collect): Dump later to not interfere with release_page dump. (ggc_trim): New function. * ggc-none.c (ggc_trim): New. * ggc.h (ggc_trim): Declare. * lto-partition.c (add_symbol_to_partition_1): Update. (undo_parittion): Update. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/ggc-none.c branches/gcc-9-branch/gcc/ggc-page.c branches/gcc-9-branch/gcc/ggc.h branches/gcc-9-branch/gcc/lto/ChangeLog branches/gcc-9-branch/gcc/lto/lto.c >>From gcc-bugs-return-657523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:20:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42822 invoked by alias); 25 Oct 2019 11:20:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42792 invoked by uid 48); 25 Oct 2019 11:20:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92222] [9/10 Regression] ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 11:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work target_milestone short_desc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02249.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.3.0 Target Milestone|--- |9.3 Summary|ice in |[9/10 Regression] ice in |useless_type_conversion_p, |useless_type_conversion_p, |at gimple-expr.c:86 |at gimple-expr.c:86 >>From gcc-bugs-return-657522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:20:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41984 invoked by alias); 25 Oct 2019 11:20:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41903 invoked by uid 48); 25 Oct 2019 11:20:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92222] ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 11:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02248.txt.bz2 Content-length: 908 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 --- Comment #4 from Richard Biener --- Caused by r263290. From the log: I'm also not sure why: if (!first && !oprnd_info->first_pattern /* Allow different pattern state for the defs of the first stmt in reduction chains. */ && (oprnd_info->first_dt !=3D vect_reduction_def is necessary. All that should matter is that the statements in the node are "similar enough". It turned out to be quite hard to find a convincing example that used a mixture of pattern and non-pattern statements, so bb-slp-pow-1.c is the best I could come up with. But it does show that the combination of "xi * xi" statements and "pow (xj, 2) -> xj * xj" patterns are handled correctly. The patch therefore just removes the whole if block. But the build-from scalars check relied on it. >>From gcc-bugs-return-657524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:23:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113312 invoked by alias); 25 Oct 2019 11:23:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113235 invoked by uid 48); 25 Oct 2019 11:23:49 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92218] PowerPC indexed insn attribute misses some insns (bswap, atomic, small int float/vector load/store) Date: Fri, 25 Oct 2019 11:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02250.txt.bz2 Content-length: 299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92218 --- Comment #1 from Michael Meissner --- The VSX instructions load scalar from memory and splat into the register are another class of x-form only memory instructions that would need the indexed insn attribute set. >>From gcc-bugs-return-657525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:31:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128953 invoked by alias); 25 Oct 2019 11:31:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128854 invoked by uid 48); 25 Oct 2019 11:31:03 -0000 From: "kozzi11 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/92216] GDC generate duplicate symbols when mixins and interfaces are used to gather Date: Fri, 25 Oct 2019 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kozzi11 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02251.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92216 --- Comment #1 from Daniel Kozak --- Created attachment 47112 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47112&action=3Dedit Make thunk weak linking >>From gcc-bugs-return-657527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:46:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21929 invoked by alias); 25 Oct 2019 11:46:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21893 invoked by uid 48); 25 Oct 2019 11:46:54 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int Date: Fri, 25 Oct 2019 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jg at jguk dot org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02253.txt.bz2 Content-length: 312 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92158 --- Comment #7 from Jonny Grant --- > Would it be better if I re-file this ticket as implement -Wsign-conversion > for C++ ? I mean expand -Wsign-conversion for C++ to detect the enum conversion that = the same option does for C code. >>From gcc-bugs-return-657526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 11:46:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21103 invoked by alias); 25 Oct 2019 11:46:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20964 invoked by uid 48); 25 Oct 2019 11:45:51 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int Date: Fri, 25 Oct 2019 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jg at jguk dot org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02252.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92158 --- Comment #6 from Jonny Grant --- Many thanks for your reply. Would you rather I close this and create a new ticket with just your test case so it is clearer on bugzilla? Just to note, gcc trunk shows a warning in C - but oddly g++ does not for C= ++ -Wsign-conversion enum E { a =3D -1 } ; unsigned i =3D a; Would it be better if I re-file this ticket as implement -Wsign-conversion = for C++ ? >>From gcc-bugs-return-657528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:26:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84729 invoked by alias); 25 Oct 2019 12:26:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84693 invoked by uid 48); 25 Oct 2019 12:26:35 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 12:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02254.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #2 from David Binderman --- Reduced code: void a(long); unsigned *b; void c() { long d; for (int e; e; e++) if (b[e] > d) d =3D b[e]; a(d); } >>From gcc-bugs-return-657529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:28:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94565 invoked by alias); 25 Oct 2019 12:28:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94516 invoked by uid 48); 25 Oct 2019 12:28:40 -0000 From: "glider at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87210] [RFE] introduce build time options to zero initialize automatic stack variables Date: Fri, 25 Oct 2019 12:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glider at google dot com 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02255.txt.bz2 Content-length: 1459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87210 Alexander Potapenko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glider at google dot com --- Comment #4 from Alexander Potapenko --- To give an update, upstream Clang now supports force initialization of stack variables under the -ftrivial-auto-var-init flag. -ftrivial-auto-var-init=3Dpattern initializes local variables with a 0xAA p= attern (actually it's more complicated, see https://reviews.llvm.org/D54604) -ftrivial-auto-var-init=3Dzero provides zero-initialization of locals. This= mode isn't officially supported yet and is hidden behind an additional -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang fl= ag. This is done to avoid creating a C++ dialect where all variables are zero-initialized. Starting v5.2, Linux kernel has a CONFIG_INIT_STACK_ALL config that performs the build with -ftrivial-auto-var-init=3Dpattern. This one isn't widely ado= pted yet, partially because initializing locals with 0xAA isn't fast enough. Linus Torvalds is quite positive about zero-initializing the locals though,= see https://lkml.org/lkml/2019/7/30/1303 So having a flag similar to -ftrivial-auto-var-init=3Dzero in GCC will be appreciated by the Linux kernel community. >>From gcc-bugs-return-657530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:33:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3330 invoked by alias); 25 Oct 2019 12:33:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3309 invoked by uid 48); 25 Oct 2019 12:33:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 12:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02256.txt.bz2 Content-length: 1475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-25 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- Confirmed. Eventually ix86_expand_int_vcond fails because the compare needs 4105 /* Only SSE4.1/SSE4.2 supports V2DImode. */ 4106 if (mode =3D=3D V2DImode) and code is GT. Somehow (define_expand "3" [(set (match_operand:VI8_AVX2_AVX512F 0 "register_operand") (maxmin:VI8_AVX2_AVX512F (match_operand:VI8_AVX2_AVX512F 1 "register_operand") (match_operand:VI8_AVX2_AVX512F 2 "register_operand")))] "TARGET_SSE4_2" ^^^^ doesn't work? Ah, because it's directly invoked via (define_expand "reduc__scal_" [(smaxmin:REDUC_SSE_SMINMAX_MODE (match_operand: 0 "register_operand") (match_operand:REDUC_SSE_SMINMAX_MODE 1 "register_operand"))] "" { rtx tmp =3D gen_reg_rtx (mode); ix86_expand_reduc (gen_3, tmp, operands[1]); emit_insn (gen_vec_extract (operands[0], tmp, const0_rtx)); DONE; }) >>From gcc-bugs-return-657531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:38:49 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13281 invoked by alias); 25 Oct 2019 12:38:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13261 invoked by uid 48); 25 Oct 2019 12:38:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 12:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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_status component Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02257.txt.bz2 Content-length: 647 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|target |tree-optimization --- Comment #4 from Richard Biener --- OK, so I think we fail to check appropriately for support of the epilogue reduction. The in-loop reduction happens in V4SImode but the actual reduct= ion IV is V2DImode and that's how the reduction is performed. >>From gcc-bugs-return-657532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:40:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16686 invoked by alias); 25 Oct 2019 12:40:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16618 invoked by uid 48); 25 Oct 2019 12:39:58 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int Date: Fri, 25 Oct 2019 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02258.txt.bz2 Content-length: 155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92158 --- Comment #8 from Jonathan Wakely --- No, there's no need for a new bug. >>From gcc-bugs-return-657533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:49:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41126 invoked by alias); 25 Oct 2019 12:49:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40766 invoked by uid 48); 25 Oct 2019 12:49:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02259.txt.bz2 Content-length: 1550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.or= g, | |uros at gcc dot gnu.org --- Comment #5 from Richard Biener --- Hmm, but we are asking if (reduc_fn !=3D IFN_LAST && !direct_internal_fn_supported_p (reduc_fn, vectype_out, OPTIMIZE_FOR_SPEED)) { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, "reduc op not supported by target.\n"); reduc_fn =3D IFN_LAST; with reduc_fn =3D=3D IFN_REDUC_MAX and a V2DImode type which eventually end= s up in direct_optab_supported_p (optab=3Dreduc_smax_scal_optab calling ix86_optab_supported_p with CODE_FOR_reduc_smax_scal_v2di and V2DImode which doesn't handle that specially. Richard - do all IFNs we query direct support for have to manually repeat constraints we set up? Or is (define_expand "reduc_plus_scal_" [(plus:REDUC_PLUS_MODE (match_operand: 0 "register_operand") (match_operand:REDUC_PLUS_MODE 1 "register_operand"))] "" { simply in need of constraining for this mode? CCing Uros since this likely requires a target fix. >>From gcc-bugs-return-657534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:55:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48749 invoked by alias); 25 Oct 2019 12:55:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48440 invoked by uid 48); 25 Oct 2019 12:55:00 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92206] [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281 Date: Fri, 25 Oct 2019 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02260.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92206 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #4 from David Binderman --- I also see this problem, when compiling package range-v3 in fedora. >>From gcc-bugs-return-657535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 12:57:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54495 invoked by alias); 25 Oct 2019 12:57:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54435 invoked by uid 48); 25 Oct 2019 12:57:20 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88656] [7/8/9 Regression] lr clobbered by thumb prologue before __builtin_return_address(0) reads from it Date: Fri, 25 Oct 2019 12:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02261.txt.bz2 Content-length: 193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88656 --- Comment #7 from Richard Earnshaw --- This was fixed on trunk at some point, but not yet been backported. >>From gcc-bugs-return-657537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:04:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93110 invoked by alias); 25 Oct 2019 13:04:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93065 invoked by uid 55); 25 Oct 2019 13:04:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92222] [9 Regression] ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 13:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02263.txt.bz2 Content-length: 995 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 --- Comment #6 from Richard Biener --- Author: rguenth Date: Fri Oct 25 13:03:56 2019 New Revision: 277448 URL: https://gcc.gnu.org/viewcvs?rev=3D277448&root=3Dgcc&view=3Drev Log: 2019-10-25 Richard Biener PR tree-optimization/92222 * tree-vect-slp.c (_slp_oprnd_info::first_pattern): Remove. (_slp_oprnd_info::second_pattern): Likewise. (_slp_oprnd_info::any_pattern): New. (vect_create_oprnd_info): Adjust. (vect_get_and_check_slp_defs): Compute whether any stmt is in a pattern. (vect_build_slp_tree_2): Avoid building up a node from scalars if any of the operand defs, not just the first, is in a pattern. * gcc.dg/torture/pr92222.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr92222.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c >>From gcc-bugs-return-657536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:04:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92386 invoked by alias); 25 Oct 2019 13:04:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92293 invoked by uid 48); 25 Oct 2019 13:04:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92222] [9 Regression] ice in useless_type_conversion_p, at gimple-expr.c:86 Date: Fri, 25 Oct 2019 13:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02262.txt.bz2 Content-length: 601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92222 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Summary|[9/10 Regression] ice in |[9 Regression] ice in |useless_type_conversion_p, |useless_type_conversion_p, |at gimple-expr.c:86 |at gimple-expr.c:86 --- Comment #5 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-657540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:13:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49383 invoked by alias); 25 Oct 2019 13:13:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49315 invoked by uid 48); 25 Oct 2019 13:13:23 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 13:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02266.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #6 from Uro=C5=A1 Bizjak --- (In reply to Richard Biener from comment #5) > (define_expand "reduc_plus_scal_" > [(plus:REDUC_PLUS_MODE > (match_operand: 0 "register_operand") > (match_operand:REDUC_PLUS_MODE 1 "register_operand"))] > "" > { >=20 > simply in need of constraining for this mode? This. V2DImode of REDUC_SSE_SMINMAX_MODE should be conditional on TARGET_SSE4_2. >>From gcc-bugs-return-657538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:13:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48064 invoked by alias); 25 Oct 2019 13:13:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47957 invoked by uid 48); 25 Oct 2019 13:13:08 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88167] [7/8/9 regression] [ARM] Function __builtin_return_address returns invalid address Date: Fri, 25 Oct 2019 13:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mihail.ionescu at arm dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status blocked resolution short_desc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02264.txt.bz2 Content-length: 1055 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88167 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|RESOLVED |REOPENED Blocks| |88656 Resolution|FIXED |--- Summary|[ARM] Function |[7/8/9 regression] [ARM] |__builtin_return_address |Function |returns invalid address |__builtin_return_address | |returns invalid address --- Comment #3 from Richard Earnshaw --- Re-opening because needed for backporting to fix bug 88656 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88656 [Bug 88656] [7/8/9 Regression] lr clobbered by thumb prologue before __builtin_return_address(0) reads from it >>From gcc-bugs-return-657539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:13:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48081 invoked by alias); 25 Oct 2019 13:13:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47998 invoked by uid 48); 25 Oct 2019 13:13:09 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88656] [7/8/9 Regression] lr clobbered by thumb prologue before __builtin_return_address(0) reads from it Date: Fri, 25 Oct 2019 13:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02265.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88656 Bug 88656 depends on bug 88167, which changed state. Bug 88167 Summary: [7/8/9 regression] [ARM] Function __builtin_return_addre= ss returns invalid address https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88167 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- >>From gcc-bugs-return-657541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:46:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129582 invoked by alias); 25 Oct 2019 13:46:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129303 invoked by uid 48); 25 Oct 2019 13:45:53 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Fri, 25 Oct 2019 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02267.txt.bz2 Content-length: 802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #7 from Uro=C5=A1 Bizjak --- (In reply to Uro=C5=A1 Bizjak from comment #6) > This. V2DImode of REDUC_SSE_SMINMAX_MODE should be conditional on > TARGET_SSE4_2. --cut here-- diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 403e91d4b176..245cb522321c 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -2771,7 +2771,7 @@ ;; Modes handled by reduc_sm{in,ax}* patterns. (define_mode_iterator REDUC_SSE_SMINMAX_MODE [(V4SF "TARGET_SSE") (V2DF "TARGET_SSE") - (V2DI "TARGET_SSE") (V4SI "TARGET_SSE") (V8HI "TARGET_SSE") + (V2DI "TARGET_SSE4_2") (V4SI "TARGET_SSE") (V8HI "TARGET_SSE") (V16QI "TARGET_SSE")]) (define_expand "reduc__scal_" --cut here-- >>From gcc-bugs-return-657542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:56:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55970 invoked by alias); 25 Oct 2019 13:56:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52049 invoked by uid 48); 25 Oct 2019 13:56:08 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92226] New: [10 Regression] live nul char store to array eliminated Date: Fri, 25 Oct 2019 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 target_milestone 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-SW-Source: 2019-10/txt/msg02268.txt.bz2 Content-length: 1989 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92226 Bug ID: 92226 Summary: [10 Regression] live nul char store to array eliminated Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- One of the recent strlen changes (bisection points to r277076) leads to a miscompilation of the following test case. The problem is that the nul-over-nul optimization is being applied when it shouldn't be. It looks to me like the change above might have exposed a la= tent bug here, or the change is incomplete. Before the change, compare_nonzero_chars returned -1 in this case which doesn't really corresp= ond to the documentation of the function -- that SI might not start with OFF nonzero characters, where SI length is in [0, 7] and OFF is 0 -- but now it returns 0. That also doesn't reflect exactly what's going on.=20 $ cat a.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=3D/dev/stdout a= .c struct A { char a[8], c; }; void f (void*); void g (const char *s) { if (__builtin_strlen (s) > 7) return; struct A a; __builtin_strcpy (a.a, s); a.a[0] =3D 0; // incorrectly eliminated f (&a); } ;; Function g (g, funcdef_no=3D0, decl_uid=3D1935, cgraph_uid=3D1, symbol_o= rder=3D0) g (const char * s) { struct A a; long unsigned int _1; long unsigned int _10; [local count: 1073741824]: _1 =3D __builtin_strlen (s_4(D)); if (_1 > 7) goto ; [51.12%] else goto ; [48.88%] [local count: 548896821]: a =3D{v} {CLOBBER}; goto ; [100.00%] [local count: 524845004]: _10 =3D _1 + 1; __builtin_memcpy (&a.a, s_4(D), _10); f (&a); a =3D{v} {CLOBBER}; [local count: 1073741824]: return; } >>From gcc-bugs-return-657543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 13:56:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88380 invoked by alias); 25 Oct 2019 13:56:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84174 invoked by uid 48); 25 Oct 2019 13:56:49 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92226] [10 Regression] live nul char store to array eliminated Date: Fri, 25 Oct 2019 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on blocked assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02269.txt.bz2 Content-length: 784 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92226 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-25 Blocks| |83819 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83819 [Bug 83819] [meta-bug] missing strlen optimizations >>From gcc-bugs-return-657544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:35:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84207 invoked by alias); 25 Oct 2019 14:35:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84175 invoked by uid 55); 25 Oct 2019 14:35:16 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88167] [7/8/9 regression] [ARM] Function __builtin_return_address returns invalid address Date: Fri, 25 Oct 2019 14:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mihail.ionescu at arm dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02270.txt.bz2 Content-length: 2329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88167 --- Comment #4 from Richard Earnshaw --- Author: rearnsha Date: Fri Oct 25 14:34:44 2019 New Revision: 277452 URL: https://gcc.gnu.org/viewcvs?rev=3D277452&root=3Dgcc&view=3Drev Log: [arm][PR88167] Fix __builtin_return_address returns invalid address This patch fixes a problem with the thumb1 prologue code where the link register could be unconditionally used as a scratch register even if the return value was still live at the end of the prologue. Additionally, the patch improves the code generated when we are not using many low call-saved registers to make use of any unused call clobbered registers to help with the saving of high registers that cannot be pushed directly (quite rare in normal code as the register allocator correctly prefers low registers). 2019-05-08 Mihail Ionescu Richard Earnshaw gcc: PR target/88167 * config/arm/arm.c (thumb1_prologue_unused_call_clobbered_lo_regs):= New function. (thumb1_epilogue_unused_call_clobbered_lo_regs): New function. (thumb1_compute_save_core_reg_mask): Don't force a spare work register if both the epilogue and prologue can use call-clobbered regs. (thumb1_unexpanded_epilogue): Use thumb1_epilogue_unused_call_clobbered_lo_regs. Reverse the logic f= or picking temporaries for restoring high regs to match that of the prologue where possible. (thumb1_expand_prologue): Add any usable call-clobbered low registe= rs to the list of work registers. Detect if the return address is still = live at the end of the prologue and avoid using it for a work register if so. If the return address is not live, add LR to the list of pushable r= egs after the first pass. gcc/testsuite: PR target/88167 * gcc.target/arm/pr88167-1.c: New test. * gcc.target/arm/pr88167-2.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.target/arm/pr88167-1.c branches/gcc-9-branch/gcc/testsuite/gcc.target/arm/pr88167-2.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/arm/arm.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:37:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88928 invoked by alias); 25 Oct 2019 14:37:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88848 invoked by uid 55); 25 Oct 2019 14:37:48 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88167] [7/8/9 regression] [ARM] Function __builtin_return_address returns invalid address Date: Fri, 25 Oct 2019 14:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mihail.ionescu at arm dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02272.txt.bz2 Content-length: 2329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88167 --- Comment #5 from Richard Earnshaw --- Author: rearnsha Date: Fri Oct 25 14:37:14 2019 New Revision: 277453 URL: https://gcc.gnu.org/viewcvs?rev=3D277453&root=3Dgcc&view=3Drev Log: [arm][PR88167] Fix __builtin_return_address returns invalid address This patch fixes a problem with the thumb1 prologue code where the link register could be unconditionally used as a scratch register even if the return value was still live at the end of the prologue. Additionally, the patch improves the code generated when we are not using many low call-saved registers to make use of any unused call clobbered registers to help with the saving of high registers that cannot be pushed directly (quite rare in normal code as the register allocator correctly prefers low registers). 2019-05-08 Mihail Ionescu Richard Earnshaw gcc: PR target/88167 * config/arm/arm.c (thumb1_prologue_unused_call_clobbered_lo_regs):= New function. (thumb1_epilogue_unused_call_clobbered_lo_regs): New function. (thumb1_compute_save_core_reg_mask): Don't force a spare work register if both the epilogue and prologue can use call-clobbered regs. (thumb1_unexpanded_epilogue): Use thumb1_epilogue_unused_call_clobbered_lo_regs. Reverse the logic f= or picking temporaries for restoring high regs to match that of the prologue where possible. (thumb1_expand_prologue): Add any usable call-clobbered low registe= rs to the list of work registers. Detect if the return address is still = live at the end of the prologue and avoid using it for a work register if so. If the return address is not live, add LR to the list of pushable r= egs after the first pass. gcc/testsuite: PR target/88167 * gcc.target/arm/pr88167-1.c: New test. * gcc.target/arm/pr88167-2.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/arm/pr88167-1.c branches/gcc-8-branch/gcc/testsuite/gcc.target/arm/pr88167-2.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/arm/arm.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:37:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87623 invoked by alias); 25 Oct 2019 14:37:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87573 invoked by uid 48); 25 Oct 2019 14:37:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92058] constinit disregards non-constexpr constructor Date: Fri, 25 Oct 2019 14:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02271.txt.bz2 Content-length: 202 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92058 --- Comment #2 from Marek Polacek --- Going to be fixed by https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01777.ht= ml >>From gcc-bugs-return-657547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:38:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89610 invoked by alias); 25 Oct 2019 14:38:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89587 invoked by uid 48); 25 Oct 2019 14:38:05 -0000 From: "arieltorti14 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92227] New: Optimizations on constant integer overflow checks lead to incorrect results Date: Fri, 25 Oct 2019 14:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arieltorti14 at gmail dot com 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 target_milestone attachments.created 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-SW-Source: 2019-10/txt/msg02273.txt.bz2 Content-length: 850 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92227 Bug ID: 92227 Summary: Optimizations on constant integer overflow checks lead to incorrect results Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: arieltorti14 at gmail dot com Target Milestone: --- Created attachment 47113 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47113&action=3Dedit PoC generator When `fold_builtin_arith_overflow` optimizes the overflow check on integer constants it never sets the overflow flag on the flag register leading to incorrect results. Attached is a file containing two versions of a program showcasing the bug. >>From gcc-bugs-return-657548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:39:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91873 invoked by alias); 25 Oct 2019 14:39:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91826 invoked by uid 55); 25 Oct 2019 14:39:39 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88167] [7/8/9 regression] [ARM] Function __builtin_return_address returns invalid address Date: Fri, 25 Oct 2019 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mihail.ionescu at arm dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02274.txt.bz2 Content-length: 2328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88167 --- Comment #6 from Richard Earnshaw --- Author: rearnsha Date: Fri Oct 25 14:39:06 2019 New Revision: 277454 URL: https://gcc.gnu.org/viewcvs?rev=3D277454&root=3Dgcc&view=3Drev Log: [arm][PR88167] Fix __builtin_return_address returns invalid address This patch fixes a problem with the thumb1 prologue code where the link register could be unconditionally used as a scratch register even if the return value was still live at the end of the prologue. Additionally, the patch improves the code generated when we are not using many low call-saved registers to make use of any unused call clobbered registers to help with the saving of high registers that cannot be pushed directly (quite rare in normal code as the register allocator correctly prefers low registers). 2019-05-08 Mihail Ionescu Richard Earnshaw gcc: PR target/88167 * config/arm/arm.c (thumb1_prologue_unused_call_clobbered_lo_regs):= New function. (thumb1_epilogue_unused_call_clobbered_lo_regs): New function. (thumb1_compute_save_core_reg_mask): Don't force a spare work register if both the epilogue and prologue can use call-clobbered regs. (thumb1_unexpanded_epilogue): Use thumb1_epilogue_unused_call_clobbered_lo_regs. Reverse the logic f= or picking temporaries for restoring high regs to match that of the prologue where possible. (thumb1_expand_prologue): Add any usable call-clobbered low registe= rs to the list of work registers. Detect if the return address is still = live at the end of the prologue and avoid using it for a work register if so. If the return address is not live, add LR to the list of pushable r= egs after the first pass. gcc/testsuite: PR target/88167 * gcc.target/arm/pr88167-1.c: New test. * gcc.target/arm/pr88167-2.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/pr88167-1.c branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/pr88167-2.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/arm/arm.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:40:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96093 invoked by alias); 25 Oct 2019 14:40:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95650 invoked by uid 48); 25 Oct 2019 14:40:49 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88656] [7/8/9 Regression] lr clobbered by thumb prologue before __builtin_return_address(0) reads from it Date: Fri, 25 Oct 2019 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02277.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88656 Bug 88656 depends on bug 88167, which changed state. Bug 88167 Summary: [7/8/9 regression] [ARM] Function __builtin_return_addre= ss returns invalid address https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88167 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-657549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:40:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94520 invoked by alias); 25 Oct 2019 14:40:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94184 invoked by uid 48); 25 Oct 2019 14:40:34 -0000 From: "arieltorti14 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92137] [ia32] Missing documentation for ia32 builtins Date: Fri, 25 Oct 2019 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arieltorti14 at gmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02275.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92137 --- Comment #6 from Ariel Torti --- (In reply to Eric Gallager from comment #5) > (In reply to Jakub Jelinek from comment #3) > > Those are intrinsics and most of them are documented in the Intel > > architecture manuals, or various web sites. Not sure it is a good idea= to > > duplicate that documentation. >=20 > Might be worthwhile to at least provide a link to the manuals or websites > then, if we're not going to duplicate the info contained in them... Could you provide an example on how you would add them ? >>From gcc-bugs-return-657550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:40:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95687 invoked by alias); 25 Oct 2019 14:40:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95149 invoked by uid 48); 25 Oct 2019 14:40:44 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88167] [7/8/9 regression] [ARM] Function __builtin_return_address returns invalid address Date: Fri, 25 Oct 2019 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mihail.ionescu at arm dot com X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02276.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88167 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED Target Milestone|10.0 |7.5 --- Comment #7 from Richard Earnshaw --- Fixed on all active branches >>From gcc-bugs-return-657552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:41:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97201 invoked by alias); 25 Oct 2019 14:41:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97141 invoked by uid 48); 25 Oct 2019 14:41:30 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88656] [7/8/9 Regression] lr clobbered by thumb prologue before __builtin_return_address(0) reads from it Date: Fri, 25 Oct 2019 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02278.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88656 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Richard Earnshaw --- Fixed on all active branches >>From gcc-bugs-return-657553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:47:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106007 invoked by alias); 25 Oct 2019 14:47:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105903 invoked by uid 48); 25 Oct 2019 14:47:25 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92221] [9/10 Regression] template argument deduction/substitution failed after "Implement P0846R0, ADL and function templates" Date: Fri, 25 Oct 2019 14:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02279.txt.bz2 Content-length: 597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92221 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Marek Polacek --- Most likely a dup of Bug 90505. *** This bug has been marked as a duplicate of bug 90505 *** >>From gcc-bugs-return-657554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:47:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106018 invoked by alias); 25 Oct 2019 14:47:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105922 invoked by uid 48); 25 Oct 2019 14:47:25 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90505] [9/10 Regression] g++ rejects a valid code Date: Fri, 25 Oct 2019 14:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02280.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90505 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimitar.yordanov at sap do= t com --- Comment #7 from Marek Polacek --- *** Bug 92221 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 14:48:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107635 invoked by alias); 25 Oct 2019 14:48:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107460 invoked by uid 48); 25 Oct 2019 14:48:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90505] [9/10 Regression] g++ rejects a valid code Date: Fri, 25 Oct 2019 14:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02281.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90505 --- Comment #8 from Marek Polacek --- Test from Bug 92221: template class a { using b =3D int; using c =3D int; b d; void e() { g(d); } template static void g(f...); }; >>From gcc-bugs-return-657556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:04:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14428 invoked by alias); 25 Oct 2019 15:04:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14394 invoked by uid 48); 25 Oct 2019 15:04:15 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92055] [avr] Support 64-bit double Date: Fri, 25 Oct 2019 15:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02282.txt.bz2 Content-length: 300 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92055 --- Comment #4 from Georg-Johann Lay --- Created attachment 47114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47114&action=3Dedit double64-5.diff: Support --with-double=3D{32|64} --with-long-double=3D{32|6= 4} >>From gcc-bugs-return-657557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:13:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48470 invoked by alias); 25 Oct 2019 15:13:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43339 invoked by uid 55); 25 Oct 2019 15:13:54 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85969] avr/gen-avr-mmcu-specs.c:56: unused function ? Date: Fri, 25 Oct 2019 15:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: minor X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02283.txt.bz2 Content-length: 460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85969 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Fri Oct 25 15:13:23 2019 New Revision: 277455 URL: https://gcc.gnu.org/viewcvs?rev=3D277455&root=3Dgcc&view=3Drev Log: PR target/85969 * config/avr/gen-avr-mmcu-specs.c (str_prefix_p): Remove unused static function. Modified: trunk/gcc/ChangeLog trunk/gcc/config/avr/gen-avr-mmcu-specs.c >>From gcc-bugs-return-657558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:14:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112651 invoked by alias); 25 Oct 2019 15:14:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103831 invoked by uid 48); 25 Oct 2019 15:14:27 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85969] avr/gen-avr-mmcu-specs.c:56: unused function ? Date: Fri, 25 Oct 2019 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: minor X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02284.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85969 Georg-Johann Lay changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Georg-Johann Lay --- Fixed in v10. >>From gcc-bugs-return-657559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:42:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15121 invoked by alias); 25 Oct 2019 15:42:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15036 invoked by uid 48); 25 Oct 2019 15:42:04 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87871] [9/10 Regression] testcases fail after r265398 on arm Date: Fri, 25 Oct 2019 15:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02285.txt.bz2 Content-length: 282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87871 --- Comment #63 from Richard Earnshaw --- We need to reach closure on this, but there's nothing really concrete to ma= ke such a decision. Which of the tests originally reported are still failing? >>From gcc-bugs-return-657561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:46:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23444 invoked by alias); 25 Oct 2019 15:45:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22668 invoked by uid 48); 25 Oct 2019 15:45:36 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84613] [meta-bug] SPEC compiler performance issues Date: Fri, 25 Oct 2019 15:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02287.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84613 Bug 84613 depends on bug 84487, which changed state. Bug 84487 Summary: [8/9 Regression] Large rodate section increase in 465.to= nto with r254427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84487 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-657562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:46:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23567 invoked by alias); 25 Oct 2019 15:45:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22565 invoked by uid 48); 25 Oct 2019 15:45:34 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) Date: Fri, 25 Oct 2019 15:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02288.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 Bug 26163 depends on bug 84487, which changed state. Bug 84487 Summary: [8/9 Regression] Large rodate section increase in 465.to= nto with r254427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84487 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-657560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:45:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22471 invoked by alias); 25 Oct 2019 15:45:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22196 invoked by uid 48); 25 Oct 2019 15:45:07 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84487] [8/9 Regression] Large rodate section increase in 465.tonto with r254427 Date: Fri, 25 Oct 2019 15:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02286.txt.bz2 Content-length: 1082 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84487 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #32 from Thomas Koenig --- (In reply to Peter Bergner from comment #31) > (In reply to Christophe Lyon from comment #30) > > Since this was backported to gcc-8-branch, I've noticed: > > FAIL: gfortran.dg/pr51434.f90 -O2 execution test > > FAIL: gfortran.dg/pr51434.f90 -Os execution test > > on arm and aarch64 >=20 > I'm seeing this on powerpc64le-linux as well, also only on FSF 8 branch.= =20 > I'm unsure if the patch is at fault or whether it's exposing a latent iss= ue, > since I can get the tests to pass if I add -fno-tree-vrp. Maybe there's > some interaction between this patch and VRP? >=20 > I'm reopening the bug until this is resolved. This is tracked on PR 92113. >>From gcc-bugs-return-657563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:48:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36603 invoked by alias); 25 Oct 2019 15:48:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34640 invoked by uid 48); 25 Oct 2019 15:47:59 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85678] -fno-common should be default Date: Fri, 25 Oct 2019 15:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02289.txt.bz2 Content-length: 600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85678 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #6 from Wilco --- (In reply to Jonathan Wakely from comment #5) > The other bug links to a patch to change the default: >=20 > https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01549.html Updated patch: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01847.html >>From gcc-bugs-return-657564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:48:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41048 invoked by alias); 25 Oct 2019 15:48:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40873 invoked by uid 48); 25 Oct 2019 15:48:22 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64 Date: Fri, 25 Oct 2019 15:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization, patch, visibility X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02290.txt.bz2 Content-length: 583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91766 --- Comment #13 from Wilco --- (In reply to Wilco from comment #12) > (In reply to Andrew Pinski from comment #10) >=20 > > This should be a global change and not just an aarch64 change. The rea= son > > is because then aarch64 is the odd man out when it comes to this. >=20 > Agreed, see https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01549.html. It > would be great to sort that out so C and C++ finally address globals > identically. Patch: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01847.html >>From gcc-bugs-return-657565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 15:55:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46461 invoked by alias); 25 Oct 2019 15:55:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46421 invoked by uid 48); 25 Oct 2019 15:55:43 -0000 From: "jan at jki dot io" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92228] New: ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Date: Fri, 25 Oct 2019 15:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan at jki dot io 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 target_milestone attachments.created 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-SW-Source: 2019-10/txt/msg02291.txt.bz2 Content-length: 4610 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92228 Bug ID: 92228 Summary: ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io Target Milestone: --- Created attachment 47115 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47115&action=3Dedit preprocessed source gcc is version 10 and commit e1ad18eeeed892a13ce7a39d088c01ed7f32f7ba COLLECT_GCC_OPTIONS=3D'-D' 'ZEND_ENABLE_STATIC_TSRMLS_CACHE=3D1' '-I' 'ext/opcache/' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/' '-= D' 'PHP_ATOM_INC' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/include' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/main' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/date/lib' '-= I' '/usr/include/libxml2' '-I' '/usr/include/freetype2' '-I' '/usr/include/harfbuzz' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/mbstring/lib= mbfl' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/mbstring/lib= mbfl/mbfl' '-I' '/usr/include/pspell' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/zip/lib' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/TSRM' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/Zend' '-D' '_REENTRANT' '-pthread' '-I' '/usr/include' '-pipe' '-march=3Dskylake' '-O3= ' '-g' '-v' '-save-temps' '-fuse-ld=3Dbfd' '-fvisibility=3Dhidden' '-pthread' '-D'= 'ZTS' '-D' 'ZEND_SIGNALS' '-c' /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre9999/cc1 -fpreprocessed dfa_pass.i -quiet -dumpbase dfa_pass.c -march=3Dskylake -auxbase dfa_pass -= g -O3 -version -fuse-ld=3Dbfd -fvisibility=3Dhidden -o dfa_pass.s GNU C17 (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191025 (experiment= al) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191025 (experimental), G= MP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-= GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C17 (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191025 (experiment= al) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191025 (experimental), G= MP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-= GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 214bc0594d89b21e03201165e89f3352 during GIMPLE pass: vect /var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/Optim= izer/dfa_pass.c: In function =E2=80=98zend_ssa_unlink_block.part.0=E2=80=99: /var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/Optim= izer/dfa_pass.c:654:13: internal compiler error: in vectorizable_reduction, at tree-vect-loop.c:5730 654 | static void zend_ssa_unlink_block(zend_op_array *op_array, zend_ssa *ssa, zend_basic_block *block, int block_num) | ^~~~~~~~~~~~~~~~~~~~~ 0x92e9e4 vectorizable_reduction(_stmt_vec_info*, _slp_tree*, _slp_instance*, vec*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= ree-vect-loop.c:5730 0x138f144 vect_analyze_loop_operations =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= ree-vect-loop.c:1560 0x138f144 vect_analyze_loop_2 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= ree-vect-loop.c:2079 0x138f144 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= ree-vect-loop.c:2367 0x139cc5e try_vectorize_loop_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= ree-vectorizer.c:886 0x139c824 vectorize_loops() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= ree-vectorizer.c:1114 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-657566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 16:00:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73531 invoked by alias); 25 Oct 2019 16:00:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73033 invoked by uid 48); 25 Oct 2019 16:00:48 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92223] Redundant pushing to stack when passing empty structs to function (x86) Date: Fri, 25 Oct 2019 16:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02292.txt.bz2 Content-length: 144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92223 --- Comment #4 from H.J. Lu --- This is related to PR 60336. >>From gcc-bugs-return-657567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 16:07:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82987 invoked by alias); 25 Oct 2019 16:07:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82888 invoked by uid 48); 25 Oct 2019 16:07:34 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92113] [8 regression] r276673 causes segfault in gfortran.dg/pr51434.f90 Date: Fri, 25 Oct 2019 16:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02293.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92113 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bergner at gcc dot gnu.org --- Comment #4 from Peter Bergner --- Since this works at -O1 and not -O2, I went through the options enabled by = -O2 and disabled them one by one. I was able to get the test cases to pass at = -O2 by specifying -fno-tree-vrp. Maybe GCC 9 and trunk have some VRP patch that fixes this? >>From gcc-bugs-return-657568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 16:09:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84892 invoked by alias); 25 Oct 2019 16:09:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84844 invoked by uid 48); 25 Oct 2019 16:09:41 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87237] __atomic_load on 4-byte-sized, 1-byte-aligned struct is not atomic Date: Fri, 25 Oct 2019 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02294.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87237 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-25 Ever confirmed|0 |1 >>From gcc-bugs-return-657569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 16:31:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116051 invoked by alias); 25 Oct 2019 16:31:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109061 invoked by uid 48); 25 Oct 2019 16:31:25 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90998] [9/10 Regression] ICE (segfalut) in gcc/cp/call.c compare_ics() with -std=c++17 Date: Fri, 25 Oct 2019 16:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02295.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90998 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org >>From gcc-bugs-return-657570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 16:54:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7561 invoked by alias); 25 Oct 2019 16:54:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2105 invoked by uid 48); 25 Oct 2019 16:54:12 -0000 From: "arieltorti14 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92229] New: Optimization makes it impossible to read overflow flag Date: Fri, 25 Oct 2019 16:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arieltorti14 at gmail dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02296.txt.bz2 Content-length: 1016 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92229 Bug ID: 92229 Summary: Optimization makes it impossible to read overflow flag Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: arieltorti14 at gmail dot com Target Milestone: --- I'm implementing a builtin to read the overflow flag. It is meant to be use= d to simply the overflow checking code, instead of doing: ov =3D __builtin_smul_overflow(a, b, &res); if (ov) { ... } One could make the code more readable by using: res =3D a * b; if (__builtin_overflow_p()) { ... } The problem GCC optimizes many multiplication and addition operations by us= ing `lea` which doesn't set the overflow flag, which makes it impossible to do = the check. What approach could I take to implement this ? Do note that this builtin is only available on x86. >>From gcc-bugs-return-657571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 17:08:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84992 invoked by alias); 25 Oct 2019 17:08:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84881 invoked by uid 48); 25 Oct 2019 17:08:00 -0000 From: "arieltorti14 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92230] New: Proposal to have builtin underflow detection function Date: Fri, 25 Oct 2019 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arieltorti14 at gmail dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02297.txt.bz2 Content-length: 895 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92230 Bug ID: 92230 Summary: Proposal to have builtin underflow detection function Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: arieltorti14 at gmail dot com Target Milestone: --- Right now GCC provides `__builtin_sub_overflow` to check for overflows duri= ng subtraction, but there's not way to check for underflow, other than maybe comparing the operators beforehand. Maybe it would be a good idea to have `__builtin_sub_underflow` functions w= hich could be optimized at a greater level by reading the flags instead of doing integer comparisons. As a side note, is the behavior of `__builtin_sub_overflow` the intended on= e ? >>From gcc-bugs-return-657572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 17:30:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28216 invoked by alias); 25 Oct 2019 17:30:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28069 invoked by uid 48); 25 Oct 2019 17:30:42 -0000 From: "malakhov at mcst dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92231] New: [9/10 Regression] ICE in gimple_fold_stmt_to_constant_1 Date: Fri, 25 Oct 2019 17:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: malakhov at mcst dot ru 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 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-SW-Source: 2019-10/txt/msg02298.txt.bz2 Content-length: 3067 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92231 Bug ID: 92231 Summary: [9/10 Regression] ICE in gimple_fold_stmt_to_constant_1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: malakhov at mcst dot ru CC: marxin at gcc dot gnu.org Target Milestone: --- Hi. The compilation of the following test with 'master' version of gcc has fai= led since commit a0e9bfbb865dcaf307a4a06a29a7e1e7be24ee15 replacing the usage of `DECL_BUILT_IN ()' macro with `fndecl_built_in_p ()' function and removing checks for FUNCTION_DECL if possible: $ cat ./t.c extern int bar (void); int foo (void) { return (&bar + 4096) (); } $ i386-linux-gcc -S ./t.c -O1 . . . ./t.c: In function 'foo': ./t.c:7:1: internal compiler error: tree check: expected function_decl, have mem_ref in fndecl_built_in_p, at tree.h:6133 7 | } | ^ 0x15b7c8e tree_check_failed(tree_node const*, char const*, int, char const*, ...) gcc/gcc/tree.c:9924 0x829ce8 tree_check(tree_node const*, char const*, int, char const*, tree_c= ode) gcc/gcc/tree.h:3523 0x829e39 fndecl_built_in_p(tree_node const*) gcc/gcc/tree.h:6133 0xcda1e5 gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) gcc/gimple-fold.c:6434 . . . The reason is that TREE_OPERAND (fn, 0) turns out to be MEM_REF rather tha= n a FUNCTION_DECL in the following context: $ cat gcc/gimple-fold.c . . . tree gimple_fold_stmt_to_constant_1 (...) { . . . fn =3D (*valueize) (gimple_call_fn (stmt)); if (TREE_CODE (fn) =3D=3D ADDR_EXPR && fndecl_built_in_p (TREE_OPERAND (fn, 0)) . . . Because the check for `TREE_CODE (TREE_OPERAND (fn, 0)) =3D=3D FUNCTION_DE= CL' was removed by the aforementioned commit, the invocation of `fndecl_built_in_p = ()' results in an ICE (if gcc is configured with `--enable-checking=3Dtree', of course): $ cat gcc/tree.h . . . /* For a builtin function, identify which part of the compiler defined it. = */ #define DECL_BUILT_IN_CLASS(NODE) \ ((built_in_class) FUNCTION_DECL_CHECK (NODE)->function_decl.built_in_cla= ss) . . . inline bool fndecl_built_in_p (const_tree node) { return (DECL_BUILT_IN_CLASS (node) !=3D NOT_BUILT_IN); } . . . P.S. The initial comment before fndecl_built_in_p () added by the same commit said: "When a NULL argument is pass or tree code of the NODE is not FUNCTION_DECL false is returned" which was not the case in fact. The next d= ay commit dfe2435feb0dc195652346a5e780380932763bdc removed this statement inst= ead of making fndecl_built_in_p () match it. P.P.S. The comment is still confusing as it refers to the no longer existe= nt DECL_BUILT_IN() macro instead of fndecl_built_in_p (): "For instance, user declared prototypes of C library functions are not DECL_IS_BUILTIN but may = be DECL_BUILT_IN". >>From gcc-bugs-return-657573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 19:12:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13648 invoked by alias); 25 Oct 2019 19:12:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13612 invoked by uid 55); 25 Oct 2019 19:12:29 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91581] ICE on usage requiring complete class in exception-specification of defaulted method Date: Fri, 25 Oct 2019 19:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02299.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91581 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Fri Oct 25 19:11:58 2019 New Revision: 277462 URL: https://gcc.gnu.org/viewcvs?rev=3D277462&root=3Dgcc&view=3Drev Log: PR c++/91581 - ICE in exception-specification of defaulted ctor. * g++.dg/cpp0x/noexcept55.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/noexcept55.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 19:13:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16088 invoked by alias); 25 Oct 2019 19:13:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16059 invoked by uid 48); 25 Oct 2019 19:13:46 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91581] ICE on usage requiring complete class in exception-specification of defaulted method Date: Fri, 25 Oct 2019 19:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02300.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91581 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed. >>From gcc-bugs-return-657575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 20:36:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78967 invoked by alias); 25 Oct 2019 20:36:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78908 invoked by uid 55); 25 Oct 2019 20:35:59 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92229] Optimization makes it impossible to read overflow flag Date: Fri, 25 Oct 2019 20:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02301.txt.bz2 Content-length: 372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92229 --- Comment #1 from joseph at codesourcery dot com --- Built-in functions related to integer overflow should be defined in terms=20 of the C abstract machine model, not in terms of processor flags. See recent WG14 discussions around this issue for various language design=20 ideas. >>From gcc-bugs-return-657576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 21:04:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42863 invoked by alias); 25 Oct 2019 21:04:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42814 invoked by uid 48); 25 Oct 2019 21:04:03 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91165] [10 Regression] error: location references block not in block tree Date: Fri, 25 Oct 2019 21:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02302.txt.bz2 Content-length: 795 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91165 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- Cleaned up testcase: template constexpr T bar(T c) { return c; } template struct S { T f; U g; constexpr S(T c, U h) : f(c), g(h) {} }; template constexpr S foo(T &&c, U h) { return S(c, bar (h)); } enum { X }; class C { void m_fn1() const; }; void baz (int a) { foo(a, ""); } void C::m_fn1() const { foo(X, ""); } >>From gcc-bugs-return-657577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 21:06:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45292 invoked by alias); 25 Oct 2019 21:06:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45210 invoked by uid 48); 25 Oct 2019 21:06:26 -0000 From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91661] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4804 Date: Fri, 25 Oct 2019 21:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02303.txt.bz2 Content-length: 1616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91661 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #3 from anlauf at gcc dot gnu.org --- The following patch fixes the ICE by forcing a simplification in the declaration, but leads to regressions: Index: gcc/fortran/decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/decl.c (Revision 277460) +++ gcc/fortran/decl.c (Arbeitskopie) @@ -2596,6 +2596,7 @@ if (e->expr_type !=3D EXPR_CONSTANT) { n =3D gfc_copy_expr (e); + gfc_resolve_expr (n); gfc_simplify_expr (n, 1); if (n->expr_type =3D=3D EXPR_CONSTANT) gfc_replace_expr (e, n); @@ -2606,6 +2607,7 @@ if (e->expr_type !=3D EXPR_CONSTANT) { n =3D gfc_copy_expr (e); + gfc_resolve_expr (n); gfc_simplify_expr (n, 1); if (n->expr_type =3D=3D EXPR_CONSTANT) gfc_replace_expr (e, n); The failing testcases are: gfortran.dg/pr84734.f90 gfortran.dg/typebound_proc_32.f90 The first one misses the detection of an overflow. The second one is a real negative side-effect I do not understand. >>From gcc-bugs-return-657578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 21:47:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18773 invoked by alias); 25 Oct 2019 21:47:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18725 invoked by uid 48); 25 Oct 2019 21:47:37 -0000 From: "timshen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/61601] C++11 regex resource exhaustion Date: Fri, 25 Oct 2019 21:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: timshen at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: timshen at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02304.txt.bz2 Content-length: 1034 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61601 --- Comment #10 from Tim Shen --- (In reply to Eric Gallager from comment #9) > (In reply to Tim Shen from comment #7) > > (In reply to Maksymilian Arciemowicz from comment #6) > > > > Do you have any other testcases? > > >=20 > > > for trunk? maybe you have to use ::regex_match > >=20 > > std::regex_match("findme", std::regex("(.*{100}{200}findme)")); > >=20 > > there's no memory problem, it just takes exponentially long time to run > > (which is expected when using backtracking). > >=20 > > To avoid it, you can use Thompson NFA: > >=20 > > #define _GLIBCXX_REGEX_USE_THOMPSON_NFA > > #include > >=20 > > int main (int argc, char *argv[]) > > { > > std::regex_match("findme", std::regex("(.*{100}{200}findme)", > > std::regex_constants::extended)); > >=20 > > return 0; > >=20 > > } > >=20 > > Notice that for now Thompson NFA doesn't support ECMAScript. >=20 > Are you still working on this? No, I'm not actively working on this. >>From gcc-bugs-return-657579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 21:50:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33680 invoked by alias); 25 Oct 2019 21:50:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33605 invoked by uid 48); 25 Oct 2019 21:50:34 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Fri, 25 Oct 2019 21:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02305.txt.bz2 Content-length: 2117 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92213 --- Comment #6 from H.J. Lu --- When the same register is assigned by assign_by_spills which sets reg_renumber and assigned by assign_spill_hard_regs which sets hard_regs_spilled_into, lra_create_live_ranges_1 treats the register only for spill, not for assignment. Should lra_create_live_ranges_1 be updated to check for reg_renumber? diff --git a/gcc/lra-lives.c b/gcc/lra-lives.c index 1d1525ca2e5..cb5a482805e 100644 --- a/gcc/lra-lives.c +++ b/gcc/lra-lives.c @@ -1305,6 +1305,7 @@ lra_create_live_ranges_1 (bool all_p, bool dead_insn_= p) int i, hard_regno, max_regno =3D max_reg_num (); int curr_point; bool bb_live_change_p, have_referenced_pseudos =3D false; + HARD_REG_SET lra_assigned_reg_set; timevar_push (TV_LRA_CREATE_LIVE_RANGES); @@ -1314,6 +1315,7 @@ lra_create_live_ranges_1 (bool all_p, bool dead_insn_= p) "\n********** Pseudo live ranges #%d: **********\n\n", ++lra_live_range_iter); memset (lra_hard_reg_usage, 0, sizeof (lra_hard_reg_usage)); + CLEAR_HARD_REG_SET (lra_assigned_reg_set); for (i =3D 0; i < max_regno; i++) { lra_reg_info[i].live_ranges =3D NULL; @@ -1337,7 +1339,10 @@ lra_create_live_ranges_1 (bool all_p, bool dead_insn= _p) && lra_reg_info[i].nrefs !=3D 0) { if ((hard_regno =3D reg_renumber[i]) >=3D 0) - lra_hard_reg_usage[hard_regno] +=3D lra_reg_info[i].freq; + { + lra_hard_reg_usage[hard_regno] +=3D lra_reg_info[i].freq; + SET_HARD_REG_BIT (lra_assigned_reg_set, hard_regno); + } have_referenced_pseudos =3D true; } } @@ -1392,7 +1397,8 @@ lra_create_live_ranges_1 (bool all_p, bool dead_insn_= p) DF-infrastructure solver to solve live data flow problem. */ for (int i =3D 0; HARD_REGISTER_NUM_P (i); ++i) { - if (TEST_HARD_REG_BIT (hard_regs_spilled_into, i)) + if (TEST_HARD_REG_BIT (hard_regs_spilled_into, i) + && !TEST_HARD_REG_BIT (lra_assigned_reg_set, i)) bitmap_clear_bit (&all_hard_regs_bitmap, i); } df_simple_dataflow >>From gcc-bugs-return-657580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 25 23:03:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17083 invoked by alias); 25 Oct 2019 23:03:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17068 invoked by uid 48); 25 Oct 2019 23:03:45 -0000 From: "daniel at hebirobotics dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92232] New: [C++17] Unable to deduce template function parameter Date: Fri, 25 Oct 2019 23:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel at hebirobotics dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02306.txt.bz2 Content-length: 1770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92232 Bug ID: 92232 Summary: [C++17] Unable to deduce template function parameter Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: daniel at hebirobotics dot com Target Milestone: --- When trying to use a function pointer (which has a non-void return type and= one or more parameters) as a template argument parameter - whose return type is specified as `auto` and one of its arguments is dependent on another templa= te typename - GCC fails to deduce the function template parameter. A simplified use case is as followed: --- enum MyEnumT {}; struct MyStructDecl; typedef MyStructDecl* MyStructDeclPtr; MyEnumT myFunc(MyStructDeclPtr, int someArg); template void deducer(FirstArgT arg, int i) { auto ret =3D functor(arg, i); // Something } int main() { deducer(nullptr, 12); } --- Some interesting and potentially relevant notes: * If you change the problematic template function parameter (`auto(*functor)(FirstArgT, int)`) to have a `MyEnumT` return type (`MyEnumT(*functor)(FirstArgT, int)`), the code will compile * If you change the problematic template function parameter to accept a non-template typename as the first parameter (`auto(*functor)(MyStructDeclP= tr, int)`), the code will compile. I've seen this as an issue on 9.1 and 9.2, but I assume it to be an issue f= or any version which can utilize C++17. This code compiles without any issues = on both Clang and MSVC ( https://gcc.godbolt.org/z/EIcOJc ). >>From gcc-bugs-return-657581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 01:26:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15673 invoked by alias); 26 Oct 2019 01:26:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15635 invoked by uid 48); 26 Oct 2019 01:26:26 -0000 From: "arieltorti14 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92229] Optimization makes it impossible to read overflow flag Date: Sat, 26 Oct 2019 01:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arieltorti14 at gmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02307.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92229 --- Comment #2 from Ariel Torti --- (In reply to joseph@codesourcery.com from comment #1) > Built-in functions related to integer overflow should be defined in terms= =20 > of the C abstract machine model, not in terms of processor flags. They should indeed, but what I want to implement here is a function that outputs the value of the OV flag, a behavior that cannot be achieved as a consequence of optimizations. > See recent WG14 discussions around this issue for various language design= =20 > ideas. Could you provide a link to the discussion in WG14 ? I'm not subscribed to = it and I cannot find it. >>From gcc-bugs-return-657582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 03:56:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25908 invoked by alias); 26 Oct 2019 03:56:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25880 invoked by uid 48); 26 Oct 2019 03:56:10 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92227] Optimizations on constant integer overflow checks lead to incorrect results Date: Sat, 26 Oct 2019 03:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: cf_gcctarget bug_status cf_reconfirmed_on component everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02308.txt.bz2 Content-length: 865 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92227 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-linux-gnu Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-26 Component|tree-optimization |target Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- __builtin_sadd_overflow does not need to clobber or set any flags if is done correctly. Just like a compare might be done without using the flags register. I don't see what you are exactly complaining about if __builtin_sadd_overfl= ow produces the correct results. >>From gcc-bugs-return-657583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 04:01:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55276 invoked by alias); 26 Oct 2019 04:01:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55228 invoked by uid 48); 26 Oct 2019 04:01:19 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92229] Optimization makes it impossible to read overflow flag Date: Sat, 26 Oct 2019 04:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02309.txt.bz2 Content-length: 1074 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92229 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-26 Ever confirmed|0 |1 --- Comment #3 from Andrew Pinski --- >One could make the code more readable by using: This is very problematic. How do you know what statement, __builtin_overfl= ow_p should be associated with? Take C++ code, where the types of a and b are n= ot integer, how do you handle that? Likewise about floating point types? What does it mean to overflow floating point types. Even unsigned types, there is no overflow for them in the C/C++ language it= self but the definitions of __builtin_umul*_overflow describe it as not a proper= ty of the language but rather if the multiple would not fit exactly from the infinite percission case. >>From gcc-bugs-return-657584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 04:25:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75041 invoked by alias); 26 Oct 2019 04:25:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74939 invoked by uid 48); 26 Oct 2019 04:25:09 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/44515] improve message for missing ";" Date: Sat, 26 Oct 2019 04:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02310.txt.bz2 Content-length: 735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44515 --- Comment #10 from Eric Gallager --- (In reply to David Malcolm from comment #9) > Trunk now emits: >=20 > t.c: In function =E2=80=98foo=E2=80=99: > t.c:4:8: error: expected =E2=80=98;=E2=80=99 before =E2=80=98}=E2=80=99 t= oken > bar() > ^ > ; > t.c:7:1: > } > ~=20=20=20=20=20=20=20 >=20 > (as of r253690, I believe). >=20 > This improves the location for the diagnostic (and adds a fix-it hint), b= ut > it doesn't address the wording of the message, hence I'm keeping this PR > open. I think the improvement of the location and the addition of the fix-it is enough, personally, but maybe others have different opinions... >>From gcc-bugs-return-657585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 05:12:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41865 invoked by alias); 26 Oct 2019 05:12:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41822 invoked by uid 48); 26 Oct 2019 05:12:16 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/90374] Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors for output Date: Sat, 26 Oct 2019 05:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02311.txt.bz2 Content-length: 306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90374 --- Comment #3 from Jerry DeLisle --- Created attachment 47116 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47116&action=3Dedit Peliminary patch This is a preliminary patch to allow others to check the results >>From gcc-bugs-return-657586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 05:41:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9923 invoked by alias); 26 Oct 2019 05:41:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9889 invoked by uid 48); 26 Oct 2019 05:41:08 -0000 From: "SztfG at yandex dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92233] New: missed optimisation for multiplication when it's known that at least one of the arguments is 0 Date: Sat, 26 Oct 2019 05:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: SztfG at yandex dot ru 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 keywords bug_severity priority component assigned_to reporter target_milestone 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-SW-Source: 2019-10/txt/msg02312.txt.bz2 Content-length: 832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92233 Bug ID: 92233 Summary: missed optimisation for multiplication when it's known that at least one of the arguments is 0 Product: gcc Version: 9.2.1 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: SztfG at yandex dot ru Target Milestone: --- testcase: unsigned test_mult(unsigned a, unsigned b) { if ((a =3D=3D 0) || (b =3D=3D 0)) { return a*b; // here a*0 or 0*b or 0*0 - always 0 } return 0; } So this function should always return 0 no matter what, but GCC generate comparisons and imul instruction, even with -O3 >>From gcc-bugs-return-657587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 06:02:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21125 invoked by alias); 26 Oct 2019 06:02:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21059 invoked by uid 48); 26 Oct 2019 06:02:09 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92233] missed optimisation for multiplication when it's known that at least one of the arguments is 0 Date: Sat, 26 Oct 2019 06:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia 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: cc bug_severity Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02313.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92233 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org Severity|normal |enhancement >>From gcc-bugs-return-657588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 09:25:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60637 invoked by alias); 26 Oct 2019 09:24:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60467 invoked by uid 48); 26 Oct 2019 09:24:24 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92233] missed optimisation for multiplication when it's known that at least one of the arguments is 0 Date: Sat, 26 Oct 2019 09:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: glisse 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02314.txt.bz2 Content-length: 703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92233 --- Comment #1 from Marc Glisse --- (llvm doesn't do it either) Would some kind of threading be the most natural way to handle this? If the compiler duplicates the code as if (a=3D=3D0) return a*b; else if (b=3D=3D0) return a*b; then it becomes easy to optimize. There could be a heuristic to encourage t= he compiler to do that when the test is var =3D=3D cst and var is used in an o= peration that greatly simplifies for cst. On powerpc64le-linux-gnu (so the 2 tests aren't combined as bit_ior), if I = test test_mul(a,b)=3D=3D0 in another function, it does simplify to true, with DO= M2 doing the interesting part. >>From gcc-bugs-return-657589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 10:54:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31098 invoked by alias); 26 Oct 2019 10:54:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31070 invoked by uid 48); 26 Oct 2019 10:54:48 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92227] Optimizations on constant integer overflow checks lead to incorrect results Date: Sat, 26 Oct 2019 10:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status cc resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02315.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92227 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |ebotcazou at gcc dot gnu.o= rg Resolution|--- |INVALID --- Comment #2 from Eric Botcazou --- Right, there is no requirement on the implementation of __builtin_sadd_overflow, it just needs to produce correct results. >>From gcc-bugs-return-657590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 13:01:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38750 invoked by alias); 26 Oct 2019 13:01:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38733 invoked by uid 48); 26 Oct 2019 13:01:26 -0000 From: "mikpelinux at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92095] ICE on sparc-gcc -O1 -mcpu=niagara2 -fPIE: validize_mem(rtx_def*): gcc/gcc/explow.c:521 Date: Sat, 26 Oct 2019 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpelinux at gmail dot com 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02316.txt.bz2 Content-length: 2088 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92095 Mikael Pettersson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpelinux at gmail dot com --- Comment #2 from Mikael Pettersson --- I can reproduce. Fails with gcc -m32 -O1 -mcpu=3Dniagara2 -fPIE and GCC 8/= 9/10.=20 Works with -m64. Works with GCC 7. > gcc/xgcc -Bgcc -m32 -O1 -mcpu=3Dniagara2 -fPIE -S pr92095.c during RTL pass: reload pr92095.c: In function 'd': pr92095.c:10:1: internal compiler error: Segmentation fault 10 | } | ^ 0x596eef crash_signal /mnt/scratch/gcc-10-20191020/gcc/toplev.c:326 0x247100 validize_mem(rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/explow.c:521 0x86c897 sparc_expand_move(machine_mode, rtx_def**) /mnt/scratch/gcc-10-20191020/gcc/config/sparc/sparc.c:2315 0xa68dbf gen_movdf(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/config/sparc/sparc.md:2469 0x26d60f insn_gen_fn::operator()(rtx_def*, rtx_def*) const /mnt/scratch/gcc-10-20191020/gcc/recog.h:318 0x26d60f emit_move_insn_1(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/expr.c:3727 0x26daa3 emit_move_insn(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/expr.c:3823 0x4076c7 lra_emit_move(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/lra.c:499 0x419cef curr_insn_transform /mnt/scratch/gcc-10-20191020/gcc/lra-constraints.c:4397 0x41bdab lra_constraints(bool) /mnt/scratch/gcc-10-20191020/gcc/lra-constraints.c:4994 0x407c6f lra(_IO_FILE*) /mnt/scratch/gcc-10-20191020/gcc/lra.c:2432 0x3bf45f do_reload /mnt/scratch/gcc-10-20191020/gcc/ira.c:5511 0x3bf45f execute /mnt/scratch/gcc-10-20191020/gcc/ira.c:5697 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-657591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 15:22:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30946 invoked by alias); 26 Oct 2019 15:22:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28582 invoked by uid 48); 26 Oct 2019 15:22:26 -0000 From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/92234] New: [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu Date: Sat, 26 Oct 2019 15:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot 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 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-SW-Source: 2019-10/txt/msg02317.txt.bz2 Content-length: 1736 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92234 Bug ID: 92234 Summary: [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org CC: marxin at gcc dot gnu.org Target Milestone: --- seen with r277471 on the trunk, ../../src/gcc/gcov.c: In function 'unblock': ../../src/gcc/gcov.c:711:1: error: invalid conversion in gimple call 711 | unblock (const block_info *u, block_vector_t &blocked, | ^ struct iterator struct __normal_iterator # .MEM_139 =3D VDEF <.MEM_138> it =3D __find_if.constprop (__first, __last, __pred); [return slot optimiza= tion] during GIMPLE pass: fixup_cfg ../../src/gcc/gcov.c:711:1: internal compiler error: verify_gimple failed 0x1749c73 verify_gimple_in_cfg(function*, bool) ../../src/gcc/tree-cfg.c:5427 0x1611639 execute_function_todo ../../src/gcc/passes.c:1983 0x1612759 do_per_function ../../src/gcc/passes.c:1638 0x1612759 execute_todo ../../src/gcc/passes.c:2037 Please submit a full bug report, with preprocessed source if appropriate. configured with --with-arch=3Dz13 --with-mtune=3Dz15 --with-long-double-128 --enable-multilib --enable-checking=3Dyes --build=3Ds390x-linux-gnu --host=3Ds390x-linux-gnu --target=3Ds390x-linux-gnu --with-build-config=3Dbootstrap-lto-lean --enable-link-mutex building the profiledbootstrap-lean target >>From gcc-bugs-return-657592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 16:39:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57666 invoked by alias); 26 Oct 2019 16:39:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57621 invoked by uid 55); 26 Oct 2019 16:39:34 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91289] powerpc-eabi: Usage of -fstack-limit-symbol leads to internal compiler error during RTL pass Date: Sat, 26 Oct 2019 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02318.txt.bz2 Content-length: 1004 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91289 --- Comment #14 from Segher Boessenkool --- Author: segher Date: Sat Oct 26 16:38:59 2019 New Revision: 277472 URL: https://gcc.gnu.org/viewcvs?rev=3D277472&root=3Dgcc&view=3Drev Log: rs6000: Fix allocate_stack in a corner case (PR91289) When we have -fstack-limit-symbol with sysv we can end up with a non- existing instruction (you cannot add an immediate to register 0). Fix this by using register 11 instead. It might be used for something else already though, so save and restore its value around this. In optimizing compiles these extra moves are usually removed again: the restore by cprop_hardreg, and then the save by rtl_dce. PR target/91289 * config/rs6000/rs6000-logue.c (rs6000_emit_allocate_stack): Don't = add an immediate to r0; use r11 instead. Save and restore r11 to r0 ar= ound this. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000-logue.c >>From gcc-bugs-return-657593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 16:43:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65646 invoked by alias); 26 Oct 2019 16:43:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65604 invoked by uid 48); 26 Oct 2019 16:43:36 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91289] powerpc-eabi: Usage of -fstack-limit-symbol leads to internal compiler error during RTL pass Date: Sat, 26 Oct 2019 16:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_fail Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02319.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91289 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Known to fail| |7.4.0, 8.3.0, 9.2.0 --- Comment #15 from Segher Boessenkool --- Fixed on trunk (so far). >>From gcc-bugs-return-657594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 16:53:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79879 invoked by alias); 26 Oct 2019 16:53:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79828 invoked by uid 48); 26 Oct 2019 16:53:27 -0000 From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92235] New: [10 Regression] ICE in host_detect_local_cpu, segfault (profiled lto) on powerpc64le-linux-gnu Date: Sat, 26 Oct 2019 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot 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 target_milestone 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-SW-Source: 2019-10/txt/msg02320.txt.bz2 Content-length: 2646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92235 Bug ID: 92235 Summary: [10 Regression] ICE in host_detect_local_cpu, segfault (profiled lto) on powerpc64le-linux-gnu Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with r277471 on the trunk, 0x10861993 crash_signal ../../src/gcc/toplev.c:326 0x1022bfc0 expand_call(tree_node*, rtx_def*, int) ../../src/gcc/calls.c:4347 0x103cc777 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../src/gcc/expr.c:11101 0x1024466b expand_expr ../../src/gcc/expr.h:282 0x1024466b expand_call_stmt ../../src/gcc/cfgexpand.c:2731 0x1024466b expand_gimple_stmt_1 ../../src/gcc/cfgexpand.c:3710 0x1024466b expand_gimple_stmt ../../src/gcc/cfgexpand.c:3875 0x102492f7 expand_gimple_basic_block ../../src/gcc/cfgexpand.c:5914 0x1024c087 execute ../../src/gcc/cfgexpand.c:6554 Please submit a full bug report, with preprocessed source if appropriate. [...] make[5]: *** [../../src/gcc/d/Make-lang.in:39: gdc] Error 1 make[5]: Leaving directory '/<>/build/gcc' make[4]: *** [Makefile:4998: all-stagefeedback-gcc] Error 2 make[4]: Leaving directory '/<>/build' make[3]: *** [Makefile:25534: stagefeedback-bubble] Error 2 make[3]: Leaving directory '/<>/build' make[2]: *** [Makefile:25565: profiledbootstrap-lean] Error 2 make[2]: Leaving directory '/<>/build' configured with --enable-languages=3Dc,ada,c++,go,d,fortran,objc,obj-c++ --enable-shared --enable-linker-build-id --enable-bootstrap --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --enable-gnu-unique-object --enable-plugin --disable-libphobos --enable-secureplt --with-cpu=3Dpower8 --enable-targets=3Dpowerpcle-linux --disable-multilib --enable-multiarch --disable-werror --with-long-double-128 --enable-offload-targets=3Dnvptx-none --enable-checking=3Dyes --build=3Dpowerpc64le-linux-gnu --host=3Dpowerpc64le-linux-gnu --target=3Dpowerpc64le-linux-gnu --with-build-config=3Dbootstrap-lto-lean --enable-link-mutex building the profiledbootstrap-lean target >>From gcc-bugs-return-657595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 16:58:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128547 invoked by alias); 26 Oct 2019 16:58:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126241 invoked by uid 55); 26 Oct 2019 16:58:27 -0000 From: "mariogalindoq at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92224] Set: Can't be created a set with const template parameter Date: Sat, 26 Oct 2019 16:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mariogalindoq at hotmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02321.txt.bz2 Content-length: 867 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92224 --- Comment #3 from Mario Galindo --- Thank you sir. As clang is allowing this type of construction, I believe now that the "bug" is in clang, not gcc. Regards. Dr. Ing. Mario Galindo Q. Cel: 591-72062746 & 591-72010422 On 25 Oct 2019 06:20, "redi at gcc dot gnu.org" wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92224 --- Comment #2 from Jonathan Wakely --- Also, set keys are *not* const, otherwise you wouldn't be able to assign one set to another set without reallocating every element. std::set::iterator only gives you const *access* to the elements, but the elements themselves are not actually const. -- You are receiving this mail because: You are on the CC list for the bug. You reported the bug. >>From gcc-bugs-return-657596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 17:33:02 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30990 invoked by alias); 26 Oct 2019 17:33:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30911 invoked by uid 55); 26 Oct 2019 17:32:56 -0000 From: "ville at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85254] boost::is_final does not work for template types Date: Sat, 26 Oct 2019 17:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ville at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ville.voutilainen at gmail dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02322.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85254 --- Comment #8 from ville at gcc dot gnu.org --- Author: ville Date: Sat Oct 26 17:32:24 2019 New Revision: 277474 URL: https://gcc.gnu.org/viewcvs?rev=3D277474&root=3Dgcc&view=3Drev Log: PR c++/85254 Backport from mainline 2019-06-01 Ville Voutilainen PR c++/85254 * class.c (fixup_type_variants): Handle CLASSTYPE_FINAL. Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/class.c branches/gcc-9-branch/gcc/testsuite/g++.dg/ext/is_final.C >>From gcc-bugs-return-657597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 18:22:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100574 invoked by alias); 26 Oct 2019 18:22:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100512 invoked by uid 48); 26 Oct 2019 18:22:33 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Sat, 26 Oct 2019 18:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to attachments.created Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02323.txt.bz2 Content-length: 724 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86248 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gn= u.org --- Comment #7 from Paul Thomas --- Created attachment 47117 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47117&action=3Dedit Fix for the PR This took a bit more time than expected. I suspect a problem with "little g= rey cell" wear and tear. It regtests OK on x86_64/FC30 and I will submit to the list just as soon as= I have written the ChangeLogs. Cheers Paul >>From gcc-bugs-return-657598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 19:46:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44294 invoked by alias); 26 Oct 2019 19:46:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44067 invoked by uid 48); 26 Oct 2019 19:45:44 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected Date: Sat, 26 Oct 2019 19:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.2.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02324.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78244 --- Comment #12 from Marek Polacek --- Another bit to extend the Comment 11 test: // Test OVERLOAD in a template. int id(int v) { return v; } double id(double v) { return v; } template auto f5(double v) -> decltype((S{id(v)}, 1)) { return 1; } // { dg-error "narrowing conversion" } template auto f6(int v) -> decltype((S{id(v)}, 1)) { return 1; } >>From gcc-bugs-return-657599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 21:01:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41256 invoked by alias); 26 Oct 2019 21:01:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41099 invoked by uid 48); 26 Oct 2019 21:01:09 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92236] New: [concepts] Explain non-satisfaction in static_assert Date: Sat, 26 Oct 2019 21:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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 keywords bug_severity priority component assigned_to reporter cc blocked target_milestone 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-SW-Source: 2019-10/txt/msg02325.txt.bz2 Content-length: 848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92236 Bug ID: 92236 Summary: [concepts] Explain non-satisfaction in static_assert Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason at gcc dot gnu.org CC: asutton at gcc dot gnu.org Blocks: 67491 Target Milestone: --- For this testcase we should explain why the concept-check is not satisfied,= not just say "static assertion failed". template concept Int =3D __is_same_as (T, int); static_assert (Int); Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 21:02:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56548 invoked by alias); 26 Oct 2019 21:02:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54342 invoked by uid 48); 26 Oct 2019 21:02:28 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92236] [concepts] Explain non-satisfaction in static_assert Date: Sat, 26 Oct 2019 21:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02326.txt.bz2 Content-length: 401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92236 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-26 Ever confirmed|0 |1 >>From gcc-bugs-return-657601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 21:13:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53405 invoked by alias); 26 Oct 2019 21:13:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53355 invoked by uid 48); 26 Oct 2019 21:13:36 -0000 From: "andrew.cooper3 at citrix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92237] New: [x86] Missed optimisation opportunity with bit tests Date: Sat, 26 Oct 2019 21:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.cooper3 at citrix dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02327.txt.bz2 Content-length: 1059 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92237 Bug ID: 92237 Summary: [x86] Missed optimisation opportunity with bit tests Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: andrew.cooper3 at citrix dot com Target Milestone: --- See https://godbolt.org/z/mP-8Y7 An expression such as: bool foo(uint64_t val) { return (val & 0x120) =3D=3D 0x20; } gets assembled to: : 0: 81 e7 20 01 00 00 and $0x120,%edi 6: 48 83 ff 20 cmp $0x20,%rdi a: 0f 94 c0 sete %al d: c3 retq Some part of optimisation has noticed that, due to the 32bit constant, the = AND can be performed on %edi, but hasn't spotted that the same is true for the following CMP. In this example, the CMP could use %edi as well, and save emitting the REX prefix into the instruction stream. >>From gcc-bugs-return-657602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 26 22:19:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2813 invoked by alias); 26 Oct 2019 22:19:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2796 invoked by uid 48); 26 Oct 2019 22:19:24 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92237] [x86] Missed optimisation opportunity with bit tests Date: Sat, 26 Oct 2019 22:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia 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_severity Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02328.txt.bz2 Content-length: 300 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92237 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement >>From gcc-bugs-return-657603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 03:59:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122482 invoked by alias); 27 Oct 2019 03:59:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122435 invoked by uid 48); 27 Oct 2019 03:59:33 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92238] New: constexpr fails to compile 2d std::array in C++ 10 master Date: Sun, 27 Oct 2019 03:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com 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 target_milestone attachments.created 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-SW-Source: 2019-10/txt/msg02329.txt.bz2 Content-length: 2632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92238 Bug ID: 92238 Summary: constexpr fails to compile 2d std::array in C++ 10 master Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- Created attachment 47118 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47118&action=3Dedit The bugged code I tried the same code with gcc 9.2, clang, visual C++. They all work. Howev= er, the code fails to compile on gcc master. It gives me the error message of "error: modifying a const object". Current directory: D:\git\f3\fast_io\examples\0026.helper g++ -o gennum gennum.cc -O3 -std=3Dc++2a -fconcepts -Wall -Wextra -ltbb -DN= DEBUG Process started (PID=3D14596) >>> gennum.cc: In function 'int main()': gennum.cc:67:40: in 'constexpr' expansion of 'cal_content<2, false>()' gennum.cc:67:41: error: modifying a const object 'vals.std::array, 256>::_M_elems[1].std::array::_M_elems[7]' is not allowed in a constant expression 67 | constexpr auto a(cal_content<2,false>()); | ^ gennum.cc:67:41: note: originally declared 'const' here gennum.cc:71:19: warning: unused variable 'e' [-Wunused-variable] 71 | for(auto const & e : a) | ^ <<< Process finished (PID=3D14596). (Exit code 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D READY =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D You can check that on Godbolt for different compilers https://godbolt.org/z/4V4qVk I think it is because the changes made by Marek Polacek which breaks the co= de. It incorrectly detects constructs of objects in constexpr (because of copy elision rule???) 2019-08-19 Marek Polacek PR c++/91264 - detect modifying const objects in constexpr. * constexpr.c (modifying_const_object_error): New function. (cxx_eval_call_expression): Set TREE_READONLY on a CONSTRUCTOR of a const-qualified object after it's been fully constructed. (modifying_const_object_p): New function. (cxx_eval_store_expression): Detect modifying a const object during constant expression evaluation. (cxx_eval_increment_expression): Use a better location when building up the store. (cxx_eval_constant_expression) : Mark a constant object's constructor TREE_READONLY. >>From gcc-bugs-return-657604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 04:38:02 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29973 invoked by alias); 27 Oct 2019 04:38:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29856 invoked by uid 48); 27 Oct 2019 04:37:57 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/58884] OPTIONAL warning when a temprary value is created and not used. Date: Sun, 27 Oct 2019 04:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cc blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02330.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58884 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg Blocks| |87403 --- Comment #5 from Eric Gallager --- making this block the "new-warning" meta-bug Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87403 [Bug 87403] [Meta-bug] Issues that suggest a new warning >>From gcc-bugs-return-657605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 04:42:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76598 invoked by alias); 27 Oct 2019 04:42:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74010 invoked by uid 48); 27 Oct 2019 04:41:58 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/23577] spurious warnings about unhandled cases in switches (need VRP and control flow in front-end) Date: Sun, 27 Oct 2019 04:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02331.txt.bz2 Content-length: 703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D23577 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg --- Comment #3 from Eric Gallager --- (In reply to Andrew Pinski from comment #1) > The warning is done without flow control. >=20 > The optmization needs a "full" VRP which keeps of track of discontinuous > ranges which is too expensive=20 > really. ...maybe once Project Ranger is merged and we have that info available on-demand it'll be easier? >>From gcc-bugs-return-657607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 04:47:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103240 invoked by alias); 27 Oct 2019 04:47:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103191 invoked by uid 48); 27 Oct 2019 04:47:51 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/42579] [PATCH] support for obtaining file basename Date: Sun, 27 Oct 2019 04:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02333.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D42579 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuchedzhy at google dot com --- Comment #8 from Eric Gallager --- *** Bug 91998 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 04:47:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103232 invoked by alias); 27 Oct 2019 04:47:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103180 invoked by uid 48); 27 Oct 2019 04:47:51 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/91998] Add a __FILE_NAME__ macro Date: Sun, 27 Oct 2019 04:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: see_also Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02332.txt.bz2 Content-length: 759 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91998 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D82176 --- Comment #2 from Eric Gallager --- (In reply to Eric Gallager from comment #1) > dup of bug 82176 >=20 > *** This bug has been marked as a duplicate of bug 82176 *** Actually wrong one; I guess it's more of a dup of bug 42579 instead, meaning 82176 is just related... *** This bug has been marked as a duplicate of bug 42579 *** >>From gcc-bugs-return-657608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 04:49:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105530 invoked by alias); 27 Oct 2019 04:49:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105502 invoked by uid 48); 27 Oct 2019 04:49:38 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/82176] Feature request: replace __FILE__ with file's basename instead its full name Date: Sun, 27 Oct 2019 04:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02334.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82176 --- Comment #6 from Eric Gallager --- (In reply to Gregory Fuchedzhy from comment #5) > (In reply to Eric Gallager from comment #3) > > *** Bug 91998 has been marked as a duplicate of this bug. *** >=20 > Not exactly a duplicate, but related. > Clang implemented an additional __FILE_NAME__ macro. >=20 > See: > https://reviews.llvm.org/D61756 > https://reviews.llvm.org/D17741 oh ok, I guess that's actually a dup of bug 42579 instead, then... >>From gcc-bugs-return-657609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 08:16:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19759 invoked by alias); 27 Oct 2019 08:16:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19721 invoked by uid 48); 27 Oct 2019 08:16:32 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92239] New: [10 Regression] ICE in insert_vi_for_tree, at tree-ssa-structalias.c:2877 Date: Sun, 27 Oct 2019 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 keywords bug_severity priority component assigned_to reporter cc target_milestone 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-SW-Source: 2019-10/txt/msg02335.txt.bz2 Content-length: 6341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92239 Bug ID: 92239 Summary: [10 Regression] ICE in insert_vi_for_tree, at tree-ssa-structalias.c:2877 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code, openacc Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com CC: marxin at gcc dot gnu.org Target Milestone: --- g++-10.0.0-alpha20191020 snapshot (r277217) ICEs when compiling gcc/testsuite/g++.dg/torture/pr83619.C: 1) w/ -O3 -fopenacc --param ipa-cp-eval-threshold=3D1 --param uninlined-thunk-insns=3D1000: % g++-10.0.0-alpha20191020 -O3 -fopenacc --param ipa-cp-eval-threshold=3D1 --param uninlined-thunk-insns=3D1000 -c gcc/testsuite/g++.dg/torture/pr8361= 9.C during IPA pass: pta gcc/testsuite/g++.dg/torture/pr83619.C:64:1: internal compiler error: in insert_vi_for_tree, at tree-ssa-structalias.c:2877 64 | } | ^ 0x1018c3b insert_vi_for_tree =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/tree-ssa-structalias.c:2877 0x10212db create_function_info_for =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/tree-ssa-structalias.c:5975 0x10212db ipa_pta_execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/tree-ssa-structalias.c:8150 0x10212db execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/tree-ssa-structalias.c:8550 2) w/ -O3 --param ipa-cp-eval-threshold=3D1 --param uninlined-thunk-insns= =3D1000: % g++-10.0.0-alpha20191020 -O3 --param ipa-cp-eval-threshold=3D1 --param uninlined-thunk-insns=3D1000 -c gcc/testsuite/g++.dg/torture/pr83619.C during RTL pass: expand gcc/testsuite/g++.dg/torture/pr83619.C: In member function 'int H::_ZThn8_N1H1oEP1e.artificial_thunk.0(e*)': gcc/testsuite/g++.dg/torture/pr83619.C:49:7: internal compiler error: in set_parm_rtl, at cfgexpand.c:1311 49 | int o (e *); | ^ 0x68684e set_parm_rtl(tree_node*, rtx_def*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/cfgexpand.c:1311 0xbd51cc assign_parm_setup_reg =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/function.c:3369 0xbd6010 assign_parms =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/function.c:3663 0xbd7abb expand_function_start(tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/function.c:5097 0xa87150 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/cfgexpand.c:6442 3) w/ -O3 --param ipa-cp-eval-threshold=3D1 --param uninlined-thunk-insns= =3D100000: % x86_64-unknown-linux-gnu-g++-10.0.0-alpha20191020 -O3 --param ipa-cp-eval-threshold=3D1 --param uninlined-thunk-insns=3D100000 -c gcc/testsuite/g++.dg/torture/pr83619.C during RTL pass: expand=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gcc/testsuite/g++.dg/torture/pr83619.C: In member function 'int H::_ZThn8_N1H1oEP1e.artificial_thunk.0(e*)': gcc/testsuite/g++.dg/torture/pr83619.C:62:5: internal compiler error: in expand_expr_real_1, at expr.c:10092 62 | n =3D p; | ~~^~~ 0x6a53c5 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:10092 0xb88629 expand_expr =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.h:282 0xb88629 expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**, rtx_def**, expand_modifier) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:7920 0xb7828e expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:8816 0xb7dd59 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:11389 0xb88982 expand_expr =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.h:282 0xb88982 expand_expr_addr_expr_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:7979 0xb88c14 expand_expr_addr_expr_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:8079 0xb7d5b0 expand_expr_addr_expr =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:8154 0xb7d5b0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:11332 0xb8a114 store_expr(tree_node*, rtx_def*, int, bool, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:5720 0xb8b55b expand_assignment(tree_node*, tree_node*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/expr.c:5482 0xa81cc2 expand_gimple_stmt_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/cfgexpand.c:3777 0xa81cc2 expand_gimple_stmt =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/cfgexpand.c:3875 0xa851ff expand_gimple_basic_block =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/cfgexpand.c:5914 0xa8754b execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gc= c/cfgexpand.c:6554 >>From gcc-bugs-return-657610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 08:18:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22950 invoked by alias); 27 Oct 2019 08:18:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22843 invoked by uid 48); 27 Oct 2019 08:18:02 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85960] -fipa-pta and ifunc are incompatible Date: Sun, 27 Oct 2019 08:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02336.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85960 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #11 from Arseny Solokha --- Is the backport to GCC 8 still pending? >>From gcc-bugs-return-657611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 08:19:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26904 invoked by alias); 27 Oct 2019 08:19:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26844 invoked by uid 48); 27 Oct 2019 08:19:16 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77918] S390: Floating point comparisons don't raise invalid for unordered operands. Date: Sun, 27 Oct 2019 08:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02337.txt.bz2 Content-length: 407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77918 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #13 from Arseny Solokha --- Should this PR be closed now? >>From gcc-bugs-return-657612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 09:15:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100862 invoked by alias); 27 Oct 2019 09:15:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100753 invoked by uid 48); 27 Oct 2019 09:14:57 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92240] New: [10 regression] ICE in duplicate, at ipa-prop.c:3883 Date: Sun, 27 Oct 2019 09:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02338.txt.bz2 Content-length: 3573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92240 Bug ID: 92240 Summary: [10 regression] ICE in duplicate, at ipa-prop.c:3883 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r277460 PASS r277485 FAIL gcc_current/configure --prefix=3D/usr/local/gcc_current --enable-checking=3Dyes,df,fold,rtl,extra --enable-languages=3Dc,c++,lto --disable-multilib --enable-shared --enable-threads=3Dposix --enable-__cxa_= atexit --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=3Dgnu --enable-plugin --enable-initfini-array --wi= th-isl --enable-offload-targets=3Dnvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=3Dnative make ... /home/dimhen/build/gcc_current/./prev-gcc/xgcc -B/home/dimhen/build/gcc_current/./prev-gcc/ -B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/ -B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/ -B/usr/local/gcc_current/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/gcc_current/x86_64-pc-linux-gnu/include -isystem /usr/local/gcc_current/x86_64-pc-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H -I. -I/home/dimhen/src/gcc_current/isl -I/home/dimhen/src/gcc_current/isl/include -Iinclude/ -I/home/dimhen/src/gcc_current/gmp -I/home/dimhen/build/gcc_current/./gmp -g -O2 -fno-checking -gtoggle -MT isl_fold.lo -MD -MP -MF .deps/isl_fold.Tpo -c /home/dimhen/src/gcc_current/isl/isl_fold.c -o isl_fold.o during IPA pass: inline /home/dimhen/src/gcc_current/isl/isl_fold.c:1777:1: internal compiler error= : in duplicate, at ipa-prop.c:3883 1777 | } | ^ 0xeeab70 ipa_edge_args_sum_t::duplicate(cgraph_edge*, cgraph_edge*, ipa_edge_args*, ipa_edge_args*) /home/dimhen/src/gcc_current/gcc/ipa-prop.c:3883 0xef3257 call_summary::symtab_duplication(cgraph_edge*, cgraph_edge*, void*) /home/dimhen/src/gcc_current/gcc/symbol-summary.h:771 0xafb841 symbol_table::call_edge_duplication_hooks(cgraph_edge*, cgraph_edg= e*) /home/dimhen/src/gcc_current/gcc/cgraph.c:453 0xb19c79 cgraph_edge::clone(cgraph_node*, gcall*, unsigned int, profile_cou= nt, profile_count, bool) /home/dimhen/src/gcc_current/gcc/cgraphclones.c:141 0xb1acba cgraph_node::create_clone(tree_node*, profile_count, bool, vec, bool, cgraph_node*, ipa_param_adjustmen= ts*, char const*) /home/dimhen/src/gcc_current/gcc/cgraphclones.c:390 0x26ccd59 clone_inlined_nodes(cgraph_edge*, bool, bool, int*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:217 0x26cce0e clone_inlined_nodes(cgraph_edge*, bool, bool, int*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:236 0x26cce0e clone_inlined_nodes(cgraph_edge*, bool, bool, int*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:236 0x26cda93 inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:479 0x26bec88 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2151 0x26c0731 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x26c15d6 execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. >>From gcc-bugs-return-657613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 09:36:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63068 invoked by alias); 27 Oct 2019 09:36:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63020 invoked by uid 48); 27 Oct 2019 09:36:10 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883 Date: Sun, 27 Oct 2019 09:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02339.txt.bz2 Content-length: 2873 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92240 --- Comment #1 from Dmitry G. Dyachenko --- simplified configure' call configure --enable-checking=3Dyes --enable-languages=3Dc,c++ --disable-mult= ilib --with-isl make /home/dimhen/build/gcc_current/./prev-gcc/xgcc -B/home/dimhen/build/gcc_current/./prev-gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H -I. -I/home/dimhen/src/gcc_current/isl -I/home/dimhen/src/gcc_current/isl/inclu= de -Iinclude/ -I/home/dimhen/src/gcc_current/gmp -I/home/dimhen/build/gcc_current/./gmp -g -O2 -fno-checking -gtoggle -MT isl_fold.lo -MD -MP -MF .deps/isl_fold.Tpo -c /home/dimhen/src/gcc_current/isl/isl_fold.c -o isl_fold.o during IPA pass: inline /home/dimhen/src/gcc_current/isl/isl_fold.c:1777:1: internal compiler error= : in duplicate, at ipa-prop.c:3883 1777 | } | ^ 0xe820f8 ipa_edge_args_sum_t::duplicate(cgraph_edge*, cgraph_edge*, ipa_edge_args*, ipa_edge_args*) /home/dimhen/src/gcc_current/gcc/ipa-prop.c:3883 0xe8a7df call_summary::symtab_duplication(cgraph_edge*, cgraph_edge*, void*) /home/dimhen/src/gcc_current/gcc/symbol-summary.h:771 0xae6b11 symbol_table::call_edge_duplication_hooks(cgraph_edge*, cgraph_edg= e*) /home/dimhen/src/gcc_current/gcc/cgraph.c:453 0xb04f3f cgraph_edge::clone(cgraph_node*, gcall*, unsigned int, profile_cou= nt, profile_count, bool) /home/dimhen/src/gcc_current/gcc/cgraphclones.c:141 0xb05f80 cgraph_node::create_clone(tree_node*, profile_count, bool, vec, bool, cgraph_node*, ipa_param_adjustmen= ts*, char const*) /home/dimhen/src/gcc_current/gcc/cgraphclones.c:390 0x2060f11 clone_inlined_nodes(cgraph_edge*, bool, bool, int*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:217 0x2060fc6 clone_inlined_nodes(cgraph_edge*, bool, bool, int*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:236 0x2060fc6 clone_inlined_nodes(cgraph_edge*, bool, bool, int*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:236 0x2061c4b inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:479 0x2052e40 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2151 0x20548e9 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x205578e execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-657614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 10:55:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102461 invoked by alias); 27 Oct 2019 10:55:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102415 invoked by uid 48); 27 Oct 2019 10:55:30 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883 Date: Sun, 27 Oct 2019 10:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02340.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92240 Dmitry G. Dyachenko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #2 from Dmitry G. Dyachenko --- r277486 PASS for me >>From gcc-bugs-return-657615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 11:03:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106832 invoked by alias); 27 Oct 2019 11:03:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106803 invoked by uid 48); 27 Oct 2019 11:03:38 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92241] New: ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Sun, 27 Oct 2019 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02341.txt.bz2 Content-length: 1368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 Bug ID: 92241 Summary: ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: int a, b; char c[2]; void d() { char e; for (; b; b--) { e =3D 0; for (; e <=3D 8; e++) a &=3D c[b + e] && 1; } } when compiled by recent gcc trunk and compiler flag -O3, does this: during GIMPLE pass: vect destDir/testFile.7849.c: In function =E2=80=98func_16.isra=E2=80=99: destDir/testFile.7849.c:651:17: internal compiler error: in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 651 | static int8_t * func_16(uint32_t p_17) | ^~~~~~~ 0x7e7446 vect_mark_pattern_stmts ../../trunk/gcc/tree-vect-patterns.c:5175 0x7e7446 vect_pattern_recog_1 ../../trunk/gcc/tree-vect-patterns.c:5249 0x18defde vect_pattern_recog(vec_info*) ../../trunk/gcc/tree-vect-patterns.c:5369 0x1109078 vect_analyze_loop_2 ../../trunk/gcc/tree-vect-loop.c:1925 The bug first seems to appear sometime between revision 277400 and 277450. >>From gcc-bugs-return-657616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 11:07:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111735 invoked by alias); 27 Oct 2019 11:07:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111714 invoked by uid 48); 27 Oct 2019 11:07:41 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92241] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Sun, 27 Oct 2019 11:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02342.txt.bz2 Content-length: 720 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 Dmitry G. Dyachenko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimhen at gmail dot com --- Comment #1 from Dmitry G. Dyachenko --- r277434 PASS for me $ ./gcc_277434/bin/gcc -O3 -c x.i x.i: In function =E2=80=98d=E2=80=99: x.i:8:13: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] 8 | a &=3D c[b + e] && 1; | ~^~~~~~~ x.i:7:5: note: within this loop 7 | for (; e <=3D 8; e++) | ^~~ $ >>From gcc-bugs-return-657617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 11:44:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54285 invoked by alias); 27 Oct 2019 11:44:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54196 invoked by uid 48); 27 Oct 2019 11:43:58 -0000 From: "glaubitz at physik dot fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91851] [m68k] Convert the backend to MODE_CC so it can be kept in future releases Date: Sun, 27 Oct 2019 11:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02343.txt.bz2 Content-length: 780 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91851 --- Comment #2 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #1)=20 > > https://wiki.debian.org/M68k/QemuSystemM68k >=20 > The guide is not complete yet, I will finish it throughout next week. The code has been completed now after a regression in the serial emulation = in qemu-system-m68k was fixed. Following through the guide now yields a fully usable Debian/m68k system running on an emulated Macintosh Quadra 800. > The bounty on BountySource.com can be found at: >=20 > > https://www.bountysource.com/issues/80706251-m68k-convert-the-backend-t= o-mode_cc-so-it-can-be-kept-in-future-releases The bounty is now at $5000 with 43 backers. >>From gcc-bugs-return-657618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 12:34:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100719 invoked by alias); 27 Oct 2019 12:34:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100690 invoked by uid 48); 27 Oct 2019 12:34:51 -0000 From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/92234] [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu Date: Sun, 27 Oct 2019 12:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot 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: keywords cf_gcctarget Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02344.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92234 Matthias Klose changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Target|s390x-linux-gnu |s390x-linux-gnu, | |i686-linux-gnu --- Comment #1 from Matthias Klose --- also seen on i686-linux-gnu, but not aarch64-linux-gnu and arm-linux-gnueab= ihf >>From gcc-bugs-return-657619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 12:35:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121865 invoked by alias); 27 Oct 2019 12:35:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119595 invoked by uid 48); 27 Oct 2019 12:35:41 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92113] [8 regression] r276673 causes segfault in gfortran.dg/pr51434.f90 Date: Sun, 27 Oct 2019 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02345.txt.bz2 Content-length: 1036 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92113 --- Comment #5 from Thomas Koenig --- Still having no luck trying to find out which patch made this error not appear on trunk. I think this may actually depend on the version of the bootstrapping compiler :-( In the meantime, here is the first difference in the dump files for gcc 8: diff -u Decl-artificial/pr51434.f90.088t.fixup_cfg4 Tree-readonly/pr51434.f90.088t.fixup_cfg4 --- Decl-artificial/pr51434.f90.088t.fixup_cfg4 2019-10-27 12:28:21.3155994= 67 +0000 +++ Tree-readonly/pr51434.f90.088t.fixup_cfg4 2019-10-27 12:28:44.1849832= 94 +0000 @@ -16,7 +16,7 @@ __attribute__((externally_visible)) main (integer(kind=3D4) argc, character(kind=3D1) * * argv) { - static struct a c =3D {.m=3D5, .t=3D{"a", "b", "c", "d", "e", " ", " ", = " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "}}; + static struct a c; static integer(kind=3D4) options.3[7] =3D {68, 8191, 0, 1, 1, 0, 31}; integer(kind=3D4) _6; integer(kind=3D8) S.2_7 >>From gcc-bugs-return-657621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 12:56:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83762 invoked by alias); 27 Oct 2019 12:56:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83702 invoked by uid 48); 27 Oct 2019 12:56:03 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Sun, 27 Oct 2019 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: patch, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02347.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91548 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |euloanty at live dot com --- Comment #9 from Marek Polacek --- *** Bug 92238 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 12:56:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83755 invoked by alias); 27 Oct 2019 12:56:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83680 invoked by uid 48); 27 Oct 2019 12:56:02 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92238] constexpr fails to compile 2d std::array in gcc 10 master Date: Sun, 27 Oct 2019 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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_status cc resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02346.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92238 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Marek Polacek --- Going to be fixed by https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01685.html *** This bug has been marked as a duplicate of bug 91548 *** >>From gcc-bugs-return-657622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 15:01:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65064 invoked by alias); 27 Oct 2019 15:01:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64939 invoked by uid 55); 27 Oct 2019 15:01:31 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Sun, 27 Oct 2019 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02348.txt.bz2 Content-length: 1304 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86248 --- Comment #8 from Paul Thomas --- Author: pault Date: Sun Oct 27 15:00:54 2019 New Revision: 277487 URL: https://gcc.gnu.org/viewcvs?rev=3D277487&root=3Dgcc&view=3Drev Log: 2019-10-27 Paul Thomas PR fortran/86248 * resolve.c (flag_fn_result_spec): Correct a typo before the function declaration. * trans-decl.c (gfc_sym_identifier): Boost the length of 'name' to allow for all variants. Simplify the code by using a pointer to the symbol's proc_name and taking the return out of each of the conditional branches. Allow symbols with fn_result_spec set that do not come from a procedure namespace and have a module name to go through the non-fn_result_spec branch. 2019-10-27 Paul Thomas PR fortran/86248 * gfortran.dg/char_result_19.f90 : New test. * gfortran.dg/char_result_mod_19.f90 : Module for the new test. Added: trunk/gcc/testsuite/gfortran.dg/char_result_19.f90 trunk/gcc/testsuite/gfortran.dg/char_result_mod_19.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c trunk/gcc/fortran/trans-decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 16:17:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10875 invoked by alias); 27 Oct 2019 16:16:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10569 invoked by uid 48); 27 Oct 2019 16:16:27 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92095] ICE on sparc-gcc -O1 -mcpu=niagara2 -fPIE: validize_mem(rtx_def*): gcc/gcc/explow.c:521 Date: Sun, 27 Oct 2019 16:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02349.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92095 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-27 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #3 from Eric Botcazou --- I can reproduce. >>From gcc-bugs-return-657624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 16:21:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19862 invoked by alias); 27 Oct 2019 16:21:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19836 invoked by uid 48); 27 Oct 2019 16:21:24 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92095] ICE on sparc-gcc -O1 -mcpu=niagara2 -fPIE: validize_mem(rtx_def*): gcc/gcc/explow.c:521 Date: Sun, 27 Oct 2019 16:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02350.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92095 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- CC|ebotcazou at gcc dot gnu.org, | |ebotcazou at libertysurf dot fr | Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #4 from Eric Botcazou --- Investigating. >>From gcc-bugs-return-657625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 16:22:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20959 invoked by alias); 27 Oct 2019 16:22:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20912 invoked by uid 55); 27 Oct 2019 16:22:09 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Sun, 27 Oct 2019 16:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02351.txt.bz2 Content-length: 1462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86248 --- Comment #9 from Paul Thomas --- Author: pault Date: Sun Oct 27 16:21:36 2019 New Revision: 277488 URL: https://gcc.gnu.org/viewcvs?rev=3D277488&root=3Dgcc&view=3Drev Log: 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248 * resolve.c (flag_fn_result_spec): Correct a typo before the function declaration. * trans-decl.c (gfc_sym_identifier): Boost the length of 'name' to allow for all variants. Simplify the code by using a pointer to the symbol's proc_name and taking the return out of each of the conditional branches. Allow symbols with fn_result_spec set that do not come from a procedure namespace and have a module name to go through the non-fn_result_spec branch. 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248 * gfortran.dg/char_result_19.f90 : New test. * gfortran.dg/char_result_mod_19.f90 : Module for the new test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/char_result_19.f90 branches/gcc-7-branch/gcc/testsuite/gfortran.dg/char_result_mod_19.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/resolve.c branches/gcc-7-branch/gcc/fortran/trans-decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 17:07:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75835 invoked by alias); 27 Oct 2019 17:07:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73183 invoked by uid 55); 27 Oct 2019 17:07:10 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Sun, 27 Oct 2019 17:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02352.txt.bz2 Content-length: 1463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86248 --- Comment #10 from Paul Thomas --- Author: pault Date: Sun Oct 27 17:06:38 2019 New Revision: 277489 URL: https://gcc.gnu.org/viewcvs?rev=3D277489&root=3Dgcc&view=3Drev Log: 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248 * resolve.c (flag_fn_result_spec): Correct a typo before the function declaration. * trans-decl.c (gfc_sym_identifier): Boost the length of 'name' to allow for all variants. Simplify the code by using a pointer to the symbol's proc_name and taking the return out of each of the conditional branches. Allow symbols with fn_result_spec set that do not come from a procedure namespace and have a module name to go through the non-fn_result_spec branch. 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248 * gfortran.dg/char_result_19.f90 : New test. * gfortran.dg/char_result_mod_19.f90 : Module for the new test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/char_result_19.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/char_result_mod_19.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/fortran/trans-decl.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 17:11:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122711 invoked by alias); 27 Oct 2019 17:11:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122687 invoked by uid 48); 27 Oct 2019 17:11:24 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92242] New: [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Date: Sun, 27 Oct 2019 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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 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-SW-Source: 2019-10/txt/msg02353.txt.bz2 Content-length: 2208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92242 Bug ID: 92242 Summary: [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- r277460 PASS r277486 FAIL I'll try creduce it / proprietary codebase, 50+ files LTO linked into .so d= ylib Fedora 31 x86_64 /home/dimhen/src/gcc_current/configure --prefix=3D/usr/local/gcc_current --enable-checking=3Dyes,df,fold,rtl,extra --enable-languages=3Dc,c++,lto --disable-multilib --enable-shared --enable-threads=3Dposix --enable-__cxa_= atexit --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=3Dgnu --enable-plugin --enable-initfini-array --wi= th-isl --enable-offload-targets=3Dnvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=3Dnative make dylib [LTO with high optimization] during IPA pass: inline lto1: internal compiler error: Segmentation fault 0xdd4bdf crash_signal /home/dimhen/src/gcc_current/gcc/toplev.c:326 0x64e28d ipa_get_cs_argument_count /home/dimhen/src/gcc_current/gcc/ipa-prop.h:598 0x64e28d ipa_merge_fn_summary_after_inlining(cgraph_edge*) /home/dimhen/src/gcc_current/gcc/ipa-fnsummary.c:3318 0x16f66db inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:484 0x16f0682 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2151 0x16f0682 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x16f0682 execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. >>From gcc-bugs-return-657628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 18:21:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52213 invoked by alias); 27 Oct 2019 18:21:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52142 invoked by uid 48); 27 Oct 2019 18:21:46 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92113] [8/9/10 regression] r276673 causes segfault in gfortran.dg/pr51434.f90 Date: Sun, 27 Oct 2019 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component short_desc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02354.txt.bz2 Content-length: 6427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92113 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Component|fortran |middle-end Summary|[8 regression] r276673 |[8/9/10 regression] r276673 |causes segfault in |causes segfault in |gfortran.dg/pr51434.f90 |gfortran.dg/pr51434.f90 --- Comment #6 from Thomas Koenig --- I have bisected up to current trunk (r277486), and I now find that the test case fails at -O2 on gcc135 when compiled by hand: [tkoenig@gcc135 ~]$ gfortran -O2 pr51434.f90=20 [tkoenig@gcc135 ~]$ ./a.out Program received signal SIGSEGV: Segmentation fault - invalid memory refere= nce. Backtrace for this error: #0 0x7fff863304d7 in ??? #1 0x10000634 in ??? #2 0x7fff85db527f in ??? Speicherzugriffsfehler It does _not_ fail within the testsuite (which is why we do not see this in the test results): [tkoenig@gcc135 gcc]$ make check-gfortran RUNTESTFLAGS=3D"dg.exp=3Dpr51434.= f90" rm -rf testsuite/gfortran-parallel make[1]: Entering directory `/home/tkoenig/trunk-bin/gcc' (rootme=3D`${PWDCMD-pwd}`; export rootme; \ srcdir=3D`cd ../../trunk/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ if [ -n "" ] \ && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \ && [ -f testsuite/gfortran-parallel/finished ]; then \ rm -rf testsuite/gfortran; \ else \ cd testsuite/gfortran; \ rm -f tmp-site.exp; \ sed '/set tmpdir/ s|testsuite$|testsuite/gfortran|' \ < ../../site.exp > tmp-site.exp; \ /bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \ EXPECT=3D`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \ if [ -f ${rootme}/../expect/expect ] ; then \ TCL_LIBRARY=3D`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \ export TCL_LIBRARY ; \ fi ; \ `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gfortran dg.exp=3Dpr51434.f90; \ if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \ touch ${rootme}/testsuite/gfortran-parallel/finished; \ fi ; \ fi ) WARNING: Couldn't find the global config file. Test Run By tkoenig on Sun Oct 27 18:10:53 2019 Native configuration is powerpc64le-unknown-linux-gnu =3D=3D=3D gfortran tests =3D=3D=3D Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for targ= et. Using /home/tkoenig/trunk/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/tkoenig/trunk/gcc/testsuite/gfortran.dg/dg.exp ... =3D=3D=3D gfortran Summary =3D=3D=3D # of expected passes 12 /home/tkoenig/trunk-bin/gcc/testsuite/gfortran/../../gfortran version 10.0= .0 20191027 (experimental) (GCC)=20 The log file shows: Executing on host: /home/tkoenig/trunk-bin/gcc/testsuite/gfortran/../../gfortran -B/home/tkoenig/trunk-bin/gcc/testsuite/gfortran/../../ -B/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/ /home/tkoenig/trunk/gcc/testsuite/gfortran.dg/pr51434.f90=20 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -fdiagnostics-urls=3Dnever -O2 -pedantic-= errors=20 -B/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libatomic/.libs -B/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs= =20 -lm -o ./pr51434.exe (timeout =3D 300) spawn -ignore SIGHUP /home/tkoenig/trunk-bin/gcc/testsuite/gfortran/../../gfortran -B/home/tkoenig/trunk-bin/gcc/testsuite/gfortran/../../ -B/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/ /home/tkoenig/trunk/gcc/testsuite/gfortran.dg/pr51434.f90 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -fdiagnostics-urls=3Dnever -O2 -pedantic-errors -B/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libatomic/.libs -B/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs -L/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs= -lm -o ./pr51434.exe PASS: gfortran.dg/pr51434.f90 -O2 (test for excess errors) Setting LD_LIBRARY_PATH to .:/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs= :/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libgfortran/.libs:= /home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libatomic/.libs:/ho= me/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs:/hom= e/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./libquadmath/.libs:/home= /tkoenig/trunk-bin/gcc:.:/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-= gnu/./libgfortran/.libs:/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-g= nu/./libgfortran/.libs:/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gn= u/./libatomic/.libs:/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/.= /libquadmath/.libs:/home/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/./= libquadmath/.libs:/home/tkoenig/trunk-bin/gcc:/home/tkoenig/lib64 spawn [open ...] PASS: gfortran.dg/pr51434.f90 -O2 execution test Also, it does not fail on x64_64. Is there something about DECL_ARTIFICIAL that does not work with initializers, but only on certain archirectures? This looks a bit like a middle end problem to me, now. Setting this to a 8/9/10 regression, and assigning to middle end. If this turns out to be something Fortran-specific, please change back. >>From gcc-bugs-return-657629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 18:29:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88956 invoked by alias); 27 Oct 2019 18:29:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88906 invoked by uid 55); 27 Oct 2019 18:29:26 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Sun, 27 Oct 2019 18:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02355.txt.bz2 Content-length: 1463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86248 --- Comment #11 from Paul Thomas --- Author: pault Date: Sun Oct 27 18:28:52 2019 New Revision: 277490 URL: https://gcc.gnu.org/viewcvs?rev=3D277490&root=3Dgcc&view=3Drev Log: 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248 * resolve.c (flag_fn_result_spec): Correct a typo before the function declaration. * trans-decl.c (gfc_sym_identifier): Boost the length of 'name' to allow for all variants. Simplify the code by using a pointer to the symbol's proc_name and taking the return out of each of the conditional branches. Allow symbols with fn_result_spec set that do not come from a procedure namespace and have a module name to go through the non-fn_result_spec branch. 2019-10-27 Paul Thomas Backport from mainline PR fortran/86248 * gfortran.dg/char_result_19.f90 : New test. * gfortran.dg/char_result_mod_19.f90 : Module for the new test. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/char_result_19.f90 branches/gcc-9-branch/gcc/testsuite/gfortran.dg/char_result_mod_19.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/resolve.c branches/gcc-9-branch/gcc/fortran/trans-decl.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 21:18:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19688 invoked by alias); 27 Oct 2019 21:18:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19637 invoked by uid 55); 27 Oct 2019 21:18:18 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65342] [7/8/9/10 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9/10 after r210201 Date: Sun, 27 Oct 2019 21:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02356.txt.bz2 Content-length: 4925 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65342 --- Comment #30 from Iain Sandoe --- Author: iains Date: Sun Oct 27 21:17:33 2019 New Revision: 277493 URL: https://gcc.gnu.org/viewcvs?rev=3D277493&root=3Dgcc&view=3Drev Log: [Darwin, machopic] Preparatory patches. This is a combined set of 5 patches that allows us to fix PR 65342 and 67183. 276924 Make machopic_finish() static. 276767 Set a SYMBOL flag for indirections. We are able to treat these specially where needed in legitimate address tests (specifically, they are guaranteed to be pointer-aligned). 276708 Compute and cache indirection rules. This caches a check for the requirement to indirect a symbol in the Darwin ABI, and uses it where needed. We also ensure that we place the indirection pointers into the non-lazy symbol pointers section. Other placements have occurred with various platform toolchains - but these seem to have been unintentional so we match current platform toolchains. 276675 Consider visibility in indirections. For weak, hidden vars the indirection should just be as normal, that is that the indirections for such symbols should appear in the non-lazy symbol pointers table, not in the .data section. 276674 Initial tidy of Mach-O symbol handling. We want to improve the detection and caching of symbol-properties so that (a) we can make the compiler's output match the platform norms (b) we can improve efficiency by checking flags instead of inspecting strings. (c) The fix for PR71767 was a largish hammer and we want to reduce the number of symbols that are made linker- visible. This first patch is largely typographical changes with no functional difference intended: - Tries to ensure that there's no overlap between the symbols used in the Mach-O case and those declared in the i386 or rs6000 port trees. - Some improvement to comments. - Makes the naming of the symbol flags consistent with other uses. - Provides a predicate macro for each use. 2019-10-27 Iain Sandoe Backport from mainline 2019-10-12 Iain Sandoe * config/darwin-protos.h (machopic_finish): Delete. * config/darwin.c (machopic_finish): Make static. Backport from mainline 2019-10-09 Iain Sandoe * config/darwin.c (machopic_indirect_data_reference): Set flag to indicate that the new symbol is an indirection. (machopic_indirect_call_target): Likewise. * config/darwin.h (MACHO_SYMBOL_FLAG_INDIRECTION): New. (MACHO_SYMBOL_INDIRECTION_P): New. (MACHO_SYMBOL_FLAG_STATIC): Adjust bit number. Backport from mainline 2019-10-08 Iain Sandoe * config/darwin.c (machopic_indirect_data_reference): Check for required indirections before making direct access to defined values. (machopic_output_indirection): Place the indirected pointes for required indirections into the non-lazy symbol pointers section. (darwin_encode_section_info): * config/darwin.h (MACHO_SYMBOL_FLAG_MUST_INDIRECT): New. (MACHO_SYMBOL_MUST_INDIRECT_P): New. Backport from mainline 2019-10-07 Iain Sandoe * config/darwin.c (machopic_output_indirection): Don't put hidden symbol indirections into the .data section, use the non-lazy symbol pointers section as normal. (darwin_encode_section_info): Record if a symbol is hidden. * config/darwin.h (MACHO_SYMBOL_FLAG_HIDDEN_VIS): New. (MACHO_SYMBOL_HIDDEN_VIS_P): New. Backport from mainline 2019-10-07 Iain Sandoe * config/darwin.c (machopic_symbol_defined_p): Use symbol flag predicates instead of accessing bits directly. (machopic_indirect_call_target): Likewise. (machopic_output_indirection): Likewise. (darwin_encode_section_info): Improve description. Use renamed symbol flags. Use predicate macros for variables and functions. * config/darwin.h: Rename MACHO_SYMBOL_VARIABLE to MACHO_SYMBOL_FLAG_VARIABLE. Rename MACHO_SYMBOL_DEFINED to MACHO_SYMBOL_FLAG_DEFINED. Rename MACHO_SYMBOL_STATIC to MACHO_SYMBOL_FLAG_STATIC. (MACHO_SYMBOL_VARIABLE_P): New. (MACHO_SYMBOL_DEFINED_P):New. (MACHO_SYMBOL_STATIC_P): New. * config/i386/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Delete. (SYMBOL_FLAG_SUBT_DEP): New. * config/rs6000/darwin.h (SYMBOL_FLAG_SUBT_DEP): New. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/darwin-protos.h branches/gcc-9-branch/gcc/config/darwin.c branches/gcc-9-branch/gcc/config/darwin.h branches/gcc-9-branch/gcc/config/i386/darwin.h branches/gcc-9-branch/gcc/config/rs6000/darwin.h >>From gcc-bugs-return-657631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 21:22:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21851 invoked by alias); 27 Oct 2019 21:22:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21824 invoked by uid 55); 27 Oct 2019 21:22:20 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67183] Darwin stub vs. non_lazy pointer ordering incompatible with clang assembler. Date: Sun, 27 Oct 2019 21:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: assemble-failure, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02357.txt.bz2 Content-length: 1620 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67183 --- Comment #6 from Iain Sandoe --- Author: iains Date: Sun Oct 27 21:21:49 2019 New Revision: 277494 URL: https://gcc.gnu.org/viewcvs?rev=3D277494&root=3Dgcc&view=3Drev Log: [Darwin, machopic] Fix for 67183 When we're using the LLVM-based assembler (the default on modern Darwin) the ordering of stubs and non-lazy symbol pointers is important. Interleaving the output (current GCC behaviour) leads to crashes which prevents us from building code with symbol stubs. To resolve this, we order the output of stubs and symbol indirections: 1. Any indirections in the data section 2. Symbol stubs. 3. Non-lazy symbol pointers. At present, we still emit LTO sections after these. 2019-10-27 Iain Sandoe Backport from mainline 2019-10-12 Iain Sandoe PR target/67183 * config/darwin.c (machopic_indirection): New field to flag non-lazy-symbol-pointers in the data section. (machopic_indirection_name): Compute if an indirection should appear in the data section. (machopic_output_data_section_indirection): New callback split from machopic_output_indirection. (machopic_output_stub_indirection): Likewise. (machopic_output_indirection): Retain the code for non-lazy symbol pointers in their regular section. (machopic_finish): Use the new callbacks to order the indirection output. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/darwin.c >>From gcc-bugs-return-657632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 21:26:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26773 invoked by alias); 27 Oct 2019 21:26:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26711 invoked by uid 55); 27 Oct 2019 21:26:30 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65342] [7/8/9/10 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9/10 after r210201 Date: Sun, 27 Oct 2019 21:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02358.txt.bz2 Content-length: 1967 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65342 --- Comment #31 from Iain Sandoe --- Author: iains Date: Sun Oct 27 21:25:57 2019 New Revision: 277495 URL: https://gcc.gnu.org/viewcvs?rev=3D277495&root=3Dgcc&view=3Drev Log: [Darwin, PPC] Fix PR 65342. The current Darwin load/store lo_sum patterns have neither predicate nor constraint. This means that most parts of the backend, which rely on recog() to validate the rtx, can produce invalid combinations/selections. For 32bit cases this isn't a problem since we can load/store to unaligned addresses using D-mode insns. Conversely, for 64bit instructions that use DS mode, this can manifest as assemble errors (for an assembler that checks the LO14 relocations), or as crashes caused by wrong offsets (or worse, wrong content for the two LSBs). What we want to check for Y on Darwin is: - that the alignment of the Symbols' target is sufficient for DS mode - that the offset is suitable for DS mode. (while looking through the Mach-O PIC unspecs). So, the patch removes the Darwin-specific lo_sum patterns (we begin using the movdi_internal64 patterns). We also we need to extend the handling of t= he mem_operand_gpr constraint to allow looking through Mach-O PIC UNSPECs in the lo_sum cases. 2019-10-27 Iain Sandoe Backport from mainline 2019-10-17 Iain Sandoe PR target/65342 * config/rs6000/darwin.md (movdi_low, movsi_low_st): Delete. (movdi_low_st): Delete. * config/rs6000/rs6000.c (darwin_rs6000_legitimate_lo_sum_const_p): New. (mem_operand_gpr): Validate Mach-O LO_SUM cases separately. * config/rs6000/rs6000.md (movsi_low): Delete. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/rs6000/darwin.md branches/gcc-9-branch/gcc/config/rs6000/rs6000.c branches/gcc-9-branch/gcc/config/rs6000/rs6000.md >>From gcc-bugs-return-657633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 22:22:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124340 invoked by alias); 27 Oct 2019 22:22:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124308 invoked by uid 48); 27 Oct 2019 22:22:18 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92243] New: Missing "auto-vectorization" of char array reversal using x86 scalar bswap when SIMD pshufb isn't available Date: Sun, 27 Oct 2019 22:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca 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 keywords bug_severity priority component assigned_to reporter target_milestone 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-SW-Source: 2019-10/txt/msg02359.txt.bz2 Content-length: 2128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92243 Bug ID: 92243 Summary: Missing "auto-vectorization" of char array reversal using x86 scalar bswap when SIMD pshufb isn't available Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: peter at cordes dot ca Target Milestone: --- Target: x86_64-*-*, i?86-*-* We could use integer bswap to speed up an in-place byte-reverse loop by a factor of probably 8, the same way we uses SIMD shuffles. Consider this loop which reverses an explicit-length char array: https://godbolt.org/z/ujXq_J typedef char swapt; // int can auto-vectorize with just SSE2 void strrev_explicit(swapt *head, long len) { swapt *tail =3D head + len - 1; for( ; head < tail; ++head, --tail) { swapt h =3D *head, t =3D *tail; *head =3D t; *tail =3D h; } } gcc -O3 (including current trunk) targeting x86-64 makes naive scalar byte-at-a-time code, even though bswap r64 is available to byte-reverse a uint64 in 1 or 2 uops (AMD and Intel, respectively). With -mssse3, we do see auto-vectorization using SIMD pshufb (after checking lengths and calculating how many 16-byte chunks can be done before bloated fully-unrolled cleanup). Doing the same thing with 64-bit integer registers would be very much worth it (for code where a loop like this was a bottlene= ck). ---- With `swapt =3D short`, vectorizing with SSE2 pshuflw / pshufhw / pshufd is probably worth it, but GCC chooses not to do that either. Or working in 8-= byte chunks just using movq + pshuflw, so we only have 1 shuffle per 8-byte load/store instead of 3 per 16-byte store. That's a good balance for modern Intel (Haswell, Skylake, and I think IceLake), although some AMD and earlier Intel with more integer shuffle throughput (e.g. Sandybridge) might do bett= er with 3x shuffles per 16-byte load/store. >>From gcc-bugs-return-657634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 22:25:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126354 invoked by alias); 27 Oct 2019 22:25:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126301 invoked by uid 48); 27 Oct 2019 22:25:15 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92243] Missing "auto-vectorization" of char array reversal using x86 scalar bswap when SIMD pshufb isn't available Date: Sun, 27 Oct 2019 22:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02360.txt.bz2 Content-length: 244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92243 --- Comment #1 from Peter Cordes --- Forgot to mention, this probably applies to other ISAs with GP-integer byte-reverse instructions and efficient unaligned loads. >>From gcc-bugs-return-657635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 22:53:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48954 invoked by alias); 27 Oct 2019 22:53:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48888 invoked by uid 48); 27 Oct 2019 22:53:00 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Sun, 27 Oct 2019 22:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02361.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86248 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Paul Thomas --- Hi Bill, The bug is fixed on 7-branch through trunk. 6-branch is closed, otherwise I would have done that as well. Thanks for the report. Paul >>From gcc-bugs-return-657636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 23:37:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96775 invoked by alias); 27 Oct 2019 23:37:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96744 invoked by uid 48); 27 Oct 2019 23:37:16 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92244] New: extra sub inside vectorized loop instead of calculating end-pointer Date: Sun, 27 Oct 2019 23:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca 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 keywords bug_severity priority component assigned_to reporter target_milestone 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-SW-Source: 2019-10/txt/msg02362.txt.bz2 Content-length: 3139 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92244 Bug ID: 92244 Summary: extra sub inside vectorized loop instead of calculating end-pointer Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: peter at cordes dot ca Target Milestone: --- We get a redundant instruction inside the vectorized loop here. But it's n= ot a separate *counter*, it's a duplicate of the tail pointer. It goes away if we find tail with while(*tail++); instead of calculating it from head+length. Only happens with vectorization, not pure scalar (bug 92243 is about the fa= ct that -O3 fails to use bswap as a GP-integer shuffle to auto-vectorize witho= ut x86 SSSE3). typedef char swapt; void strrev_explicit(swapt *head, long len) { swapt *tail =3D head + len - 1; for( ; head < tail; ++head, --tail) { swapt h =3D *head, t =3D *tail; *head =3D t; *tail =3D h; } } https://godbolt.org/z/wdGv4S compiled with g++ -O3 -march=3Dsandybridge gives us a main loop of ... movq %rcx, %rsi # RSI =3D RCX before entering the loop addq %rdi, %r8 .L4: vmovdqu (%rcx), %xmm3 # tail load from RCX addq $16, %rax # head subq $16, %rcx # tail subq $16, %rsi # 2nd tail? vmovdqu -16(%rax), %xmm0 vpshufb %xmm2, %xmm3, %xmm1 vmovups %xmm1, -16(%rax) vpshufb %xmm2, %xmm0, %xmm0 vmovups %xmm0, 16(%rsi) # tail store to RSI cmpq %r8, %rax # } while(head !=3D end_head) jne .L4 RSI =3D RCX before and after the loop. This is obviously pointless. head uses the same register for loads and stores. Then we have bloated fully-unrolled scalar cleanup, instead of using the shuffle control for 8-byte vectors -> movhps. Or scalar bswap. Ideally we= 'd do something clever at the overlap like one load + shuffle + store, but we might have to load the next vector before storing the current to make this = work at the overlap. That would presumably require more special-casing this kin= d of meet-in-the-middle loop. ---- The implicit-length version doesn't have this extra sub in the main loop. void strrev_implicit(swapt *head) { swapt *tail =3D head; while(*tail) ++tail; // find the 0 terminator, like head+strlen --tail; // tail points to the last real char for( ; head < tail; ++head, --tail) { swapt h =3D *head, t =3D *tail; *head =3D t; *tail =3D h; } } .L22: vmovdqu (%rcx), %xmm3 addq $16, %rdx # head subq $16, %rcx # tail vmovdqu -16(%rdx), %xmm0 vpshufb %xmm2, %xmm3, %xmm1 vmovups %xmm1, -16(%rdx) vpshufb %xmm2, %xmm0, %xmm0 vmovups %xmm0, 16(%rcx) cmpq %rsi, %rdx # } while(head !=3D end_head) jne .L22 >>From gcc-bugs-return-657637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 23:45:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123203 invoked by alias); 27 Oct 2019 23:45:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123073 invoked by uid 48); 27 Oct 2019 23:45:39 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92244] extra sub inside vectorized loop instead of calculating end-pointer Date: Sun, 27 Oct 2019 23:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02363.txt.bz2 Content-length: 1204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92244 --- Comment #1 from Peter Cordes --- On AArch64 (with gcc8.2), we see a similar effect, more instructions in the loop. And an indexed addressing mode. https://godbolt.org/z/6ZVWY_ # strrev_explicit -O3 -mcpu=3Dcortex-a53 ... .L4: ldr q1, [x4, x2] # tail ldr q0, [x3] # head tbl v1.16b, {v1.16b}, v2.16b # byte shuffle tbl v0.16b, {v0.16b}, v2.16b str q1, [x3], 16 # post-increment store to head cmp x3, x1 str q0, [x4, x2] sub x2, x2, #16 # doesn't update flags, not SUBS bne .L4 # }while( head !=3D end_head ) # strrev_implicit -O3 -mcpu=3Dcortex-a53 ... .L19: ldr q1, [x3] ldr q0, [x2] tbl v1.16b, {v1.16b}, v2.16b tbl v0.16b, {v0.16b}, v2.16b str q1, [x2], 16 # post-increment addressing mode=20 cmp x2, x4 str q0, [x3], -16 # post-decrement addressing mode=20 bne .L19 # }while( head !=3D end_head ) >>From gcc-bugs-return-657638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 23:47:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124461 invoked by alias); 27 Oct 2019 23:47:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124443 invoked by uid 48); 27 Oct 2019 23:47:26 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92244] vectorized loop updating 2 copies of the same pointer (for in-place reversal cross in the middle) Date: Sun, 27 Oct 2019 23:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca 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: short_desc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02364.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92244 Peter Cordes changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|extra sub inside vectorized |vectorized loop updating 2 |loop instead of calculating |copies of the same pointer |end-pointer |(for in-place reversal | |cross in the middle) --- Comment #2 from Peter Cordes --- Forgot to update title after looking more carefully at the asm. >>From gcc-bugs-return-657639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 27 23:54:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3947 invoked by alias); 27 Oct 2019 23:54:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3923 invoked by uid 48); 27 Oct 2019 23:54:22 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92245] New: strncpy followed by nul store not folded into memcpy Date: Sun, 27 Oct 2019 23:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor 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 target_milestone 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-SW-Source: 2019-10/txt/msg02365.txt.bz2 Content-length: 4453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92245 Bug ID: 92245 Summary: strncpy followed by nul store not folded into memcpy Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Because the strlen pass has no support for strncpy beyond warnings, GCC emi= ts suboptimal code for all functions below except f0. In f1(), the strncpy ca= ll and nul store can be merged into a single memcpy. The same can happen in f= 2(), f3(), and f4(). In addition, the strlen calls can then be folded into constants. Since strncpy followed by a nul store to terminate the string i= s a common idiom this could would not only lead to better code but also help ex= pose buffer overflows when inappropriately using the result. With the strlen calls removed, Clang emits the same optimal code for f0() a= nd f1(), but does just as poorly on the rest of the functions. $ cat z.c && gcc -O2 -S -Wall -fdump-tree-optimized=3D/dev/stdout z.c extern char a[8]; void f0 (void) // optimal { __builtin_memcpy (a, "123", 4); if (__builtin_strlen (a) !=3D 3) __builtin_abort (); } void f1 (void) { __builtin_strncpy (a, "123", 3); a[3] =3D 0; // can be merged with the above if (__builtin_strlen (a) !=3D 3) __builtin_abort (); } void f2 (void) { const char s[] =3D "123"; __builtin_strncpy (a, s, 3); a[3] =3D 0; // can be merged with the above if (__builtin_strlen (a) !=3D 3) // can be folded to false __builtin_abort (); } void f3 (const char *s) { if (__builtin_strlen (s) !=3D 3) return; __builtin_strncpy (a, s, 3); a[3] =3D 0; // can be merged with the above if (__builtin_strlen (a) !=3D 3) // can be folded to false __builtin_abort (); } void f4 (const char *s) { if (__builtin_strlen (s) < 3) return; __builtin_strncpy (a, s, 3); a[3] =3D 0; // can be merged with the above if (__builtin_strlen (a) !=3D 3) // can be folded to false __builtin_abort (); } ;; Function f0 (f0, funcdef_no=3D0, decl_uid=3D1931, cgraph_uid=3D1, symbol= _order=3D0) f0 () { [local count: 1073741824]: __builtin_memcpy (&a, "123", 4); [tail call] return; } ;; Function f1 (f1, funcdef_no=3D1, decl_uid=3D1934, cgraph_uid=3D2, symbol= _order=3D1) f1 () { [local count: 1073741824]: __builtin_memcpy (&a, "123", 3); a[3] =3D 0; return; } ;; Function f2 (f2, funcdef_no=3D2, decl_uid=3D1937, cgraph_uid=3D3, symbol= _order=3D2) f2 () { const char s[4]; long unsigned int _1; [local count: 1073741824]: s =3D "123"; __builtin_strncpy (&a, &s, 3); a[3] =3D 0; _1 =3D __builtin_strlen (&a); if (_1 !=3D 3) goto ; [0.00%] else goto ; [100.00%] [count: 0]: __builtin_abort (); [local count: 1073741824]: s =3D{v} {CLOBBER}; return; } ;; Function f3 (f3, funcdef_no=3D3, decl_uid=3D1941, cgraph_uid=3D4, symbol= _order=3D3) Removing basic block 6 Removing basic block 7 f3 (const char * s) { long unsigned int _1; long unsigned int _2; [local count: 1073741824]: _1 =3D __builtin_strlen (s_5(D)); if (_1 !=3D 3) goto ; [67.00%] else goto ; [33.00%] [local count: 354334802]: __builtin_strncpy (&a, s_5(D), 3); a[3] =3D 0; _2 =3D __builtin_strlen (&a); if (_2 !=3D 3) goto ; [0.00%] else goto ; [100.00%] [count: 0]: __builtin_abort (); [local count: 1073741826]: return; } ;; Function f4 (f4, funcdef_no=3D4, decl_uid=3D1944, cgraph_uid=3D5, symbol= _order=3D4) Removing basic block 6 Removing basic block 7 f4 (const char * s) { long unsigned int _1; long unsigned int _2; [local count: 1073741824]: _1 =3D __builtin_strlen (s_5(D)); if (_1 <=3D 2) goto ; [51.12%] else goto ; [48.88%] [local count: 524845004]: __builtin_strncpy (&a, s_5(D), 3); a[3] =3D 0; _2 =3D __builtin_strlen (&a); if (_2 !=3D 3) goto ; [0.00%] else goto ; [100.00%] [count: 0]: __builtin_abort (); [local count: 1073741828]: return; } >>From gcc-bugs-return-657640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 00:10:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15418 invoked by alias); 28 Oct 2019 00:10:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15386 invoked by uid 48); 28 Oct 2019 00:10:29 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92246] New: Byte or short array reverse loop auto-vectorized with 3-uop vpermt2w instead of 1 or 2-uop vpermw (AVX512) Date: Mon, 28 Oct 2019 00:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca 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 keywords bug_severity priority component assigned_to reporter target_milestone 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-SW-Source: 2019-10/txt/msg02366.txt.bz2 Content-length: 2189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92246 Bug ID: 92246 Summary: Byte or short array reverse loop auto-vectorized with 3-uop vpermt2w instead of 1 or 2-uop vpermw (AVX512) Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: peter at cordes dot ca Target Milestone: --- Target: x86_64-*-*, i?86-*-* typedef short swapt; void strrev_explicit(swapt *head, long len) { swapt *tail =3D head + len - 1; for( ; head < tail; ++head, --tail) { swapt h =3D *head, t =3D *tail; *head =3D t; *tail =3D h; } } g++ -O3 -march=3Dskylake-avx512 (Compiler-Explorer-Build) 10.0.0 20191022 (experimental) https://godbolt.org/z/LS34w9 ... .L4: vmovdqu16 (%rdx), %ymm1 vmovdqu16 (%rax), %ymm0 vmovdqa64 %ymm1, %ymm3 # useless copy vpermt2w %ymm1, %ymm2, %ymm3 vmovdqu16 %ymm3, (%rax) vpermt2w %ymm0, %ymm2, %ymm0 addq $32, %rax vmovdqu16 %ymm0, (%rcx) subq $32, %rdx subq $32, %rcx # two tail pointers, PR 92244 is unrelated = to this cmpq %rsi, %rax jne .L4 vpermt2w ymm is 3 uops on SKX and CannonLake: 2p5 + p015 (https://www.uops.info/table.html) Obviously better would be vpermw (%rax), %ymm2, %ymm0. vpermw apparently can't micro-micro-fuse a load, but it's only 2 ALU uops p= lus a load if we use a memory source. SKX still bottlenecks on 2p5 for vpermw, losing only the p015 uop, but in general fewer uops is better. But on CannonLake it runs on p01 + p5 (plus p23 with a memory source). uops.info doesn't have IceLake-client data yet but vpermw throughput on Ice= Lake is 1/clock, vs 1 / 2 clocks for vpermt2w, so this could double throughput on CNL and ICL. We have exactly the same problem with AVX512VBMI vpermt2b over vpermb with = ICL g++ -O3 -march=3Dicelake-client -mprefer-vector-width=3D512 >>From gcc-bugs-return-657641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 00:11:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16528 invoked by alias); 28 Oct 2019 00:11:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16475 invoked by uid 48); 28 Oct 2019 00:11:47 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92244] vectorized loop updating 2 copies of the same pointer (for in-place reversal cross in the middle) Date: Mon, 28 Oct 2019 00:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia 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_severity Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02367.txt.bz2 Content-length: 1696 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92244 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #3 from Andrew Pinski --- (In reply to Peter Cordes from comment #1) > On AArch64 (with gcc8.2), we see a similar effect, more instructions in t= he > loop. And an indexed addressing mode. With the trunk (with generic tuning): .L4: ldr q1, [x3, x2] ldr q0, [x4] tbl v1.16b, {v1.16b}, v2.16b tbl v0.16b, {v0.16b}, v2.16b str q1, [x4], 16 str q0, [x3, x2] sub x2, x2, #16 cmp x2, x1 With -mcpu=3Docteontx: .L6: ldr q1, [x0, x2] ldr q0, [x3, x1] tbl v1.16b, {v1.16b}, v2.16b tbl v0.16b, {v0.16b}, v2.16b str q1, [x3, x1] add x1, x1, 16 str q0, [x0, x2] sub x2, x2, #16 cmp x1, x5 bne .L6 With -mcpu=3Dthunderx2t99: .L4: ldr q1, [x3], -16 ldr q0, [x2] tbl v1.16b, {v1.16b}, v2.16b tbl v0.16b, {v0.16b}, v2.16b str q1, [x2], 16 str q0, [x1], -16 cmp x2, x5 bne .L4 I am not shocked that IV-OPTS can chose these widly differences. I have not looked at the cost differences to understand why -mcpu=3Dthunder= x2t99 chose what close might be the best (we could use one less IV by replacing t= he first ldr by using the same IV as the last str). >>From gcc-bugs-return-657642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 00:18:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23631 invoked by alias); 28 Oct 2019 00:18:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23563 invoked by uid 48); 28 Oct 2019 00:18:53 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65342] [7/8 Regression] powerpc-darwin9 m64 code-gen error exposed by r210201 Date: Mon, 28 Oct 2019 00:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords short_desc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02368.txt.bz2 Content-length: 758 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65342 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Summary|[7/8/9/10 Regression] FAIL: |[7/8 Regression] |gfortran.dg/intrinsic_(un)? |powerpc-darwin9 m64 |pack_1.f90 -O1 execution |code-gen error exposed by |test on |r210201 |powerpc-apple-darwin9/10 | |after r210201 | --- Comment #32 from Iain Sandoe --- fixed for trunk and 9 so far. >>From gcc-bugs-return-657643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 01:01:26 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56380 invoked by alias); 28 Oct 2019 01:01:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56298 invoked by uid 48); 28 Oct 2019 01:00:59 -0000 From: "urbanjost at comcast dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92114] equivalence in module causes ICE Date: Mon, 28 Oct 2019 01:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: urbanjost at comcast dot net 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02369.txt.bz2 Content-length: 448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92114 --- Comment #3 from urbanjost at comcast dot net --- I could not get the code to compile at all with 7.4.0 trying a variety of compiler switches with 7.4.0. This was in a Cygwin environment. I reinstall= ed the Cygwin environment and still got the error. 7.4.0-1 is the highest stan= dard version on the Cygwin site; but 8.3.0 was available as a test version. The problem went away with 8.3.0. >>From gcc-bugs-return-657644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 01:45:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99318 invoked by alias); 28 Oct 2019 01:45:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98683 invoked by uid 48); 28 Oct 2019 01:45:08 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyNDddIE5ldzog4oCYX19OUl9vcGVu4oCZIHdhcyBub3Qg?= =?UTF-8?B?ZGVjbGFyZWQgaW4gdGhpcyBzY29wZSBsaWJzYW5pdGl6ZXIvc2FuaXRpemVy?= =?UTF-8?B?X2NvbW1vbi9zYW5pdGl6ZXJfbGludXggY29tcGlsYXRpb24gZmFpbGVkIG9u?= =?UTF-8?B?IHVidW50dSAxOC4wNCBXU0wy?= Date: Mon, 28 Oct 2019 01:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02370.txt.bz2 Content-length: 11154 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92247 Bug ID: 92247 Summary: =E2=80=98__NR_open=E2=80=99 was not declared in this sc= ope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- In file included from ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:162: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_open(const char*, int)=E2= =80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_open=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:200:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 200 | return internal_syscall(SYSCALL(open), (uptr)filename, flags); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_open(const char*, int, __sanitizer::u32)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_open=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:209:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 209 | return internal_syscall(SYSCALL(open), (uptr)filename, flags, mod= e); | ^~~~~~~ In file included from ../../../.././libsanitizer/sanitizer_common/sanitizer_flags.h:16, from ../../../.././libsanitizer/sanitizer_common/sanitizer_common.h:18, from ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:19: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_ftruncate(__sanitizer::fd_= t, __sanitizer::uptr)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_ftruncate=E2=80=99 was not declared in this scope; did= you mean =E2=80=98ftruncate=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_internal_defs.h:408:1= 4: note: in definition of macro =E2=80=98HANDLE_EINTR=E2=80=99 408 | res =3D (f); = \ | ^ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:229:44: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 229 | HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(ftruncate), fd, | ^~~~~~~ In file included from ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:162: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_stat(const char*, void*)= =E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_stat64=E2=80=99 was not declared in this scope; did yo= u mean =E2=80=98__lxstat64=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:319:30: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 319 | int res =3D internal_syscall(SYSCALL(stat64), path, &buf64); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_lstat(const char*, void*)= =E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_lstat64=E2=80=99 was not declared in this scope; did y= ou mean =E2=80=98__lxstat64=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:344:30: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 344 | int res =3D internal_syscall(SYSCALL(lstat64), path, &buf64); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_dup2(int, int)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_dup2=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:385:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 385 | return internal_syscall(SYSCALL(dup2), oldfd, newfd); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_readlink(const char*, char= *, __sanitizer::uptr)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_readlink=E2=80=99 was not declared in this scope; did = you mean =E2=80=98readlink=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:397:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 397 | return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_unlink(const char*)=E2=80= =99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_unlink=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:405:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 405 | return internal_syscall(SYSCALL(unlink), (uptr)path); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_rename(const char*, const = char*)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_rename=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:414:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 414 | return internal_syscall(SYSCALL(rename), (uptr)oldpath, (uptr)newpath); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_getdents(__sanitizer::fd_t, __sanitizer::linux_dirent*, unsigned int)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_getdents=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:741:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 741 | return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_lseek(__sanitizer::fd_t, __sanitizer::OFF_T, int)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_lseek=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:746:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 746 | return internal_syscall(SYSCALL(lseek), fd, offset, whence); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98int __sanitizer::internal_fork()=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_fork=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:763:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 763 | return internal_syscall(SYSCALL(fork)); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98void* __sanitizer::internal_start_thread(void (*)(void*), void*)= =E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:1712:58: warning: cast between incompatible function types from =E2=80=98void (*)(vo= id*)=E2=80=99 to =E2=80=98void* (*)(void*)=E2=80=99 [-Wcast-function-type] 1712 | real_pthread_create(&th, nullptr, (void*(*)(void *arg))func, arg); | ^~~~ Makefile:610: recipe for target 'sanitizer_linux.lo' failed make[8]: *** [sanitizer_linux.lo] Error 1 make[8]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/32/libsanitizer/sanitizer_common' Makefile:527: recipe for target 'all-recursive' failed make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/32/libsanitizer' Makefile:414: recipe for target 'all' failed make[6]: *** [all] Error 2 make[6]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/32/libsanitizer' Makefile:795: recipe for target 'multi-do' failed make[5]: *** [multi-do] Error 1 make[5]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:763: recipe for target 'all-multi' failed make[4]: *** [all-multi] Error 2 make[4]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:527: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:414: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:20604: recipe for target 'all-target-libsanitizer' failed make[1]: *** [all-target-libsanitizer] Error 2 make[1]: Leaving directory '/home/cqwrteur/gcc' Makefile:1004: recipe for target 'all' failed make: *** [all] Error 2 >>From gcc-bugs-return-657645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 01:46:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101182 invoked by alias); 28 Oct 2019 01:46:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101070 invoked by uid 48); 28 Oct 2019 01:46:18 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyNDhdIE5ldzog4oCYX19OUl9vcGVu4oCZIHdhcyBub3Qg?= =?UTF-8?B?ZGVjbGFyZWQgaW4gdGhpcyBzY29wZSBjb21waWxhdGlvbiBmYWlsZWQgb24g?= =?UTF-8?B?dWJ1bnR1IDE4LjA0IFdTTDI=?= Date: Mon, 28 Oct 2019 01:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02371.txt.bz2 Content-length: 11088 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92248 Bug ID: 92248 Summary: =E2=80=98__NR_open=E2=80=99 was not declared in this sc= ope compilation failed on ubuntu 18.04 WSL2 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- In file included from ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:162: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_open(const char*, int)=E2= =80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_open=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:200:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 200 | return internal_syscall(SYSCALL(open), (uptr)filename, flags); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_open(const char*, int, __sanitizer::u32)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_open=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:209:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 209 | return internal_syscall(SYSCALL(open), (uptr)filename, flags, mod= e); | ^~~~~~~ In file included from ../../../.././libsanitizer/sanitizer_common/sanitizer_flags.h:16, from ../../../.././libsanitizer/sanitizer_common/sanitizer_common.h:18, from ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:19: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_ftruncate(__sanitizer::fd_= t, __sanitizer::uptr)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_ftruncate=E2=80=99 was not declared in this scope; did= you mean =E2=80=98ftruncate=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_internal_defs.h:408:1= 4: note: in definition of macro =E2=80=98HANDLE_EINTR=E2=80=99 408 | res =3D (f); = \ | ^ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:229:44: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 229 | HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(ftruncate), fd, | ^~~~~~~ In file included from ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:162: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_stat(const char*, void*)= =E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_stat64=E2=80=99 was not declared in this scope; did yo= u mean =E2=80=98__lxstat64=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:319:30: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 319 | int res =3D internal_syscall(SYSCALL(stat64), path, &buf64); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_lstat(const char*, void*)= =E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_lstat64=E2=80=99 was not declared in this scope; did y= ou mean =E2=80=98__lxstat64=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:344:30: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 344 | int res =3D internal_syscall(SYSCALL(lstat64), path, &buf64); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_dup2(int, int)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_dup2=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:385:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 385 | return internal_syscall(SYSCALL(dup2), oldfd, newfd); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_readlink(const char*, char= *, __sanitizer::uptr)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_readlink=E2=80=99 was not declared in this scope; did = you mean =E2=80=98readlink=E2=80=99? 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:397:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 397 | return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_unlink(const char*)=E2=80= =99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_unlink=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:405:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 405 | return internal_syscall(SYSCALL(unlink), (uptr)path); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_rename(const char*, const = char*)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_rename=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:414:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 414 | return internal_syscall(SYSCALL(rename), (uptr)oldpath, (uptr)newpath); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_getdents(__sanitizer::fd_t, __sanitizer::linux_dirent*, unsigned int)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_getdents=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:741:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 741 | return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98__sanitizer::uptr __sanitizer::internal_lseek(__sanitizer::fd_t, __sanitizer::OFF_T, int)=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_lseek=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:746:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 746 | return internal_syscall(SYSCALL(lseek), fd, offset, whence); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98int __sanitizer::internal_fork()=E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_syscall_generic.inc:1= 9:24: error: =E2=80=98__NR_fork=E2=80=99 was not declared in this scope 19 | # define SYSCALL(name) __NR_ ## name | ^~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:763:27: not= e: in expansion of macro =E2=80=98SYSCALL=E2=80=99 763 | return internal_syscall(SYSCALL(fork)); | ^~~~~~~ ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function =E2=80=98void* __sanitizer::internal_start_thread(void (*)(void*), void*)= =E2=80=99: ../../../.././libsanitizer/sanitizer_common/sanitizer_linux.cpp:1712:58: warning: cast between incompatible function types from =E2=80=98void (*)(vo= id*)=E2=80=99 to =E2=80=98void* (*)(void*)=E2=80=99 [-Wcast-function-type] 1712 | real_pthread_create(&th, nullptr, (void*(*)(void *arg))func, arg); | ^~~~ Makefile:610: recipe for target 'sanitizer_linux.lo' failed make[8]: *** [sanitizer_linux.lo] Error 1 make[8]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/32/libsanitizer/sanitizer_common' Makefile:527: recipe for target 'all-recursive' failed make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/32/libsanitizer' Makefile:414: recipe for target 'all' failed make[6]: *** [all] Error 2 make[6]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/32/libsanitizer' Makefile:795: recipe for target 'multi-do' failed make[5]: *** [multi-do] Error 1 make[5]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:763: recipe for target 'all-multi' failed make[4]: *** [all-multi] Error 2 make[4]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:527: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:414: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/cqwrteur/gcc/x86_64-pc-linux-gnu/libsanitizer' Makefile:20604: recipe for target 'all-target-libsanitizer' failed make[1]: *** [all-target-libsanitizer] Error 2 make[1]: Leaving directory '/home/cqwrteur/gcc' Makefile:1004: recipe for target 'all' failed make: *** [all] Error 2 >>From gcc-bugs-return-657647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 01:47:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102468 invoked by alias); 28 Oct 2019 01:47:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102412 invoked by uid 48); 28 Oct 2019 01:47:42 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyNDddIOKAmF9fTlJfb3BlbuKAmSB3YXMgbm90IGRlY2xh?= =?UTF-8?B?cmVkIGluIHRoaXMgc2NvcGUgbGlic2FuaXRpemVyL3Nhbml0aXplcl9jb21t?= =?UTF-8?B?b24vc2FuaXRpemVyX2xpbnV4IGNvbXBpbGF0aW9uIGZhaWxlZCBvbiB1YnVu?= =?UTF-8?B?dHUgMTguMDQgV1NMMg==?= Date: Mon, 28 Oct 2019 01:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02373.txt.bz2 Content-length: 176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92247 --- Comment #1 from fdlbxtqi --- *** Bug 92248 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 01:47:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102457 invoked by alias); 28 Oct 2019 01:47:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102393 invoked by uid 48); 28 Oct 2019 01:47:41 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyNDhdIOKAmF9fTlJfb3BlbuKAmSB3YXMgbm90IGRlY2xh?= =?UTF-8?B?cmVkIGluIHRoaXMgc2NvcGUgY29tcGlsYXRpb24gZmFpbGVkIG9uIHVidW50?= =?UTF-8?B?dSAxOC4wNCBXU0wy?= Date: Mon, 28 Oct 2019 01:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02372.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92248 fdlbxtqi changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from fdlbxtqi --- Duplicate of 92247 due to slow browser *** This bug has been marked as a duplicate of bug 92247 *** >>From gcc-bugs-return-657648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 02:02:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68194 invoked by alias); 28 Oct 2019 02:02:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66399 invoked by uid 48); 28 Oct 2019 02:02:49 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92246] Byte or short array reverse loop auto-vectorized with 3-uop vpermt2w instead of 1 or 2-uop vpermw (AVX512) Date: Mon, 28 Oct 2019 02:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02374.txt.bz2 Content-length: 1626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92246 --- Comment #1 from Peter Cordes --- And BTW, GCC *does* use vpermd (not vpermt2d) for swapt =3D int or long. T= his problem only applies to char and short. Possibly because AVX2 includes vpe= rmd ymm. ---- Apparently CannonLake has 1 uop vpermb but 2 uop vpermw, according to real testing on real hardware by https://uops.info/. Their automated test metho= ds are generally reliable. That seems to be true for Ice Lake, too, so when AVX512VBMI is available we should be using vpermb any time we might have used vpermw with a compile-time-constant control vector. (verpmw requires AVX512BW, e.g. SKX and Cascade Lake. vpermb requires AVX512VBMI, only Ice Lake and the mostly aborted CannonLake.) Instlat provides some confirmation: https://github.com/InstLatx64/InstLatx64/blob/master/GenuineIntel00706E5_Ic= eLakeY_InstLatX64.txt shows vpermb at 3 cycle latency, but vpermw at 4 cycle latency (presumably= a chain of 2 uops, 1c and 3c being the standard latencies that exist in recent Intel CPUs). InstLat doesn't document which input the dep chain goes throu= gh, so it's not 100% confirmation of only 1 uop. But it's likely that ICL has 1 uop vpermb given that CNL definitely does. uops.info lists latencies separately from each input to the result, sometim= es letting us figure out that e.g. one of the inputs isn't needed until the 2nd uop. Seems to be the case for CannonLake vpermw: latency from one of the inputs is only 3 cycles, the other is 4.=20 https://www.uops.info/html-lat/CNL/VPERMW_YMM_YMM_YMM-Measurements.html >>From gcc-bugs-return-657649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 03:40:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108173 invoked by alias); 28 Oct 2019 03:40:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108121 invoked by uid 48); 28 Oct 2019 03:40:41 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Date: Mon, 28 Oct 2019 03:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02375.txt.bz2 Content-length: 1569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92242 --- Comment #1 from Dmitry G. Dyachenko --- over reduced but still ICE $ cat x.i unsigned foo(int a) { if (a) return 0; } $ cat y.i unsigned foo(); void bar() { foo(); } $ cat libso.ver=20 { global: bar; local: *; }; $ gcc -O2 -flto -c x.i y.i $ gcc -flto -fPIC -DPIC -shared x.o y.o -Wl,-version-script -Wl,./libso.ver= -o libso.so during IPA pass: inline lto1: internal compiler error: Segmentation fault 0xdd4bdf crash_signal /home/dimhen/src/gcc_current/gcc/toplev.c:326 0x64e28d ipa_get_cs_argument_count /home/dimhen/src/gcc_current/gcc/ipa-prop.h:598 0x64e28d ipa_merge_fn_summary_after_inlining(cgraph_edge*) /home/dimhen/src/gcc_current/gcc/ipa-fnsummary.c:3318 0x16f66db inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:484 0x16f0682 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2151 0x16f0682 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x16f0682 execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /usr/local/binutils_current/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status >>From gcc-bugs-return-657650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 04:06:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37065 invoked by alias); 28 Oct 2019 04:06:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36993 invoked by uid 48); 28 Oct 2019 04:06:17 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/45821] Missed -Wreturn-local-addr when local variable address comes from within a statement expression Date: Mon, 28 Oct 2019 04:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: blocked short_desc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02376.txt.bz2 Content-length: 1970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D45821 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |90556 Summary|no warning when returning a |Missed -Wreturn-local-addr |local variable address |when local variable address |within a statement |comes from within a |expression |statement expression --- Comment #6 from Eric Gallager --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #4) > (In reply to Andrew Gaul from comment #3) > > int *function_return_local(void) > > { > > int x =3D 0; > > return &x; > > } > >=20 > > int *statement_expression_return_local(void) > > { > > int *y =3D ({ > > int x =3D 0; > > &x; > > }); > > return y; > > } >=20 > We now warn at -O2: >=20 > test.c:14:10: warning: function returns address of local variable > [-Wreturn-local-addr] > return y; > ^ > test.c:11:11: note: declared here > int x =3D 0; > ^ >=20 > but only because we return y. For this testcase, >=20 > int statement_expression_return_local(void) > { > int *y =3D ({ > int x =3D 0; > &x; > }); > return *y; > } >=20 > we get:=20 >=20 > test.c:14:10: warning: =E2=80=98x=E2=80=99 is used uninitialized in this = function > [-Wuninitialized] > return *y; > ^ >=20 > which is a bit confusing (and not the same warning). It'd be good to get it from the same warning, so I'm making this block the -Wreturn-local-addr meta-bug >=20 > Possibly related to 60517. > it would be good to add the testcase Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90556 [Bug 90556] [meta-bug] bogus/missing -Wreturn-local-addr >>From gcc-bugs-return-657651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 04:09:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38833 invoked by alias); 28 Oct 2019 04:09:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38801 invoked by uid 48); 28 Oct 2019 04:09:11 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libobjc/67455] Inheriting from Object (with GNU runtime) doesn't provide alloc, init, or new, rendering methods useless Date: Mon, 28 Oct 2019 04:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libobjc X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: major X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02377.txt.bz2 Content-length: 716 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67455 --- Comment #6 from Eric Gallager --- (In reply to Eric Gallager from comment #5) > (In reply to Eric Gallager from comment #4) > > 67455.m:21:2: warning: (Messages without a matching method signature > > 67455.m:21:2: warning: will be assumed to return =E2=80=98id=E2=80=99 a= nd accept > > 67455.m:21:2: warning: =E2=80=98...=E2=80=99 as arguments.) >=20 > Also this message should probably be a single note rather than warnings, = so > I guess this is a diagnostics issue too. actually that should probably be split off into a separate issue instead of including it as part of this one, but I don't feel like doing that now... >>From gcc-bugs-return-657652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 04:11:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40204 invoked by alias); 28 Oct 2019 04:11:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40138 invoked by uid 48); 28 Oct 2019 04:11:21 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c Date: Mon, 28 Oct 2019 04:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: EH, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02378.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61759 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org, | |mikestump at comcast dot n= et --- Comment #10 from Eric Gallager --- cc-ing objc[++] maintainers >>From gcc-bugs-return-657653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 04:13:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41600 invoked by alias); 28 Oct 2019 04:13:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41559 invoked by uid 48); 28 Oct 2019 04:13:52 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/41526] gimple bytecode streams are not portable between different hosts Date: Mon, 28 Oct 2019 04:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02379.txt.bz2 Content-length: 355 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41526 --- Comment #4 from Eric Gallager --- (In reply to Joseph S. Myers from comment #3) > The handling of target options (the patch for bug 45475) is another > host-dependency in the bytecode stream. That has been closed as fixed... which parts of this issue still remain? >>From gcc-bugs-return-657654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 05:01:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2588 invoked by alias); 28 Oct 2019 05:01:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 644 invoked by uid 48); 28 Oct 2019 05:01:29 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92249] New: ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Date: Mon, 28 Oct 2019 05:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 target_milestone 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-SW-Source: 2019-10/txt/msg02380.txt.bz2 Content-length: 5608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 Bug ID: 92249 Summary: ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-10.0.0-alpha20191027 snapshot (r277495) and 9.2 ICE when compiling the following testcase reduced from testsuite/gcc.dg/vect/slp-reduc-10[abcde].c (added in r277406) w/ -fgimple: void __GIMPLE (ssa) foo (void) { return; } % gcc-10.0.0-alpha20191027 -fgimple -c tvbra2u4.c tvbra2u4.c: In function 'foo': tvbra2u4.c:4:3: internal compiler error: Segmentation fault 4 | return; | ^~~~~~ 0xc71516 crash_signal =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/toplev.c:326 0x7b6a21 c_parser_gimple_compound_statement =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:444 0x7b6a21 c_parser_gimple_compound_statement =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:380 0x7b7ede c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il, profile_count) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:252 0x7a8ed7 c_parser_declaration_or_fndef =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:2385 0x7b0035 c_parser_external_declaration =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:1658 0x7b0852 c_parser_translation_unit =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:1539 0x7b0852 c_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:20804 0x8075f5 c_common_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c-family/c-opts.c:1179 gcc fails on the original testcases w/ -fno-gimple: % gcc-10.0.0-alpha20191027 -fno-gimple -c gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:5:5: error: '__GIMPLE' only valid with '-fgimple' 5 | int __GIMPLE (ssa,guessed_local(118111600),startwith("dce3")) | ^~~~~~~~ gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c: In function 'foo': gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:15:3: error: unknown type name '__SIZETYPE__' 15 | __SIZETYPE__ _7; | ^~~~~~~~~~~~ gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:16:3: error: unknown type name '__SIZETYPE__' 16 | __SIZETYPE__ _8; | ^~~~~~~~~~~~ gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:19:3: error: unknown type name '__SIZETYPE__' 19 | __SIZETYPE__ _11; | ^~~~~~~~~~~~ gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:20:3: error: unknown type name '__SIZETYPE__' 20 | __SIZETYPE__ _12; | ^~~~~~~~~~~~ gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:23:3: error: unknown type name '__SIZETYPE__' 23 | __SIZETYPE__ _15; | ^~~~~~~~~~~~ gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:24:3: error: unknown type name '__SIZETYPE__' 24 | __SIZETYPE__ _16; | ^~~~~~~~~~~~ gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:48:3: internal compiler error: in build2, at tree.c:4766 48 | _9 =3D x_23(D) + _8; | ^~ 0x6c3725 build2(tree_code, tree_node*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree.c:4766 0x7b504c build2_loc =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree.h:4322 0x7b504c c_parser_gimple_binary_expression =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:1002 0x7b60d7 c_parser_gimple_statement =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:857 0x7b60d7 c_parser_gimple_compound_statement =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:648 0x7b60d7 c_parser_gimple_compound_statement =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:380 0x7b7ede c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il, profile_count) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/gimple-parser.c:252 0x7a8ed7 c_parser_declaration_or_fndef =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:2385 0x7b0035 c_parser_external_declaration =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:1658 0x7b0852 c_parser_translation_unit =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:1539 0x7b0852 c_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c/c-parser.c:20804 0x8075f5 c_common_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/c-family/c-opts.c:1179 >>From gcc-bugs-return-657655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 05:24:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5999 invoked by alias); 28 Oct 2019 05:24:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115620 invoked by uid 55); 28 Oct 2019 05:24:04 -0000 From: "guojiufu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88760] GCC unrolling is suboptimal Date: Mon, 28 Oct 2019 05:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02381.txt.bz2 Content-length: 2787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88760 --- Comment #42 from Jiu Fu Guo --- Author: guojiufu Date: Mon Oct 28 05:23:24 2019 New Revision: 277501 URL: https://gcc.gnu.org/viewcvs?rev=3D277501&root=3Dgcc&view=3Drev Log: rs6000: Enable limited unrolling at -O2 In PR88760, there are a few disscussion about improve or tune unroller for targets. And we would agree to enable unroller for small loops at O2 first. And we could see performance improvement(~10%) for below code: ``` subroutine foo (i, i1, block) integer :: i, i1 integer :: block(9, 9, 9) block(i:9,1,i1) =3D block(i:9,1,i1) - 10 end subroutine foo ``` This kind of code occurs a few times in exchange2 benchmark. Similar C code: ``` for (i =3D 0; i < n; i++) arr[i] =3D arr[i] - 10; ``` On powerpcle, for O2 , enable -funroll-loops and limit PARAM_MAX_UNROLL_TIMES=3D2 and PARAM_MAX_UNROLLED_INSNS=3D20, we can see >2% overall improvement for SPEC2017. This patch is only for rs6000 in which we see visible performance improveme= nt. gcc/ 2019-10-25 Jiufu Guo =20=20=20=20=20 PR tree-optimization/88760 * config/rs6000/rs6000-common.c (rs6000_option_optimization_table): Enable -funroll-loops for -O2 and above. * config/rs6000/rs6000.c (rs6000_option_override_internal): Set PARAM_MAX_UNROLL_TIMES to 2 and PARAM_MAX_UNROLLED_INSNS to 20, and do not turn on web and rngreg implicitly, if the unroller is not explicitly enabled. gcc.testsuite/ 2019-10-25 Jiufu Guo PR tree-optimization/88760 * gcc.target/powerpc/small-loop-unroll.c: New test. * c-c++-common/tsan/thread_leak2.c: Update test. * gcc.dg/pr59643.c: Update test. * gcc.target/powerpc/loop_align.c: Update test. * gcc.target/powerpc/ppc-fma-1.c: Update test. * gcc.target/powerpc/ppc-fma-2.c: Update test. * gcc.target/powerpc/ppc-fma-3.c: Update test. * gcc.target/powerpc/ppc-fma-4.c: Update test. * gcc.target/powerpc/pr78604.c: Update test. Added: trunk/gcc/testsuite/gcc.target/powerpc/small-loop-unroll.c Modified: trunk/gcc/ChangeLog trunk/gcc/common/config/rs6000/rs6000-common.c trunk/gcc/config/rs6000/rs6000.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/tsan/thread_leak2.c trunk/gcc/testsuite/gcc.dg/pr59643.c trunk/gcc/testsuite/gcc.target/powerpc/loop_align.c trunk/gcc/testsuite/gcc.target/powerpc/ppc-fma-1.c trunk/gcc/testsuite/gcc.target/powerpc/ppc-fma-2.c trunk/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c trunk/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c trunk/gcc/testsuite/gcc.target/powerpc/pr78604.c >>From gcc-bugs-return-657656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 05:35:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37875 invoked by alias); 28 Oct 2019 05:35:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37835 invoked by uid 48); 28 Oct 2019 05:35:16 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Date: Mon, 28 Oct 2019 05:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02382.txt.bz2 Content-length: 2471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92242 --- Comment #2 from Dmitry G. Dyachenko --- correctly reduced testcase $ cat x.i unsigned foo(int a) { if (a) return 0; return 1; } $ cat y.i unsigned foo(int); int bar() { foo(0); return 0; } $ cat libso.ver { global: bar; local: *; }; $ gcc -O2 -flto -Wall -c x.i y.i $ gcc -flto -fPIC -DPIC -shared x.o y.o -Wl,-version-script -Wl,./libso.ver= -o libso.so during IPA pass: inline lto1: internal compiler error: Segmentation fault 0xdd4bdf crash_signal /home/dimhen/src/gcc_current/gcc/toplev.c:326 0x64e28d ipa_get_cs_argument_count /home/dimhen/src/gcc_current/gcc/ipa-prop.h:598 0x64e28d ipa_merge_fn_summary_after_inlining(cgraph_edge*) /home/dimhen/src/gcc_current/gcc/ipa-fnsummary.c:3318 0x16f66db inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:484 0x16f0682 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2151 0x16f0682 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x16f0682 execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ gcc -flto -fPIC -DPIC -shared x.o y.o -Wl,-version-script -Wl,./libso.ver= -o libso.so during IPA pass: inline lto1: internal compiler error: Segmentation fault 0xdd4bdf crash_signal /home/dimhen/src/gcc_current/gcc/toplev.c:326 0x64e28d ipa_get_cs_argument_count /home/dimhen/src/gcc_current/gcc/ipa-prop.h:598 0x64e28d ipa_merge_fn_summary_after_inlining(cgraph_edge*) /home/dimhen/src/gcc_current/gcc/ipa-fnsummary.c:3318 0x16f66db inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:484 0x16f0682 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2151 0x16f0682 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x16f0682 execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-657657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 06:23:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64235 invoked by alias); 28 Oct 2019 06:23:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57970 invoked by uid 48); 28 Oct 2019 06:23:14 -0000 From: "boite.pour.spam at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++ Date: Mon, 28 Oct 2019 06:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: boite.pour.spam at gmail dot com X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02383.txt.bz2 Content-length: 2806 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92170 X Ryl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |boite.pour.spam at gmail d= ot com --- Comment #8 from X Ryl --- Is there a reason why -fstack-usage doesn't output mangled name ? It's very easy to run the output through c++filt. Wouldn't it better if it was consistent with other tools and as such could = be compared ? Typically, there is a tool (https://www.dlbeer.co.nz/oss/avstack.html) that= 's used to compute the minimum stack size required for a program, and the fact that -fstack-usage breaks for C++ (either with wrong names, or it outputs n= on mangled name), it's not possible to link the reported stack usage with the functions in the produced binary (for example, with objdump) Even when the C++ item does not contain fancy dot, this is still a real pain because if you demangle objdump's output, you'll get: unsigned char * MyClass::foo(unsigned long) while fstack-usage will return (with typedef): uint8_t * MyClass::foo(uint64_t) The patch is very simple, just bypass any demangling here since I don't thi= nk it's the role of this method to demangle for you. Index: gcc-7.3.0/gcc/toplev.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc-7.3.0.orig/gcc/toplev.c +++ gcc-7.3.0/gcc/toplev.c @@ -996,28 +996,8 @@ output_stack_usage (void) { expanded_location loc =3D expand_location (DECL_SOURCE_LOCATION (current_function_decl)); - /* We don't want to print the full qualified name because it can be long, - so we strip the scope prefix, but we may need to deal with the suf= fix - created by the compiler. */ - const char *suffix - =3D strchr (IDENTIFIER_POINTER (DECL_NAME (current_function_decl)),= '.'); - const char *name - =3D lang_hooks.decl_printable_name (current_function_decl, 2); - if (suffix) - { - const char *dot =3D strchr (name, '.'); - while (dot && strcasecmp (dot, suffix) !=3D 0) - { - name =3D dot + 1; - dot =3D strchr (name, '.'); - } - } - else - { - const char *dot =3D strrchr (name, '.'); - if (dot) - name =3D dot + 1; - } + const char *name =3D IDENTIFIER_POINTER + (DECL_ASSEMBLER_NAME (current_function_decl)); fprintf (stack_usage_file, "%s:%d:%d:%s\t" HOST_WIDE_INT_PRINT_DEC"\t%s\n", >>From gcc-bugs-return-657658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 07:09:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55984 invoked by alias); 28 Oct 2019 07:09:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55926 invoked by uid 48); 28 Oct 2019 07:09:52 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libobjc/67455] Inheriting from Object (with GNU runtime) doesn't provide alloc, init, or new, rendering methods useless Date: Mon, 28 Oct 2019 07:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libobjc X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: major X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02384.txt.bz2 Content-length: 760 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67455 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #7 from Andrew Pinski --- >So confirming for the GNU runtime. Since it's a runtime issue, changing co= mponent to libobjc. Feel free to change back if I'm wrong. The GNU runtime Object does not and will not provide those. It is a bit we= ird Apple changed the NeXT (apple) runtime Object to provide those when it originally did not. NSObject did provide those. >>From gcc-bugs-return-657659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 07:25:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71081 invoked by alias); 28 Oct 2019 07:24:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70803 invoked by uid 48); 28 Oct 2019 07:24:22 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++ Date: Mon, 28 Oct 2019 07:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02385.txt.bz2 Content-length: 638 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92170 --- Comment #9 from Eric Botcazou --- > Is there a reason why -fstack-usage doesn't output mangled name ? Yes, the output was supposed to be human-readable, that's why the location = of the function is also output. > Wouldn't it better if it was consistent with other tools and as such could > be compared ? This would break backward compatibility though. > The patch is very simple, just bypass any demangling here since I don't > think it's the role of this method to demangle for you. Probably worth discussing so please post it on gcc-patches@ >>From gcc-bugs-return-657660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 07:34:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76306 invoked by alias); 28 Oct 2019 07:34:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75986 invoked by uid 55); 28 Oct 2019 07:34:01 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91863] [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:156 Date: Mon, 28 Oct 2019 07:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02386.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91863 --- Comment #2 from Tobias Burnus --- Author: burnus Date: Mon Oct 28 07:33:29 2019 New Revision: 277502 URL: https://gcc.gnu.org/viewcvs?rev=3D277502&root=3Dgcc&view=3Drev Log: Fortran] PR91863 - fix call to bind(C) with array descriptor PR fortran/91863 * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Don't free data memory as that's done on the Fortran side. (gfc_conv_procedure_call): Handle void* pointers from gfc_conv_gfc_desc_to_cfi_desc. PR fortran/91863 * gfortran.dg/bind-c-intent-out.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/bind-c-intent-out.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 07:46:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15290 invoked by alias); 28 Oct 2019 07:46:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15138 invoked by uid 48); 28 Oct 2019 07:46:37 -0000 From: "stli at linux dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77918] S390: Floating point comparisons don't raise invalid for unordered operands. Date: Mon, 28 Oct 2019 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stli at linux dot ibm.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02387.txt.bz2 Content-length: 1046 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77918 stli at linux dot ibm.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #14 from stli at linux dot ibm.com = --- I've tested this patch with help of glibc testsuite. Therefore I've disabled the current workaround: /sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: #define FIX_COMPARE_INVALID 0 All tests passed. As information: Without this patch there were fails like: math/test-ldouble-iseqsig.out: testing long double (without inline functions) Failure: iseqsig (-0, qNaN): Exception "Invalid operation" not set Failure: iseqsig (-0, -qNaN): Exception "Invalid operation" not set ... As soon as gcc 10 is released, I will post a glibc-patch which conditionally disables the current workaround. Thanks. >>From gcc-bugs-return-657662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:04:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118981 invoked by alias); 28 Oct 2019 08:04:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118925 invoked by uid 48); 28 Oct 2019 08:04:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85960] -fipa-pta and ifunc are incompatible Date: Mon, 28 Oct 2019 08:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02388.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85960 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #12 from Richard Biener --- Not really. >>From gcc-bugs-return-657663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:11:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5711 invoked by alias); 28 Oct 2019 08:11:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5625 invoked by uid 48); 28 Oct 2019 08:11:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92228] [10 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Date: Mon, 28 Oct 2019 08:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02389.txt.bz2 Content-length: 907 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92228 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-28 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |10.0 Summary|ICE in |[10 Regression] ICE in |vectorizable_reduction, at |vectorizable_reduction, at |tree-vect-loop.c:5730 |tree-vect-loop.c:5730 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >>From gcc-bugs-return-657664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:13:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8372 invoked by alias); 28 Oct 2019 08:13:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8303 invoked by uid 48); 28 Oct 2019 08:13:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92230] Proposal to have builtin underflow detection function Date: Mon, 28 Oct 2019 08:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth 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: component bug_severity Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02390.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92230 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |c Severity|normal |enhancement >>From gcc-bugs-return-657665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:14:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9664 invoked by alias); 28 Oct 2019 08:14:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9600 invoked by uid 48); 28 Oct 2019 08:14:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92231] [9/10 Regression] ICE in gimple_fold_stmt_to_constant_1 Date: Mon, 28 Oct 2019 08:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on version target_milestone everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02391.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92231 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-28 Version|unknown |9.2.1 Target Milestone|--- |9.3 Ever confirmed|0 |1 >>From gcc-bugs-return-657667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:20:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24078 invoked by alias); 28 Oct 2019 08:20:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24030 invoked by uid 48); 28 Oct 2019 08:20:52 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92230] Proposal to have builtin underflow detection function Date: Mon, 28 Oct 2019 08:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02393.txt.bz2 Content-length: 215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92230 --- Comment #1 from Andrew Pinski --- Overflow for sub works both directions. Unless I am misunderstanding what= you are asking. >>From gcc-bugs-return-657666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:20:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23294 invoked by alias); 28 Oct 2019 08:20:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23240 invoked by uid 55); 28 Oct 2019 08:20:28 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Date: Mon, 28 Oct 2019 08:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02392.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92242 --- Comment #3 from Jan Hubicka --- Author: hubicka Date: Mon Oct 28 08:19:56 2019 New Revision: 277504 URL: https://gcc.gnu.org/viewcvs?rev=3D277504&root=3Dgcc&view=3Drev Log: PR ipa/92242 * ipa-fnsummary.c (ipa_merge_fn_summary_after_inlining): Check for missing EDGE_REF * ipa-prop.c (update_jump_functions_after_inlining): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-fnsummary.c trunk/gcc/ipa-prop.c >>From gcc-bugs-return-657668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:25:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29243 invoked by alias); 28 Oct 2019 08:25:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29016 invoked by uid 48); 28 Oct 2019 08:25:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92233] missed optimisation for multiplication when it's known that at least one of the arguments is 0 Date: Mon, 28 Oct 2019 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02394.txt.bz2 Content-length: 1184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92233 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-28 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- It's kind-of tail-duplication that is required here. The jump threading co= de can likely be abused here but the important thing is of course the costing where unlike with jump-threading, there's no branch that will go away. In theory (and with --param logical-op-non-short-circuit=3D0) GVN PRE could also see that the multiplication result is fully available on both arms (but the VN part doesn't know about conditional equivalences [yet]). That said, it's a value-numbering issue as soon as (like here) a value is always known to have some specific value. But yes, it might be easier to have another transform simplify the problem for us. Oh, and logical-op-non-short-circuit manifests itself too early. >>From gcc-bugs-return-657669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:37:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33413 invoked by alias); 28 Oct 2019 08:37:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33331 invoked by uid 48); 28 Oct 2019 08:37:29 -0000 From: "peter at cordes dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92244] vectorized loop updating 2 copies of the same pointer (for in-place reversal cross in the middle) Date: Mon, 28 Oct 2019 08:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: peter at cordes dot ca 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02395.txt.bz2 Content-length: 1646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92244 --- Comment #4 from Peter Cordes --- (In reply to Andrew Pinski from comment #3) > (In reply to Peter Cordes from comment #1) > > On AArch64 (with gcc8.2), we see a similar effect, more instructions in= the > > loop. And an indexed addressing mode. That was an overstatement, the generic tuning I showed isn't using 2 separa= te pointers or indices like we get on x86. Your thunderx2t99 output is like that, but write-back addressing modes mean= it doesn't cost extra instructions. > I am not shocked that IV-OPTS can chose these widly differences. > I have not looked at the cost differences to understand why > -mcpu=3Dthunderx2t99 chose what close might be the best (we could use one= less > IV by replacing the first ldr by using the same IV as the last str). I don't know ARM tuning; the x86 version is clearly worse with an extra uop inside the loop. And an extra instruction to copy the register before the loop, wasting code-size if nothing else. On Skylake for example, the loop is 10 uops and bottlenecks on front-end throughput (4 uops / clock) if the back-end can keep up with a bit less tha= n 1 store per clock. (Easy if pointers are aligned and data is hot in L1d).=20 Reducing it to 9 uops should help in practice. Getting it down to 8 uops w= ould be really nice, but we can't do that unless we could use a shuffle that micro-fuses with a load. (For int elements, AVX2 VPERMD can micro-fuse a memory source, so can SSE2 PSHUFD. pshufb's xmm/memory operand is the cont= rol vector which doesn't help us. AVX512 vpermb can't micro-fuse) >>From gcc-bugs-return-657670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:39:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36290 invoked by alias); 28 Oct 2019 08:39:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36246 invoked by uid 48); 28 Oct 2019 08:39:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92234] [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu Date: Mon, 28 Oct 2019 08:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02396.txt.bz2 Content-length: 347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92234 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|lto |ipa Target Milestone|--- |10.0 >>From gcc-bugs-return-657671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:41:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40718 invoked by alias); 28 Oct 2019 08:41:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40668 invoked by uid 48); 28 Oct 2019 08:41:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92235] [10 Regression] ICE in host_detect_local_cpu, segfault (profiled lto) on powerpc64le-linux-gnu Date: Mon, 28 Oct 2019 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02397.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92235 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org Target Milestone|--- |10.0 --- Comment #1 from Richard Biener --- I think Honza fixed some segfault issue. >>From gcc-bugs-return-657672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:43:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42128 invoked by alias); 28 Oct 2019 08:43:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42063 invoked by uid 48); 28 Oct 2019 08:42:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92237] [x86] Missed optimisation opportunity with bit tests Date: Mon, 28 Oct 2019 08:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02398.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92237 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-28 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-657673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:44:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43284 invoked by alias); 28 Oct 2019 08:44:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43169 invoked by uid 48); 28 Oct 2019 08:43:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92239] [10 Regression] ICE in insert_vi_for_tree, at tree-ssa-structalias.c:2877 Date: Mon, 28 Oct 2019 08:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc version target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02399.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92239 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Version|unknown |10.0 Target Milestone|--- |10.0 --- Comment #1 from Richard Biener --- Some more missed decl duplication? (didn't yet investigate) >>From gcc-bugs-return-657674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:46:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45213 invoked by alias); 28 Oct 2019 08:45:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44861 invoked by uid 48); 28 Oct 2019 08:45:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883 Date: Mon, 28 Oct 2019 08:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc component target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02400.txt.bz2 Content-length: 590 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92240 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Component|bootstrap |ipa Target Milestone|--- |10.0 --- Comment #3 from Richard Biener --- Happends during in-tree build of ISL. Did you do the setup with ./contrib/download_prerequesites? >>From gcc-bugs-return-657675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:46:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46184 invoked by alias); 28 Oct 2019 08:46:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46151 invoked by uid 48); 28 Oct 2019 08:46:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92241] [10 Regression] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Mon, 28 Oct 2019 08:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02401.txt.bz2 Content-length: 897 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-28 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |10.0 Summary|ice in vect_mark_pattern_st |[10 Regression] ice in |mts, at |vect_mark_pattern_st mts, |tree-vect-patterns.c:5175 |at | |tree-vect-patterns.c:5175 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Mine. >>From gcc-bugs-return-657676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:52:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50095 invoked by alias); 28 Oct 2019 08:52:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50036 invoked by uid 48); 28 Oct 2019 08:52:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Date: Mon, 28 Oct 2019 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02402.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92242 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >>From gcc-bugs-return-657677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 08:53:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50985 invoked by alias); 28 Oct 2019 08:53:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50934 invoked by uid 48); 28 Oct 2019 08:52:56 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883 Date: Mon, 28 Oct 2019 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02403.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92240 --- Comment #4 from Dmitry G. Dyachenko --- (In reply to Richard Biener from comment #3) > Happends during in-tree build of ISL. Did you do the setup with > ./contrib/download_prerequesites? Yes, I setup with ./contrib/download_prerequesites ICE fixed in r277486 >>From gcc-bugs-return-657678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:05:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82604 invoked by alias); 28 Oct 2019 09:05:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82569 invoked by uid 48); 28 Oct 2019 09:05:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92249] ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Date: Mon, 28 Oct 2019 09:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02404.txt.bz2 Content-length: 1411 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-28 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- (In reply to Arseny Solokha from comment #0) > gcc-10.0.0-alpha20191027 snapshot (r277495) and 9.2 ICE when compiling the > following testcase reduced from testsuite/gcc.dg/vect/slp-reduc-10[abcde]= .c > (added in r277406) w/ -fgimple: >=20 > void __GIMPLE (ssa) > foo (void) > { > return; > } That's invalid GIMPLE source for SSA GIMPLE. I expect there are very many ice-on-invalid here. I'll fix this one though. > gcc fails on the original testcases w/ -fno-gimple: >=20 > % gcc-10.0.0-alpha20191027 -fno-gimple -c > gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c > gcc/testsuite/gcc.dg/vect/slp-reduc-10a.c:5:5: error: '__GIMPLE' only val= id > with '-fgimple' > 5 | int __GIMPLE (ssa,guessed_local(118111600),startwith("dce3")) > | ^~~~~~~~ That's expected. >>From gcc-bugs-return-657679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:06:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83539 invoked by alias); 28 Oct 2019 09:06:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83210 invoked by uid 48); 28 Oct 2019 09:05:56 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine Date: Mon, 28 Oct 2019 09:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords bug_status cf_reconfirmed_on cc short_desc everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02405.txt.bz2 Content-length: 1295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92208 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-28 CC| |burnus at gcc dot gnu.org Summary|internal compile error, |[9/10 Regression] internal |character array of dynamic |compile error, character |length returned from |array of dynamic length |function and passed to |returned from function and |subroutine |passed to subroutine Ever confirmed|0 |1 --- Comment #1 from Tobias Burnus --- Confirmed with GCC 9 + trunk/10 (Works with GCC 7, GCC 8 I have not tested it with.) Seems to be a scoping issue of the hidden function-result variable: The middle end complains that it sees the local variable declaration of the contained function 'createVarnames' in the scope of the parent program 'stringtest'. >>From gcc-bugs-return-657680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:16:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97968 invoked by alias); 28 Oct 2019 09:15:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97583 invoked by uid 48); 28 Oct 2019 09:15:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92249] ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Date: Mon, 28 Oct 2019 09:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02406.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 --- Comment #2 from Richard Biener --- So after the fix you'll see > ./cc1 -quiet xx.c -fgimple xx.c: In function =E2=80=98foo=E2=80=99: xx.c:5:1: error: ENTRY_BLOCK has IL associated with it 5 | } | ^ during GIMPLE pass: fixup_cfg xx.c:5:1: internal compiler error: verify_flow_info failed 0xad3ffd verify_flow_info() /tmp/trunk/gcc/cfghooks.c:269 0x109cd18 execute_function_todo /tmp/trunk/gcc/passes.c:1995 0x109bc90 do_per_function /tmp/trunk/gcc/passes.c:1638 0x109ce9d execute_todo /tmp/trunk/gcc/passes.c:2037 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-657681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:17:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99581 invoked by alias); 28 Oct 2019 09:17:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99530 invoked by uid 48); 28 Oct 2019 09:17:46 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBtaWRkbGUtZW5kLzkyMjUwXSBOZXc6IHZhbGdyaW5kOiBpcmFfdHJh?= =?UTF-8?B?dmVyc2VfbG9vcF90cmVlIOKAkyBDb25kaXRpb25hbCBqdW1wIG9yIG1vdmUg?= =?UTF-8?B?ZGVwZW5kcyBvbiB1bmluaXRpYWxpc2VkIHZhbHVl?= Date: Mon, 28 Oct 2019 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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 target_milestone 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-SW-Source: 2019-10/txt/msg02407.txt.bz2 Content-length: 2201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92250 Bug ID: 92250 Summary: valgrind: ira_traverse_loop_tree =E2=80=93 Conditional = jump or move depends on uninitialised value Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- When looking at PR 92191. If I compile the example there (attachment 47091) using valgrind as wrapper= , I get valgrind =E2=80=A6/gcc-trunk/lib/gcc/x86_64-pc-linux-gnu/10.0.0/f951 fosyan= .f =E2=80=A6 Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> Streaming LTO Assembling functions: fosyan =3D=3D111983=3D=3D Conditional jump or move depends on uninitialised value(= s) =3D=3D111983=3D=3D at 0xC91BC8: sparseset_bit_p (sparseset.h:147) =3D=3D111983=3D=3D by 0xC91BC8: mark_pseudo_regno_live(int) (ira-lives.c= :326) =3D=3D111983=3D=3D by 0xC93638: process_bb_node_lives(ira_loop_tree_node= *) (ira-lives.c:1377) =3D=3D111983=3D=3D by 0xC76D31: ira_traverse_loop_tree(bool, ira_loop_tr= ee_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1804) =3D=3D111983=3D=3D by 0xC93F31: ira_create_allocno_live_ranges() (ira-li= ves.c:1677) =3D=3D111983=3D=3D by 0xC786CC: ira_build() (ira-build.c:3435) =3D=3D111983=3D=3D by 0xC6F5E5: ira (ira.c:5341) =3D=3D111983=3D=3D by 0xC6F5E5: (anonymous namespace)::pass_ira::execute= (function*) (ira.c:5654) =3D=3D111983=3D=3D by 0xD63BA9: execute_one_pass(opt_pass*) (passes.c:24= 94) =3D=3D111983=3D=3D by 0xD642FF: execute_pass_list_1(opt_pass*) (passes.c= :2580) =3D=3D111983=3D=3D by 0xD64311: execute_pass_list_1(opt_pass*) (passes.c= :2581) (and 55 more nearly identical lines, all 'at =E2=80=A6 sparseset_bit_p (sparseset.h:147)') >>From gcc-bugs-return-657682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:20:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101497 invoked by alias); 28 Oct 2019 09:20:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101409 invoked by uid 48); 28 Oct 2019 09:20:21 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85947] gcc.dg/vect/bb-slp-div-1.c XPASSes Date: Mon, 28 Oct 2019 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02408.txt.bz2 Content-length: 503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85947 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #6 from Rainer Orth --- Between 20191025 (r277438) and 20191026 (r277475), the XPASS went away. Most likely due to one of Richard's SLP pathes in that range. >>From gcc-bugs-return-657683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:25:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105387 invoked by alias); 28 Oct 2019 09:25:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105317 invoked by uid 48); 28 Oct 2019 09:25:21 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92249] ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Date: Mon, 28 Oct 2019 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02409.txt.bz2 Content-length: 342 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 --- Comment #3 from Arseny Solokha --- OK, I'll finally blacklist all GIMPLE testcases altogether as I already do = w/ RTL ones. It didn't seem right to me that some GIMPLE testcases yield ICE when compil= ed w/ -fno-gimple, but if that's by design, OK then... >>From gcc-bugs-return-657684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:28:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107322 invoked by alias); 28 Oct 2019 09:28:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107264 invoked by uid 48); 28 Oct 2019 09:28:20 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92251] New: [10 regression] SEGV in ipa_get_cs_argument_count Date: Mon, 28 Oct 2019 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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_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-SW-Source: 2019-10/txt/msg02410.txt.bz2 Content-length: 2401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92251 Bug ID: 92251 Summary: [10 regression] SEGV in ipa_get_cs_argument_count Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Target: i?86-*-*, sparc-*-*, ia64-*-*, powerpc64le-*-*, s390x-*-*, x86_64-*-* Between 20191026 (r277475) and 20191027 (r277487), a Go test regressed (I'm seeing it on both 32 and 64-bit Solaris/SPARC and x86, with several mo= re reports on Linux/x86_64 and several others): +FAIL: go.test/test/fixedbugs/bug407.dir/one.go -O (internal compiler erro= r) +FAIL: go.test/test/fixedbugs/bug407.dir/one.go -O (test for excess errors) Excess errors: during IPA pass: inline go1: internal compiler error: Segmentation Fault 0x90d91fc crash_signal /vol/gcc/src/hg/trunk/local/gcc/toplev.c:326 0x8ebf100 ipa_get_cs_argument_count /vol/gcc/src/hg/trunk/local/gcc/ipa-prop.h:598 0x8ebf100 ipa_merge_fn_summary_after_inlining(cgraph_edge*) /vol/gcc/src/hg/trunk/local/gcc/ipa-fnsummary.c:3318 0x99d3ce1 inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) /vol/gcc/src/hg/trunk/local/gcc/ipa-inline-transform.c:484 0x99c8da3 inline_to_all_callers_1 /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:2338 0x99c8da3 inline_to_all_callers /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:2363 0x99cb4e1 cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*, void*), void*, bool) /vol/gcc/src/hg/trunk/local/gcc/cgraph.h:3319 0x99cb4e1 ipa_inline /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:2684 0x99cb4e1 execute /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:3023 +FAIL: go.test/test/fixedbugs/bug407.dir/two.go -O (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/go.test/test/fixedbugs/bug407.dir= /two.go:10:13: error: import file './one' not found /vol/gcc/src/hg/trunk/local/gcc/testsuite/go.test/test/fixedbugs/bug407.dir= /two.go:13:11: error: expected package This is almost certainly due to one of the IPA patches in that range. >>From gcc-bugs-return-657685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:31:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110839 invoked by alias); 28 Oct 2019 09:31:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110453 invoked by uid 48); 28 Oct 2019 09:30:48 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBtaWRkbGUtZW5kLzkyMjUwXSB2YWxncmluZDogaXJhX3RyYXZlcnNl?= =?UTF-8?B?X2xvb3BfdHJlZSDigJMgQ29uZGl0aW9uYWwganVtcCBvciBtb3ZlIGRlcGVu?= =?UTF-8?B?ZHMgb24gdW5pbml0aWFsaXNlZCB2YWx1ZQ==?= Date: Mon, 28 Oct 2019 09:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02411.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92250 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #1 from Alexander Monakov --- Be sure to enable Valgrind annotations (configure with --enable-valgrind-annotations), otherwise false positives on sparseset functions are expected: sparse set algorithm accesses uninitialized memory = by design (an explanation is available at e.g. https://research.swtch.com/spar= se ). >>From gcc-bugs-return-657686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:37:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116501 invoked by alias); 28 Oct 2019 09:37:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116407 invoked by uid 55); 28 Oct 2019 09:36:58 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91863] [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:156 Date: Mon, 28 Oct 2019 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02412.txt.bz2 Content-length: 1076 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91863 --- Comment #3 from Tobias Burnus --- Author: burnus Date: Mon Oct 28 09:36:27 2019 New Revision: 277505 URL: https://gcc.gnu.org/viewcvs?rev=3D277505&root=3Dgcc&view=3Drev Log: Fortran] PR91863 - fix call to bind(C) with array descriptor Backport from mainline 2019-10-28 Tobias Burnus PR fortran/91863 * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Don't free data memory as that's done on the Fortran side. (gfc_conv_procedure_call): Handle void* pointers from gfc_conv_gfc_desc_to_cfi_desc. Backport from mainline 2019-10-28 Tobias Burnus PR fortran/91863 * gfortran.dg/bind-c-intent-out.f90: New. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/bind-c-intent-out.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/trans-expr.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:38:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119488 invoked by alias); 28 Oct 2019 09:38:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118898 invoked by uid 48); 28 Oct 2019 09:38:37 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91863] [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:156 Date: Mon, 28 Oct 2019 09:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02413.txt.bz2 Content-length: 680 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91863 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |burnus at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Tobias Burnus --- FIXED in GCC 9 + 10. Thanks for the report! When fixing this issue, I found another issue =E2=80=93 if the bind(C) func= tion is written in Fortran. That's tracked in PR fortran/92189. >>From gcc-bugs-return-657688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:41:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121678 invoked by alias); 28 Oct 2019 09:41:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121627 invoked by uid 48); 28 Oct 2019 09:41:13 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92189] Fortran-written bind(C) function with allocatable argument does not update C descriptor on exit Date: Mon, 28 Oct 2019 09:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02414.txt.bz2 Content-length: 332 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92189 --- Comment #1 from Tobias Burnus --- The attached test case is gcc/testsuite/gfortran.dg/bind-c-intent-out.f90 w= hich is part of the committed to fix PR 91863. Due to this PR, the committed test case uses 'dg-do compile' instead of 'dg= -do run'. >>From gcc-bugs-return-657689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:47:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127475 invoked by alias); 28 Oct 2019 09:47:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127362 invoked by uid 55); 28 Oct 2019 09:46:53 -0000 From: "guojiufu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70010] powerpc: -flto forgets 'no-vsx' function attributes Date: Mon, 28 Oct 2019 09:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02415.txt.bz2 Content-length: 2058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70010 --- Comment #9 from Jiu Fu Guo --- Author: guojiufu Date: Mon Oct 28 09:46:15 2019 New Revision: 277506 URL: https://gcc.gnu.org/viewcvs?rev=3D277506&root=3Dgcc&view=3Drev Log: [rs6000] PR70010, avoid no-vsx function to be inlined to vsx function In PR70010, a function is marked with target(no-vsx) to disable VSX code generation. To avoid VSX code generation, this function should not be inlined into VSX function. To fix the bug, in the current logic when checking whether the caller's ISA flags supports the callee's ISA flags, we just need to add a test that enforces that the caller's ISA flags match exactly the callee's flags, for those flags that were explicitly set in the callee. If caller without target attribute then using options from command line. Jiufu BR gcc/ 2019-10-16 Peter Bergner Jiufu Guo PR target/70010 * config/rs6000/rs6000.c (rs6000_can_inline_p): Prohibit inlining if the callee explicitly disables some isa_flags the caller is using. gcc.testsuite/ 2019-10-16 Peter Bergner Jiufu Guo PR target/70010 * gcc.target/powerpc/pr70010.c: New test. * gcc.target/powerpc/pr70010-1.c: New test. * gcc.target/powerpc/pr70010-2.c: New test. * gcc.target/powerpc/pr70010-3.c: New test. * gcc.target/powerpc/pr70010-4.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010-1.c branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010-2.c branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010-3.c branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010-4.c branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/rs6000/rs6000.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:55:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23826 invoked by alias); 28 Oct 2019 09:55:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23773 invoked by uid 48); 28 Oct 2019 09:55:11 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92224] Set: Can't be created a set with const template parameter Date: Mon, 28 Oct 2019 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02416.txt.bz2 Content-length: 738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92224 --- Comment #4 from Jonathan Wakely --- It's undefined, so the implementation is not required to give an error. To quote the standard: Undefined behavior may be expected when this document omits any explicit definition of behavior or when a program uses an erroneous construct or erroneous data. Permissible undefined behavior ranges from ignoring the situation completely with unpredictable results, to behaving during transla= tion or program execution in a documented manner characteristic of the environme= nt (with or without the issuance of a diagnostic message), to terminating a translation or execution (with the issuance of a diagnostic message). >>From gcc-bugs-return-657691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 09:58:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39339 invoked by alias); 28 Oct 2019 09:58:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36980 invoked by uid 48); 28 Oct 2019 09:58:19 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92252] New: [10 Regression] ICE: Segmentation fault (in vect_stmt_to_vectorize) Date: Mon, 28 Oct 2019 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 keywords bug_severity priority component assigned_to reporter target_milestone 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-SW-Source: 2019-10/txt/msg02417.txt.bz2 Content-length: 2436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92252 Bug ID: 92252 Summary: [10 Regression] ICE: Segmentation fault (in vect_stmt_to_vectorize) Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-10.0.0-alpha20191027 snapshot (r277495) ICEs when compiling the followi= ng testcase w/ -O3: long int ar; int dt; long int pc (unsigned long int q3, int zw) { long int em =3D 0; while (zw < 1) { q3 =3D zw * 2ul; if (q3 !=3D 0) for (ar =3D 0; ar < 2; ++ar) em =3D dt; ++zw; } return em; } % gcc-10.0.0-alpha20191027 -O3 -c fjubgloo.c during GIMPLE pass: vect fjubgloo.c: In function 'pc': fjubgloo.c:5:1: internal compiler error: Segmentation fault 5 | pc (unsigned long int q3, int zw) | ^~ 0xc71516 crash_signal =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/toplev.c:326 0xe84700 vect_stmt_to_vectorize(_stmt_vec_info*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vectorizer.h:1258 0xe84700 vectorizable_reduction(_stmt_vec_info*, _slp_tree*, _slp_instance*, vec*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:5729 0xe8bed9 vect_analyze_loop_operations =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:1560 0xe8bed9 vect_analyze_loop_2 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:2079 0xe8bed9 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:2367 0xea47d4 try_vectorize_loop_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vectorizer.c:886 0xea55f4 vectorize_loops() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vectorizer.c:1114 >>From gcc-bugs-return-657692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:05:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61890 invoked by alias); 28 Oct 2019 10:05:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59745 invoked by uid 55); 28 Oct 2019 10:05:05 -0000 From: "iii at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92007] [9/10 Regression] ICE: verify_flow_info failed (error: EH edge crosses section boundary in bb 7) Date: Mon, 28 Oct 2019 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: EH, ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iii at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02418.txt.bz2 Content-length: 2984 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92007 --- Comment #17 from iii at gcc dot gnu.org --- Author: iii Date: Mon Oct 28 10:04:31 2019 New Revision: 277507 URL: https://gcc.gnu.org/viewcvs?rev=3D277507&root=3Dgcc&view=3Drev Log: Move jump threading before reload r266734 has introduced a new instance of jump threading pass in order to take advantage of opportunities that combine opens up. It was perceived back then that it was beneficial to delay it after reload, since that might produce even more such opportunities. Unfortunately jump threading interferes with hot/cold partitioning. In the code from PR92007, it converts the following +-------------------------- 2/HOT ------------------------+ | | v v 3/HOT --> 5/HOT --> 8/HOT --> 11/COLD --> 6/HOT --EH--> 16/HOT | ^ | | +-------------------------------+ into the following: +---------------------- 2/HOT ------------------+ | | v v 3/HOT --> 8/HOT --> 11/COLD --> 6/COLD --EH--> 16/HOT This makes hot bb 6 dominated by cold bb 11, and because of this fixup_partitions makes bb 6 cold as well, which in turn makes EH edge 6->16 a crossing one. Not only can't we have crossing EH edges, we are also not allowed to introduce new crossing edges after reload in general, since it might require extra registers on some targets. Therefore, move the jump threading pass between combine and hot/cold partitioning. Building SPEC 2006 and SPEC 2017 with the old and the new code indicates that: * When doing jump threading right after reload, 3889 edges are threaded. * When doing jump threading right after combine, 3918 edges are threaded. This means this change will not introduce performance regressions. gcc/ChangeLog: 2019-10-28 Ilya Leoshkevich PR rtl-optimization/92007 * cfgcleanup.c (thread_jump): Add an assertion that we don't call it after reload if hot/cold partitioning has been done. (class pass_postreload_jump): Rename to pass_jump_after_combine. (make_pass_postreload_jump): Rename to make_pass_jump_after_combine. * passes.def(pass_postreload_jump): Move before reload, rename to pass_jump_after_combine. * tree-pass.h (make_pass_postreload_jump): Rename to make_pass_jump_after_combine. gcc/testsuite/ChangeLog: 2019-10-28 Ilya Leoshkevich PR rtl-optimization/92007 * g++.dg/opt/pr92007.C: New test (from Arseny Solokha). Added: trunk/gcc/testsuite/g++.dg/opt/pr92007.C Modified: trunk/gcc/ChangeLog trunk/gcc/cfgcleanup.c trunk/gcc/passes.def trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-pass.h >>From gcc-bugs-return-657693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:06:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118544 invoked by alias); 28 Oct 2019 10:06:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112959 invoked by uid 48); 28 Oct 2019 10:06:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92241] [10 Regression] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Mon, 28 Oct 2019 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02419.txt.bz2 Content-length: 2458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #3 from Richard Biener --- So in this case pattern recog destroyed an earlier discovered reduction cha= in. From # a_lsm.10_28 =3D PHI _23 =3D c[b.5_13]; _24 =3D _23 !=3D 0; _25 =3D (int) _24; _27 =3D _25 & a_lsm.10_28; _35 =3D b.5_13 + 1; _36 =3D c[_35]; _37 =3D _36 !=3D 0; _38 =3D (int) _37; _40 =3D _27 & _38; we go to _23 =3D c[b.5_13]; _24 =3D _23 !=3D 0; patt_51 =3D _24 ? 1 : 0; patt_49 =3D (int) patt_51; // _25 patt_48 =3D (unsigned char) a_lsm.10_28; patt_47 =3D patt_51 & patt_48; patt_46 =3D (int) patt_47; // _27 _35 =3D b.5_13 + 1; _36 =3D c[_35]; _37 =3D _36 !=3D 0; patt_45 =3D _37 ? 1 : 0; patt_44 =3D (int) patt_45; // _38 patt_43 =3D patt_47 & patt_45; patt_42 =3D (int) patt_43; // _40 on the last replacing _40 we fail to identify where the link to the original _27 continues since we've elided some conversions in the pattern chain. The reduction now looks like # a_lsm.10_28 =3D PHI _23 =3D c[b.5_13]; _24 =3D _23 !=3D 0; patt_51 =3D _24 ? 1 : 0; patt_48 =3D (unsigned char) a_lsm.10_28; patt_47 =3D patt_51 & patt_48; _35 =3D b.5_13 + 1; _36 =3D c[_35]; _37 =3D _36 !=3D 0; patt_45 =3D _37 ? 1 : 0; patt_43 =3D patt_47 & patt_45; patt_42 =3D (int) patt_43; // _40 which isn't a reduction chain anymore (nor a handled reduction). Since patterns are not first-class citizens it's not as easly as re-running reduction analysis to rediscover the cycle. What we can of course do is whenever we fail to update STMT_VINFO_REDUC_IDX, try to scrap the reduction somehow in pattern analysis, or alternatively, when vectorizable_reduction cannot verify the reduction path, fail reduction vectorization (I've put in place the assert in pattern recog and reduction vectorization to see cases we run into such issue). When we transfer reduction chain meta to the pattern stmts in vect_fixup_scalar_cycles_with_patterns that should already handle this case (but might need to additionally see if the reduc-idx wasn't set). Testing such a patch. >>From gcc-bugs-return-657694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:29:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37658 invoked by alias); 28 Oct 2019 10:29:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37514 invoked by uid 48); 28 Oct 2019 10:28:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85947] gcc.dg/vect/bb-slp-div-1.c XPASSes Date: Mon, 28 Oct 2019 10:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02420.txt.bz2 Content-length: 704 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85947 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Richard Biener --- We used to vectorize only the store on SPARC but now we probably fail to do that because we now reliably detect that patterns are in use and refuse to do the scalar build. This might improve if we can relax the restriction for pattern roots again. Let's just close this as fixed. >>From gcc-bugs-return-657695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:32:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42385 invoked by alias); 28 Oct 2019 10:32:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42280 invoked by uid 55); 28 Oct 2019 10:32:26 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92249] ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Date: Mon, 28 Oct 2019 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02421.txt.bz2 Content-length: 1053 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 --- Comment #4 from rguenther at suse dot de --- On Mon, 28 Oct 2019, asolokha at gmx dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 >=20 > --- Comment #3 from Arseny Solokha --- > OK, I'll finally blacklist all GIMPLE testcases altogether as I already d= o w/ > RTL ones. >=20 > It didn't seem right to me that some GIMPLE testcases yield ICE when comp= iled > w/ -fno-gimple, but if that's by design, OK then... It's true that this ice-on-invalid (with error-recovery) is bad. The if (code =3D=3D POINTER_PLUS_EXPR && arg0 && arg1 && tt) gcc_assert (POINTER_TYPE_P (tt) && POINTER_TYPE_P (TREE_TYPE (arg0)) && ptrofftype_p (TREE_TYPE (arg1))); assert likely doens't like ERROR_MARK ops (OTOH the FE might want to elide building of expressions with ERROR_MARK). I'll leave the PR open for this part after committing the GIMPLE FE fix. So yes - GIMPLE testcases shouldn't ICE with -fno-gimple. >>From gcc-bugs-return-657696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:33:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43544 invoked by alias); 28 Oct 2019 10:33:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43461 invoked by uid 55); 28 Oct 2019 10:33:13 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Mon, 28 Oct 2019 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02422.txt.bz2 Content-length: 1058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #8 from rguenther at suse dot de --- On Fri, 25 Oct 2019, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 >=20 > --- Comment #7 from Uro=C5=A1 Bizjak --- > (In reply to Uro=C5=A1 Bizjak from comment #6) > > This. V2DImode of REDUC_SSE_SMINMAX_MODE should be conditional on > > TARGET_SSE4_2. >=20 > --cut here-- > diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md > index 403e91d4b176..245cb522321c 100644 > --- a/gcc/config/i386/sse.md > +++ b/gcc/config/i386/sse.md > @@ -2771,7 +2771,7 @@ > ;; Modes handled by reduc_sm{in,ax}* patterns. > (define_mode_iterator REDUC_SSE_SMINMAX_MODE > [(V4SF "TARGET_SSE") (V2DF "TARGET_SSE") > - (V2DI "TARGET_SSE") (V4SI "TARGET_SSE") (V8HI "TARGET_SSE") > + (V2DI "TARGET_SSE4_2") (V4SI "TARGET_SSE") (V8HI "TARGET_SSE") > (V16QI "TARGET_SSE")]) >=20 > (define_expand "reduc__scal_" > --cut here-- Will you do the fix? >>From gcc-bugs-return-657697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:33:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44500 invoked by alias); 28 Oct 2019 10:33:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44431 invoked by uid 48); 28 Oct 2019 10:33:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92252] [10 Regression] ICE: Segmentation fault (in vect_stmt_to_vectorize) Date: Mon, 28 Oct 2019 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02423.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92252 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-28 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >>From gcc-bugs-return-657698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:34:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45968 invoked by alias); 28 Oct 2019 10:34:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45864 invoked by uid 48); 28 Oct 2019 10:34:38 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Mon, 28 Oct 2019 10:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02424.txt.bz2 Content-length: 217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #9 from Uro=C5=A1 Bizjak --- (In reply to rguenther@suse.de from comment #8) > Will you do the fix? I have it in testing. >>From gcc-bugs-return-657699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:41:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50863 invoked by alias); 28 Oct 2019 10:41:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50752 invoked by uid 48); 28 Oct 2019 10:41:12 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92251] [10 regression] SEGV in ipa_get_cs_argument_count Date: Mon, 28 Oct 2019 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02425.txt.bz2 Content-length: 399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92251 Dmitry G. Dyachenko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimhen at gmail dot com --- Comment #1 from Dmitry G. Dyachenko --- PR92242 dup? >>From gcc-bugs-return-657700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:52:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61800 invoked by alias); 28 Oct 2019 10:52:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61737 invoked by uid 48); 28 Oct 2019 10:52:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92251] [10 regression] SEGV in ipa_get_cs_argument_count Date: Mon, 28 Oct 2019 10:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02426.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92251 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >>From gcc-bugs-return-657701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 10:53:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62768 invoked by alias); 28 Oct 2019 10:53:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62722 invoked by uid 48); 28 Oct 2019 10:53:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBtaWRkbGUtZW5kLzkyMjUwXSB2YWxncmluZDogaXJhX3RyYXZlcnNl?= =?UTF-8?B?X2xvb3BfdHJlZSDigJMgQ29uZGl0aW9uYWwganVtcCBvciBtb3ZlIGRlcGVu?= =?UTF-8?B?ZHMgb24gdW5pbml0aWFsaXNlZCB2YWx1ZQ==?= Date: Mon, 28 Oct 2019 10:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02427.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92250 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Richard Biener --- =2E >>From gcc-bugs-return-657702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 11:17:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84788 invoked by alias); 28 Oct 2019 11:17:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84723 invoked by uid 48); 28 Oct 2019 11:17:37 -0000 From: "e2lahav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77882] [Aarch64] Add 'naked' function attribute Date: Mon, 28 Oct 2019 11:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: e2lahav at gmail dot com X-Bugzilla-Status: NEW 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: cc attachments.created Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02428.txt.bz2 Content-length: 869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77882 Elad Lahav changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |e2lahav at gmail dot com --- Comment #4 from Elad Lahav --- Created attachment 47119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47119&action=3Dedit Proposed implementation of naked functions for aarch64 The change is quite simple (see the proposed patch). I hope it can be made,= as I find naked functions quite useful, especially by allowing the use of cert= ain C features in otherwise pure assembly code (e.g., offsetof, _Static_assert). Aesthetically, naked functions provide proper prototypes that are easier to follow, document and test. >>From gcc-bugs-return-657703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 11:31:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114051 invoked by alias); 28 Oct 2019 11:31:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104939 invoked by uid 55); 28 Oct 2019 11:30:37 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Mon, 28 Oct 2019 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02429.txt.bz2 Content-length: 625 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #10 from uros at gcc dot gnu.org --- Author: uros Date: Mon Oct 28 11:29:43 2019 New Revision: 277510 URL: https://gcc.gnu.org/viewcvs?rev=3D277510&root=3Dgcc&view=3Drev Log: PR target/92225 * config/i386/sse.md (REDUC_SSE_SMINMAX_MODE): Use TARGET_SSE4_2 condition for V2DImode. testsuite/ChangeLog: PR target/92225 * gcc.target/i386/pr92225.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr92225.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 11:33:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116276 invoked by alias); 28 Oct 2019 11:33:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116220 invoked by uid 48); 28 Oct 2019 11:33:37 -0000 From: "lutztonineubert at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88165] error: default member initializer for 'A::B::m' required before the end of its enclosing class Date: Mon, 28 Oct 2019 11:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: lutztonineubert at gmail dot com 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02430.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88165 Toni Neubert changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lutztonineubert at gmail d= ot com --- Comment #2 from Toni Neubert --- Any update on this? >>From gcc-bugs-return-657705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 11:40:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129792 invoked by alias); 28 Oct 2019 11:40:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129679 invoked by uid 48); 28 Oct 2019 11:39:59 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88165] error: default member initializer for 'A::B::m' required before the end of its enclosing class Date: Mon, 28 Oct 2019 11:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02431.txt.bz2 Content-length: 590 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88165 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-28 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Marek Polacek --- As of now, this code is still rejected. >>From gcc-bugs-return-657706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 11:44:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3657 invoked by alias); 28 Oct 2019 11:44:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3578 invoked by uid 48); 28 Oct 2019 11:44:30 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/92154] new glibc breaks arm bootstrap due to libsanitizer Date: Mon, 28 Oct 2019 11:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02432.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92154 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-28 Ever confirmed|0 |1 --- Comment #3 from Tamar Christina --- Fixed on trunk. Should I backport the patch? >>From gcc-bugs-return-657707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 12:23:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36812 invoked by alias); 28 Oct 2019 12:23:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36746 invoked by uid 48); 28 Oct 2019 12:23:17 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88165] error: default member initializer for 'A::B::m' required before the end of its enclosing class Date: Mon, 28 Oct 2019 12:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02433.txt.bz2 Content-length: 163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88165 --- Comment #4 from Marek Polacek --- Maybe we need more delayed parsing here. >>From gcc-bugs-return-657708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 12:26:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41104 invoked by alias); 28 Oct 2019 12:25:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41019 invoked by uid 55); 28 Oct 2019 12:25:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92249] ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Date: Mon, 28 Oct 2019 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02434.txt.bz2 Content-length: 600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Oct 28 12:25:09 2019 New Revision: 277512 URL: https://gcc.gnu.org/viewcvs?rev=3D277512&root=3Dgcc&view=3Drev Log: 2019-10-28 Richard Biener PR c/92249 * gimple-parser.c (c_parser_parse_gimple_body): Make current_bb the entry block initially to easier recover from errors. (c_parser_gimple_compound_statement): Adjust. Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/gimple-parser.c >>From gcc-bugs-return-657709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 12:26:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41889 invoked by alias); 28 Oct 2019 12:26:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41804 invoked by uid 48); 28 Oct 2019 12:26:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92249] ICE in c_parser_gimple_compound_statement w/ GIMPLE testcases Date: Mon, 28 Oct 2019 12:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords bug_status assigned_to Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02435.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92249 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery Status|ASSIGNED |NEW Assignee|rguenth at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #6 from Richard Biener --- ICE in build2 w/o -fgimple remains. >>From gcc-bugs-return-657710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 12:32:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50586 invoked by alias); 28 Oct 2019 12:32:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50540 invoked by uid 48); 28 Oct 2019 12:32:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Mon, 28 Oct 2019 12:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02436.txt.bz2 Content-length: 444 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Richard Biener --- Fixed. Thanks Uros. >>From gcc-bugs-return-657711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 12:35:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59605 invoked by alias); 28 Oct 2019 12:35:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59503 invoked by uid 48); 28 Oct 2019 12:35:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92228] [10 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Date: Mon, 28 Oct 2019 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02437.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92228 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #2 from Richard Biener --- The testcase will be fixed with the patch for PR92241, still a reduced test= case would be nice. >>From gcc-bugs-return-657712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:01:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11630 invoked by alias); 28 Oct 2019 13:01:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11411 invoked by uid 48); 28 Oct 2019 13:01:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92253] New: [10 Regression] 25% regression in 465.tonto with LTO Date: Mon, 28 Oct 2019 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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 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-SW-Source: 2019-10/txt/msg02438.txt.bz2 Content-length: 691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92253 Bug ID: 92253 Summary: [10 Regression] 25% regression in 465.tonto with LTO Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Between r277365 (good) and r277433 (bad) czerny observes a big regression f= or 465.tonto, but only with -flto (-Ofast -march=3Dhaswell otherwise). Suspicious revs include the IPA reference refactoring in r277403. >>From gcc-bugs-return-657713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:01:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12653 invoked by alias); 28 Oct 2019 13:01:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12548 invoked by uid 48); 28 Oct 2019 13:01:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92253] [10 Regression] 25% regression in 465.tonto with LTO Date: Mon, 28 Oct 2019 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc blocked target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02439.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92253 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization, | |needs-bisection CC| |hubicka at gcc dot gnu.org Blocks| |26163 Target Milestone|--- |10.0 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 [Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) >>From gcc-bugs-return-657714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:10:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19787 invoked by alias); 28 Oct 2019 13:10:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19682 invoked by uid 55); 28 Oct 2019 13:10:30 -0000 From: "iii at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92007] [9/10 Regression] ICE: verify_flow_info failed (error: EH edge crosses section boundary in bb 7) Date: Mon, 28 Oct 2019 13:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: EH, ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iii at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02440.txt.bz2 Content-length: 3142 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92007 --- Comment #18 from iii at gcc dot gnu.org --- Author: iii Date: Mon Oct 28 13:09:54 2019 New Revision: 277515 URL: https://gcc.gnu.org/viewcvs?rev=3D277515&root=3Dgcc&view=3Drev Log: Move jump threading before reload r266734 has introduced a new instance of jump threading pass in order to take advantage of opportunities that combine opens up. It was perceived back then that it was beneficial to delay it after reload, since that might produce even more such opportunities. Unfortunately jump threading interferes with hot/cold partitioning. In the code from PR92007, it converts the following +-------------------------- 2/HOT ------------------------+ | | v v 3/HOT --> 5/HOT --> 8/HOT --> 11/COLD --> 6/HOT --EH--> 16/HOT | ^ | | +-------------------------------+ into the following: +---------------------- 2/HOT ------------------+ | | v v 3/HOT --> 8/HOT --> 11/COLD --> 6/COLD --EH--> 16/HOT This makes hot bb 6 dominated by cold bb 11, and because of this fixup_partitions makes bb 6 cold as well, which in turn makes EH edge 6->16 a crossing one. Not only can't we have crossing EH edges, we are also not allowed to introduce new crossing edges after reload in general, since it might require extra registers on some targets. Therefore, move the jump threading pass between combine and hot/cold partitioning. Building SPEC 2006 and SPEC 2017 with the old and the new code indicates that: * When doing jump threading right after reload, 3889 edges are threaded. * When doing jump threading right after combine, 3918 edges are threaded. This means this change will not introduce performance regressions. gcc/ChangeLog: 2019-10-28 Ilya Leoshkevich Backport from mainline PR rtl-optimization/92007 * cfgcleanup.c (thread_jump): Add an assertion that we don't call it after reload if hot/cold partitioning has been done. (class pass_postreload_jump): Rename to pass_jump_after_combine. (make_pass_postreload_jump): Rename to make_pass_jump_after_combine. * passes.def(pass_postreload_jump): Move before reload, rename to pass_jump_after_combine. * tree-pass.h (make_pass_postreload_jump): Rename to make_pass_jump_after_combine. gcc/testsuite/ChangeLog: 2019-10-28 Ilya Leoshkevich Backport from mainline PR rtl-optimization/92007 * g++.dg/opt/pr92007.C: New test (from Arseny Solokha). Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/opt/pr92007.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/cfgcleanup.c branches/gcc-9-branch/gcc/passes.def branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-pass.h >>From gcc-bugs-return-657715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:42:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86964 invoked by alias); 28 Oct 2019 13:42:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86894 invoked by uid 48); 28 Oct 2019 13:42:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92241] [10 Regression] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Mon, 28 Oct 2019 13:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02441.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-657716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:42:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94485 invoked by alias); 28 Oct 2019 13:42:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91893 invoked by uid 55); 28 Oct 2019 13:42:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92241] [10 Regression] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Mon, 28 Oct 2019 13:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02442.txt.bz2 Content-length: 974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Oct 28 13:42:03 2019 New Revision: 277516 URL: https://gcc.gnu.org/viewcvs?rev=3D277516&root=3Dgcc&view=3Drev Log: 2019-10-28 Richard Biener PR tree-optimization/92241 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): When we failed to update the reduction index do not use the pattern stmts for the reduction chain. (vectorizable_reduction): When the reduction chain is corrupt, fail. * tree-vect-patterns.c (vect_mark_pattern_stmts): Stop when we fail to update the reduction chain. * gcc.dg/torture/pr92241.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr92241.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-patterns.c >>From gcc-bugs-return-657718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:44:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97914 invoked by alias); 28 Oct 2019 13:44:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97822 invoked by uid 55); 28 Oct 2019 13:44:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92252] [10 Regression] ICE: Segmentation fault (in vect_stmt_to_vectorize) Date: Mon, 28 Oct 2019 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02444.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92252 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Oct 28 13:43:49 2019 New Revision: 277517 URL: https://gcc.gnu.org/viewcvs?rev=3D277517&root=3Dgcc&view=3Drev Log: 2019-10-28 Richard Biener PR tree-optimization/92252 * tree-vect-slp.c (vect_get_and_check_slp_defs): Adjust STMT_VINFO_REDUC_IDX when swapping operands. * gcc.dg/torture/pr92252.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr92252.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c >>From gcc-bugs-return-657719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:44:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97920 invoked by alias); 28 Oct 2019 13:44:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97841 invoked by uid 48); 28 Oct 2019 13:44:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92228] [10 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Date: Mon, 28 Oct 2019 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02445.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92228 --- Comment #3 from Richard Biener --- Fixed, but leaving open for a possibly new testcase. >>From gcc-bugs-return-657720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:44:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99231 invoked by alias); 28 Oct 2019 13:44:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99118 invoked by uid 48); 28 Oct 2019 13:44:44 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77882] [Aarch64] Add 'naked' function attribute Date: Mon, 28 Oct 2019 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02446.txt.bz2 Content-length: 816 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77882 --- Comment #5 from Richard Earnshaw --- (In reply to Elad Lahav from comment #4) > Created attachment 47119 [details] > Proposed implementation of naked functions for aarch64 >=20 > The change is quite simple (see the proposed patch). I hope it can be mad= e, > as I find naked functions quite useful, especially by allowing the use of > certain C features in otherwise pure assembly code (e.g., offsetof, > _Static_assert). Aesthetically, naked functions provide proper prototypes > that are easier to follow, document and test. Patches need to be sent to gcc-patches@gcc.gnu.org. Note, if you've not contributed to gcc before you'll also need to sort out a copyright assignme= nt for the change (this is a non-trivial change). >>From gcc-bugs-return-657717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:44:02 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96946 invoked by alias); 28 Oct 2019 13:44:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96901 invoked by uid 48); 28 Oct 2019 13:43:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92252] [10 Regression] ICE: Segmentation fault (in vect_stmt_to_vectorize) Date: Mon, 28 Oct 2019 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02443.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92252 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Richard Biener --- Fixed. >>From gcc-bugs-return-657721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:47:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105510 invoked by alias); 28 Oct 2019 13:47:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105450 invoked by uid 48); 28 Oct 2019 13:47:51 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Date: Mon, 28 Oct 2019 13:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02447.txt.bz2 Content-length: 155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92242 --- Comment #4 from Dmitry G. Dyachenko --- r277504 PASS for me. Thank you >>From gcc-bugs-return-657722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 13:56:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34408 invoked by alias); 28 Oct 2019 13:56:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34294 invoked by uid 55); 28 Oct 2019 13:56:14 -0000 From: "guojiufu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70010] powerpc: -flto forgets 'no-vsx' function attributes Date: Mon, 28 Oct 2019 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02448.txt.bz2 Content-length: 1936 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70010 --- Comment #10 from Jiu Fu Guo --- Author: guojiufu Date: Mon Oct 28 13:55:41 2019 New Revision: 277518 URL: https://gcc.gnu.org/viewcvs?rev=3D277518&root=3Dgcc&view=3Drev Log: [rs6000] PR70010, avoid no-vsx function to be inlined to vsx function In PR70010, a function is marked with target(no-vsx) to disable VSX code generation. To avoid VSX code generation, this function should not be inlined into VSX function. To fix the bug, in the current logic when checking whether the caller's ISA flags supports the callee's ISA flags, we just need to add a test that enforces that the caller's ISA flags match exactly the callee's flags, for those flags that were explicitly set in the callee. If caller without target attribute then using options from command line. Jiufu BR gcc/ 2019-10-16 Peter Bergner Jiufu Guo PR target/70010 * config/rs6000/rs6000.c (rs6000_can_inline_p): Prohibit inlining if the callee explicitly disables some isa_flags the caller is using. gcc.testsuite/ 2019-10-16 Peter Bergner Jiufu Guo PR target/70010 * gcc.target/powerpc/pr70010.c: New test. * gcc.target/powerpc/pr70010-1.c: New test. * gcc.target/powerpc/pr70010-3.c: New test. * gcc.target/powerpc/pr70010-4.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr70010-1.c branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr70010-3.c branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr70010-4.c branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr70010.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/rs6000/rs6000.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:02:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72178 invoked by alias); 28 Oct 2019 14:02:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69320 invoked by uid 48); 28 Oct 2019 14:02:22 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92254] New: [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000 Date: Mon, 28 Oct 2019 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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 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-SW-Source: 2019-10/txt/msg02449.txt.bz2 Content-length: 1358 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92254 Bug ID: 92254 Summary: [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- r277460 PASS r277504 FAIL Fedora 31 x86_64 gcc -shared -fPIC -DPIC -flto [40+ files] -Wl,-version-script -Wl,ver.file = -o ... during IPA pass: inline lto1: internal compiler error: in inline_small_functions, at ipa-inline.c:2= 000 0x900b07 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2000 0x900b07 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x900b07 execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /usr/local/binutils_current/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status >>From gcc-bugs-return-657724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:02:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72851 invoked by alias); 28 Oct 2019 14:02:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72132 invoked by uid 48); 28 Oct 2019 14:02:29 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92242] [10 regression] LTO ICE in ipa_get_cs_argument_count ipa-prop.h:598 Date: Mon, 28 Oct 2019 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02450.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92242 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jan Hubicka --- Thanks for confirmation (and testcase). Sadly I am not sure how to put it i= nto testsuite but given that other tests also broke I hope this patch is tested sufficiently. Honza >>From gcc-bugs-return-657726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:17:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12725 invoked by alias); 28 Oct 2019 14:17:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12659 invoked by uid 55); 28 Oct 2019 14:17:25 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Mon, 28 Oct 2019 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02452.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 --- Comment #12 from uros at gcc dot gnu.org --- Author: uros Date: Mon Oct 28 14:16:50 2019 New Revision: 277520 URL: https://gcc.gnu.org/viewcvs?rev=3D277520&root=3Dgcc&view=3Drev Log: PR target/92225 * config/i386/sse.md (REDUC_SSE_SMINMAX_MODE): Use TARGET_SSE4_2 condition for V2DImode. testsuite/ChangeLog: PR target/92225 * gcc.target/i386/pr92225.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr92225.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/i386/sse.md branches/gcc-9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:17:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11924 invoked by alias); 28 Oct 2019 14:17:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11824 invoked by uid 48); 28 Oct 2019 14:17:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92254] [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000 Date: Mon, 28 Oct 2019 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02451.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92254 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >>From gcc-bugs-return-657727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:23:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24428 invoked by alias); 28 Oct 2019 14:23:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24339 invoked by uid 48); 28 Oct 2019 14:23:40 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92225] ice in gen_smaxv2di3, at config/i386/sse.md:12225 Date: Mon, 28 Oct 2019 14:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02453.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92225 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- CC|uros at gcc dot gnu.org | Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com Target Milestone|--- |9.3 --- Comment #13 from Uro=C5=A1 Bizjak --- Fixed for 9.3+. >>From gcc-bugs-return-657728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:24:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34538 invoked by alias); 28 Oct 2019 14:24:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29719 invoked by uid 55); 28 Oct 2019 14:23:58 -0000 From: "guojiufu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70010] powerpc: -flto forgets 'no-vsx' function attributes Date: Mon, 28 Oct 2019 14:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02454.txt.bz2 Content-length: 757 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70010 --- Comment #11 from Jiu Fu Guo --- Author: guojiufu Date: Mon Oct 28 14:23:26 2019 New Revision: 277521 URL: https://gcc.gnu.org/viewcvs?rev=3D277521&root=3Dgcc&view=3Drev Log: Backport from mainline PR target/70010 * gcc.target/powerpc/pr70010.c: Add -Wno-psabi. * gcc.target/powerpc/pr70010-1.c: Require LTO. * gcc.target/powerpc/pr70010-2.c: Require LTO. Modified: branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010-1.c branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010-2.c branches/gcc-9-branch/gcc/testsuite/gcc.target/powerpc/pr70010.c >>From gcc-bugs-return-657729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:29:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53712 invoked by alias); 28 Oct 2019 14:29:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53643 invoked by uid 55); 28 Oct 2019 14:29:52 -0000 From: "paul.richard.thomas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91863] [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:156 Date: Mon, 28 Oct 2019 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paul.richard.thomas at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02455.txt.bz2 Content-length: 1449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91863 --- Comment #5 from paul.richard.thomas at gmail dot com --- Hi Tobias, It was my intention to commit the patch for PR91926 to 9-branch tonight. I take it that there was no problem with yours? Cheers Paul On Mon, 28 Oct 2019 at 07:34, burnus at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91863 > > --- Comment #2 from Tobias Burnus --- > Author: burnus > Date: Mon Oct 28 07:33:29 2019 > New Revision: 277502 > > URL: https://gcc.gnu.org/viewcvs?rev=3D277502&root=3Dgcc&view=3Drev > Log: > Fortran] PR91863 - fix call to bind(C) with array descriptor > > PR fortran/91863 > * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Don't free data > memory as that's done on the Fortran side. > (gfc_conv_procedure_call): Handle void* pointers from > gfc_conv_gfc_desc_to_cfi_desc. > > PR fortran/91863 > * gfortran.dg/bind-c-intent-out.f90: New. > > > Added: > trunk/gcc/testsuite/gfortran.dg/bind-c-intent-out.f90 > Modified: > trunk/gcc/fortran/ChangeLog > trunk/gcc/fortran/trans-expr.c > trunk/gcc/testsuite/ChangeLog > > -- > You are receiving this mail because: > You are on the CC list for the bug. -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein >>From gcc-bugs-return-657730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:31:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55727 invoked by alias); 28 Oct 2019 14:31:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55504 invoked by uid 55); 28 Oct 2019 14:30:59 -0000 From: "guojiufu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70010] powerpc: -flto forgets 'no-vsx' function attributes Date: Mon, 28 Oct 2019 14:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02456.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70010 --- Comment #12 from Jiu Fu Guo --- Author: guojiufu Date: Mon Oct 28 14:30:05 2019 New Revision: 277523 URL: https://gcc.gnu.org/viewcvs?rev=3D277523&root=3Dgcc&view=3Drev Log: Backport from mainline PR target/70010 * gcc.target/powerpc/pr70010.c: Add -Wno-psabi and -mvsx. Modified: branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr70010.c >>From gcc-bugs-return-657731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:37:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82638 invoked by alias); 28 Oct 2019 14:37:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75956 invoked by uid 48); 28 Oct 2019 14:36:57 -0000 From: "e2lahav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77882] [Aarch64] Add 'naked' function attribute Date: Mon, 28 Oct 2019 14:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: e2lahav at gmail dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02457.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77882 --- Comment #6 from Elad Lahav --- (In reply to Richard Earnshaw from comment #5) > Patches need to be sent to gcc-patches@gcc.gnu.org. Note, if you've not > contributed to gcc before you'll also need to sort out a copyright > assignment for the change (this is a non-trivial change). Yes, I figured there is more process to submitting a change. At this point I just wanted to point out that it is a simple enough fix. >>From gcc-bugs-return-657732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:42:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72491 invoked by alias); 28 Oct 2019 14:42:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72440 invoked by uid 48); 28 Oct 2019 14:42:12 -0000 From: "amacleod at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/23577] spurious warnings about unhandled cases in switches (need VRP and control flow in front-end) Date: Mon, 28 Oct 2019 14:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: amacleod at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02458.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D23577 Andrew Macleod changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amacleod at redhat dot com --- Comment #4 from Andrew Macleod --- We do hope to be able to do better switch analysis eventually. Not so much because of the on-demand nature, but rather through the new range class whe= re we can represent more subranges and produce more accurate results. >>From gcc-bugs-return-657733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:43:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78260 invoked by alias); 28 Oct 2019 14:43:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78166 invoked by uid 48); 28 Oct 2019 14:43:01 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77882] [Aarch64] Add 'naked' function attribute Date: Mon, 28 Oct 2019 14:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02459.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77882 --- Comment #7 from Andrew Pinski --- The problem with the naked attribute is usually it is not well defined. For things like interrupts functions and interrupt returns, there is always pla= in .s files. Interrupts usually save/restore all registers including the float= ing point ones. So they are large. The float point ones can get complex now w= ith SVE too. >>From gcc-bugs-return-657734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:47:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81018 invoked by alias); 28 Oct 2019 14:47:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80941 invoked by uid 48); 28 Oct 2019 14:47:04 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91863] [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:156 Date: Mon, 28 Oct 2019 14:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02460.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91863 --- Comment #6 from Tobias Burnus --- (In reply to paul.richard.thomas@gmail.com from comment #5) > It was my intention to commit the patch for PR91926 to 9-branch > tonight. I take it that there was no problem with yours? Yes, fine with me. (I think that was not meant for Bugzilla =E2=80=93 still, I also reply on B= ugzilla for completeness.) >>From gcc-bugs-return-657735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:51:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92131 invoked by alias); 28 Oct 2019 14:51:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92101 invoked by uid 48); 28 Oct 2019 14:51:09 -0000 From: "e2lahav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77882] [Aarch64] Add 'naked' function attribute Date: Mon, 28 Oct 2019 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: e2lahav at gmail dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02461.txt.bz2 Content-length: 1139 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77882 --- Comment #8 from Elad Lahav --- (In reply to Andrew Pinski from comment #7) > The problem with the naked attribute is usually it is not well defined. = For > things like interrupts functions and interrupt returns, there is always > plain .s files. Interrupts usually save/restore all registers including t= he > floating point ones. So they are large. The float point ones can get > complex now with SVE too. I am actually using this facility to write kernel entry and exit routines. = As I said, the advantage over pure assembly files is that you can use offsetof()= and _Static_assert() when storing and loading registers to and from kernel data structures. You can also break up large chunks (such as storing and loading= FPU registers) into inline functions. So far it looks like the compiler is doing the right thing with a combinati= on of naked functions and inline functions: the code I get is exactly the inli= ne assembly in these functions without any modifications or additions. If that= is not guaranteed then it is indeed a problem. >>From gcc-bugs-return-657736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 14:51:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94360 invoked by alias); 28 Oct 2019 14:51:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94280 invoked by uid 55); 28 Oct 2019 14:51:34 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91272] [SVE] Use fully-masked loops for CLASTB reductions Date: Mon, 28 Oct 2019 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02462.txt.bz2 Content-length: 1494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91272 --- Comment #1 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Mon Oct 28 14:50:58 2019 New Revision: 277524 URL: https://gcc.gnu.org/viewcvs?rev=3D277524&root=3Dgcc&view=3Drev Log: 2019-10-28 Prathamesh Kulkarni PR middle-end/91272 * tree-vect-stmts.c (vectorizable_condition): Support EXTRACT_LAST_REDUCTION with fully-masked loops. testsuite/ * gcc.target/aarch64/sve/clastb_1.c: Add dg-scan. * gcc.target/aarch64/sve/clastb_2.c: Likewise. * gcc.target/aarch64/sve/clastb_3.c: Likewise. * gcc.target/aarch64/sve/clastb_4.c: Likewise. * gcc.target/aarch64/sve/clastb_5.c: Likewise. * gcc.target/aarch64/sve/clastb_6.c: Likewise. * gcc.target/aarch64/sve/clastb_7.c: Likewise. * gcc.target/aarch64/sve/clastb_8.c: Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_1.c trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_2.c trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_3.c trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_4.c trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_5.c trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_6.c trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_7.c trunk/gcc/testsuite/gcc.target/aarch64/sve/clastb_8.c trunk/gcc/tree-vect-stmts.c >>From gcc-bugs-return-657737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 15:01:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6194 invoked by alias); 28 Oct 2019 15:01:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2105 invoked by uid 48); 28 Oct 2019 15:01:24 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92255] New: No "did you mean" hint for specialization of unrecognised variable template Date: Mon, 28 Oct 2019 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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 keywords bug_severity priority component assigned_to reporter target_milestone 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-SW-Source: 2019-10/txt/msg02463.txt.bz2 Content-length: 958 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92255 Bug ID: 92255 Summary: No "did you mean" hint for specialization of unrecognised variable template Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- namespace X::Y { template inline constexpr bool foo =3D false; } struct A { }; template<> constexpr bool X::foo =3D true; Compiled with -std=3Dgnu++17 this says: v.cc:8:22: error: expected initializer before '<' token 8 | constexpr bool X::foo =3D true; | ^ It would be useful to suggest X::Y::foo. I spent an embarrassingly long time trying to figure out why my specializat= ion wasn't compiling. >>From gcc-bugs-return-657738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 15:02:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52425 invoked by alias); 28 Oct 2019 15:02:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36346 invoked by uid 55); 28 Oct 2019 15:02:02 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Mon, 28 Oct 2019 15:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02464.txt.bz2 Content-length: 1046 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92163 --- Comment #7 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Mon Oct 28 15:01:24 2019 New Revision: 277525 URL: https://gcc.gnu.org/viewcvs?rev=3D277525&root=3Dgcc&view=3Drev Log: 2019-10-28 Prathamesh Kulkarni PR tree-optimization/92163 * tree-ssa-dse.c (delete_dead_or_redundant_assignment): New param need_eh_cleanup with default value NULL. Gate on need_eh_cleanup before calling bitmap_set_bit. (dse_optimize_redundant_stores): Pass global need_eh_cleanup to delete_dead_or_redundant_assignment. (dse_dom_walker::dse_optimize_stmt): Likewise. * tree-ssa-dse.h (delete_dead_or_redundant_assignment): Adjust prototype. testsuite/ * gcc.dg/tree-ssa/pr92163.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr92163.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-dse.c trunk/gcc/tree-ssa-dse.h >>From gcc-bugs-return-657739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 15:19:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36863 invoked by alias); 28 Oct 2019 15:19:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36753 invoked by uid 48); 28 Oct 2019 15:19:14 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Mon, 28 Oct 2019 15:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02465.txt.bz2 Content-length: 573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92178 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #11 from Tobias Burnus --- See also patch submitted at https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01686.html And patch review showing some additional issues, https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01970.html >>From gcc-bugs-return-657740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 15:28:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123289 invoked by alias); 28 Oct 2019 15:28:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123228 invoked by uid 48); 28 Oct 2019 15:28:25 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/92256] New: [10 regression] error in gcc.dg/unroll-and-jam.c after r277501 Date: Mon, 28 Oct 2019 15:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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 target_milestone 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-SW-Source: 2019-10/txt/msg02466.txt.bz2 Content-length: 2798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92256 Bug ID: 92256 Summary: [10 regression] error in gcc.dg/unroll-and-jam.c after r277501 Product: gcc Version: 10.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: --- Tried 277501 make -k check-gcc RUNTESTFLAGS=3Ddg.exp=3Dgcc.dg/unroll-and-jam.c FAIL: gcc.dg/unroll-and-jam.c scan-tree-dump-times unrolljam "applying unro= ll and jam" 6 # of expected passes 2 # of unexpected failures 1 Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/unroll-and-jam.c=20=20=20 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -fdiagnostics-urls=3Dnever -O3 -floop-unroll= -and-jam --param unroll-jam-min-percent=3D0 -fdump-tree-unrolljam-details -lm -o ./unroll-and-jam.exe (timeout =3D 300) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/unroll-and-jam.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -fdiagnostics-urls=3Dnever -O3 -floop-unroll-an= d-jam --param unroll-jam-min-percent=3D0 -fdump-tree-unrolljam-details -lm -o ./unroll-and-jam.exe PASS: gcc.dg/unroll-and-jam.c (test for excess errors) Setting LD_LIBRARY_PATH to :/home/seurer/gcc/build/gcc-test2/gcc::/home/seurer/gcc/build/gcc-test2/gcc= :/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-te= st2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/hom= e/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/g= cc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.l= ibs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc= -test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64 Execution timeout is: 300 spawn [open ...] foo1 ok foo1 foo2 ok foo2 foo3 ok foo3 foo4 ok foo4 foo5 ok foo5 foo6 ok foo6 foo61 ok foo61 foo62 ok foo62 foo63 ok foo63 foo7 ok foo7 foo8 ok foo8 foo9 ok foo9 foo10 ok foo10 foo11 ok foo11 PASS: gcc.dg/unroll-and-jam.c execution test gcc.dg/unroll-and-jam.c: pattern found 5 times FAIL: gcc.dg/unroll-and-jam.c scan-tree-dump-times unrolljam "applying unro= ll and jam" 6 testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed i= n 2 seconds =3D=3D=3D gcc Summary =3D=3D=3D # of expected passes 2 # of unexpected failures 1 >>From gcc-bugs-return-657741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 16:33:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80330 invoked by alias); 28 Oct 2019 16:32:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80260 invoked by uid 48); 28 Oct 2019 16:32:53 -0000 From: "ilya at alfs dot me" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92257] New: AVX512 incorrect usage of aligned loads and stores Date: Mon, 28 Oct 2019 16:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ilya at alfs dot me 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 target_milestone 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-SW-Source: 2019-10/txt/msg02467.txt.bz2 Content-length: 1112 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92257 Bug ID: 92257 Summary: AVX512 incorrect usage of aligned loads and stores Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ilya at alfs dot me Target Milestone: --- Hello, I had few segmentation faults while writing AVX512 code. SEGFAULTs were cau= sed by aligned loads used when data alignment can not be guaranteed in compile time. test.c: #include __m512i foo(__m512i *a) { return a[100]; } gcc -S -O3 -march=3Dicelake-client -mavx512f ./test.c test.s: .file "test.c" .text .p2align 4 .globl foo .type foo, @function foo: .LFB5279: .cfi_startproc vmovdqa64 6400(%rdi), %zmm0 ret .cfi_endproc .LFE5279: .size foo, .-foo .ident "GCC: (GNU) 9.2.1 20190827 (Red Hat 9.2.1-1)" .section .note.GNU-stack,"",@progbits >>From gcc-bugs-return-657742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 16:40:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31348 invoked by alias); 28 Oct 2019 16:40:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31285 invoked by uid 48); 28 Oct 2019 16:40:39 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92257] AVX512 incorrect usage of aligned loads and stores Date: Mon, 28 Oct 2019 16:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status component resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02468.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92257 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|c |target Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- The alignment requirement for __m512i is 512 byte aligned. The intrinsics = that does an unaligned load works correctly us that. >>From gcc-bugs-return-657743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 16:55:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43219 invoked by alias); 28 Oct 2019 16:55:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43164 invoked by uid 48); 28 Oct 2019 16:55:46 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92228] [10 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Date: Mon, 28 Oct 2019 16:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02469.txt.bz2 Content-length: 1541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92228 --- Comment #4 from Arseny Solokha --- Done. int ze, r2; int i0[2]; void np (int ch) { while (ch < 1) { if (i0[ch] !=3D 0) ze =3D r2 =3D ch; ++ch; } } % gcc-10.0.0-alpha20191027 -O3 -c bisb9gfl.c during GIMPLE pass: vect bisb9gfl.c: In function 'np': bisb9gfl.c:5:1: internal compiler error: in vectorizable_reduction, at tree-vect-loop.c:5730 5 | np (int ch) | ^~ 0x6ba80d vectorizable_reduction(_stmt_vec_info*, _slp_tree*, _slp_instance*, vec*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:5730 0xe8bed9 vect_analyze_loop_operations =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:1560 0xe8bed9 vect_analyze_loop_2 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:2079 0xe8bed9 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vect-loop.c:2367 0xea47d4 try_vectorize_loop_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vectorizer.c:886 0xea55f4 vectorize_loops() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/tree-vectorizer.c:1114 >>From gcc-bugs-return-657744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 16:57:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50327 invoked by alias); 28 Oct 2019 16:57:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49685 invoked by uid 48); 28 Oct 2019 16:57:50 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Mon, 28 Oct 2019 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02470.txt.bz2 Content-length: 141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92163 --- Comment #8 from Arseny Solokha --- So can be closed now? >>From gcc-bugs-return-657745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 17:18:02 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93086 invoked by alias); 28 Oct 2019 17:18:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92999 invoked by uid 48); 28 Oct 2019 17:17:55 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88337] Implement P1002R1, P1327R1, P1330R0, C++20 relaxations of constexpr restrictions. Date: Mon, 28 Oct 2019 17:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02471.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88337 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #4 from Marek Polacek --- P1002R1 and P1330R0 were implemented in GCC 9. Taking this PR since I'm looking into P1327R1 (for GCC 10). >>From gcc-bugs-return-657746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 17:22:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107234 invoked by alias); 28 Oct 2019 17:22:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106650 invoked by uid 48); 28 Oct 2019 17:22:32 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92258] New: [10 Regression] ICE: output_operand: invalid %-code Date: Mon, 28 Oct 2019 17:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 keywords bug_severity priority component assigned_to reporter target_milestone 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-SW-Source: 2019-10/txt/msg02472.txt.bz2 Content-length: 2124 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92258 Bug ID: 92258 Summary: [10 Regression] ICE: output_operand: invalid %-code Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc-10.0.0-alpha20191027 snapshot (r277495) ICEs when compiling the followi= ng testcase reduced from gcc/testsuite/gcc.target/i386/sse-23.c (many more testcases also ICE similarly) w/ -masm=3Dintel: typedef double vz __attribute__ ((__vector_size__ (16))); int v2 (vz pv, vz bc) { return __builtin_ia32_ucomisdeq (pv, bc); } % x86_64-unknown-linux-gnu-gcc-10.0.0-alpha20191027 -masm=3Dintel -c k467o9= dg.c during RTL pass: final k467o9dg.c: In function 'v2': k467o9dg.c:7:1: internal compiler error: output_operand: invalid %-code 7 | } | ^ 0x981dbb output_operand_lossage(char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/final.c:3610 0x9834b4 output_asm_insn(char const*, rtx_def**) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/final.c:3979 0x98558c final_scan_insn_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/final.c:3107 0x98586e final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/final.c:3153 0x985960 final_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/final.c:2021 0x986504 rest_of_handle_final =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/final.c:4659 0x986504 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191027/work/gcc-10-20191027/gc= c/final.c:4737 >>From gcc-bugs-return-657747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 17:54:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35127 invoked by alias); 28 Oct 2019 17:54:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34864 invoked by uid 48); 28 Oct 2019 17:53:59 -0000 From: "ilya at alfs dot me" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92257] AVX512 incorrect usage of aligned loads and stores Date: Mon, 28 Oct 2019 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ilya at alfs dot me X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02473.txt.bz2 Content-length: 264 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92257 --- Comment #2 from Ilya Albrekht --- Thank you for your prompt reply. I missed that __m512i_u type exists to avo= id alignment requirement. PS. I guess you meant 512 bit? Regards, Ilya >>From gcc-bugs-return-657748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 17:56:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37934 invoked by alias); 28 Oct 2019 17:56:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37904 invoked by uid 48); 28 Oct 2019 17:56:03 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92257] AVX512 incorrect usage of aligned loads and stores Date: Mon, 28 Oct 2019 17:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02474.txt.bz2 Content-length: 228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92257 --- Comment #3 from Andrew Pinski --- (In reply to Ilya Albrekht from comment #2) > PS. I guess you meant 512 bit? Yes I mean 512bit or 64 byte. >>From gcc-bugs-return-657749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:20:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77099 invoked by alias); 28 Oct 2019 18:20:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77053 invoked by uid 48); 28 Oct 2019 18:20:11 -0000 From: "jan at jki dot io" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/92259] New: ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name Date: Mon, 28 Oct 2019 18:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan at jki dot io 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 attachments.created 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-SW-Source: 2019-10/txt/msg02475.txt.bz2 Content-length: 5961 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92259 Bug ID: 92259 Summary: ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 47120 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47120&action=3Dedit preprocessed source COLLECT_GCC_OPTIONS=3D'-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '/var/tmp/portage/media-libs/harfbuzz-2.6.2/work/harfbuzz-2.6.2/src' '-I' '= ..' '-pthread' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-I' '/usr/include/freetype2' '-I' '/usr/include/harfbuzz' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-D' 'HB_NDEBUG' '-fno-rtt i' '-pipe' '-march=3Dskylake' '-O1' '-g' '-v' '-save-temps' '-fPIC' '-flto' '-fauto-profile=3D/usr/src/gcov/media-libs/harfbuzz.gcov' '-fno-strict-alia= sing' '-std=3Dc++14' '-fno-excepti ons' '-fno-threadsafe-statics' '-fvisibility-inlines-hidden' '-c' '-shared-libgcc' /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre9999/cc1plus -fpreprocessed hb-ot-layout.ii -quiet -dumpbase hb-ot-layout.cc -march=3Dskylake -auxbase hb-ot-layout -g -O1 -std=3Dc++14 -version -fno-rtti -fPIC -flto -fauto-profile=3D/usr/src/gcov/media-libs/harfbuzz.gcov -fno-strict-aliasing -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -o h b-ot-layout.s GNU C++14 (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191028 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191028 (experimental), G= MP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-= GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++14 (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191028 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191028 (experimental), G= MP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-= GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 437eac8c0b7590909de6c19d5daad7d0 during GIMPLE pass: einline =E2=80=98 In file included from /var/tmp/portage/media-libs/harfbuzz-2.6.2/work/harfbuzz-2.6.2/src/hb.hh:60= 8, from /var/tmp/portage/media-libs/harfbuzz-2.6.2/work/harfbuzz-2.6.2/src/hb-ot-la= yout.cc:31: in pp_format, at pretty-print.c:1394 372 | hb_map_iter_t (const Iter& it, Proj f_) : it (it), f (f_) {} | ^~~~~~~~~~~~~ 0xe9cb30 pp_format(pretty_printer*, text_info*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/p= retty-print.c:1394 0xe9dc54 pp_format_verbatim(pretty_printer*, text_info*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/p= retty-print.c:1452 0xe9dc33 pp_verbatim(pretty_printer*, char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/p= retty-print.c:1672 0x5f28d1 print_instantiation_full_context =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/error.c:3491 0x5f28d1 maybe_print_instantiation_context =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/error.c:3639 0x14a382d default_tree_diagnostic_starter =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= ree-diagnostic.c:48 0x13cdf4b diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info= *) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/d= iagnostic.c:1058 0x13cdbfd diagnostic_impl =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/d= iagnostic.c:1201 0xe97cb4 internal_error(char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/d= iagnostic.c:1582 0x8e25fd crash_signal =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/t= oplev.c:326 0x7f8fbf3e9b8f ??? =20=20=20=20=20=20=20 /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/signal/../sysdeps/unix= /sysv/linux/x86_64/sigaction.c:0 0x605ead write_closure_type_name =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:1641 0x605ead write_unqualified_name =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:1407 0xf2c4cd write_local_name =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:2004 0xf2c4cd write_name =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:962 0xf2ef6f write_class_enum_type =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:2755 0xf2ef6f write_type =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:2166 0xf2bde0 write_method_parms =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:2742 0xf2bde0 write_bare_function_type =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:2678 0xf2bde0 write_encoding =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/c= p/mangle.c:845 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. >>From gcc-bugs-return-657750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:21:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78063 invoked by alias); 28 Oct 2019 18:21:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78024 invoked by uid 48); 28 Oct 2019 18:21:12 -0000 From: "jan at jki dot io" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/92259] ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name Date: Mon, 28 Oct 2019 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan at jki dot io 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: attachments.created Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02476.txt.bz2 Content-length: 212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92259 --- Comment #1 from Jan --- Created attachment 47121 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47121&action=3Dedit gcov file >>From gcc-bugs-return-657751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:23:26 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83993 invoked by alias); 28 Oct 2019 18:23:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83953 invoked by uid 55); 28 Oct 2019 18:23:21 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92229] Optimization makes it impossible to read overflow flag Date: Mon, 28 Oct 2019 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: WAITING 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02477.txt.bz2 Content-length: 1933 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92229 --- Comment #4 from joseph at codesourcery dot com --- On Sat, 26 Oct 2019, arieltorti14 at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92229 >=20 > --- Comment #2 from Ariel Torti --- > (In reply to joseph@codesourcery.com from comment #1) > > Built-in functions related to integer overflow should be defined in ter= ms=20 > > of the C abstract machine model, not in terms of processor flags. >=20 > They should indeed, but what I want to implement here is a function that > outputs the value of the OV flag, a behavior that cannot be achieved as a > consequence of optimizations. You can write an asm to access a flag, it will just be whatever value the=20 flag has for whatever code the compiler found matched the language-level=20 semantics of your code, which may have nothing to do with your notion of=20 what the flag "should" be. Language semantics are only matched to processor features at ABI=20 boundaries, not within functions (and not across calls to inline / static=20 functions etc. either, because those aren't ABI boundaries; any good=20 language feature in this area also needs to work in the presence of=20 multiple functions, and of inlining and similar transformations, not just=20 where the arithmetic is in the same function as the code that cares about=20 whether it overflowed). > > See recent WG14 discussions around this issue for various language desi= gn=20 > > ideas. >=20 > Could you provide a link to the discussion in WG14 ? I'm not subscribed t= o it > and I cannot find it. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2428.pdf has discussions=20 of some ideas. I wasn't dialed into the WG14 meeting at the point where=20 that paper was discussed so you'll need to wait for the Ithaca minutes for= =20 more on what WG14 thought of it there. >>From gcc-bugs-return-657752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:29:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106799 invoked by alias); 28 Oct 2019 18:29:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106754 invoked by uid 55); 28 Oct 2019 18:29:21 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91926] assumed rank optional Date: Mon, 28 Oct 2019 18:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02478.txt.bz2 Content-length: 1398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91926 --- Comment #5 from Paul Thomas --- Author: pault Date: Mon Oct 28 18:28:48 2019 New Revision: 277531 URL: https://gcc.gnu.org/viewcvs?rev=3D277531&root=3Dgcc&view=3Drev Log: 2019-10-28 =C2=A0Paul Thomas =C2=A0 Backport from trunk PR fortran/91926 * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Correct the assignment of the attribute field to account correctly for an assumed shape dummy. Assign separately to the gfc and cfi descriptors since the atribute can be different. Add branch to correctly handle missing optional dummies. 2019-10-28 =C2=A0Paul Thomas =C2=A0 Backport from trunk PR fortran/91926 * gfortran.dg/ISO_Fortran_binding_13.f90 : New test. * gfortran.dg/ISO_Fortran_binding_13.c : Additional source. * gfortran.dg/ISO_Fortran_binding_14.f90 : New test. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.c branches/gcc-9-branch/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_13.= f90 branches/gcc-9-branch/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.= f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/trans-expr.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:31:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109592 invoked by alias); 28 Oct 2019 18:31:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109121 invoked by uid 48); 28 Oct 2019 18:30:27 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91926] assumed rank optional Date: Mon, 28 Oct 2019 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02479.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91926 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Paul Thomas --- Fixed on 9-branch and trunk. Thanks for the report. Paul >>From gcc-bugs-return-657754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:31:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109966 invoked by alias); 28 Oct 2019 18:31:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109545 invoked by uid 48); 28 Oct 2019 18:31:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBzYW5pdGl6ZXIvOTIyNDddIOKAmF9fTlJfb3BlbuKAmSB3YXMgbm90?= =?UTF-8?B?IGRlY2xhcmVkIGluIHRoaXMgc2NvcGUgbGlic2FuaXRpemVyL3Nhbml0aXpl?= =?UTF-8?B?cl9jb21tb24vc2FuaXRpemVyX2xpbnV4IGNvbXBpbGF0aW9uIGZhaWxlZCBv?= =?UTF-8?B?biB1YnVudHUgMTguMDQgV1NMMg==?= Date: Mon, 28 Oct 2019 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02480.txt.bz2 Content-length: 325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92247 --- Comment #2 from Andrew Pinski --- SANITIZER_USES_CANONICAL_LINUX_SYSCALLS is not defined yet but I think Linux upstream removed the define for __NR_open as it is a legacy system call only there for backwards compability for old binaries. >>From gcc-bugs-return-657755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:33:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124170 invoked by alias); 28 Oct 2019 18:33:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121833 invoked by uid 48); 28 Oct 2019 18:33:46 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBzYW5pdGl6ZXIvOTIyNDddIOKAmF9fTlJfb3BlbuKAmSB3YXMgbm90?= =?UTF-8?B?IGRlY2xhcmVkIGluIHRoaXMgc2NvcGUgbGlic2FuaXRpemVyL3Nhbml0aXpl?= =?UTF-8?B?cl9jb21tb24vc2FuaXRpemVyX2xpbnV4IGNvbXBpbGF0aW9uIGZhaWxlZCBv?= =?UTF-8?B?biB1YnVudHUgMTguMDQgV1NMMg==?= Date: Mon, 28 Oct 2019 18:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02481.txt.bz2 Content-length: 183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92247 --- Comment #3 from Andrew Pinski --- Also this seems like it should be filed/fixed upstream first. >>From gcc-bugs-return-657756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:50:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35872 invoked by alias); 28 Oct 2019 18:50:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35815 invoked by uid 55); 28 Oct 2019 18:50:43 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/41526] gimple bytecode streams are not portable between different hosts Date: Mon, 28 Oct 2019 18:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02482.txt.bz2 Content-length: 648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41526 --- Comment #5 from joseph at codesourcery dot com --- My previous comment was that the *patch* for that old bug was a=20 host-dependency, so the bug having been closed as fixed suggests that the=20 issue may be present in the source tree, not that the issue is absent. Without having reviewed the listed issues in detail, the various header=20 structures still seem to be written out as bytes without regard for=20 endianness, for example. However, HOST_WIDE_INT is now always 64-bit, so=20 anything related to size of HOST_WIDE_INT is no longer an issue. >>From gcc-bugs-return-657757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 18:52:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50212 invoked by alias); 28 Oct 2019 18:52:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50154 invoked by uid 55); 28 Oct 2019 18:52:05 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/77918] S390: Floating point comparisons don't raise invalid for unordered operands. Date: Mon, 28 Oct 2019 18:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02483.txt.bz2 Content-length: 401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77918 --- Comment #15 from joseph at codesourcery dot com --- The glibc patch does not need to wait for GCC 10 to be released (we're not= =20 concerned with old development versions of GCC in glibc, __GNUC_PREREQ=20 (10, 0) can be used for anything fixed in GCC 10 without regard for when=20 exactly the fix went in). >>From gcc-bugs-return-657758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 19:18:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80782 invoked by alias); 28 Oct 2019 19:18:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71174 invoked by uid 55); 28 Oct 2019 19:18:32 -0000 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82981] [7 Regression] unnecessary __multi3 call for mips64r6 linux kernel Date: Mon, 28 Oct 2019 19:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02484.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82981 --- Comment #18 from Jeffrey A. Law --- Author: law Date: Mon Oct 28 19:17:58 2019 New Revision: 277537 URL: https://gcc.gnu.org/viewcvs?rev=3D277537&root=3Dgcc&view=3Drev Log: PR target/82981 * config/mips/mips.md (mulditi3): Generate patterns for high doubleword and low doubleword result of multiplication on MIPS64R6. * gcc.target/mips/mips64r6-ti-mult.c: New test. Added: trunk/gcc/testsuite/gcc.target/mips/mips64r6-ti-mult.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/mips/mips.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 19:40:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121445 invoked by alias); 28 Oct 2019 19:40:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121079 invoked by uid 55); 28 Oct 2019 19:40:40 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59888] Darwin linker error "illegal text-relocation" with -shared Date: Mon, 28 Oct 2019 19:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02485.txt.bz2 Content-length: 1138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59888 --- Comment #21 from Iain Sandoe --- Author: iains Date: Mon Oct 28 19:40:03 2019 New Revision: 277540 URL: https://gcc.gnu.org/viewcvs?rev=3D277540&root=3Dgcc&view=3Drev Log: [Darwin] Amend section for constants with relocations. Darwin's linker doesn't like text section relocations (they require special enabling). The Fortran FE, at least, seems to generate cases where the initialiser for a pointer constant can need a relocation. We can handle this by special-casing SECCAT_RODATA when the relocation is present by placing the constant in the .const_data section. 2019-10-28 Iain Sandoe Backport from mainline 2019-10-05 Iain Sandoe PR target/59888 * config/darwin.c (darwin_rodata_section): Add relocation flag, choose const_data section for constants with relocations. (machopic_select_section): Pass relocation flag to darwin_rodata_section (). Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/darwin.c >>From gcc-bugs-return-657760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 19:57:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52954 invoked by alias); 28 Oct 2019 19:57:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52894 invoked by uid 55); 28 Oct 2019 19:57:00 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67183] Darwin stub vs. non_lazy pointer ordering incompatible with clang assembler. Date: Mon, 28 Oct 2019 19:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: assemble-failure, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02486.txt.bz2 Content-length: 1620 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67183 --- Comment #7 from Iain Sandoe --- Author: iains Date: Mon Oct 28 19:56:27 2019 New Revision: 277542 URL: https://gcc.gnu.org/viewcvs?rev=3D277542&root=3Dgcc&view=3Drev Log: [Darwin, machopic] Fix for 67183 When we're using the LLVM-based assembler (the default on modern Darwin) the ordering of stubs and non-lazy symbol pointers is important. Interleaving the output (current GCC behaviour) leads to crashes which prevents us from building code with symbol stubs. To resolve this, we order the output of stubs and symbol indirections: 1. Any indirections in the data section 2. Symbol stubs. 3. Non-lazy symbol pointers. At present, we still emit LTO sections after these. 2019-10-28 Iain Sandoe Backport from mainline 2019-10-12 Iain Sandoe PR target/67183 * config/darwin.c (machopic_indirection): New field to flag non-lazy-symbol-pointers in the data section. (machopic_indirection_name): Compute if an indirection should appear in the data section. (machopic_output_data_section_indirection): New callback split from machopic_output_indirection. (machopic_output_stub_indirection): Likewise. (machopic_output_indirection): Retain the code for non-lazy symbol pointers in their regular section. (machopic_finish): Use the new callbacks to order the indirection output. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/darwin.c >>From gcc-bugs-return-657761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 20:02:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62780 invoked by alias); 28 Oct 2019 20:02:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62693 invoked by uid 48); 28 Oct 2019 20:02:07 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/67299] demangler mishandles complex types Date: Mon, 28 Oct 2019 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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_status cc resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02487.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67299 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |law at gcc dot gnu.org Resolution|--- |FIXED --- Comment #5 from Eric Gallager --- Update: Jeff has fixed this in r277535: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01982.html >>From gcc-bugs-return-657762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 20:02:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63702 invoked by alias); 28 Oct 2019 20:02:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63609 invoked by uid 55); 28 Oct 2019 20:02:34 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65342] [7/8 Regression] powerpc-darwin9 m64 code-gen error exposed by r210201 Date: Mon, 28 Oct 2019 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02488.txt.bz2 Content-length: 1967 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65342 --- Comment #33 from Iain Sandoe --- Author: iains Date: Mon Oct 28 20:02:01 2019 New Revision: 277543 URL: https://gcc.gnu.org/viewcvs?rev=3D277543&root=3Dgcc&view=3Drev Log: [Darwin, PPC] Fix PR 65342. The current Darwin load/store lo_sum patterns have neither predicate nor constraint. This means that most parts of the backend, which rely on recog() to validate the rtx, can produce invalid combinations/selections. For 32bit cases this isn't a problem since we can load/store to unaligned addresses using D-mode insns. Conversely, for 64bit instructions that use DS mode, this can manifest as assemble errors (for an assembler that checks the LO14 relocations), or as crashes caused by wrong offsets (or worse, wrong content for the two LSBs). What we want to check for Y on Darwin is: - that the alignment of the Symbols' target is sufficient for DS mode - that the offset is suitable for DS mode. (while looking through the Mach-O PIC unspecs). So, the patch removes the Darwin-specific lo_sum patterns (we begin using the movdi_internal64 patterns). We also we need to extend the handling of t= he mem_operand_gpr constraint to allow looking through Mach-O PIC UNSPECs in the lo_sum cases. 2019-10-28 Iain Sandoe Backport from mainline 2019-10-17 Iain Sandoe PR target/65342 * config/rs6000/darwin.md (movdi_low, movsi_low_st): Delete. (movdi_low_st): Delete. * config/rs6000/rs6000.c (darwin_rs6000_legitimate_lo_sum_const_p): New. (mem_operand_gpr): Validate Mach-O LO_SUM cases separately. * config/rs6000/rs6000.md (movsi_low): Delete. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/rs6000/darwin.md branches/gcc-8-branch/gcc/config/rs6000/rs6000.c branches/gcc-8-branch/gcc/config/rs6000/rs6000.md >>From gcc-bugs-return-657763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 20:06:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68040 invoked by alias); 28 Oct 2019 20:06:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67363 invoked by uid 48); 28 Oct 2019 20:06:25 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92260] New: ice in exact_div, at poly-int.h:2162 Date: Mon, 28 Oct 2019 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 target_milestone attachments.created 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-SW-Source: 2019-10/txt/msg02489.txt.bz2 Content-length: 1763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92260 Bug ID: 92260 Summary: ice in exact_div, at poly-int.h:2162 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 47122 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47122&action=3Dedit C++ source code For the attached C++ code, recent gcc trunk does this with compiler flag -O3: /home/dcb/pkgsrc/pkgsrc/multimedia/x265/work/x265_3.2/source/common/pixel.c= pp:718:5: internal compiler error: in exact_div, at poly-int.h:2162 718 | int psyCost_pp(const pixel* source, intptr_t sstride, const pixel* recon, intptr_t rstride) | ^~~~~~~~~~ 0x7eacd1 poly_int<1u, poly_result::is_poly>::type, poly_coeff_pair_traits::is_poly>::type>::result_kind>::type> exact_div<1u, unsigned long, unsigned long>(poly_int_pod<1u, unsigned long> const&, unsigned long) ../../trunk/gcc/poly-int.h:2162 0x7eacd1 poly_int<1u, poly_result::result_kind>::type> exact_div<1u, unsigned long, unsigned long>(poly_int_pod<1u, unsigned long> const&, poly_int_pod<1u, unsigned long> const&) ../../trunk/gcc/poly-int.h:2175 0x7eacd1 vect_get_num_vectors ../../trunk/gcc/tree-vectorizer.h:1462 0x7eacd1 vect_get_constant_vectors ../../trunk/gcc/tree-vect-slp.c:3395 >>From gcc-bugs-return-657764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 20:11:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102491 invoked by alias); 28 Oct 2019 20:11:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102447 invoked by uid 48); 28 Oct 2019 20:10:59 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92260] ice in exact_div, at poly-int.h:2162 Date: Mon, 28 Oct 2019 20:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02490.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92260 --- Comment #1 from David Binderman --- The bug seems to start sometime between revision 277200 and 277250. A run of creduce is proceeding in the other window. I'll report back when it is finished. >>From gcc-bugs-return-657765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 20:38:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6540 invoked by alias); 28 Oct 2019 20:38:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6486 invoked by uid 48); 28 Oct 2019 20:38:01 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92260] ice in exact_div, at poly-int.h:2162 Date: Mon, 28 Oct 2019 20:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02491.txt.bz2 Content-length: 717 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92260 --- Comment #2 from David Binderman --- The reduced C++ code seems to be: extern "C" int abs(int); enum { a }; typedef int (*b)(const unsigned char *, long, const unsigned char *, long); struct f { struct { b c; } cu[]; }; template int e(const unsigned char *g, long h, unsigned char *m, long) { int i; for (int j; j; j++) { for (int k =3D 0; k < d; k++) i +=3D abs(g[k] - m[k]); g +=3D h; } return i; } template int l(const unsigned char *, long, const unsigned char *m, long n) { unsigned char o[1]; int p(e<4, 4>(m, n, o, 0)); return p; } void q(f &g) { g.cu[a].c =3D l; } >>From gcc-bugs-return-657766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 20:39:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20947 invoked by alias); 28 Oct 2019 20:39:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19210 invoked by uid 48); 28 Oct 2019 20:39:24 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92226] [10 Regression] live nul char store to array eliminated Date: Mon, 28 Oct 2019 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02492.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92226 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01989.html >>From gcc-bugs-return-657767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 21:04:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88023 invoked by alias); 28 Oct 2019 21:04:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87968 invoked by uid 48); 28 Oct 2019 21:04:39 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine Date: Mon, 28 Oct 2019 21:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02493.txt.bz2 Content-length: 966 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92208 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #2 from Tobias Burnus --- Bisecting points at r267903 2019-01-13 Thomas Koenig PR fortran/59345 * trans-array.c (gfc_conv_array_parameter): Remove TODO. Do not pack/unpack results of functions which return an explicit-shaped or allocatable array. BTW, the the dump shows: createvarnames (&atmp.15, MAX_EXPR <(integer(kind=3D8)) D.4012, 0>, D.4= 009, D.4011, 3); function1 (&C.4008, (character(kind=3D1)[0:][1:MAX_EXPR <(integer(kind= =3D8)) D.4012, 0>] * restrict) atmp.15.data, &"path"[1]{lb: 1 sz: 1}, ..__result, = 4); >>From gcc-bugs-return-657768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 21:55:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46916 invoked by alias); 28 Oct 2019 21:55:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46151 invoked by uid 48); 28 Oct 2019 21:55:39 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92258] [10 Regression] ICE: output_operand: invalid %-code Date: Mon, 28 Oct 2019 21:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on version assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02494.txt.bz2 Content-length: 817 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92258 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-28 Version|unknown |10.0 Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Uro=C5=A1 Bizjak --- Due to r277481 [1] which removed a line too much from iptr iterator. I have a patch. [1] https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01888.html >>From gcc-bugs-return-657769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 22:04:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61429 invoked by alias); 28 Oct 2019 22:04:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60695 invoked by uid 48); 28 Oct 2019 22:03:56 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88337] Implement P1002R1, P1327R1, P1330R0, C++20 relaxations of constexpr restrictions. Date: Mon, 28 Oct 2019 22:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02495.txt.bz2 Content-length: 204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88337 --- Comment #5 from Marek Polacek --- Looks like we need to teach constexpr how to evaluate a call to __dynamic_c= ast. >>From gcc-bugs-return-657771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 22:47:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50373 invoked by alias); 28 Oct 2019 22:47:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50335 invoked by uid 48); 28 Oct 2019 22:47:48 -0000 From: "lhyatt at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/91843] pretty printer mangles extended characters Date: Mon, 28 Oct 2019 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lhyatt at gmail dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02497.txt.bz2 Content-length: 210 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91843 --- Comment #2 from Lewis Hyatt --- Patch was sent for review: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00766.html Thanks! >>From gcc-bugs-return-657770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 22:47:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49211 invoked by alias); 28 Oct 2019 22:47:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49168 invoked by uid 55); 28 Oct 2019 22:47:04 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66970] Add __has_builtin() macro Date: Mon, 28 Oct 2019 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02496.txt.bz2 Content-length: 1952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66970 --- Comment #23 from Martin Sebor --- Author: msebor Date: Mon Oct 28 22:46:28 2019 New Revision: 277544 URL: https://gcc.gnu.org/viewcvs?rev=3D277544&root=3Dgcc&view=3Drev Log: PR c/66970 - Add __has_builtin() macro gcc/ChangeLog: PR c/66970 * doc/cpp.texi (__has_builtin): Document. * doc/extend.texi (__builtin_frob_return_addr): Correct spelling. gcc/c/ChangeLog: PR c/66970 * c-decl.c (names_builtin_p): Define a new function. gcc/c-family/ChangeLog: PR c/66970 * c-common.c (c_common_nodes_and_builtins): Call c_define_builtins even when only preprocessing. * c-common.h (names_builtin_p): Declare new function. * c-lex.c (init_c_lex): Set has_builtin. (c_common_has_builtin): Define a new function. * c-ppoutput.c (init_pp_output): Set has_builtin. gcc/cp/ChangeLog: PR c/66970 * cp-objcp-common.c (names_builtin_p): Define new function. gcc/testsuite/ChangeLog: PR c/66970 * c-c++-common/cpp/has-builtin-2.c: New test. * c-c++-common/cpp/has-builtin-3.c: New test. * c-c++-common/cpp/has-builtin.c: New test. Added: trunk/gcc/testsuite/c-c++-common/cpp/has-builtin-2.c trunk/gcc/testsuite/c-c++-common/cpp/has-builtin-3.c trunk/gcc/testsuite/c-c++-common/cpp/has-builtin.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/c-family/c-common.h trunk/gcc/c-family/c-lex.c trunk/gcc/c-family/c-ppoutput.c trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-objcp-common.c trunk/gcc/doc/cpp.texi trunk/gcc/doc/extend.texi trunk/gcc/testsuite/ChangeLog trunk/libcpp/include/cpplib.h trunk/libcpp/init.c trunk/libcpp/macro.c trunk/libcpp/traditional.c >>From gcc-bugs-return-657773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 22:56:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87172 invoked by alias); 28 Oct 2019 22:56:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86221 invoked by uid 48); 28 Oct 2019 22:56:31 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/90835] Incompatibilities with macOS 10.15 headers Date: Mon, 28 Oct 2019 22:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02499.txt.bz2 Content-length: 451 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90835 Bug 90835 depends on bug 66970, which changed state. Bug 66970 Summary: Add __has_builtin() macro https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66970 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-657772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 22:56:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86990 invoked by alias); 28 Oct 2019 22:56:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85556 invoked by uid 48); 28 Oct 2019 22:56:29 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66970] Add __has_builtin() macro Date: Mon, 28 Oct 2019 22:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02498.txt.bz2 Content-length: 706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66970 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #24 from Martin Sebor --- Committed in r277544. Unlike in Clang, arguments to the GCC __has_builtin operator are subject to macro expansion. Also unlike in Clang (as of today), in GCC __has_builtin (__is_aggregate) && __has_builtin (__builtin_launder) && __has_builtin (__builtin_offsetof) evaluates to non-zero. >>From gcc-bugs-return-657774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 23:02:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114602 invoked by alias); 28 Oct 2019 23:02:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114517 invoked by uid 48); 28 Oct 2019 23:02:49 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92261] New: syntax errors on __has_builtin (__has_builtin) Date: Mon, 28 Oct 2019 23:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor 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 target_milestone 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-SW-Source: 2019-10/txt/msg02500.txt.bz2 Content-length: 1374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92261 Bug ID: 92261 Summary: syntax errors on __has_builtin (__has_builtin) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- With GCC support for __has_builtin (PR 66970) implemented, I noticed a difference between it and Clang for the following test case that Clang acce= pts and evaluates to zero: $ cat z.c && gcc -S -Wall z.c int f (void) { return __has_builtin (__has_builtin); } z.c: In function =E2=80=98f=E2=80=99: z.c:3:38: error: missing '(' after "__has_builtin" 3 | return __has_builtin (__has_builtin); | ^ z.c:3:25: error: macro "__has_builtin" requires an identifier 3 | return __has_builtin (__has_builtin); | ^~~~~~~~~~~~~ z.c:3:23: error: expected =E2=80=98;=E2=80=99 at end of input 3 | return __has_builtin (__has_builtin); | ^ | ; 4 | } |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 z.c:4:1: error: expected declaration or statement at end of input 4 | } | ^ >>From gcc-bugs-return-657776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 23:46:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79175 invoked by alias); 28 Oct 2019 23:46:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79060 invoked by uid 48); 28 Oct 2019 23:46:40 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83819] [meta-bug] missing strlen optimizations Date: Mon, 28 Oct 2019 23:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02502.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83819 Bug 83819 depends on bug 92226, which changed state. Bug 92226 Summary: [10 Regression] live nul char store to array eliminated https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92226 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-657777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 23:46:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79436 invoked by alias); 28 Oct 2019 23:46:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79114 invoked by uid 55); 28 Oct 2019 23:46:41 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92226] [10 Regression] live nul char store to array eliminated Date: Mon, 28 Oct 2019 23:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02503.txt.bz2 Content-length: 779 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92226 --- Comment #3 from Martin Sebor --- Author: msebor Date: Mon Oct 28 23:46:09 2019 New Revision: 277545 URL: https://gcc.gnu.org/viewcvs?rev=3D277545&root=3Dgcc&view=3Drev Log: PR tree-optimization/92226 - live nul char store to array eliminated gcc/testsuite/ChangeLog: PR tree-optimization/92226 * gcc.dg/strlenopt-88.c: New test. gcc/ChangeLog: PR tree-optimization/92226 * tree-ssa-strlen.c (compare_nonzero_chars): Return -1 also when the offset is in the open range outlined by SI's length. Added: trunk/gcc/testsuite/gcc.dg/strlenopt-88.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-strlen.c >>From gcc-bugs-return-657775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 28 23:46:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79169 invoked by alias); 28 Oct 2019 23:46:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79056 invoked by uid 48); 28 Oct 2019 23:46:39 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92226] [10 Regression] live nul char store to array eliminated Date: Mon, 28 Oct 2019 23:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02501.txt.bz2 Content-length: 444 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92226 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Martin Sebor --- Patch committed in r277545. >>From gcc-bugs-return-657778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 03:08:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20096 invoked by alias); 29 Oct 2019 03:08:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20053 invoked by uid 48); 29 Oct 2019 03:08:07 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92262] New: [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Date: Tue, 29 Oct 2019 03:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created 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-SW-Source: 2019-10/txt/msg02504.txt.bz2 Content-length: 2360 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92262 Bug ID: 92262 Summary: [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu Created attachment 47123 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47123&action=3Dedit Testcase g++-10.0.0-alpha20191027 snapshot (r277495) ICEs when compiling the attached testcase reduced from libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/2.cc w/ -O2 -ftree-loop-distribution -fvar-tracking-assignments: % powerpc-e300c3-linux-gnu-g++-10.0.0-alpha20191027 -m64 -O2 -ftree-loop-distribution -fvar-tracking-assignments -c jwwokwvg.cc jwwokwvg.cc: In function 'int main()': jwwokwvg.cc:124:1: error: incorrect sharing of tree nodes 124 | main () | ^~~~ (unsigned long) &a8 # DEBUG du =3D> (int *) (((sizetype) _5 + 18446744073709551609 <=3D (sizety= pe) _29 ? ((((unsigned long) _29 - (unsigned long) _5) + 7) / 8 + 1) * 4 + (unsigned long) &a8 : (unsigned long) &a8 + 4) - doloop.33_51 * 4) jwwokwvg.cc:124:1: error: incorrect sharing of tree nodes (unsigned long) &a8 # DEBUG D#4 =3D> (int *) ((((sizetype) _5 + 18446744073709551609 <=3D (size= type) _29 ? ((((unsigned long) _29 - (unsigned long) _5) + 7) / 8 + 1) * 4 + (unsigned long) &a8 : (unsigned long) &a8 + 4) - doloop.33_51 * 4) + 4) during GIMPLE pass: ivopts jwwokwvg.cc:124:1: internal compiler error: verify_gimple failed 0x1098f13 verify_gimple_in_cfg(function*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191027/wo= rk/gcc-10-20191027/gcc/tree-cfg.c:5427 0xf6996e execute_function_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191027/wo= rk/gcc-10-20191027/gcc/passes.c:1983 0xf6a18a execute_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191027/wo= rk/gcc-10-20191027/gcc/passes.c:2037 I cannot reproduce it for x86_64, though. >>From gcc-bugs-return-657779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 04:16:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12099 invoked by alias); 29 Oct 2019 04:16:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11817 invoked by uid 48); 29 Oct 2019 04:15:44 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/60523] Warning flag for octal literals [-Woctal-literals] Date: Tue, 29 Oct 2019 04:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02505.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60523 --- Comment #9 from Eric Gallager --- (In reply to Eric Gallager from comment #8) > *** Bug 70952 has been marked as a duplicate of this bug. *** While this was a mistake, it still might be worth grouping the flag propose= d in that bug, -Woctal-escapes, and the flag proposed in this bug, -Woctal-liter= als, under an umbrella flag called just -Woctal >>From gcc-bugs-return-657780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 04:36:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43750 invoked by alias); 29 Oct 2019 04:36:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43650 invoked by uid 48); 29 Oct 2019 04:36:49 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBzYW5pdGl6ZXIvOTIyNDddIOKAmF9fTlJfb3BlbuKAmSB3YXMgbm90?= =?UTF-8?B?IGRlY2xhcmVkIGluIHRoaXMgc2NvcGUgbGlic2FuaXRpemVyL3Nhbml0aXpl?= =?UTF-8?B?cl9jb21tb24vc2FuaXRpemVyX2xpbnV4IGNvbXBpbGF0aW9uIGZhaWxlZCBv?= =?UTF-8?B?biB1YnVudHUgMTguMDQgV1NMMg==?= Date: Tue, 29 Oct 2019 04:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02506.txt.bz2 Content-length: 339 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92247 --- Comment #4 from fdlbxtqi --- It sounds like it is a huge bug. I am using windows insider + wsl2. The pro= blem can even be observed on native windows. I hope it could be fixed as soon as possible, or I could not build new version's GCC on any platform. >>From gcc-bugs-return-657781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 06:49:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90127 invoked by alias); 29 Oct 2019 06:49:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90032 invoked by uid 48); 29 Oct 2019 06:48:58 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92254] [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000 Date: Tue, 29 Oct 2019 06:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02507.txt.bz2 Content-length: 1766 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92254 --- Comment #1 from Dmitry G. Dyachenko --- $ cat a.i typedef unsigned (*c)(void *, void *); typedef struct { c d; } e; unsigned bar(void *, void *); unsigned baz(void *, void *); static const e f[] =3D {{bar}, {baz}}; const e *foo() { return f; } $ cat b.i unsigned f1(int *, unsigned short); unsigned baz(void *c, void *d) { int *a =3D c; (void)d; if (!c) return 1; return f1(a, 0); } $ cat c.i unsigned f1(int *, unsigned short); unsigned bar(void *c, void *d) { int *a =3D c; (void)d; if (!c) return 1; return f1(a, 0); } $ cat d.i int b, c; int a(int *); unsigned f1(int *d, unsigned short e) { b =3D 0; if (e) { a(d); if (c) return 0; } return a(d); } $ cat x.ver { global: foo; local: *; }; $ gcc -fpreprocessed -O2 -flto -c a.i b.i c.i d.i $ gcc -flto -fPIC -DPIC -shared a.o b.o c.o d.o -Wl,-version-script -Wl,/home/dimhen/errs/gcc10/PR92254/x.ver -o libso.so during IPA pass: inline lto1: internal compiler error: in inline_small_functions, at ipa-inline.c:2= 000 0x900b07 inline_small_functions /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2000 0x900b07 ipa_inline /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615 0x900b07 execute /home/dimhen/src/gcc_current/gcc/ipa-inline.c:3023 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: /home/dimhen/arch-gcc/gcc_277504/bin/gcc returned= 1 exit status compilation terminated. /usr/local/binutils_current/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status >>From gcc-bugs-return-657782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 07:14:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123990 invoked by alias); 29 Oct 2019 07:14:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123902 invoked by uid 48); 29 Oct 2019 07:14:48 -0000 From: "f.hollerer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/82176] Feature request: replace __FILE__ with file's basename instead its full name Date: Tue, 29 Oct 2019 07:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: f.hollerer at gmx dot net X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02508.txt.bz2 Content-length: 385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82176 --- Comment #7 from f.hollerer at gmx dot net --- Yes, the __FILE_NAME__ macro provided by Clang is exactly the feature I am asking for: __FILE_NAME__ Clang-specific extension that functions similar to __FILE__ but only renders the last path component (the filename) instead of an invocation dependent full path to that file. >>From gcc-bugs-return-657783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 07:48:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38779 invoked by alias); 29 Oct 2019 07:48:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38325 invoked by uid 48); 29 Oct 2019 07:48:11 -0000 From: "f.hollerer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/82176] Feature request: replace __FILE__ with file's basename instead its full name Date: Tue, 29 Oct 2019 07:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: f.hollerer at gmx dot net X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02509.txt.bz2 Content-length: 1128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82176 --- Comment #8 from f.hollerer at gmx dot net --- I have to correct me. The __FILE_NAME__ macro goes in the direction I would like to have. But this does not solve the problem with assert(). My preferred solution is to have the expansion of the __FILE__ macro contro= lled by a command line options. As explained in my original post I use third party code which is augmented = with asserts(). I don't want to touch this code. To my understanding assert() uses __FILE__ and __LINE__. I would like to ha= ve a command line option which let __FILE__ expand to the last path component (t= he filename) instead of an invocation dependent full path of that file. This would: - shorten the output of assert() - minimize the image size due to shorter strings - make the build reproduceable as the output does not depend on the current working directory. To sum up. This is what the feature request is about: https://www.iar.com/support/tech-notes/general/avoiding-full-paths-in-the-o= utput-file/ Please provide a '--no_path_in_file_macros' as provided by the IAC compiler. >>From gcc-bugs-return-657784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 07:49:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39578 invoked by alias); 29 Oct 2019 07:49:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38813 invoked by uid 48); 29 Oct 2019 07:48:51 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92263] New: ICE in commit_one_edge_insertion, at cfgrtl.c:2087 Date: Tue, 29 Oct 2019 07:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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 keywords bug_severity priority component assigned_to reporter 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-SW-Source: 2019-10/txt/msg02510.txt.bz2 Content-length: 2134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92263 Bug ID: 92263 Summary: ICE in commit_one_edge_insertion, at cfgrtl.c:2087 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: riscv64-linux-gnu I see the following ICE with a cross compiler: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c -fno-tree-dce -fno-tree-forwprop -Os -ffloat-store /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:= In function =E2=80=98foo=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:= 21:11: warning: implicit declaration of function =E2=80=98cabsl=E2=80=99 [-Wimplicit-function-declaration] 21 | if (cabsl(vsorc.vqd[indx]) < 1.e-20) | ^~~~~ /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:= 21:11: warning: incompatible implicit declaration of built-in function =E2=80=98ca= bsl=E2=80=99 /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:= 1:1: note: include =E2=80=98=E2=80=99 or provide a declaration of =E2= =80=98cabsl=E2=80=99 +++ |+#include 1 | /* Testcase by Martin Michlmayr */ during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr33855.c:= 27:1: internal compiler error: in commit_one_edge_insertion, at cfgrtl.c:2087 27 | } | ^ 0xa65912 commit_one_edge_insertion(edge_def*) ../../gcc/cfgrtl.c:2087 0xa659c4 commit_edge_insertions() ../../gcc/cfgrtl.c:2119 0xa47418 execute ../../gcc/cfgexpand.c:6622 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-657785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 07:49:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40424 invoked by alias); 29 Oct 2019 07:49:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40355 invoked by uid 48); 29 Oct 2019 07:49:22 -0000 From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92234] [10 Regression] ICE verify_gimple failed (profiled lto) on s390x-linux-gnu Date: Tue, 29 Oct 2019 07:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02511.txt.bz2 Content-length: 136 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92234 --- Comment #2 from Matthias Klose --- same with r277529 >>From gcc-bugs-return-657786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 07:50:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42072 invoked by alias); 29 Oct 2019 07:50:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42019 invoked by uid 55); 29 Oct 2019 07:50:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92258] [10 Regression] ICE: output_operand: invalid %-code Date: Tue, 29 Oct 2019 07:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02512.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92258 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Tue Oct 29 07:49:46 2019 New Revision: 277551 URL: https://gcc.gnu.org/viewcvs?rev=3D277551&root=3Dgcc&view=3Drev Log: PR target/92258 * config/i386/sse.md (iptr): Revert 2019-10-27 change. * gcc.target/i386/pr92258.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr92258.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 07:52:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44403 invoked by alias); 29 Oct 2019 07:52:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44349 invoked by uid 48); 29 Oct 2019 07:52:41 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92263] ICE in commit_one_edge_insertion, at cfgrtl.c:2087 Date: Tue, 29 Oct 2019 07:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02513.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92263 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 >>From gcc-bugs-return-657789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:05:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92459 invoked by alias); 29 Oct 2019 08:05:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92242 invoked by uid 48); 29 Oct 2019 08:05:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92241] [10 Regression] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Tue, 29 Oct 2019 08:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02515.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jan at jki dot io --- Comment #6 from Richard Biener --- *** Bug 92228 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:05:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92301 invoked by alias); 29 Oct 2019 08:05:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92207 invoked by uid 48); 29 Oct 2019 08:05:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92228] [10 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Date: Tue, 29 Oct 2019 08:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02514.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92228 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Richard Biener --- Thanks a lot. *** This bug has been marked as a duplicate of bug 92241 *** >>From gcc-bugs-return-657790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:06:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93760 invoked by alias); 29 Oct 2019 08:06:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93684 invoked by uid 55); 29 Oct 2019 08:06:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92241] [10 Regression] ice in vect_mark_pattern_st mts, at tree-vect-patterns.c:5175 Date: Tue, 29 Oct 2019 08:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02516.txt.bz2 Content-length: 503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92241 --- Comment #7 from Richard Biener --- Author: rguenth Date: Tue Oct 29 08:05:38 2019 New Revision: 277553 URL: https://gcc.gnu.org/viewcvs?rev=3D277553&root=3Dgcc&view=3Drev Log: 2019-10-29 Richard Biener PR tree-optimization/92241 * gcc.dg/torture/pr92241-2.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr92241-2.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-657791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:11:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106732 invoked by alias); 29 Oct 2019 08:11:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106649 invoked by uid 48); 29 Oct 2019 08:11:04 -0000 From: "david at westcontrol dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/60523] Warning flag for octal literals [-Woctal-literals] Date: Tue, 29 Oct 2019 08:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: david at westcontrol dot com X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02517.txt.bz2 Content-length: 654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60523 --- Comment #10 from David Brown --- (In reply to Eric Gallager from comment #9) > (In reply to Eric Gallager from comment #8) > > *** Bug 70952 has been marked as a duplicate of this bug. *** >=20 > While this was a mistake, it still might be worth grouping the flag propo= sed > in that bug, -Woctal-escapes, and the flag proposed in this bug, > -Woctal-literals, under an umbrella flag called just -Woctal That makes a lot of sense. I expect users who want one of these warnings w= ould want both, so combining them would save effort for users and gcc developers. >>From gcc-bugs-return-657792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:13:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108958 invoked by alias); 29 Oct 2019 08:13:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108886 invoked by uid 48); 29 Oct 2019 08:13:33 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92208] [9/10 Regression] internal compile error, character array of dynamic length returned from function and passed to subroutine Date: Tue, 29 Oct 2019 08:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02518.txt.bz2 Content-length: 687 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92208 --- Comment #3 from Tobias Burnus --- "fixed" by the following patch: * The LHS [se->string_length] is the string length represented as MAX_EXPR <(integer(kind=3D8)) D.4012, 0> * The RHS [expr->ts.u.cl->backend_decl] is ..__result The question is now: how to do this properly? --- a/gcc/fortran/trans-array.c +++ b/gcc/fortran/trans-array.c @@ -8051,3 +8051,3 @@ gfc_conv_array_parameter (gfc_se * se, gfc_expr * exp= r, bool g77, } - if (expr->ts.type =3D=3D BT_CHARACTER) + if (false && expr->ts.type =3D=3D BT_CHARACTER) se->string_length =3D expr->ts.u.cl->backend_decl; >>From gcc-bugs-return-657793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:16:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118750 invoked by alias); 29 Oct 2019 08:15:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118370 invoked by uid 48); 29 Oct 2019 08:15:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92256] [10 regression] error in gcc.dg/unroll-and-jam.c after r277501 Date: Tue, 29 Oct 2019 08:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02519.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92256 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|other |target Target Milestone|--- |10.0 --- Comment #1 from Richard Biener --- Note flag_unroll_loops also tunes GIMPLE level "unrolling" (which is actual= ly complete peeling) which is usually not done at -O2 unless it doesn't increa= se size. >>From gcc-bugs-return-657794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:16:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130057 invoked by alias); 29 Oct 2019 08:16:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118439 invoked by uid 48); 29 Oct 2019 08:15:28 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92262] [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Date: Tue, 29 Oct 2019 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02520.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92262 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-29 CC| |marxin at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, I can take a look. >>From gcc-bugs-return-657795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:18:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3746 invoked by alias); 29 Oct 2019 08:18:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3713 invoked by uid 48); 29 Oct 2019 08:18:27 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92260] [10 Regression] ICE in exact_div, at poly-int.h:2162 Date: Tue, 29 Oct 2019 08:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on component cc everconfirmed short_desc target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02521.txt.bz2 Content-length: 1087 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92260 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Known to work| |9.2.0 Keywords| |ice-on-valid-code Last reconfirmed| |2019-10-29 Component|c++ |tree-optimization CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 Summary|ice in exact_div, at |[10 Regression] ICE in |poly-int.h:2162 |exact_div, at | |poly-int.h:2162 Target Milestone|--- |10.0 Known to fail| |10.0 --- Comment #3 from Martin Li=C5=A1ka --- Confirmed, started with r277241. >>From gcc-bugs-return-657796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:20:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12862 invoked by alias); 29 Oct 2019 08:20:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12789 invoked by uid 48); 29 Oct 2019 08:20:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92260] [10 Regression] ICE in exact_div, at poly-int.h:2162 Date: Tue, 29 Oct 2019 08:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02522.txt.bz2 Content-length: 411 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92260 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #4 from Richard Biener --- Confirmed, mine. >>From gcc-bugs-return-657797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:21:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44071 invoked by alias); 29 Oct 2019 08:21:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34968 invoked by uid 48); 29 Oct 2019 08:21:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92262] [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Date: Tue, 29 Oct 2019 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02523.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92262 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Target Milestone|--- |10.0 --- Comment #2 from Richard Biener --- Very likely caused by Jakubs changes though. >>From gcc-bugs-return-657798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:25:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59751 invoked by alias); 29 Oct 2019 08:25:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59700 invoked by uid 48); 29 Oct 2019 08:25:22 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/92259] ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name Date: Tue, 29 Oct 2019 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02524.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92259 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #2 from Martin Li=C5=A1ka --- Confirmed, it's an auto FDO issue. To be honest, autofdo seems to me very broken right now in the GCC compiler. Maybe Bin would be interested in this issue? >>From gcc-bugs-return-657799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:25:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60476 invoked by alias); 29 Oct 2019 08:25:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60383 invoked by uid 48); 29 Oct 2019 08:25:33 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/92259] ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name Date: Tue, 29 Oct 2019 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW 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_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02525.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92259 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-29 Ever confirmed|0 |1 >>From gcc-bugs-return-657800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:28:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63346 invoked by alias); 29 Oct 2019 08:28:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63253 invoked by uid 48); 29 Oct 2019 08:28:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/41526] gimple bytecode streams are not portable between different hosts Date: Tue, 29 Oct 2019 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02526.txt.bz2 Content-length: 786 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41526 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto --- Comment #6 from Richard Biener --- Note the bug is certainly valid and I'd be surprised if exchanging LTO IL containing object files between a big and little-endian host would work even for the very simplest testcase. But then I am not aware of anybody doing this experiment and trying to fix the remaining issues. Certainly everything going through the data-streamer interface should be fine unless the consumers do not use appropriately typed entities... >>From gcc-bugs-return-657802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:32:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68791 invoked by alias); 29 Oct 2019 08:31:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68699 invoked by uid 48); 29 Oct 2019 08:31:47 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92251] [10 regression] SEGV in ipa_get_cs_argument_count Date: Tue, 29 Oct 2019 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02528.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92251 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-29 Ever confirmed|0 |1 --- Comment #2 from Martin Li=C5=A1ka --- @Rainer: Can you please test it now? >>From gcc-bugs-return-657801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:31:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67894 invoked by alias); 29 Oct 2019 08:31:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67826 invoked by uid 48); 29 Oct 2019 08:31:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92262] [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Date: Tue, 29 Oct 2019 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02527.txt.bz2 Content-length: 171 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92262 --- Comment #3 from Jakub Jelinek --- I can't reproduce it on a cross to powerpc64-linux. >>From gcc-bugs-return-657803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:40:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79584 invoked by alias); 29 Oct 2019 08:40:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79506 invoked by uid 48); 29 Oct 2019 08:40:54 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92262] [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Date: Tue, 29 Oct 2019 08:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02529.txt.bz2 Content-length: 2509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92262 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|marxin at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #4 from Martin Li=C5=A1ka --- I can with: $ ./xgcc -v Using built-in specs. COLLECT_GCC=3D./xgcc Target: powerpc-e300c3-linux-gnu Configured with: ../configure --enable-languages=3Dc,c++ --prefix=3D/home/marxin/bin/gcc --disable-bootstrap --disable-multilib --target=3Dpowerpc-e300c3-linux-gnu --without-isl Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.0 20191029 (experimental) (GCC)=20 $ ./xg++ -B. ~/Programming/testcases/pr92262.c -c -O2 -ftree-loop-distribut= ion -fvar-tracking-assignments -fpermissive /home/marxin/Programming/testcases/pr92262.c:10:2: warning: =E2=80=98operat= or new=E2=80=99 takes type =E2=80=98size_t=E2=80=99 (=E2=80=98unsigned int=E2=80=99) as fir= st parameter [-fpermissive] 10 | *operator new (long unsigned int, void *as) | ^~~~~~~~ /home/marxin/Programming/testcases/pr92262.c: In function =E2=80=98int main= ()=E2=80=99: /home/marxin/Programming/testcases/pr92262.c:124:1: error: incorrect sharin= g of tree nodes 124 | main () | ^~~~ (unsigned int) &a8 # DEBUG du =3D> (int *) (((sizetype) _5 + 4294967293 <=3D (sizetype) _29 ? ((((unsigned int) _29 - (unsigned int) _5) + 3) / 4 + 1) * 4 + (unsigned in= t) &a8 : (unsigned int) &a8 + 4) - doloop.30_51 * 4) /home/marxin/Programming/testcases/pr92262.c:124:1: error: incorrect sharin= g of tree nodes (unsigned int) &a8 # DEBUG D#6 =3D> (int *) ((((sizetype) _5 + 4294967293 <=3D (sizetype) _29 ? ((((unsigned int) _29 - (unsigned int) _5) + 3) / 4 + 1) * 4 + (unsigned in= t) &a8 : (unsigned int) &a8 + 4) - doloop.30_51 * 4) + 4) during GIMPLE pass: ivopts /home/marxin/Programming/testcases/pr92262.c:124:1: internal compiler error: verify_gimple failed 0xfebd91 verify_gimple_in_cfg(function*, bool) ../../gcc/tree-cfg.c:5427 0xecc6bf execute_function_todo ../../gcc/passes.c:1983 0xecd46e execute_todo ../../gcc/passes.c:2037 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-657804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:49:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64275 invoked by alias); 29 Oct 2019 08:48:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54947 invoked by uid 48); 29 Oct 2019 08:48:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92262] [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Date: Tue, 29 Oct 2019 08:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02530.txt.bz2 Content-length: 1407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92262 --- Comment #5 from Jakub Jelinek --- Actually I can, but for some reason I had to use explicit -fchecking, dunno= how I've configured this cross. Anyway, I don't see a tree sharing issue in the newly added code, but get_computation_at doesn't unshare, which can be perhaps ok with the way it= is used in non-debug stmts, but it is not ok for debug stmts. Now, we could unshare_expr in get_debug_computation_at when get_computation= _at succeeds, but as we now iterate over possibly several IVs, I think it is be= tter to unshare only when we pick the best candidate. So: --- gcc/tree-ssa-loop-ivopts.c.jj 2019-10-23 14:35:42.994753407 +0200 +++ gcc/tree-ssa-loop-ivopts.c 2019-10-29 09:45:47.418217336 +0100 @@ -4152,8 +4152,6 @@ get_debug_computation_at (class loop *lo var =3D fold_convert (ctype, var); } - ubase =3D unshare_expr (ubase); - cbase =3D unshare_expr (cbase); if (stmt_after_increment (loop, cand, at)) var =3D fold_build2 (MINUS_EXPR, TREE_TYPE (var), var, unshare_expr (cstep)); @@ -7648,6 +7646,7 @@ remove_unused_ivs (struct ivopts_data *d if (!best_cand) continue; + comp =3D unshare_expr (comp); if (count > 1) { tree vexpr =3D make_node (DEBUG_EXPR_DECL); >>From gcc-bugs-return-657805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 08:53:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14124 invoked by alias); 29 Oct 2019 08:53:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14065 invoked by uid 48); 29 Oct 2019 08:53:12 -0000 From: "guojiufu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92256] [10 regression] error in gcc.dg/unroll-and-jam.c after r277501 Date: Tue, 29 Oct 2019 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02531.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92256 --- Comment #2 from Jiu Fu Guo --- Just send out a new patch for review. The new patch will make this case pass too. >>From gcc-bugs-return-657806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:16:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19563 invoked by alias); 29 Oct 2019 09:16:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19433 invoked by uid 48); 29 Oct 2019 09:16:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92264] New: [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318 Date: Tue, 29 Oct 2019 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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 keywords bug_severity priority component assigned_to reporter cc blocked target_milestone cf_gcchost 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-SW-Source: 2019-10/txt/msg02532.txt.bz2 Content-length: 1878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92264 Bug ID: 92264 Summary: [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=3Dznver2 -g since r276318 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rsandifo at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: x86_64-linux-gnu Since the mentioned revision I see huge compile time hog: $ timeout 300 gfortran module_configure.fppized.f90 -c -march=3Dznver2 -std=3Dlegacy -fconvert=3Dbig-endian -fno-openmp -Ofast -march=3Dznver2 -g It takes at least 10 minutes to compile now. Before the revision it takes ~= 200s with checking compiler on a Ryzen machine. I see in perf top something like: 62.38% f951 [.] find_base_term 14.27% f951 [.] ix86_find_base_term 5.53% [kernel] [k] acpi_processor_ffh_cstate_enter 2.90% f951 [.] cselib_sp_based_value_p 2.88% libc-2.30.so [.] _int_malloc 2.44% f951 [.] find_base_term 0.87% libc-2.30.so [.] __memmove_avx_unaligned_erms 0.72% f951 [.] rtx_equal_for_memref_p 0.54% f951 [.] drop_overlapping_mem_l= ocs Richard, can you please take a look? Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 [Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) >>From gcc-bugs-return-657807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:17:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25880 invoked by alias); 29 Oct 2019 09:17:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25727 invoked by uid 48); 29 Oct 2019 09:17:17 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92254] [10 regression] ICE LTO in inline_small_functions, at ipa-inline.c:2000 Date: Tue, 29 Oct 2019 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cf_known_to_work assigned_to everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02533.txt.bz2 Content-length: 765 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92254 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-29 Known to work| |9.2.0 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot = gnu.org Ever confirmed|0 |1 Known to fail| |10.0 --- Comment #2 from Martin Li=C5=A1ka --- Started with r277484. >>From gcc-bugs-return-657808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:34:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54643 invoked by alias); 29 Oct 2019 09:34:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54518 invoked by uid 55); 29 Oct 2019 09:34:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Tue, 29 Oct 2019 09:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02534.txt.bz2 Content-length: 1097 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65930 --- Comment #30 from Richard Biener --- Author: rguenth Date: Tue Oct 29 09:33:49 2019 New Revision: 277566 URL: https://gcc.gnu.org/viewcvs?rev=3D277566&root=3Dgcc&view=3Drev Log: 2019-10-29 Richard Biener PR tree-optimization/65930 * tree-vect-loop.c (check_reduction_path): Relax single-use check allowing out-of-loop uses. (vect_is_simple_reduction): SLP reduction chains cannot have intermediate stmts used outside of the loop. (vect_create_epilog_for_reduction): The adjustment might need to be converted. (vectorizable_reduction): Annotate live stmts of the reduction chain with STMT_VINFO_REDUC_DEF. * tree-vect-stms.c (process_use): Remove no longer true asserts. * gcc.dg/vect/pr65930-1.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/vect/pr65930-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-stmts.c >>From gcc-bugs-return-657809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:45:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124466 invoked by alias); 29 Oct 2019 09:45:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124352 invoked by uid 48); 29 Oct 2019 09:44:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90734] [concepts] Pre-normalization substitution into constraints of templated function breaks subsumption Date: Tue, 29 Oct 2019 09:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords bug_status cf_reconfirmed_on cc see_also blocked everconfirmed Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02535.txt.bz2 Content-length: 3270 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90734 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-29 CC| |redi at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D82507 Blocks| |67491 Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- Bug 82507 is fixed on trunk, but this isn't. Refreshed for C++2a syntax (https://godbolt.org/z/M6D5k8): template inline constexpr bool bool_ =3D B; #if defined(WORKAROUND) template concept Same_impl =3D __is_same_as(T, U); #else template concept Same_impl =3D bool_<__is_same_as(T, U)>; #endif template concept Same =3D Same_impl && Same_impl; template concept Foo =3D Same; template concept Bar =3D Foo && Same; template struct S1 { // overload set incorrectly is ambiguous (should resolve to second overload) static constexpr bool f() requires Foo { return false; } static constexpr bool f() requires Bar { return true; } }; template struct S2 { // overload set incorrectly is not ambiguous (resolves to third overloa= d) static constexpr bool f() requires Foo { return false; } static constexpr bool f() requires Bar { return false; } static constexpr bool f() requires bool_ && true { return true; } }; template concept can_f =3D requires { T::f(); }; int main() { static_assert(Foo); static_assert(Bar); static_assert(can_f>); // Fails static_assert(S1::f()); // Bogus error static_assert(!can_f>); // Fails #ifndef WORKAROUND static_assert(S2::f()); // Bogus non-error #endif } : In function 'int main()': :48:30: error: call of overloaded 'f()' is ambiguous 48 | static_assert(S2::f()); // Bogus non-error | ^ :31:27: note: candidate: 'static constexpr bool S2::f() requires= =20 Foo [with T =3D int]' 31 | static constexpr bool f() requires Foo { return false; } | ^ :32:27: note: candidate: 'static constexpr bool S2::f() requires= =20 Bar [with T =3D int]' 32 | static constexpr bool f() requires Bar { return false; } | ^ :33:27: note: candidate: 'static constexpr bool S2::f() requires (bool_) && true [with T =3D int]' 33 | static constexpr bool f() requires bool_ && true { return true; } | ^ Compiler returned: 1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:51:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6973 invoked by alias); 29 Oct 2019 09:51:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6897 invoked by uid 48); 29 Oct 2019 09:51:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67775] [concepts] bug when using variadic expansions in compound requirements Date: Tue, 29 Oct 2019 09:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_known_to_work Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02536.txt.bz2 Content-length: 387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67775 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 --- Comment #1 from Jonathan Wakely --- Seems to be fixed on trunk. >>From gcc-bugs-return-657811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:52:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7699 invoked by alias); 29 Oct 2019 09:52:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7600 invoked by uid 48); 29 Oct 2019 09:51:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92262] [10 Regression] ICE: verify_gimple failed (error: incorrect sharing of tree nodes) Date: Tue, 29 Oct 2019 09:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02537.txt.bz2 Content-length: 1212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92262 --- Comment #6 from Jakub Jelinek --- Actually, to be precise, get_computation_at does unshare expressions, that = is done in unshare_aff_combination. The problem is that afterwards aff_combination_to_tree calls fold_build* and those invoke the various GENE= RIC folders and those do not generally guarantee unsharing. In particular, fold_binary_op_with_conditional_arg is eventually called, wi= th (sizetype) _5 + 18446744073709551609 <=3D (sizetype) _29 ? ((((unsigned lon= g) _29 - (unsigned long) _5) + 7) / 8 + 1) * 4 : 4 as op0 and (unsigned long) &a8 as op1 and it adds the (unsigned long) &a8 operand to both the ... * 4 and 4 expressions and so appears twice. Now, I'm not sure what the right fix is, because in theory this can happen = in lots of places. Either fold-const.c could unshare_expr if it uses an opera= nd multiple times and it is during or after gimplification, or just various pl= aces in GIMPLE which fold trees and then try to gimplify them need to unshare ju= st in case (especially because the gimplifier is destructive and when gimplify= ing one copy it might clobber the other one), something else? >>From gcc-bugs-return-657812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:54:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9872 invoked by alias); 29 Oct 2019 09:54:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9760 invoked by uid 48); 29 Oct 2019 09:54:26 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68731] [concepts] ICE when referencing struct type in specialization Date: Tue, 29 Oct 2019 09:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_known_to_work blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02538.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68731 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Blocks| |67491 --- Comment #1 from Jonathan Wakely --- Seems to be fixed on trunk. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:55:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26384 invoked by alias); 29 Oct 2019 09:55:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16184 invoked by uid 48); 29 Oct 2019 09:55:27 -0000 From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Tue, 29 Oct 2019 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW 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: attachments.created Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02540.txt.bz2 Content-length: 6611 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92213 --- Comment #7 from Hongtao.liu --- Created attachment 47124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D47124&action=3Dedit command to show cfg of this file xdot test.dot(attachment name) The root cause of live in for=20 ;; lr in 68 [k0] <<<<<< This doesn't look right. comes from BB 17:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 gen: 17:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 17 18 68(k0)(there's no use of k0 in bb17) gen 68(k0) is generated by exception edge from bb6--> bb17, bb6 has spill 68(k0) which make k0 as gen of bb17. refer to --------------------- 1039 /* No need to record conflicts for call clobbered regs if we=20= =20=20=20=20=20=20=20=20=20 1040 have nonlocal labels around, as we don't ever try to=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 1041 allocate such regs in this case. */=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1042 if (!cfun->has_nonlocal_label=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 1043 && has_abnormal_call_or_eh_pred_edge_p (bb))=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1044 for (px =3D 0; HARD_REGISTER_NUM_P (px); px++)=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1045 if (eh_edge_abi.clobbers_at_least_part_of_reg_p (px)=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 1046#ifdef REAL_PIC_OFFSET_TABLE_REGNUM=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 1047 /* We should create a conflict of PIC pseudo with PIC=20= =20=20=20=20=20=20=20=20 1048 hard reg as PIC hard reg can have a wrong value after= =20=20=20=20=20=20 1049 jump described by the abnormal edge. In this case we= =20=20=20=20=20=20 1050 cannot allocate PIC hard reg to PIC pseudo as PIC=20= =20=20=20=20=20=20=20=20=20 1051 pseudo will also have a wrong value. */=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1052 || (px =3D=3D REAL_PIC_OFFSET_TABLE_REGNUM=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1053 && pic_offset_table_rtx !=3D NULL_RTX=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1054 && !HARD_REGISTER_P (pic_offset_table_rtx))=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 1055#endif=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1056 )=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1057 make_hard_regno_live (px);=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 1058 }=20=20 ------------------ Then df analyze will take 68(k0) as liveout for all pred bb which is too conservative. so when bb2 use 68(k0) as assignment, it shows that it would = be used by liveout, then there's an asserttion failure. ------------------------ 6678BB 2:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 6679 killed: 2:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 6680=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 6681 17 132 140 146 153 164 171 175 182 186 189=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 6682 191 196 200 201 203 205 209 210 211 212 215=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 6683 217 218 220 221 223 224 226 227 228 230 232=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 6684 234 236 238 253 257 258 259 265 266 267 268=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 6685 269 270 271 272 273 274 275 276 277 295 296=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 6686 297 307 308 309 310=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 6687 livein: 2:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 6688=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 6689 68=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 6690 liveout: 2:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 6691=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 6692 6 7 16 19 68<----(comes from bb17) 201=20=20=20=20 --------------------------- If you're on server, you can use dot -Tpng test.dot -o test.png, then copy test.png outside. >>From gcc-bugs-return-657813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:55:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11596 invoked by alias); 29 Oct 2019 09:55:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11443 invoked by uid 48); 29 Oct 2019 09:55:12 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68828] [concepts] ICE in fold with requires and function call around parameters Date: Tue, 29 Oct 2019 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_known_to_work blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02539.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68828 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Blocks| |67491 --- Comment #1 from Jonathan Wakely --- No ICE with current trunk. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:57:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58695 invoked by alias); 29 Oct 2019 09:57:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58618 invoked by uid 48); 29 Oct 2019 09:57:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69472] [concepts] constraint ignored on constrained member template of a class template Date: Tue, 29 Oct 2019 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02541.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69472 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jonathan Wakely --- I rediscovered this recently and reported Bug 92103 *** This bug has been marked as a duplicate of bug 92103 *** >>From gcc-bugs-return-657816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:57:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58846 invoked by alias); 29 Oct 2019 09:57:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58650 invoked by uid 48); 29 Oct 2019 09:57:41 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92103] constraints not checked on nested class template Date: Tue, 29 Oct 2019 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02542.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92103 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucdanton at free dot fr --- Comment #2 from Jonathan Wakely --- *** Bug 69472 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 09:58:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4375 invoked by alias); 29 Oct 2019 09:58:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1839 invoked by uid 48); 29 Oct 2019 09:58:40 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69364] [concepts] failure to properly order constraints when using fold expressions Date: Tue, 29 Oct 2019 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02543.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69364 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |67491 --- Comment #1 from Jonathan Wakely --- Still ambiguous with current trunk. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:04:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26098 invoked by alias); 29 Oct 2019 10:04:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26007 invoked by uid 48); 29 Oct 2019 10:04:42 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71217] [concepts] Incorrect recursive concept evaluation Date: Tue, 29 Oct 2019 10:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_known_to_work blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02544.txt.bz2 Content-length: 1419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71217 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Blocks| |67491 --- Comment #1 from Jonathan Wakely --- Seems to be fixed on current trunk: template struct is_same { static constexpr bool value =3D false; }; template struct is_same { static constexpr bool value =3D true; }; template struct Fold; template struct IntFoldCtor { enum RetType { Ret =3D false }; }; template concept TestInt =3D (bool)IntFoldCtor::Ret || is_same::value ; template struct IntFoldCtor > { enum RetType { Ret =3D true }; }; static_assert(TestInt); static_assert(!TestInt); // 0 static_assert(TestInt< Fold >); // 1 static_assert(!TestInt< Fold >); // 0 static_assert(TestInt< Fold,int> >); // 0 static_assert(!TestInt< Fold,int> >); // 0 static_assert(!TestInt< Fold,short> >); // 0 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:06:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27976 invoked by alias); 29 Oct 2019 10:06:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27903 invoked by uid 48); 29 Oct 2019 10:06:14 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92078] error: 'struct std::ptr' redeclared with different access Date: Tue, 29 Oct 2019 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cc Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02546.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92078 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucdanton at free dot fr --- Comment #2 from Jonathan Wakely --- *** Bug 69470 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-657819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:06:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27956 invoked by alias); 29 Oct 2019 10:06:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27855 invoked by uid 48); 29 Oct 2019 10:06:12 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69470] [concepts] bogus constrained member class template redeclared with different access Date: Tue, 29 Oct 2019 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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_status resolution Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02545.txt.bz2 Content-length: 513 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69470 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Jonathan Wakely --- I rediscovered this one too. *** This bug has been marked as a duplicate of bug 92078 *** >>From gcc-bugs-return-657821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:09:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31549 invoked by alias); 29 Oct 2019 10:09:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31434 invoked by uid 48); 29 Oct 2019 10:08:57 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69470] [concepts] bogus constrained member class template redeclared with different access Date: Tue, 29 Oct 2019 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02547.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69470 --- Comment #4 from Jonathan Wakely --- (In reply to Vedran Miletic from comment #1) > Happens when building ns-3 [1] too. >=20 > [1016/2462] Compiling src/wifi/model/wifi-mac-queue.cc > In file included from ./ns3/test.h:24:0, > from ../src/spectrum/test/tv-helper-distribution-test.cc= :23: > /usr/include/c++/6.0.0/sstream:300:7: error: =E2=80=98struct > std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs=E2= =80=99 > redeclared with different access > struct __xfer_bufptrs > ^~~~~~ That was a different bug, not related to concepts. >>From gcc-bugs-return-657822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:09:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33073 invoked by alias); 29 Oct 2019 10:09:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32560 invoked by uid 48); 29 Oct 2019 10:09:34 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/77811] [concepts] invalid redefinition error when declaring friend function Date: Tue, 29 Oct 2019 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_known_to_work blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02548.txt.bz2 Content-length: 558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77811 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Blocks| |67491 --- Comment #1 from Jonathan Wakely --- Compiles ok with current trunk. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:16:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47334 invoked by alias); 29 Oct 2019 10:16:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46978 invoked by uid 48); 29 Oct 2019 10:16:00 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/77755] [concepts] Abbreviatd function template pack expansions not working Date: Tue, 29 Oct 2019 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords bug_status cf_reconfirmed_on blocked everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02549.txt.bz2 Content-length: 1414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77755 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-29 Blocks| |67491 Ever confirmed|0 |1 Known to fail| |10.0 --- Comment #1 from Jonathan Wakely --- Please provide complete testcases that we can actually test. You're missing= the header here. Complete testcase: template struct trait { static constexpr bool value =3D false; = }; template struct S{}; template concept Integral =3D trait::value; void foo (S) { } Still fails on current trunk with -std=3Dgnu++2a b.cc:8:25: error: expansion pattern 'auto:1' contains no parameter packs 8 | int foo (S) | ^~~ b.cc:8:28: error: template argument 1 is invalid 8 | int foo (S) | ^ Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:17:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49213 invoked by alias); 29 Oct 2019 10:17:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49081 invoked by uid 48); 29 Oct 2019 10:17:42 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79682] [concepts] ambiguous overload with functionally equivalent predicate constraints compiles Date: Tue, 29 Oct 2019 10:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_known_to_work blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02550.txt.bz2 Content-length: 1278 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79682 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Blocks| |67491 --- Comment #1 from Jonathan Wakely --- With this updated testcase using C++2a syntax: template requires ((N & 0x1) !=3D 0) && (N > 1) int foo() { return 0; } template requires ((N & 0x1) !=3D 0x0) void foo() { } int main(void) { return foo<0x03>(); } Current trunk prints: b.cc: In function 'int main()': b.cc:10:20: error: call of overloaded 'foo<3>()' is ambiguous 10 | return foo<0x03>(); | ^ b.cc:3:5: note: candidate: 'int foo() [with unsigned int N =3D 3]' 3 | int foo() { return 0; } | ^~~ b.cc:7:6: note: candidate: 'void foo() [with unsigned int N =3D 3]' 7 | void foo() { } | ^~~ So it seems to be fixed. We might want to add the testcase to the testsuite before closing the bug though. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:23:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69051 invoked by alias); 29 Oct 2019 10:23:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68973 invoked by uid 48); 29 Oct 2019 10:23:22 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85846] [Concepts] Concept as value in initializer: bogus declared-as-implicit-template error Date: Tue, 29 Oct 2019 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: keywords bug_status cf_reconfirmed_on blocked everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02551.txt.bz2 Content-length: 686 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85846 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-29 Blocks| |67491 Ever confirmed|0 |1 Known to fail| |10.0 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:25:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71792 invoked by alias); 29 Oct 2019 10:25:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71520 invoked by uid 48); 29 Oct 2019 10:25:25 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/89657] [concepts] ICE when calling lambda returning requires-expression Date: Tue, 29 Oct 2019 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_known_to_work blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02553.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D89657 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Blocks| |67491 --- Comment #2 from Jonathan Wakely --- Seems to be fixed on trunk. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-657826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 29 10:25:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71517 invoked by alias); 29 Oct 2019 10:25:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71089 invoked by uid 48); 29 Oct 2019 10:25:01 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85991] [Concepts] Template placeholder: ICE cp_parser_lookup_name, at cp/parser.c:26223 Date: Tue, 29 Oct 2019 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: blocked Message-ID: In-Reply-To: References: 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-SW-Source: 2019-10/txt/msg02552.txt.bz2 Content-length: 2027 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85991 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |67491 --- Comment #1 from Jonathan Wakely --- No ICE with current trunk: b.cc:1:51: warning: the 'bool' keyword is not allowed in a C++20 concept definition 1 | template