From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35075 invoked by alias); 4 Mar 2018 06:16: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 Received: (qmail 35033 invoked by uid 48); 4 Mar 2018 06:15:59 -0000 From: "drepper.fsp+rhbz at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84695] New: Missed opportunity to issue warning about override Date: Sun, 04 Mar 2018 06:16: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: drepper.fsp+rhbz 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: 2018-03/txt/msg00593.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84695 Bug ID: 84695 Summary: Missed opportunity to issue warning about override Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: drepper.fsp+rhbz at gmail dot com Target Milestone: --- Stroustrup in [1] =C2=A720.3.4 writes the compilers should issue warnings a= bout inconsistent use of explicit override controls. struct foo { virtual int one(int) { return 1; } virtual int two(int) { return 2; } }; struct bar : foo { int one(int) override { return 101; } int two(int) { return 102; } }; bar b; In this case the compiler should issue a warning about bar::two. This is different from -Wsuggest-override. That command line option causes= a warning to be issued but the fact that bar::one uses override should automatically turn on this type of warnings for the rest of the class. I w= ould even say there is no need for a further command line option, it should just been done. [1] http://www.stroustrup.com/4th.html >>From gcc-bugs-return-596006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 07:17:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8625 invoked by alias); 4 Mar 2018 07:17: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 8593 invoked by uid 48); 4 Mar 2018 07:17:01 -0000 From: "bugzilla.gnu at coelho dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84696] New: internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Sun, 04 Mar 2018 07:17: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla.gnu at coelho 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: 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: 2018-03/txt/msg00594.txt.bz2 Content-length: 1404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 Bug ID: 84696 Summary: internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla.gnu at coelho dot net Target Milestone: --- Created attachment 43556 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43556&action=3Dedit preprocessed source Compilation of postgresql fails with -fwrapv -O2 sh> gcc --version gcc (GCC) 8.0.1 20180303 (experimental) sh> gcc -fwrapv -O2 -c -o localtime.o localtime.i during GIMPLE pass: pre localtime.c: In function =E2=80=98tzparse=E2=80=99: localtime.c:897:1: internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 tzparse(const char *name, struct state *sp, bool lastditch) ^~~~~~~ 0xe0b5de compute_antic_aux ../../gcc-trunk-src/gcc/tree-ssa-pre.c:2148 0xe0b5de compute_antic ../../gcc-trunk-src/gcc/tree-ssa-pre.c:2364 0xe0b5de execute ../../gcc-trunk-src/gcc/tree-ssa-pre.c:4131 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-596007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 08:46:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53208 invoked by alias); 4 Mar 2018 08:46: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 52796 invoked by uid 48); 4 Mar 2018 08:45:23 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Sun, 04 Mar 2018 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: 8.0.1 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00595.txt.bz2 Content-length: 1946 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Known to work| |7.3.0 Keywords| |ice-on-valid-code Last reconfirmed| |2018-03-04 Component|c |tree-optimization CC| |marxin at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 Summary|internal compiler error: in |[8 Regression] ICE in |compute_antic_aux, at |compute_antic_aux, at |tree-ssa-pre.c:2148 |tree-ssa-pre.c:2148 Target Milestone|--- |8.0 Known to fail| |8.0 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, started with r258124. I see similar issue: $ cat ice.i enum b { c, d }; struct e { enum b code; }; struct f { unsigned g; }; int h, i; struct a { struct e common; struct f j; }; struct a k (void) { struct a *l; do if (l->common.code =3D=3D d && l->j.g * 4) ; else i =3D l->j.g | (l->common.code && l); while (h && l->common.code =3D=3D c); } $ gcc ice.i -c -Ofast during GIMPLE pass: pre ice.i: In function 'k': ice.i:21:10: internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 struct a k (void) ^ 0xd90686 compute_antic_aux ../../gcc/tree-ssa-pre.c:2148 0xd90686 compute_antic ../../gcc/tree-ssa-pre.c:2364 0xd90686 execute ../../gcc/tree-ssa-pre.c:4131 >>From gcc-bugs-return-596008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 10:11:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103840 invoked by alias); 4 Mar 2018 10:11: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 101310 invoked by uid 48); 4 Mar 2018 10:11:10 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Sun, 04 Mar 2018 10: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00596.txt.bz2 Content-length: 143 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 --- Comment #2 from Dmitry G. Dyachenko --- duplicate PR84670? >>From gcc-bugs-return-596009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 10:30:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8621 invoked by alias); 4 Mar 2018 10:30: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 8502 invoked by uid 48); 4 Mar 2018 10:30:33 -0000 From: "estellnb at elstel dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84667] unreasonable refusal to use assignment operator method Date: Sun, 04 Mar 2018 10: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: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: estellnb at elstel dot 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: 2018-03/txt/msg00597.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84667 --- Comment #8 from Elmar Stellnberger --- concerning comment #4: Why do I not get the warning of utf8len being used uninitialized? I have compiled with -Wall and -Wmaybe-uninitialized. This w= ould not be the first time that g++ does not notify me about a variable that I h= ave forgotten to initialize. I have already wasted a lot of time in not knowing that a certain variable was not initialized in another context. >>From gcc-bugs-return-596010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 10:37:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71733 invoked by alias); 4 Mar 2018 10:37: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 71686 invoked by uid 48); 4 Mar 2018 10:37:40 -0000 From: "estellnb at elstel dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84667] unreasonable refusal to use assignment operator method Date: Sun, 04 Mar 2018 10: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: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: estellnb at elstel dot 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: 2018-03/txt/msg00598.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84667 --- Comment #9 from Elmar Stellnberger --- I still do not understand why this constructor gets called: inline xstrbuf( base_str s ). If I use .as_const() the result should be an xstr_const : pub= lic xstr_abstract and not an xstr_mutable: public xstr_abstract. Even if it ascended to xstr_abstract it would h= ave to discard the const qualifyer. >>From gcc-bugs-return-596011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 10:41:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73567 invoked by alias); 4 Mar 2018 10:41: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 73447 invoked by uid 48); 4 Mar 2018 10:40:58 -0000 From: "estellnb at elstel dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84667] unreasonable refusal to use assignment operator method Date: Sun, 04 Mar 2018 10: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: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: estellnb at elstel dot 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: 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: 2018-03/txt/msg00599.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84667 --- Comment #10 from Elmar Stellnberger --- Created attachment 43557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43557&action=3Dedit fixed version of auxtypes.h which works under g++ and clang Well if I fix things for clang then the code will also do the right thing u= nder g++. However this does not resolve my initial question. >>From gcc-bugs-return-596012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 11:06:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44601 invoked by alias); 4 Mar 2018 11:06: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 44555 invoked by uid 48); 4 Mar 2018 11:06:00 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] New: minloc/maxloc not simplified with zero size Date: Sun, 04 Mar 2018 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: tkoenig 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: 2018-03/txt/msg00600.txt.bz2 Content-length: 1577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 Bug ID: 84697 Summary: minloc/maxloc not simplified with zero size Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Minloc and maxloc simplification are not yet done for zero-sized arrays. Consider $ cat minloc_zerosize_1.f90 program main implicit none integer, parameter :: z(0) =3D 0 integer, parameter, dimension(1) :: a =3D minloc(z) integer, parameter, dimension(1) :: b =3D minloc(z,mask=3Dz>0) integer, parameter :: c =3D minloc(z,dim=3D1) end program main $ gfortran minloc_zerosize_1.f90 minloc_zerosize_1.f90:4:41: integer, parameter, dimension(1) :: a =3D minloc(z) 1 Fehler: Transformierende intrinsische Routine =C2=BBminloc=C2=AB bei (1) is= t in einem Initialisierungs-Ausdruck nicht erlaubt minloc_zerosize_1.f90:5:41: integer, parameter, dimension(1) :: b =3D minloc(z,mask=3Dz>0) 1 Fehler: Transformierende intrinsische Routine =C2=BBminloc=C2=AB bei (1) is= t in einem Initialisierungs-Ausdruck nicht erlaubt minloc_zerosize_1.f90:6:27: integer, parameter :: c =3D minloc(z,dim=3D1) 1 Fehler: Transformierende intrinsische Routine =C2=BBminloc=C2=AB bei (1) is= t in einem Initialisierungs-Ausdruck nicht erlaubt >>From gcc-bugs-return-596013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 11:07:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45797 invoked by alias); 4 Mar 2018 11:07: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 45720 invoked by uid 48); 4 Mar 2018 11:07:22 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84538] [8 Regression] Array of derived type elements incorrectly accessed in function Date: Sun, 04 Mar 2018 11: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.0.1 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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00601.txt.bz2 Content-length: 163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84538 --- Comment #8 from Paul Thomas --- Fixed on trunk. Thanks for the report. Paul >>From gcc-bugs-return-596014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 11:08:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46814 invoked by alias); 4 Mar 2018 11:08: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 46736 invoked by uid 48); 4 Mar 2018 11:08:19 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84538] [8 Regression] Array of derived type elements incorrectly accessed in function Date: Sun, 04 Mar 2018 11:08: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.1 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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00602.txt.bz2 Content-length: 451 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84538 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Paul Thomas --- It helps to mark it as RESOLVED! Paul >>From gcc-bugs-return-596015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 11:11:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48621 invoked by alias); 4 Mar 2018 11:11: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 48544 invoked by uid 48); 4 Mar 2018 11:11:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] minloc/maxloc not simplified with zero size Date: Sun, 04 Mar 2018 11:11: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: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00603.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-04 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed. >>From gcc-bugs-return-596016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 11:14:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50070 invoked by alias); 4 Mar 2018 11:14: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 50051 invoked by uid 48); 4 Mar 2018 11:14:18 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] minloc/maxloc not simplified with zero size Date: Sun, 04 Mar 2018 11:14: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: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00604.txt.bz2 Content-length: 1375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 --- Comment #2 from Thomas Koenig --- There is also a regression here: $ cat a.f90=20 program main implicit none integer, parameter :: z(0) =3D 0 print *,minloc(z) end program main $ ./a.out Fortran runtime error: Rank of array needs to be > 0 Error termination. Backtrace: #0 0x4007eb in ??? #1 0x400871 in ??? #2 0x7ff256574a86 in ??? #3 0x400679 in ??? at ../sysdeps/x86_64/start.S:120 #4 0xffffffffffffffff in ??? $ /usr/bin/gfortran a.f90=20 $ ./a.out 0 And something that didn't work in gcc7, but for a different reason: $ cat b.f90=20 program main implicit none integer, parameter :: z(0) =3D 0 print *,minloc(z,mask=3Dz>0) end program main $ gfortran b.f90=20 $ ./a.out Fortran runtime error: Rank of array needs to be > 0 Error termination. Backtrace: #0 0x4007ed in ??? #1 0x400873 in ??? #2 0x7f89d662aa86 in ??? #3 0x400679 in ??? at ../sysdeps/x86_64/start.S:120 #4 0xffffffffffffffff in ??? $ /usr/bin/gfortran b.f90=20 $ ./a.out Fortran runtime error: Funny sized logical array Error termination. Backtrace: #0 0x40082c in ??? #1 0x4008b2 in ??? #2 0x7f705fcfda86 in ??? #3 0x400699 in ??? at ../sysdeps/x86_64/start.S:120 #4 0xffffffffffffffff in ??? (/usr/bin/gfortran is gcc version 7.3.0 (SUSE Linux) ). >>From gcc-bugs-return-596017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 11:16:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51593 invoked by alias); 4 Mar 2018 11:16: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 51492 invoked by uid 48); 4 Mar 2018 11:15:51 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] [8 Regression] minloc/maxloc not simplified with zero size Date: Sun, 04 Mar 2018 11:16: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: rejects-valid, wrong-code 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords blocked 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: 2018-03/txt/msg00605.txt.bz2 Content-length: 769 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid, wrong-code Blocks| |66128 Target Milestone|--- |8.0 Summary|minloc/maxloc not |[8 Regression] |simplified with zero size |minloc/maxloc not | |simplified with zero size Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 [Bug 66128] ICE for some intrinsics with zero sized array parameter >>From gcc-bugs-return-596018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:31:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48451 invoked by alias); 4 Mar 2018 12:31: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 46653 invoked by uid 48); 4 Mar 2018 12:31:30 -0000 From: "nyronium at genthree dot io" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84698] New: ICE when using noexcept(noexcept()) declaration on global friend function of template class Date: Sun, 04 Mar 2018 12:31: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nyronium at genthree 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: 2018-03/txt/msg00606.txt.bz2 Content-length: 2936 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84698 Bug ID: 84698 Summary: ICE when using noexcept(noexcept()) declaration on global friend function of template class Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nyronium at genthree dot io Target Milestone: --- Created attachment 43558 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43558&action=3Dedit minimal code example triggering the bug * Exact gcc version: Using built-in specs. COLLECT_GCC=3D/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0/gcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-7.3.0/work/gcc-7.3.0/config= ure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++= -v7 --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/python --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 7.3.0 p1.0' --disable-esp --enable-libstdcxx-ti= me --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-altivec --disable-fixed-point --enable-targets=3Dall --disable-li= bgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer --enable-default-pie --enable-default-s= sp Thread model: posix gcc version 7.3.0 (Gentoo 7.3.0 p1.0)=20 * Command line triggering the bug: g++ ice_noexcept.cpp * Output of g++ ice_noexcept.cpp: ice_noexcept.cpp: In instantiation of =E2=80=98template void swap(X&, X&)=E2=80=99: ice_noexcept.cpp:7:14: required from =E2=80=98struct X=E2=80=99 ice_noexcept.cpp:15:14: required from here ice_noexcept.cpp:7:14: internal compiler error: in push_access_scope, at cp/pt.c:228 friend void swap(X& a, X& b) noexcept(noexcept(a.swap(b= ))); ^~~~ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. * Test with clang++ -std=3Dc++17: accepts the code. >>From gcc-bugs-return-596020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:33:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86443 invoked by alias); 4 Mar 2018 12:33: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 86384 invoked by uid 48); 4 Mar 2018 12:33:54 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46897] [OOP] type-bound defined ASSIGNMENT(=) not used for derived type component in intrinsic assign Date: Sun, 04 Mar 2018 12:33: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: 4.6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00608.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D46897 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:33:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85694 invoked by alias); 4 Mar 2018 12:33: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 85659 invoked by uid 48); 4 Mar 2018 12:33:33 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/38319] Memory leaks in allocatable component expressions Date: Sun, 04 Mar 2018 12:33: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: 4.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00607.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38319 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:34:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87216 invoked by alias); 4 Mar 2018 12:34: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 87141 invoked by uid 48); 4 Mar 2018 12:34:13 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49636] [F03] ASSOCIATE construct confused with slightly complicated case Date: Sun, 04 Mar 2018 12: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: 4.6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00609.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49636 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:34:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87982 invoked by alias); 4 Mar 2018 12:34: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 87946 invoked by uid 48); 4 Mar 2018 12:34:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82173] [meta-bug] Parameterized derived type errors Date: Sun, 04 Mar 2018 12: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00610.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82173 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:35:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90356 invoked by alias); 4 Mar 2018 12:35: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 90316 invoked by uid 48); 4 Mar 2018 12:35:44 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82753] (PDT) Invalid error for generic interface with different KIND parameter values Date: Sun, 04 Mar 2018 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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00613.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82753 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:35:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88809 invoked by alias); 4 Mar 2018 12:35: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 88738 invoked by uid 48); 4 Mar 2018 12:34:59 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82275] gfortran rejects valid & accepts invalid reference to dimension-remapped type SELECT TYPE selector Date: Sun, 04 Mar 2018 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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00611.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82275 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:35:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89561 invoked by alias); 4 Mar 2018 12: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 89501 invoked by uid 48); 4 Mar 2018 12:35:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82649] (PDT) Invalid error for assumed parameters in ALLOCATE typespec Date: Sun, 04 Mar 2018 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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00612.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82649 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:36:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91939 invoked by alias); 4 Mar 2018 12:36: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 91870 invoked by uid 48); 4 Mar 2018 12:36:32 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82865] Option -fdec collides with PDT Date: Sun, 04 Mar 2018 12:36: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00615.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82865 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:36:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92720 invoked by alias); 4 Mar 2018 12:36: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 92640 invoked by uid 48); 4 Mar 2018 12:36:52 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82923] Automatic allocation of deferred length character using function result Date: Sun, 04 Mar 2018 12:36: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00616.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82923 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:36:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91088 invoked by alias); 4 Mar 2018 12:36: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 91037 invoked by uid 48); 4 Mar 2018 12:36:00 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82842] (PDT) Constructors do not work Date: Sun, 04 Mar 2018 12:36: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00614.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82842 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:37:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93455 invoked by alias); 4 Mar 2018 12:37: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 93413 invoked by uid 48); 4 Mar 2018 12:37:09 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83275] [PDT] ICE in get_pdt_constructor, at fortran/resolve.c:1185 (and others) Date: Sun, 04 Mar 2018 12: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00617.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83275 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:37:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94231 invoked by alias); 4 Mar 2018 12:37: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 94202 invoked by uid 48); 4 Mar 2018 12:37:26 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83646] (PDT) Use statement with PDTs excludes the specific instances. Date: Sun, 04 Mar 2018 12: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: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED 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: 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: 2018-03/txt/msg00618.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83646 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:41:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104040 invoked by alias); 4 Mar 2018 12:41: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 103972 invoked by uid 48); 4 Mar 2018 12:40:58 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/65024] [OOP] unlimited polymorphic pointer structure not built when it should be Date: Sun, 04 Mar 2018 12: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: 5.0 X-Bugzilla-Keywords: FIXME X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault 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: 2018-03/txt/msg00619.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65024 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:41:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105712 invoked by alias); 4 Mar 2018 12:41: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 105660 invoked by uid 48); 4 Mar 2018 12:41:35 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83076] [8 Regression] ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598 Date: Sun, 04 Mar 2018 12: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00621.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83076 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:41:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104925 invoked by alias); 4 Mar 2018 12: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 104854 invoked by uid 48); 4 Mar 2018 12:41:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/80657] [7/8 Regression] Loop in character function declaration Date: Sun, 04 Mar 2018 12: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: 7.1.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-03/txt/msg00620.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80657 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:42:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108248 invoked by alias); 4 Mar 2018 12:42: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 108181 invoked by uid 48); 4 Mar 2018 12:42:39 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84219] Failure to generate error for IO of transfer intrinsic, when MOLD has derived type components. Date: Sun, 04 Mar 2018 12:42: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00624.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84219 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:42:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107498 invoked by alias); 4 Mar 2018 12:42: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 107451 invoked by uid 48); 4 Mar 2018 12:42:20 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83898] [6/7 Regression] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181 Date: Sun, 04 Mar 2018 12:42: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-03/txt/msg00623.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83898 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:42:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106484 invoked by alias); 4 Mar 2018 12:42: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 106432 invoked by uid 48); 4 Mar 2018 12:41:57 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83149] [6- and 7-branches] Missing test for sym->ns->proc_name: crash_signal in toplev.c:325 Date: Sun, 04 Mar 2018 12:42: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00622.txt.bz2 Content-length: 303 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83149 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 12:44:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110029 invoked by alias); 4 Mar 2018 12:44: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 109961 invoked by uid 48); 4 Mar 2018 12:44:37 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/40196] [F03] [F08] Type parameter inquiry (str%len, a%kind) and Complex parts (z%re, z%im) Date: Sun, 04 Mar 2018 12:44: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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00625.txt.bz2 Content-length: 298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D40196 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW >>From gcc-bugs-return-596039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 13:56:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77374 invoked by alias); 4 Mar 2018 13:56: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 77217 invoked by uid 55); 4 Mar 2018 13:56:42 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83076] [8 Regression] ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598 Date: Sun, 04 Mar 2018 13:56: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00627.txt.bz2 Content-length: 1628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83076 --- Comment #12 from Paul Thomas --- Author: pault Date: Sun Mar 4 13:56:09 2018 New Revision: 258233 URL: https://gcc.gnu.org/viewcvs?rev=3D258233&root=3Dgcc&view=3Drev Log: 2018-03-04 Paul Thomas PR fortran/83076 * resolve.c (resolve_fl_derived0): Add caf_token fields for allocatable and pointer scalars, when -fcoarray selected. * trans-types.c (gfc_copy_dt_decls_ifequal): Copy the token field as well as the backend_decl. (gfc_get_derived_type): Flag GFC_FCOARRAY_LIB for module derived types that are not vtypes. Components with caf_token attribute are pvoid types. For a component requiring it, find the caf_token field and have the component token field point to its backend_decl. PR fortran/83319 *trans-types.c (gfc_get_array_descriptor_base): Add the token field to the descriptor even when codimen not set. 2018-03-04 Paul Thomas PR fortran/83076 * gfortran.dg/coarray_45.f90 : New test. PR fortran/83319 * gfortran.dg/coarray_46.f90 : New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/coarray_45.f90 branches/gcc-7-branch/gcc/testsuite/gfortran.dg/coarray_46.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/gfortran.h branches/gcc-7-branch/gcc/fortran/resolve.c branches/gcc-7-branch/gcc/fortran/trans-types.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 13:56:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77329 invoked by alias); 4 Mar 2018 13:56: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 77214 invoked by uid 55); 4 Mar 2018 13:56:41 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83319] [7/8 Regression] ICE on use of allocatable component in derived type coarray defined in module Date: Sun, 04 Mar 2018 13:56: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.2.1 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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00626.txt.bz2 Content-length: 1627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83319 --- Comment #6 from Paul Thomas --- Author: pault Date: Sun Mar 4 13:56:09 2018 New Revision: 258233 URL: https://gcc.gnu.org/viewcvs?rev=3D258233&root=3Dgcc&view=3Drev Log: 2018-03-04 Paul Thomas PR fortran/83076 * resolve.c (resolve_fl_derived0): Add caf_token fields for allocatable and pointer scalars, when -fcoarray selected. * trans-types.c (gfc_copy_dt_decls_ifequal): Copy the token field as well as the backend_decl. (gfc_get_derived_type): Flag GFC_FCOARRAY_LIB for module derived types that are not vtypes. Components with caf_token attribute are pvoid types. For a component requiring it, find the caf_token field and have the component token field point to its backend_decl. PR fortran/83319 *trans-types.c (gfc_get_array_descriptor_base): Add the token field to the descriptor even when codimen not set. 2018-03-04 Paul Thomas PR fortran/83076 * gfortran.dg/coarray_45.f90 : New test. PR fortran/83319 * gfortran.dg/coarray_46.f90 : New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/coarray_45.f90 branches/gcc-7-branch/gcc/testsuite/gfortran.dg/coarray_46.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/gfortran.h branches/gcc-7-branch/gcc/fortran/resolve.c branches/gcc-7-branch/gcc/fortran/trans-types.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 13:58:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82391 invoked by alias); 4 Mar 2018 13:58: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 81864 invoked by uid 48); 4 Mar 2018 13:58:08 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83076] [8 Regression] ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598 Date: Sun, 04 Mar 2018 13:58: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: 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: 8.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: 2018-03/txt/msg00628.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83076 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Paul Thomas --- Fixed on trunk and 7-branch. Thanks for the report. Paul >>From gcc-bugs-return-596041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 14:01:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84926 invoked by alias); 4 Mar 2018 14:01: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 84871 invoked by uid 48); 4 Mar 2018 14:01:32 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82336] [6/7/8 Regression] GCC requires but does not emit defaulted constructors in certain cases Date: Sun, 04 Mar 2018 14:01: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.1.1 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com 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: 6.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: 2018-03/txt/msg00629.txt.bz2 Content-length: 177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82336 --- Comment #5 from Paolo Carlini --- For reference, testing successfully completed too. >>From gcc-bugs-return-596042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 14:08:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90516 invoked by alias); 4 Mar 2018 14:08: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 90444 invoked by uid 48); 4 Mar 2018 14:08:53 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84277] [8 Regression] A lot of new acats testsuite failures Date: Sun, 04 Mar 2018 14:08: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-03/txt/msg00630.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84277 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ada |target --- Comment #12 from Eric Botcazou --- Recategorizing. >>From gcc-bugs-return-596043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 14:18:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122359 invoked by alias); 4 Mar 2018 14:18: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 122297 invoked by uid 48); 4 Mar 2018 14:18:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/42122] [F03] -fdump-tree-original shows wrong static decl for functions with procptr argument Date: Sun, 04 Mar 2018 14:18: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: 4.5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00631.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D42122 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #3 from Dominique d'Humieres --- With gcc 4.8 up to trunk (8.0) the dump is setpointer (void (*) () * p) { } MAIN__ () { static void setpointer (void (*) ()); } Is this eight-year old PR fixed or not? >>From gcc-bugs-return-596044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 14:20:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128559 invoked by alias); 4 Mar 2018 14:20: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 128515 invoked by uid 48); 4 Mar 2018 14:20:17 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/40978] Use named return value (NRV) for functions returning the result as argument Date: Sun, 04 Mar 2018 14:20: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: 4.5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00632.txt.bz2 Content-length: 244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D40978 --- Comment #2 from Dominique d'Humieres --- > Six years without any activity. Is there any reason to keep this PR opene= d? No feedback in more than two years. >>From gcc-bugs-return-596045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 14:28:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18054 invoked by alias); 4 Mar 2018 14:28: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 18040 invoked by uid 48); 4 Mar 2018 14:28:34 -0000 From: "okannen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84699] New: discarded value expression of volatile class type shall materialize a temporary Date: Sun, 04 Mar 2018 14:28: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: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: okannen 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: 2018-03/txt/msg00633.txt.bz2 Content-length: 2115 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84699 Bug ID: 84699 Summary: discarded value expression of volatile class type shall materialize a temporary Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okannen at gmail dot com Target Milestone: --- *Description When a discarded value expression if of class type, a temporary shall be created by copy construction. This copy construction causes the access to t= he value of the copied object. Example: struct s{=20 int i; s()=3Ddefault; s(const volatile s& o):i{o.i}{} }; struct s1{=20 int i; }; volatile s as; volatile s1 as1; void test(){ as; //should call the copy constructor of s as1; //should not compile (void)as; //should call the copy constructor of s (void)as1; //should not compile=20=20=20 (as,as); //should call twice the copy constructor of s (as1,as1); //should not compile=20 } Remark: Neither Clang nor MSVC behave according to the standard. *Standard requirement:=20 **Since at least C++11,[expr].11 (https://timsong-cpp.github.io/cppwp/n4140/expr#11): In some contexts, an expression only appears for its side effects. Such an expression is called a discarded-value expression. The expression is evalua= ted and its value is discarded. The array-to-pointer ([conv.array]) and function-to-pointer ([conv.func]) standard conversions are not applied. The lvalue-to-rvalue conversion ([conv.lval]) is applied if and only if the expression is a glvalue of volatile-qualified type and it is one of the following:[...] **Since C++14 standard a Note has been added to this which is explicit (https://timsong-cpp.github.io/cppwp/n4659/expr#12): [[...] If the lvalue is of class type, it must have a volatile copy constructor to initialize the temporary that is the result of the lvalue-to-rvalue conversion.] >>From gcc-bugs-return-596046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 14:35:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34410 invoked by alias); 4 Mar 2018 14:35: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 34379 invoked by uid 48); 4 Mar 2018 14:35:04 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] [8 Regression] minloc/maxloc not simplified with zero size Date: Sun, 04 Mar 2018 14: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: unknown X-Bugzilla-Keywords: rejects-valid, wrong-code 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.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: 2018-03/txt/msg00634.txt.bz2 Content-length: 2579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #3 from Thomas Koenig --- Something is rotten in the state of gfc_simplify_expr. Adding Index: simplify.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 --- simplify.c (Revision 258232) +++ simplify.c (Arbeitskopie) @@ -230,6 +230,7 @@ return x; } +void gfc_debug_expr (gfc_expr *); /* Test that the expression is a constant array, simplifying if we are dealing with a parameter array. */ @@ -242,9 +243,11 @@ if (e =3D=3D NULL) return true; + gfc_debug_expr (e); if (e->expr_type =3D=3D EXPR_VARIABLE && e->rank > 0 && e->symtree->n.sym->attr.flavor =3D=3D FL_PARAMETER) gfc_simplify_expr (e, 1); + gfc_debug_expr (e); if (e->expr_type !=3D EXPR_ARRAY || !gfc_is_constant_expr (e)) return false; on a.f90 below yields main:z(FULL) 0 but the 0 output after simplification seems to be wrong: show_expr (p=3D0x11ec2780) at ../../trunk/gcc/fortran/dump-parse-tree.c:388 388 if (p =3D=3D NULL) (gdb) p *p $1 =3D {expr_type =3D EXPR_CONSTANT, ts =3D {type =3D BT_INTEGER, kind =3D = 4, u =3D {derived =3D 0x0, cl =3D 0x0, pad =3D 0}, interface =3D 0x0, is_c_interop = =3D 0,=20 is_iso_c =3D 0, f90_type =3D BT_UNKNOWN, deferred =3D false, interop_ki= nd =3D 0x0}, rank =3D 1, shape =3D 0x0, symtree =3D 0x0, ref =3D 0x0, where =3D { nextc =3D 0x11ec0378, lb =3D 0x11ec02e0}, (gdb) p p->rank $2 =3D 1 (gdb) p p->shape $3 =3D (mpz_t *) 0x0 Note that this works correctly: program main implicit none integer, parameter :: z(0) =3D [integer::] print *,minloc(z) end program main This yields (correctly) (gdb) p *p $1 =3D {expr_type =3D EXPR_ARRAY, ts =3D {type =3D BT_INTEGER, kind =3D 4, = u =3D {derived =3D 0x0, cl =3D 0x0, pad =3D 0}, interface =3D 0x0, is_c_interop =3D 0, is_iso_= c =3D 0,=20 f90_type =3D BT_UNKNOWN, deferred =3D false, interop_kind =3D 0x11d41be0 }, rank =3D 1, shape =3D 0x11ea8610, symtree =3D 0x0, ref= =3D 0x0,=20 where =3D {nextc =3D 0x11ec0378, lb =3D 0x11ec02e0}, Steve, this may also be the root cause of the other problems in PR66128. >>From gcc-bugs-return-596047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 15:22:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105034 invoked by alias); 4 Mar 2018 15:22: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 104927 invoked by uid 48); 4 Mar 2018 15:22:24 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/33097] Function decl trees without proper argument list Date: Sun, 04 Mar 2018 15: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: 4.2.1 X-Bugzilla-Keywords: FIXME X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00635.txt.bz2 Content-length: 823 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D33097 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #19 from Dominique d'Humieres --- > This was due to the following TODO in gfc_get_symbol_for_expr(): > /* TODO: proper argument lists for external intrinsics. */ This has disappeared from the sources since at least gcc5. In addition I see: gcc/fortran/ChangeLog-2011: * trans.h (gfc_chainon_list): Delete. gcc/fortran/ChangeLog-2011: * trans.c (gfc_chainon_list): Delete. So the patch in comment 10 is now irrelevant. Without feedback I'll close this PR as INVALID. >>From gcc-bugs-return-596048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 15:25:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22010 invoked by alias); 4 Mar 2018 15:25: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 19650 invoked by uid 48); 4 Mar 2018 15:25:09 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/34742] Document the kind of integer passed for string lengths Date: Sun, 04 Mar 2018 15:25: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: 4.3.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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 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: 2018-03/txt/msg00636.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34742 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |jb at gcc dot gnu.org --- Comment #2 from Dominique d'Humieres --- Comment 0 is no longer true for trunk (8.0). What should be done with this = PR? >>From gcc-bugs-return-596049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 16:19:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102542 invoked by alias); 4 Mar 2018 16:19: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 102470 invoked by uid 48); 4 Mar 2018 16:19:33 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66128] ICE for some intrinsics with zero sized array parameter Date: Sun, 04 Mar 2018 16: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00637.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kargl at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #13 from kargl at gcc dot gnu.org --- unassign myself >>From gcc-bugs-return-596050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 16:29:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116230 invoked by alias); 4 Mar 2018 16:29: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 113382 invoked by uid 48); 4 Mar 2018 16:29:53 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/21161] [6/7/8 Regression] "clobbered by longjmp" warning ignores the data flow Date: Sun, 04 Mar 2018 16:29: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: 4.0.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00638.txt.bz2 Content-length: 1116 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D21161 --- Comment #14 from Peter Bergner --- (In reply to Peter Bergner from comment #13) > In case you haven't creduce'd the test case yet, here's what I got: Of course that's a totally bogus test case given what Bruno was trying to prove, namely that obj is never updated between the setjmp call and the cal= l to longjmp, therefor we shouldn't get a warning. I think the following test c= ase does show what Bruno was trying to prove. bergner@pike:~/gcc/BUGS/PR21161$ cat bug.c=20 #include typedef struct { long a; } * b; b global_obj; void c (b obj) { jmp_buf env; if (setjmp(env) !=3D 0) obj =3D global_obj; if (obj->a) longjmp (env, 1); } bergner@pike:~/gcc/BUGS/PR21161$ /home/bergner/gcc/build/gcc-fsf-mainline-debug/gcc/xgcc -B/home/bergner/gcc/build/gcc-fsf-mainline-debug/gcc -W -O1 -S bug.c=20 bug.c: In function =E2=80=98c=E2=80=99: bug.c:7:6: warning: argument =E2=80=98obj=E2=80=99 might be clobbered by = =E2=80=98longjmp=E2=80=99 or =E2=80=98vfork=E2=80=99 [-Wclobbered] c (b obj) ~~^~~ >>From gcc-bugs-return-596051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:32:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101575 invoked by alias); 4 Mar 2018 17:32: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 101518 invoked by uid 48); 4 Mar 2018 17:32:36 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52622] heap-use-after-free with instrumented compiler Date: Sun, 04 Mar 2018 17:32: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: 4.6.3 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 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: 2018-03/txt/msg00639.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52622 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE in gfortran 4.6.3, |heap-use-after-free with |x86_64 |instrumented compiler --- Comment #13 from Dominique d'Humieres --- Still present at revision r257960. Changed the summary. >>From gcc-bugs-return-596052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:38:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107884 invoked by alias); 4 Mar 2018 17:38: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 107853 invoked by uid 48); 4 Mar 2018 17:38:36 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58200] Option fcheck is misleadingly located in option descriptions Date: Sun, 04 Mar 2018 17: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: dominiq at lps dot ens.fr X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00640.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58200 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |dominiq at lps dot = ens.fr --- Comment #2 from Dominique d'Humieres --- Taking. >>From gcc-bugs-return-596053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:40:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112329 invoked by alias); 4 Mar 2018 17:40: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 112247 invoked by uid 48); 4 Mar 2018 17:39:56 -0000 From: "oliver.tale at web dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71569] [6 regression] Crash: External definition of template member from template struct Date: Sun, 04 Mar 2018 17: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: 5.1.0 X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: oliver.tale at web dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00641.txt.bz2 Content-length: 321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71569 --- Comment #14 from Oliver Tale-Yazdi --- So can we close this? You actually fixed two bugs, should I open a second report for the decltype= bug (accepts-invalid) and link it here as solved? I dont really know how bugzilla is used here. >>From gcc-bugs-return-596054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:40:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115970 invoked by alias); 4 Mar 2018 17:40: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 115931 invoked by uid 48); 4 Mar 2018 17:40:45 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66128] ICE for some intrinsics with zero sized array parameter Date: Sun, 04 Mar 2018 17:40: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: 5.1.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00642.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |NEW >>From gcc-bugs-return-596055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:43:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117919 invoked by alias); 4 Mar 2018 17:43: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 117862 invoked by uid 48); 4 Mar 2018 17:43:40 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58618] Wrong code with character substring and ASSOCIATE Date: Sun, 04 Mar 2018 17:43: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.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: priority 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: 2018-03/txt/msg00643.txt.bz2 Content-length: 810 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58618 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Summary|ICE with character |Wrong code with character |substring and ASSOCIATE |substring and ASSOCIATE Known to fail|4.8.1, 4.9.0 |6.4.0, 7.3.0, 8.0 --- Comment #5 from Dominique d'Humieres --- > I have submitted a patch that fixed PR fortran/58991 and > PR fortran/58992. That patch fixes the ICE, but leads > to wrong code. Update keywords to reflect the change in > the problem. Changed the summary accordingly. >>From gcc-bugs-return-596056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:54:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126539 invoked by alias); 4 Mar 2018 17:54: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 126491 invoked by uid 48); 4 Mar 2018 17:54:50 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor Date: Sun, 04 Mar 2018 17:54: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: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00644.txt.bz2 Content-length: 598 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59298 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #10 from Dominique d'Humieres --- On x86_64-apple-darwin* I cannot reproduce any failure starting with 5.5.0 = up to trunk (8.0): % gfortran-fsf-5 pr59298.f90 -fsanitize=3Daddress,undefined -std=3Df2008 -static-libgfortran -fcheck=3Dall -Ofast % ./a.out >>From gcc-bugs-return-596057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:55:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127381 invoked by alias); 4 Mar 2018 17:55: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 127332 invoked by uid 48); 4 Mar 2018 17:55:14 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/34742] Document the kind of integer passed for string lengths Date: Sun, 04 Mar 2018 17:55: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: 4.3.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jb 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: 2018-03/txt/msg00645.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34742 Janne Blomqvist changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #3 from Janne Blomqvist --- It's documented in the manual, and the changes for release 8 have been documented in the changes.html and the wiki. Closing as fixed. >>From gcc-bugs-return-596058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 17:59:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 327 invoked by alias); 4 Mar 2018 17:59: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 131006 invoked by uid 48); 4 Mar 2018 17:59:55 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/61180] surprising -Wsurprising warning Date: Sun, 04 Mar 2018 17:59: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00646.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61180 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |dominiq at lps dot = ens.fr --- Comment #4 from Dominique d'Humieres --- Let me take it to look to comment 3. >>From gcc-bugs-return-596059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 18:07:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113096 invoked by alias); 4 Mar 2018 18:07: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 113055 invoked by uid 48); 4 Mar 2018 18:07:47 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor Date: Sun, 04 Mar 2018 18: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: 4.8.2 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00647.txt.bz2 Content-length: 2617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59298 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Last reconfirmed|2013-11-26 00:00:00 |2018-3-4 --- Comment #11 from Thomas Koenig --- Test case from comment#4 passes, test case from comment#9 ICEs: ig25@linux-d6cw:/tmp> cat a.f90=20 program p type t integer :: m(1,1) end type type(t), parameter :: x(1) =3D [ t(789) ] integer :: f(1,1) f =3D (x(1)%m) print *, f end ig25@linux-d6cw:/tmp> gfortran a.f90=20 f951: interner Compiler-Fehler: Speicherzugriffsfehler 0xd5b70f crash_signal ../../trunk/gcc/toplev.c:325 0x7db0db gfc_clear_shape(__mpz_struct (*) [1], int) ../../trunk/gcc/fortran/expr.c:412 0x7db0db gfc_free_shape(__mpz_struct (**) [1], int) ../../trunk/gcc/fortran/expr.c:422 0x7db217 free_expr0 ../../trunk/gcc/fortran/expr.c:503 0x7db3d0 gfc_replace_expr(gfc_expr*, gfc_expr*) ../../trunk/gcc/fortran/expr.c:615 0x7de9c8 simplify_const_ref ../../trunk/gcc/fortran/expr.c:1796 0x7def2d gfc_simplify_expr(gfc_expr*, int) ../../trunk/gcc/fortran/expr.c:2004 0x7df04d simplify_parameter_variable ../../trunk/gcc/fortran/expr.c:1869 0x7def0e gfc_simplify_expr(gfc_expr*, int) ../../trunk/gcc/fortran/expr.c:1976 0x7dea92 simplify_intrinsic_op ../../trunk/gcc/fortran/expr.c:1105 0x7dea92 gfc_simplify_expr(gfc_expr*, int) ../../trunk/gcc/fortran/expr.c:1965 0x84a8a9 resolve_operator ../../trunk/gcc/fortran/resolve.c:4158 0x84a8a9 gfc_resolve_expr(gfc_expr*) ../../trunk/gcc/fortran/resolve.c:6702 0x841dc1 gfc_resolve_code(gfc_code*, gfc_namespace*) ../../trunk/gcc/fortran/resolve.c:11092 0x844eef resolve_codes ../../trunk/gcc/fortran/resolve.c:16516 0x844fbe gfc_resolve(gfc_namespace*) ../../trunk/gcc/fortran/resolve.c:16551 0x832e20 resolve_all_program_units ../../trunk/gcc/fortran/parse.c:6060 0x832e20 gfc_parse_file() ../../trunk/gcc/fortran/parse.c:6310 0x87950f gfc_be_parse_file ../../trunk/gcc/fortran/f95-lang.c:204 Bitte senden Sie einen vollst=C3=A4ndigen Fehlerbericht auf Englisch ein; inclusive vorverarbeitetem Quellcode, wenn es dienlich ist. Please include the complete backtrace with any bug report. Weitere Hinweise finden Sie unter =C2=BB=C2=AB. So, we should probably commit the test case from #4. >>From gcc-bugs-return-596060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 18:55:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68539 invoked by alias); 4 Mar 2018 18:55: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 68488 invoked by uid 48); 4 Mar 2018 18:54:56 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor Date: Sun, 04 Mar 2018 18:55: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: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00648.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59298 --- Comment #12 from Dominique d'Humieres --- I can only get the ICE with an instrumented compiler. >>From gcc-bugs-return-596061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 19:09:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4810 invoked by alias); 4 Mar 2018 19:09: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 4759 invoked by uid 48); 4 Mar 2018 19:09:42 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/28154] SPREAD (and friends) on unallocated arrays Date: Sun, 04 Mar 2018 19:09: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: 4.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00649.txt.bz2 Content-length: 160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28154 --- Comment #2 from Dominique d'Humieres --- Related to/Duplicate of pr36683? >>From gcc-bugs-return-596062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 19:10:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5711 invoked by alias); 4 Mar 2018 19:10: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 5629 invoked by uid 48); 4 Mar 2018 19:10:00 -0000 From: "estellnb at elstel dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84667] unreasonable refusal to use assignment operator method Date: Sun, 04 Mar 2018 19: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: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: estellnb at elstel dot org X-Bugzilla-Status: REOPENED 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: 2018-03/txt/msg00650.txt.bz2 Content-length: 843 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84667 Elmar Stellnberger changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #11 from Elmar Stellnberger --- Why does my gcc not report uninitialized variables. Is the version too old (6.3.0 20170516)?=20 Still I do not know how g++ can convert an xstr_const into an xstr_mutabl= e. That should be impossible as stated in the comment above. Thus the fact that correcting an error reported by clang has made the program behave correctly under g++ is simply astonishing. However I have no idea why g++ behaves like this. >>From gcc-bugs-return-596063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 20:05:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78291 invoked by alias); 4 Mar 2018 20:05: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 78032 invoked by uid 48); 4 Mar 2018 20:05:52 -0000 From: "gerald at pfeifer dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Sun, 04 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gerald at pfeifer dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00651.txt.bz2 Content-length: 714 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Gerald Pfeifer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gerald at pfeifer dot com --- Comment #6 from Gerald Pfeifer --- Created attachment 43559 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43559&action=3Dedit A testcase from Wine (fairly bigger) This is a testcase from a full Wine build. The others probably are better to nail this down, but for verification just in case a first fix addresses those but might not cover this one as well. >>From gcc-bugs-return-596064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 20:06:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79125 invoked by alias); 4 Mar 2018 20:06: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 79076 invoked by uid 48); 4 Mar 2018 20:06:08 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor Date: Sun, 04 Mar 2018 20: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: 4.8.2 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: --- 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: 2018-03/txt/msg00652.txt.bz2 Content-length: 2340 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59298 --- Comment #13 from Thomas Koenig --- This still segfaults: ig25@linux-d6cw:/tmp> cat a.f90=20 implicit none type Plane integer :: M(1,1) end type type(Plane), parameter :: planes(1) =3D [ Plane(1) ] integer :: f(1,1) f =3D (planes(1)%M) if (f(1,1) /=3D 1) stop 1 end program ig25@linux-d6cw:/tmp> gfortran a.f90=20 f951: interner Compiler-Fehler: Speicherzugriffsfehler 0xd5b70f crash_signal ../../trunk/gcc/toplev.c:325 0x7db0db gfc_clear_shape(__mpz_struct (*) [1], int) ../../trunk/gcc/fortran/expr.c:412 0x7db0db gfc_free_shape(__mpz_struct (**) [1], int) ../../trunk/gcc/fortran/expr.c:422 0x7db217 free_expr0 ../../trunk/gcc/fortran/expr.c:503 0x7db3d0 gfc_replace_expr(gfc_expr*, gfc_expr*) ../../trunk/gcc/fortran/expr.c:615 0x7de9c8 simplify_const_ref ../../trunk/gcc/fortran/expr.c:1796 0x7def2d gfc_simplify_expr(gfc_expr*, int) ../../trunk/gcc/fortran/expr.c:2004 0x7df04d simplify_parameter_variable ../../trunk/gcc/fortran/expr.c:1869 0x7def0e gfc_simplify_expr(gfc_expr*, int) ../../trunk/gcc/fortran/expr.c:1976 0x7dea92 simplify_intrinsic_op ../../trunk/gcc/fortran/expr.c:1105 0x7dea92 gfc_simplify_expr(gfc_expr*, int) ../../trunk/gcc/fortran/expr.c:1965 0x84a8a9 resolve_operator ../../trunk/gcc/fortran/resolve.c:4158 0x84a8a9 gfc_resolve_expr(gfc_expr*) ../../trunk/gcc/fortran/resolve.c:6702 0x841dc1 gfc_resolve_code(gfc_code*, gfc_namespace*) ../../trunk/gcc/fortran/resolve.c:11092 0x844eef resolve_codes ../../trunk/gcc/fortran/resolve.c:16516 0x844fbe gfc_resolve(gfc_namespace*) ../../trunk/gcc/fortran/resolve.c:16551 0x832e20 resolve_all_program_units ../../trunk/gcc/fortran/parse.c:6060 0x832e20 gfc_parse_file() ../../trunk/gcc/fortran/parse.c:6310 0x87950f gfc_be_parse_file ../../trunk/gcc/fortran/f95-lang.c:204 Bitte senden Sie einen vollst=C3=A4ndigen Fehlerbericht auf Englisch ein; inclusive vorverarbeitetem Quellcode, wenn es dienlich ist. Please include the complete backtrace with any bug report. Weitere Hinweise finden Sie unter =C2=BB=C2=AB. So, a bit too early to commit a test case :-) >>From gcc-bugs-return-596065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 21:02:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26477 invoked by alias); 4 Mar 2018 21:02: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 26436 invoked by uid 48); 4 Mar 2018 21:02:19 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] [8 Regression] minloc/maxloc not simplified with zero size Date: Sun, 04 Mar 2018 21:02: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: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg00653.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot = gnu.org --- Comment #4 from Thomas Koenig --- Created attachment 43560 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43560&action=3Dedit First attempt... Well, here is something that fixes the first test case, at least. >>From gcc-bugs-return-596066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 21:33:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85706 invoked by alias); 4 Mar 2018 21:33: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 85640 invoked by uid 48); 4 Mar 2018 21:33:08 -0000 From: "amker.cheng at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific) Date: Sun, 04 Mar 2018 21: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: 4.1.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker.cheng at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rakdver 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: 2018-03/txt/msg00654.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28364 bin.cheng changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker.cheng at gmail dot c= om --- Comment #31 from bin.cheng --- This is a really old issue! I will also check status of this issue on trun= k. >>From gcc-bugs-return-596067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 21:33:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86532 invoked by alias); 4 Mar 2018 21:33: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 86448 invoked by uid 48); 4 Mar 2018 21:33:32 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor Date: Sun, 04 Mar 2018 21:33: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: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: priority 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: 2018-03/txt/msg00655.txt.bz2 Content-length: 747 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59298 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org Blocks| |84693 --- Comment #14 from kargl at gcc dot gnu.org --- Added PR 84693 as blocked. The code is in 84693 is similar, but the RHS of the expression is a scalar DT and LHS is an array of the DT. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84693 [Bug 84693] scalar DT not broadcast across an array in an initialization expression >>From gcc-bugs-return-596068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 21:35:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88197 invoked by alias); 4 Mar 2018 21:35: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 88137 invoked by uid 48); 4 Mar 2018 21:35:13 -0000 From: "gufideg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81700] Unresolved function type when taking address of operator() of generic lambda Date: Sun, 04 Mar 2018 21:35: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.1.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: gufideg 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: 2018-03/txt/msg00656.txt.bz2 Content-length: 196 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81700 --- Comment #1 from Guillaume Racicot --- Still happen with 7.3 and trunk on godbolt: https://godbolt.org/g/xXUn1v >>From gcc-bugs-return-596069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 04 22:06:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37235 invoked by alias); 4 Mar 2018 22:06: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 37182 invoked by uid 48); 4 Mar 2018 22:06:31 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/31009] Generate conditional code to assign arrays, depending on their stride Date: Sun, 04 Mar 2018 22: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: 4.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00657.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D31009 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #6 from Dominique d'Humieres --- Eleven years later does it make sense to keep this PR opened? Should not the CONTIGUOUS attribute do the trick now? >>From gcc-bugs-return-596070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 00:24:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2699 invoked by alias); 5 Mar 2018 00: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 2640 invoked by uid 48); 5 Mar 2018 00:24:50 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84618] [8 Regression] ICE in build_capture_proxy, at cp/lambda.c:460 Date: Mon, 05 Mar 2018 00:24: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.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00658.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84618 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at or= acle dot com --- Comment #3 from Paolo Carlini --- Looking into it. >>From gcc-bugs-return-596071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 02:51:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21437 invoked by alias); 5 Mar 2018 02:51: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 21420 invoked by uid 48); 5 Mar 2018 02:51:45 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84700] New: ICE on 32-bit BE powerpc targets w/ -misel -O1 Date: Mon, 05 Mar 2018 02:51: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: 2018-03/txt/msg00659.txt.bz2 Content-length: 2406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84700 Bug ID: 84700 Summary: ICE on 32-bit BE powerpc targets w/ -misel -O1 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: powerpc-*-linux-gnu*, powerpcspe-*-linux-gnu* gcc from 5 to at least gcc-8.0.0-alpha20180225 snapshot (r257975) inclusive= ICE when compiling the following snippet w/ -misel -O1: long long int bk (long long int wi) { long long int d0 =3D wi < 2; int ga =3D d0 >=3D 0; return d0 + ((wi =3D=3D 0) ? d0 : ga); } % powerpc-e300c3-linux-gnu-gcc-8.0.0-alpha20180225 -misel -O1 -c afkfiar3.c powerpc-e300c3-linux-gnu-gcc-8.0.0-alpha20180225: internal compiler error: Segmentation fault signal terminated program cc1 (gdb) where #0 0x0000000000c24d51 in simplify_const_binary_operation (code=3DPLUS, mode=3DE_SImode, op0=3D0x7fffea8142a0, op1=3D0x7fffea8151f8) at /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180225/wor= k/gcc-8-20180225/gcc/simplify-rtx.c:4032 Backtrace stopped: Cannot access memory at address 0x7ffffbffef50 And gcc 5.4.0: (gdb) where 10 #0 0x00005555558db8aa in wi::storage_ref::storage_ref(long const*, unsigned int, unsigned int) () #1 0x0000555555906622 in wi::int_traits >::decompose(long*, unsigned int, generic_wide_int const&= ) () #2 0x0000555555905df6 in wide_int_ref_storage::wide_int_ref_storage >(generic_wide_int const&) () #3 0x000055555590572f in generic_wide_int >::generic_wide_int >(generic_wide_int const&) () #4 0x0000555555f95aa0 in ?? () #5 0x0000555555f95fcf in simplify_subreg(machine_mode, rtx_def*, machine_m= ode, unsigned int) () #6 0x0000555555f96b54 in simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, unsigned int) () #7 0x00005555565dac73 in ?? () #8 0x00005555565da604 in ?? () #9 0x00005555565cf80b in ?? () (More stack frames follow...) It looks similar to PR81288 but still reproduces for both powerpc and powerpcspe. >>From gcc-bugs-return-596072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 06:28:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112452 invoked by alias); 5 Mar 2018 06:28: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 112425 invoked by uid 48); 5 Mar 2018 06:27:56 -0000 From: "jim.avera at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84701] New: casting to ( typeof(variable) ) gives wrong results Date: Mon, 05 Mar 2018 06:28: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jim.avera 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: 2018-03/txt/msg00660.txt.bz2 Content-length: 749 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84701 Bug ID: 84701 Summary: casting to ( typeof(variable) ) gives wrong results Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jim.avera at gmail dot com Target Milestone: --- typedef short foo_t; foo_t s =3D -1; /* FFFF */ unsigned u =3D (unsigned foo_t)s; /* result is FFFF */ unsigned u =3D (unsigned typeof(s))s; /* result is FFFFFFFF */ There is no warning using g++ -Wall -W.=20=20=20 It would be nice if using typeof(var) in a cast would either work, or cause= a compiler error! >>From gcc-bugs-return-596073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 06:46:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31541 invoked by alias); 5 Mar 2018 06:46: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 31431 invoked by uid 48); 5 Mar 2018 06:46:12 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84702] New: internal compiler error: in tsubst_copy, at cp/pt.c:15082 Date: Mon, 05 Mar 2018 06: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg00661.txt.bz2 Content-length: 3170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84702 Bug ID: 84702 Summary: internal compiler error: in tsubst_copy, at cp/pt.c:15082 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: void a(); namespace { void a(); } template void a() { a(); } Output: $ xgcc -x c++ -S - : In substitution of 'template void a() [with int b =3D ]': :9:4: required from here :7:18: internal compiler error: in tsubst_copy, at cp/pt.c:15082 0x10e95f7 tsubst_copy /home/vegard/git/gcc/gcc/cp/pt.c:15082 0x10f7da3 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bo= ol, bool) /home/vegard/git/gcc/gcc/cp/pt.c:17570 0x10c11c6 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /home/vegard/git/gcc/gcc/cp/pt.c:16984 0x112fffa tsubst_template_arg /home/vegard/git/gcc/gcc/cp/pt.c:11071 0x112fffa type_unification_real /home/vegard/git/gcc/gcc/cp/pt.c:19977 0x119c519 fn_type_unification(tree_node*, tree_node*, tree_node*, tree_node* const*, unsigned int, tree_node*, unification_kind_t, int, bool, bool) /home/vegard/git/gcc/gcc/cp/pt.c:19165 0x907d89 add_template_candidate_real /home/vegard/git/gcc/gcc/cp/call.c:3180 0x90af6c add_template_candidate /home/vegard/git/gcc/gcc/cp/call.c:3258 0x90af6c add_candidates /home/vegard/git/gcc/gcc/cp/call.c:5525 0x9388a9 perform_overload_resolution /home/vegard/git/gcc/gcc/cp/call.c:4203 0x9388a9 build_new_function_call(tree_node*, vec**, int) /home/vegard/git/gcc/gcc/cp/call.c:4272 0x1281cd6 finish_call_expr(tree_node*, vec**, bool, bool, int) /home/vegard/git/gcc/gcc/cp/semantics.c:2493 0xf7bb98 cp_parser_postfix_expression /home/vegard/git/gcc/gcc/cp/parser.c:7244 0xf2e927 cp_parser_unary_expression /home/vegard/git/gcc/gcc/cp/parser.c:8320 0xec435a cp_parser_cast_expression /home/vegard/git/gcc/gcc/cp/parser.c:9088 0xec6986 cp_parser_binary_expression /home/vegard/git/gcc/gcc/cp/parser.c:9189 0xeca75a cp_parser_assignment_expression /home/vegard/git/gcc/gcc/cp/parser.c:9484 0xece6c6 cp_parser_expression /home/vegard/git/gcc/gcc/cp/parser.c:9653 0xee2c46 cp_parser_expression_statement /home/vegard/git/gcc/gcc/cp/parser.c:11129 0xefe550 cp_parser_statement /home/vegard/git/gcc/gcc/cp/parser.c:10933 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). Could be related to bug #79271 based on the crash message, although I don't= see (a) any constexpr in my test case, (b) any arrays in my test case, (c) any crash with the test case from that bug on my local compiler. Test case was minimised by C-Reduce. >>From gcc-bugs-return-596074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 07:02:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8816 invoked by alias); 5 Mar 2018 07:02: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 5750 invoked by uid 48); 5 Mar 2018 07:02:21 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84703] New: internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.c:2810 Date: Mon, 05 Mar 2018 07: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00662.txt.bz2 Content-length: 3082 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84703 Bug ID: 84703 Summary: internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.c:2810 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: template void a() { const int c({__builtin_FUNCTION()}, __builtin_LINE()); } Output: $ xgcc -x c++ -S - : In function 'void a()': :3:55: warning: list-initializer for non-class type must not be parenthesized :3:55: error: expression list treated as compound expression in initializer [-fpermissive] :3:55: internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.c:2810 0xa3ac67 cxx_eval_bare_aggregate /home/vegard/git/gcc/gcc/cp/constexpr.c:2810 0xa3ac67 cxx_eval_constant_expression /home/vegard/git/gcc/gcc/cp/constexpr.c:4535 0xa33b44 cxx_eval_constant_expression /home/vegard/git/gcc/gcc/cp/constexpr.c:4564 0xa35825 cxx_eval_constant_expression /home/vegard/git/gcc/gcc/cp/constexpr.c:4399 0xa4de8a cxx_eval_outermost_constant_expr /home/vegard/git/gcc/gcc/cp/constexpr.c:4830 0xa5e2bb fold_non_dependent_expr(tree_node*) /home/vegard/git/gcc/gcc/cp/constexpr.c:5113 0x142dbd7 store_init_value(tree_node*, tree_node*, vec**, int) /home/vegard/git/gcc/gcc/cp/typeck2.c:825 0xb49988 check_initializer /home/vegard/git/gcc/gcc/cp/decl.c:6422 0xbe1ec6 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) /home/vegard/git/gcc/gcc/cp/decl.c:6975 0xfa4c59 cp_parser_init_declarator /home/vegard/git/gcc/gcc/cp/parser.c:19729 0xfa99d7 cp_parser_simple_declaration /home/vegard/git/gcc/gcc/cp/parser.c:13063 0xfafbc8 cp_parser_block_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12881 0xfb2094 cp_parser_declaration_statement /home/vegard/git/gcc/gcc/cp/parser.c:12474 0xefef9b cp_parser_statement /home/vegard/git/gcc/gcc/cp/parser.c:10923 0xf02a5b cp_parser_statement_seq_opt /home/vegard/git/gcc/gcc/cp/parser.c:11272 0xf034fa cp_parser_compound_statement /home/vegard/git/gcc/gcc/cp/parser.c:11226 0xf96a6b cp_parser_function_body /home/vegard/git/gcc/gcc/cp/parser.c:21776 0xf96a6b cp_parser_ctor_initializer_opt_and_function_body /home/vegard/git/gcc/gcc/cp/parser.c:21811 0xf9fc75 cp_parser_function_definition_after_declarator /home/vegard/git/gcc/gcc/cp/parser.c:26816 0xfa62cd cp_parser_function_definition_from_specifiers_and_declarator /home/vegard/git/gcc/gcc/cp/parser.c:26733 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). Test case was minimised by C-Reduce. >>From gcc-bugs-return-596075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 07:24:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86475 invoked by alias); 5 Mar 2018 07:24: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 85265 invoked by uid 48); 5 Mar 2018 07:24:02 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] New: internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 07:24: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg00663.txt.bz2 Content-length: 3053 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 Bug ID: 84704 Summary: internal compiler error: gimplification failed Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: int a[]{0}; void b() { a[({0;})] %=3D 0; } Output: $ xgcc -x c++ -S -g -O3 - : In function 'void b()': :4:12: warning: division by zero [-Wdiv-by-zero] gimplification failed: > head (nil) tail (nil) stmts > :4:12: internal compiler error: gimplification failed 0x2224a63 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:12393 0x223d389 gimplify_compound_lval /home/vegard/git/gcc/gcc/gimplify.c:2984 0x221c759 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11387 0x227970c gimplify_modify_expr /home/vegard/git/gcc/gcc/gimplify.c:5642 0x221e676 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11435 0x222b991 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x221da9d gimplify_cleanup_point_expr /home/vegard/git/gcc/gcc/gimplify.c:6400 0x221da9d gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11811 0x222b991 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x221f1fb gimplify_statement_list /home/vegard/git/gcc/gcc/gimplify.c:1767 0x221f1fb gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11863 0x222b991 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x2234c59 gimplify_body(tree_node*, bool) /home/vegard/git/gcc/gcc/gimplify.c:12635 0x2236fb0 gimplify_function_tree(tree_node*) /home/vegard/git/gcc/gcc/gimplify.c:12800 0x19a3517 cgraph_node::analyze() /home/vegard/git/gcc/gcc/cgraphunit.c:670 0x19b65eb analyze_functions /home/vegard/git/gcc/gcc/cgraphunit.c:1131 0x19bb301 symbol_table::finalize_compilation_unit() /home/vegard/git/gcc/gcc/cgraphunit.c:2691 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). I am not sure if the code is invalid or not -- for sure div-by-0 is UB at r= un time, but I think it should be fine to compile this? Test case was minimised by C-Reduce. >>From gcc-bugs-return-596076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 07:31:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101170 invoked by alias); 5 Mar 2018 07:31: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 101094 invoked by uid 48); 5 Mar 2018 07:31:29 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 07: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg00664.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 --- Comment #1 from Vegard Nossum --- I should add that both -g and (one of) -Os/-O1/-O2/-O3 seems necessary for = the ICE to trigger. Also, it seems that 7.3.0 works by emitting this for -O1: b(): mov eax, DWORD PTR a[rip] mov ecx, 0 cdq idiv ecx mov DWORD PTR a[rip], edx ret a: .zero 4 and this for -O2: b(): ud2 a: .zero 4 >>From gcc-bugs-return-596077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:01:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86108 invoked by alias); 5 Mar 2018 08:01: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 86015 invoked by uid 48); 5 Mar 2018 08:01:31 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84694] [8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in do_friend, at cp/friend.c:498 Date: Mon, 05 Mar 2018 08:01: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.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00665.txt.bz2 Content-length: 1183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84694 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |8.0 Summary|internal compiler error: |[8 Regression] internal |tree check: expected tree |compiler error: tree check: |that contains 'decl |expected tree that contains |minimal' structure, have |'decl minimal' structure, |'identifier_node' in |have 'identifier_node' in |do_friend, at |do_friend, at |cp/friend.c:498 |cp/friend.c:498 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-596078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:09:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17701 invoked by alias); 5 Mar 2018 08:09: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 14390 invoked by uid 48); 5 Mar 2018 08:09:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84694] [8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in do_friend, at cp/friend.c:498 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-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: 8.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: 2018-03/txt/msg00666.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84694 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Started with r248108. >>From gcc-bugs-return-596079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:10:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67082 invoked by alias); 5 Mar 2018 08:10: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 56768 invoked by uid 48); 5 Mar 2018 08:10:26 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84694] [8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in do_friend, at cp/friend.c:498 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00667.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84694 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >>From gcc-bugs-return-596080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:12:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89440 invoked by alias); 5 Mar 2018 08:12: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 82349 invoked by uid 48); 5 Mar 2018 08:11:49 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84702] [8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15082 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00668.txt.bz2 Content-length: 952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84702 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |8.0 Summary|internal compiler error: in |[8 Regression] internal |tsubst_copy, at |compiler error: in |cp/pt.c:15082 |tsubst_copy, at | |cp/pt.c:15082 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-596081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:14:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106928 invoked by alias); 5 Mar 2018 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 106843 invoked by uid 48); 5 Mar 2018 08:14:20 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84702] [8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15082 Date: Mon, 05 Mar 2018 08:14: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.1 X-Bugzilla-Keywords: ice-on-invalid-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: 8.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: 2018-03/txt/msg00669.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84702 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Started with r248250. >>From gcc-bugs-return-596082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:16:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110218 invoked by alias); 5 Mar 2018 08:16: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 109375 invoked by uid 48); 5 Mar 2018 08:16:04 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84703] internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.c:2810 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: --- 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: 2018-03/txt/msg00670.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84703 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Even 4.8 ICEs. >>From gcc-bugs-return-596083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:19:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12468 invoked by alias); 5 Mar 2018 08:19: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 12429 invoked by uid 48); 5 Mar 2018 08:19:35 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84703] internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.c:2810 Date: Mon, 05 Mar 2018 08:19: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.1 X-Bugzilla-Keywords: ice-on-invalid-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: --- 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: 2018-03/txt/msg00671.txt.bz2 Content-length: 145 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84703 --- Comment #2 from Marek Polacek --- Appeared with r191290. >>From gcc-bugs-return-596084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:21:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14050 invoked by alias); 5 Mar 2018 08:21: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 13984 invoked by uid 48); 5 Mar 2018 08:21:22 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] [8 Regression] internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 08:21: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.1 X-Bugzilla-Keywords: 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00672.txt.bz2 Content-length: 823 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |8.0 Summary|internal compiler error: |[8 Regression] internal |gimplification failed |compiler error: | |gimplification failed Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-596085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:23:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26537 invoked by alias); 5 Mar 2018 08:23: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 26473 invoked by uid 48); 5 Mar 2018 08:23:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] [8 Regression] internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 08: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.0.1 X-Bugzilla-Keywords: 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: 8.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: 2018-03/txt/msg00673.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #3 from Marek Polacek --- Started with r255947. >>From gcc-bugs-return-596086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:26:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28810 invoked by alias); 5 Mar 2018 08:26: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 28750 invoked by uid 48); 5 Mar 2018 08:26:38 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84691] [6/7/8 Regression] internal compiler error: in poplevel_class, at cp/name-lookup.c:4430 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00674.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84691 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |6.5 Summary|internal compiler error: in |[6/7/8 Regression] internal |poplevel_class, at |compiler error: in |cp/name-lookup.c:4430 |poplevel_class, at | |cp/name-lookup.c:4430 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-596087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:29:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30733 invoked by alias); 5 Mar 2018 08:29: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 30706 invoked by uid 48); 5 Mar 2018 08:29:09 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84705] New: internal compiler error: in add_stmt, at cp/semantics.c:390 Date: Mon, 05 Mar 2018 08:29: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00675.txt.bz2 Content-length: 3443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84705 Bug ID: 84705 Summary: internal compiler error: in add_stmt, at cp/semantics.c:390 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: int a[]{a}; template struct b { __attribute__((c([] { struct { int a =3D static_cast(a); } e; }))); }; Output: $ xgcc -x c++ -S - :1:10: error: invalid conversion from 'int*' to 'int' [-fpermissive] :7:34: internal compiler error: in add_stmt, at cp/semantics.c:390 0x125ac1b add_stmt(tree_node*) /home/vegard/git/gcc/gcc/cp/semantics.c:390 0xe67cab do_pushtag /home/vegard/git/gcc/gcc/cp/name-lookup.c:6475 0xe67cab pushtag(tree_node*, tree_node*, tag_scope) /home/vegard/git/gcc/gcc/cp/name-lookup.c:6514 0xb63cd5 xref_tag_1 /home/vegard/git/gcc/gcc/cp/decl.c:13724 0xb63cd5 xref_tag(tag_types, tree_node*, tag_scope, bool) /home/vegard/git/gcc/gcc/cp/decl.c:13781 0xf87b9d cp_parser_elaborated_type_specifier /home/vegard/git/gcc/gcc/cp/parser.c:17916 0xf26acc cp_parser_type_specifier /home/vegard/git/gcc/gcc/cp/parser.c:16800 0xf2af47 cp_parser_type_specifier_seq /home/vegard/git/gcc/gcc/cp/parser.c:21101 0xf6412a cp_parser_type_id_1 /home/vegard/git/gcc/gcc/cp/parser.c:20944 0xf79104 cp_parser_type_id /home/vegard/git/gcc/gcc/cp/parser.c:21012 0xf79104 cp_parser_postfix_expression /home/vegard/git/gcc/gcc/cp/parser.c:6724 0xf2e927 cp_parser_unary_expression /home/vegard/git/gcc/gcc/cp/parser.c:8320 0xec435a cp_parser_cast_expression /home/vegard/git/gcc/gcc/cp/parser.c:9088 0xec6986 cp_parser_binary_expression /home/vegard/git/gcc/gcc/cp/parser.c:9189 0xeca75a cp_parser_assignment_expression /home/vegard/git/gcc/gcc/cp/parser.c:9484 0xed0533 cp_parser_constant_expression /home/vegard/git/gcc/gcc/cp/parser.c:9768 0xed77de cp_parser_initializer_clause /home/vegard/git/gcc/gcc/cp/parser.c:21914 0xee0723 cp_parser_initializer /home/vegard/git/gcc/gcc/cp/parser.c:21854 0xee0961 cp_parser_late_parse_one_default_arg /home/vegard/git/gcc/gcc/cp/parser.c:27759 0xf1a050 cp_parser_late_parsing_nsdmi /home/vegard/git/gcc/gcc/cp/parser.c:27811 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). Seems to have appeared between 4.7.4 and 4.8.1 (when using -std=3Dc++11). If you change the initializer for 'a' to this: int a[]{}; you get a segfault instead: xgcc -x c++ -S - :7:34: internal compiler error: Segmentation fault 0x3156909 crash_signal /home/vegard/git/gcc/gcc/toplev.c:325 0x125ab8a add_stmt(tree_node*) /home/vegard/git/gcc/gcc/cp/semantics.c:390 0xe67cab do_pushtag /home/vegard/git/gcc/gcc/cp/name-lookup.c:6475 0xe67cab pushtag(tree_node*, tree_node*, tag_scope) /home/vegard/git/gcc/gcc/cp/name-lookup.c:6514 0xb63cd5 xref_tag_1 /home/vegard/git/gcc/gcc/cp/decl.c:13724 [...] Test case was minimised by C-Reduce. >>From gcc-bugs-return-596088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:30:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34751 invoked by alias); 5 Mar 2018 08:30: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 33024 invoked by uid 48); 5 Mar 2018 08:30:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84691] [6/7/8 Regression] internal compiler error: in poplevel_class, at cp/name-lookup.c:4430 Date: Mon, 05 Mar 2018 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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-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: 6.5 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: 2018-03/txt/msg00676.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84691 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery --- Comment #2 from Marek Polacek --- Started with r179156. Much earlier than bug 84651. >>From gcc-bugs-return-596089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:33:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42711 invoked by alias); 5 Mar 2018 08:33: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 42626 invoked by uid 48); 5 Mar 2018 08:33:25 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84675] Random FAIL: gfortran.dg/coarray_47.f90 -O (test for errors, line 12) Date: Mon, 05 Mar 2018 08:33: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00677.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84675 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dominique d'Humieres --- Browsing https://gcc.gnu.org/ml/gcc-regression/2018-03/, this seems fixed. >>From gcc-bugs-return-596090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:35:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56135 invoked by alias); 5 Mar 2018 08:35: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 56043 invoked by uid 48); 5 Mar 2018 08:35:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 08: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, 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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00678.txt.bz2 Content-length: 2668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction --- Comment #7 from Richard Biener --- (In reply to Gerald Pfeifer from comment #6) > Created attachment 43559 [details] > A testcase from Wine (fairly bigger) >=20 > This is a testcase from a full Wine build. The others probably are > better to nail this down, but for verification just in case a first > fix addresses those but might not cover this one as well. A fix for the original testcase in this bug also fixes this one (I can reproduce the ICE with -O2 -m32 on x86_64-linux). The other two testcases are unrelated - further reduction would be nice with inclusion of the following to avoid reducing to a testcase for the issue I have a patch for. Note that in the end I'm going to remove the assert again - none of the testcases exhibit the infinite antic-in computation issues. Index: gcc/tree-ssa-pre.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/tree-ssa-pre.c (revision 258124) +++ gcc/tree-ssa-pre.c (working copy) @@ -1393,8 +1393,12 @@ phi_translate_1 (pre_expr expr, bitmap_s else { unsigned value_id =3D get_expr_value_id (constant); - constant =3D find_leader_in_sets (value_id, set1, s= et2, - AVAIL_OUT (pred)); + /* We want a leader in ANTIC_OUT to be consistent + with the rest of phi_translate but we don't have + that available (and it isn't complete yet) so + we resort to AVAIL_OUT here. */ + constant =3D bitmap_find_leader (AVAIL_OUT (pred), + value_id); if (constant) return constant; } The original use of set1/set2 is clearly bogus here, as the comment now states we'd like to use ANTIC_OUT (pred) here but we are computing that right now. AVAIL_OUT is at least correct even if not 100% in spirit of this function. The other testcases show that phi_translate is effectively removing things from the set which is what causes the issue. >>From gcc-bugs-return-596091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:36:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59477 invoked by alias); 5 Mar 2018 08:36: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 59427 invoked by uid 48); 5 Mar 2018 08:36:02 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/84706] New: Ada bootstrap fails on s390x since r258124 Date: Mon, 05 Mar 2018 08:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krebbel 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: 2018-03/txt/msg00679.txt.bz2 Content-length: 931 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84706 Bug ID: 84706 Summary: Ada bootstrap fails on s390x since r258124 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 gnatmake: "/home/andreas/gcc/gcc/ada/xref_lib.adb" compilation error make[3]: *** [../gcc-interface/Makefile:2212: common-tools] Error 4 make[3]: Leaving directory '/home/andreas/build/gcc-64-master-z13-build/gcc/ada/tools' make[2]: *** [Makefile:191: gnattools-native] Error 2 make[2]: Leaving directory '/home/andreas/build/gcc-64-master-z13-build/gnattools' make[1]: *** [Makefile:13026: all-gnattools] Error 2 make[1]: *** Waiting for unfinished jobs.... >>From gcc-bugs-return-596092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:39:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73966 invoked by alias); 5 Mar 2018 08:39: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 73741 invoked by uid 48); 5 Mar 2018 08:39:47 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82005] Early lto debug not implemented on Darwin Date: Mon, 05 Mar 2018 08: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: 8.0 X-Bugzilla-Keywords: lto, patch, wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00680.txt.bz2 Content-length: 916 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82005 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 Summary|[8 regression] early lto |Early lto debug not |debug creates invalid |implemented on Darwin |assembly on Darwin | --- Comment #37 from Dominique d'Humieres --- > Dominique - please update with the current status after you manage > to do another regular bootstrap/test cycle. Extra issues that crop > up with running the testsuite with -flto -g are of course also welcome. Results posted at https://gcc.gnu.org/ml/gcc-testresults/2018-03/msg00264.h= tml. I have changed the summary and reset the priority to P3. >>From gcc-bugs-return-596093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:40:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75953 invoked by alias); 5 Mar 2018 08:40: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 75807 invoked by uid 48); 5 Mar 2018 08:40:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Mon, 05 Mar 2018 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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code, 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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00681.txt.bz2 Content-length: 738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #3 from Richard Biener --- Martins testcase is fixed by the first fix for PR84670, the original testca= se of this PR is not. Would be nice to reduce it further so it can be include= d in the testsuite. (with the fix pasted into PR84670 applied) >>From gcc-bugs-return-596094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:41:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81227 invoked by alias); 5 Mar 2018 08:41: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 81140 invoked by uid 48); 5 Mar 2018 08:41:19 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84705] [6/7/8 Regression] internal compiler error: in add_stmt, at cp/semantics.c:390 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00682.txt.bz2 Content-length: 953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84705 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |6.5 Summary|internal compiler error: in |[6/7/8 Regression] internal |add_stmt, at |compiler error: in |cp/semantics.c:390 |add_stmt, at | |cp/semantics.c:390 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-596095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:42:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83063 invoked by alias); 5 Mar 2018 08:42: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 82993 invoked by uid 48); 5 Mar 2018 08:42:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00683.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 --- Comment #4 from Martin Li=C5=A1ka --- (In reply to Richard Biener from comment #3) > Martins testcase is fixed by the first fix for PR84670, the original > testcase of this PR is not. Would be nice to reduce it further so it can= be > included in the testsuite. (with the fix pasted into PR84670 applied) Let me bisect that. >>From gcc-bugs-return-596096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:47:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95768 invoked by alias); 5 Mar 2018 08:47: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 95690 invoked by uid 55); 5 Mar 2018 08:47:38 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00684.txt.bz2 Content-length: 651 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 --- Comment #5 from rguenther at suse dot de --- On Mon, 5 Mar 2018, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 >=20 > --- Comment #4 from Martin Li=C5=A1ka --- > (In reply to Richard Biener from comment #3) > > Martins testcase is fixed by the first fix for PR84670, the original > > testcase of this PR is not. Would be nice to reduce it further so it c= an be > > included in the testsuite. (with the fix pasted into PR84670 applied) >=20 > Let me bisect that. Reduce please, not bisect ;) >>From gcc-bugs-return-596097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:48:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114239 invoked by alias); 5 Mar 2018 08:48: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 114065 invoked by uid 48); 5 Mar 2018 08:48:39 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] New: internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 08:48: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00685.txt.bz2 Content-length: 2006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 Bug ID: 84707 Summary: internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input (this one is positively cute): inline namespace { namespace {} } namespace {} Output: $ xgcc -x c++ -S - :5:1: internal compiler error: Segmentation fault 0x3156909 crash_signal /home/vegard/git/gcc/gcc/toplev.c:325 0xb8cefc tree_check(tree_node*, char const*, int, char const*, tree_code) /home/vegard/git/gcc/gcc/tree.h:3131 0xb8cefc duplicate_decls(tree_node*, tree_node*, bool) /home/vegard/git/gcc/gcc/cp/decl.c:1413 0xe5f3e9 do_pushdecl /home/vegard/git/gcc/gcc/cp/name-lookup.c:3019 0xe6b16a pushdecl(tree_node*, bool) /home/vegard/git/gcc/gcc/cp/name-lookup.c:3154 0xe6b16a push_namespace(tree_node*, bool) /home/vegard/git/gcc/gcc/cp/name-lookup.c:6953 0xffd25f cp_parser_namespace_definition /home/vegard/git/gcc/gcc/cp/parser.c:18579 0x100203f cp_parser_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12762 0xff9d9b cp_parser_declaration_seq_opt /home/vegard/git/gcc/gcc/cp/parser.c:12654 0xffb3c3 cp_parser_translation_unit /home/vegard/git/gcc/gcc/cp/parser.c:4561 0xffb3c3 c_parse_file() /home/vegard/git/gcc/gcc/cp/parser.c:38993 0x15a7105 c_common_parse_file() /home/vegard/git/gcc/gcc/c-family/c-opts.c:1132 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). Looks fine with 7.3.0. Test case was minimised by C-Reduce. >>From gcc-bugs-return-596099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:51:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2665 invoked by alias); 5 Mar 2018 08:51: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 1192 invoked by uid 48); 5 Mar 2018 08:51:21 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Mon, 05 Mar 2018 08:51: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.0.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00687.txt.bz2 Content-length: 1008 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 --- Comment #6 from Martin Li=C5=A1ka --- (In reply to rguenther@suse.de from comment #5) > On Mon, 5 Mar 2018, marxin at gcc dot gnu.org wrote: >=20 > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 > >=20 > > --- Comment #4 from Martin Li=C5=A1ka --- > > (In reply to Richard Biener from comment #3) > > > Martins testcase is fixed by the first fix for PR84670, the original > > > testcase of this PR is not. Would be nice to reduce it further so it= can be > > > included in the testsuite. (with the fix pasted into PR84670 applied) > >=20 > > Let me bisect that. >=20 > Reduce please, not bisect ;) Yeah, I said bisect, but I meant reduce :) $ cat reduce.i char *a; int b(void) { long d; if (a) { char c; while ((c =3D *a) && !((unsigned)c - '0' <=3D 9) && c !=3D ',' && c != =3D '-' && c !=3D '+') ++a; d =3D (long)a; } if (*a) return d; } >>From gcc-bugs-return-596100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:51:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5290 invoked by alias); 5 Mar 2018 08:51: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 4827 invoked by uid 48); 5 Mar 2018 08:51:33 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84705] [6/7/8 Regression] internal compiler error: in add_stmt, at cp/semantics.c:390 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-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: 6.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: 2018-03/txt/msg00688.txt.bz2 Content-length: 155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84705 --- Comment #2 from Marek Polacek --- Started with r188473 or r188474. >>From gcc-bugs-return-596098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:51:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 435 invoked by alias); 5 Mar 2018 08:51: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 131062 invoked by uid 48); 5 Mar 2018 08:51:01 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84486] [7/8 Regression] code hoisting removes alignment assumption Date: Mon, 05 Mar 2018 08:51: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: 7.3.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: krebbel at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00686.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84486 --- Comment #3 from Andreas Krebbel --- (In reply to Richard Biener from comment #2) > Created attachment 43540 [details] > candidate patch >=20 > Can you check whether this patch works for you (on the unreduced testcase > which likely exists)? Yes, it does fix the bigger testcase as well. Thanks! Do you plan to backport this also for GCC 7 branch? >>From gcc-bugs-return-596102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:54:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42562 invoked by alias); 5 Mar 2018 08:54: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 40484 invoked by uid 48); 5 Mar 2018 08:54:28 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: 8.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: 2018-03/txt/msg00690.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- We should warn, like clang++: 84707.C:5:1: warning: inline namespace reopened as a non-inline namespace namespace {} ^ inline=20 84707.C:1:18: note: previous definition is here inline namespace { ^ 1 warning generated. >>From gcc-bugs-return-596101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:54:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35205 invoked by alias); 5 Mar 2018 08:54: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 30620 invoked by uid 48); 5 Mar 2018 08:54:11 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-03/txt/msg00689.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |8.0 Summary|internal compiler error: |[8 Regression] internal |Segmentation fault |compiler error: |(tree_check()/duplicate_dec |Segmentation fault |ls()) |(tree_check()/duplicate_dec | |ls()) --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-596103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:56:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49296 invoked by alias); 5 Mar 2018 08:56: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 49251 invoked by uid 48); 5 Mar 2018 08:56:12 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84706] [8 Regression] Ada bootstrap fails on s390x since r258124 Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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: 8.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: 2018-03/txt/msg00691.txt.bz2 Content-length: 546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84706 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.o= rg Component|ada |tree-optimization Target Milestone|--- |8.0 --- Comment #1 from Eric Botcazou --- Nothing to do with Ada apparently. >>From gcc-bugs-return-596104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 08:57:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50369 invoked by alias); 5 Mar 2018 08:57: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 50308 invoked by uid 48); 5 Mar 2018 08:57:09 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: 8.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: 2018-03/txt/msg00692.txt.bz2 Content-length: 264 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 --- Comment #3 from Marek Polacek --- Started with r253489. Before that: error: =E2=80=98namespace _GLOBAL__N_1 { }=E2=80=99 conflicts with a previo= us declaration namespace {} >>From gcc-bugs-return-596105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 09:12:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67238 invoked by alias); 5 Mar 2018 09:12: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 65299 invoked by uid 48); 5 Mar 2018 09:12:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] [8 Regression] internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 09: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: 8.0.1 X-Bugzilla-Keywords: 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00693.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jakub at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #4 from Jakub Jelinek --- I'll have a look. >>From gcc-bugs-return-596106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 09:42:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1881 invoked by alias); 5 Mar 2018 09:42: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 1802 invoked by uid 48); 5 Mar 2018 09:42:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] [8 Regression] internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 09: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: 8.0.1 X-Bugzilla-Keywords: 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00694.txt.bz2 Content-length: 1294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 --- Comment #5 from Jakub Jelinek --- Ugh, this one is really nasty. If a statement-expression has side-effects, like for: a[({ i++; 0; })] %=3D 5; the FE wraps the statement expression with a SAVE_EXPR: # DEBUG BEGIN STMT; <>>>>; # DEBUG BEGIN STMT; 0>] =3D a[SAVE_EXPR <# DEBUG BEGIN STMT; <>>>>; # DEBUG BEGIN STMT; 0>] % 5) >>>>>; But as it doesn't have side-effects in this case, it isn't duplicated, and unshare_expr/unshare_body uses mostly_copy_tree_r, which actually doesn't c= opy STATEMENT_LISTs; and the gimplifier is destructive, so when the STATEMENT_L= ISTs are shared by both ARRAY_REFs (which were unshared by unshare_body), the fi= rst ARRAY_REF's index is gimplified fine, but turns the STATEMENT_LIST into void typed one that only holds the DEBUG_BEGIN_STMT, and moves the constant out = into a temporary's initializer (which also looks problematic for -fcompare-debug) and when we gimplify the second ARRAY_REF, we ICE, because ARRAY_REF index really shouldn't have void type. >>From gcc-bugs-return-596107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 09:51:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40542 invoked by alias); 5 Mar 2018 09:51: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 40451 invoked by uid 48); 5 Mar 2018 09:51:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Mon, 05 Mar 2018 09:51: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00695.txt.bz2 Content-length: 2359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #12 from Richard Biener --- (In reply to Martin Li=C5=A1ka from comment #11) > (In reply to Jakub Jelinek from comment #10) > > If ICF needs to adjust all points-to if it makes any variable aliases, > > perhaps it should as well adjust the code to use the variables rather t= han > > their aliases. >=20 > Similar to what we do in sanopt.c:rewrite_usage_of_param? If so, I can do > that. But that doesn't help - you'll have points-to sets mentioning both DECLs. static decls without TREE_ADDRESSABLE set are fine to merge, those won't ever appear in points-to sets. For all others you really need to adjust points-to sets. Note the issue is "new" since we optimize address comparisons since the idea was that for memory references aliasing doesn't really matter since all decls we merge are readonly(?). That's of course a bit of a fishy view... Given ptrs_compare_unequal is as restricted as it is now we could work around this issue there by doing instead of if (VAR_P (obj1) && (TREE_STATIC (obj1) || DECL_EXTERNAL (obj1))) { varpool_node *node =3D varpool_node::get (obj1); /* If obj1 may bind to NULL give up (see below). */ if (! node || ! node->nonzero_address () || ! decl_binds_to_current_def_p (obj1)) return false; } sth like if (VAR_P (obj1) && (TREE_STATIC (obj1) || DECL_EXTERNAL (obj1))) { varpool_node *node =3D varpool_node::get (obj1); /* If obj1 may bind to NULL give up (see below). */ if (! node || ! node->nonzero_address () || ! decl_binds_to_current_def_p (obj1)) return false; FOR_EACH_ALIAS (node, ...) { tree obj1_alias =3D ...; unsigned saved_pt_uid =3D DECL_PT_UID (obj1_alias); DECL_PT_UID (obj1_alias) =3D DECL_UID (obj1_alias); bool aliases =3D pt_solution_includes (&pi->pt, obj1_alias); DECL_PT_UID (obj_alias) =3D saved_pt_uid; } } with the code walking over aliases adjusted accordingly. Of course if we ever try to compare two pointers and thus have just two points-to sets to intersect we're still lost. >>From gcc-bugs-return-596108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 09:54:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50230 invoked by alias); 5 Mar 2018 09: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 48531 invoked by uid 48); 5 Mar 2018 09:54:12 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84651] internal compiler error: in pop_local_binding, at cp/name-lookup.c:2054 Date: Mon, 05 Mar 2018 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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum at gmail dot com 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00696.txt.bz2 Content-length: 1913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84651 --- Comment #2 from Vegard Nossum --- Related test case/crash: void a() { struct { void b(float) struct b =3D 0; void b(); } x; } int b; Gives: xgcc -x c++ -S - : In function 'void a()': :3:17: error: expected ';' at end of member declaration :3:28: error: expected unqualified-id before '=3D' token : At global scope: :8:5: internal compiler error: Segmentation fault 0x3156909 crash_signal /home/vegard/git/gcc/gcc/toplev.c:325 0xe219f2 outer_binding(tree_node*, cxx_binding*, bool) /home/vegard/git/gcc/gcc/cp/name-lookup.c:5879 0xe5cbc9 lookup_name_real_1 /home/vegard/git/gcc/gcc/cp/name-lookup.c:6002 0xe5cbc9 lookup_name_real(tree_node*, int, int, bool, int, int) /home/vegard/git/gcc/gcc/cp/name-lookup.c:6103 0xc45fb7 find_last_decl /home/vegard/git/gcc/gcc/cp/decl2.c:1463 0xc45fb7 cplus_decl_attributes(tree_node**, tree_node*, int) /home/vegard/git/gcc/gcc/cp/decl2.c:1545 0xc1a30a start_decl(cp_declarator const*, cp_decl_specifier_seq*, int, tree_node*, tree_node*, tree_node**) /home/vegard/git/gcc/gcc/cp/decl.c:5044 0xfa3b9c cp_parser_init_declarator /home/vegard/git/gcc/gcc/cp/parser.c:19598 0xfa99d7 cp_parser_simple_declaration /home/vegard/git/gcc/gcc/cp/parser.c:13063 0xfafbc8 cp_parser_block_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12881 0x1002545 cp_parser_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12778 0xff9d9b cp_parser_declaration_seq_opt /home/vegard/git/gcc/gcc/cp/parser.c:12654 0xffb3c3 cp_parser_translation_unit /home/vegard/git/gcc/gcc/cp/parser.c:4561 0xffb3c3 c_parse_file() /home/vegard/git/gcc/gcc/cp/parser.c:38993 0x15a7105 c_common_parse_file() /home/vegard/git/gcc/gcc/c-family/c-opts.c:1132 >>From gcc-bugs-return-596109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 09:58:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55233 invoked by alias); 5 Mar 2018 09:58: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 55111 invoked by uid 48); 5 Mar 2018 09:58:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Mon, 05 Mar 2018 09:58: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00697.txt.bz2 Content-length: 867 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #13 from Richard Biener --- So you can loses the TREE_ADDRESSABLE restriction somewhat in requiring at = most one decl to be TREE_ADDRESSABLE - that's the one you need to keep, the othe= rs may become aliases. Given TREE_ADDRESSABLE isn't reliable for !TREE_STATIC vars we can't merge any exported decls that way. Consider const int foo1; const int foo2; int *bar(); // in other TU, returns address of foo1 int main () { if (bar() !=3D &foo2) ...; } not sure if we want to do hand-waving saying that we can't possibly have points-to sets mentioning those without seeing the function IL. Well, might be similarly hand-waving as the reference aliasing issue. So we could drop the TREE_STATIC restriction if TREE_ADDRESSABLE is reliable within the current TU. >>From gcc-bugs-return-596110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:01:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60043 invoked by alias); 5 Mar 2018 10:01: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 59806 invoked by uid 48); 5 Mar 2018 10:01:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] [8 Regression] internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 10:01: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.1 X-Bugzilla-Keywords: 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00698.txt.bz2 Content-length: 1062 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 --- Comment #6 from Jakub Jelinek --- Testcase without division by zero: int a[1] =3D { 0 }; void foo () { a[({ 0; })] %=3D 5; } --- gcc/tree.c.jj 2018-02-22 12:37:02.634387690 +0100 +++ gcc/tree.c 2018-03-05 10:50:54.355557537 +0100 @@ -4352,6 +4352,11 @@ stabilize_reference_1 (tree e) switch (TREE_CODE_CLASS (code)) { case tcc_exceptional: + /* Always wrap STATEMENT_LIST into SAVE_EXPR, even if it doesn't + have side-effects. */ + if (code =3D=3D STATEMENT_LIST) + return save_expr (e); + /* FALLTHRU */ case tcc_type: case tcc_declaration: case tcc_comparison: fixes the ICE, but not really sure about it. And wonder if gimplify_statement_list or voidify_wrapper_expr shouldn't special-case non-TREE_SIDE_EFFECTS STATEMENT_LISTs which contain just DEBUG_BEGIN_STMTs = and one other stmt to gimplify it more like how it woiuld be gimplified without= -g. E.g. I fear the retval.* will mismatch otherwise. >>From gcc-bugs-return-596111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:03:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69460 invoked by alias); 5 Mar 2018 10:03: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 68914 invoked by uid 55); 5 Mar 2018 10:03:04 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7/8 Regression] Code size increase for ARM compared to gcc-5.3.0 Date: Mon, 05 Mar 2018 10:03: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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: 6.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: 2018-03/txt/msg00699.txt.bz2 Content-length: 1493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 --- Comment #29 from rguenther at suse dot de --- On Fri, 2 Mar 2018, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 >=20 > --- Comment #28 from Aldy Hernandez --- > (In reply to Richard Biener from comment #25) >=20 >=20 > > What usually makes things complicated in the end is when for an IV > > we get overlapping life-ranges for the before and after value because > > that inhibits coalescing. Is this what happens here? > ... > ... > > So we indeed have p_20 and p_9 live as p_9 is used after the loop.=20 > > Originally > > this wasn't the case but fold_stmt in the first forwprop pass does this > > by means of following use-def chains. >=20 > I'm a bit confused. >=20 > Where are you looking, after the forprop1 pass? Because after forwprop1 = I see: >=20 > : > p_22 =3D p_8 + 4294967294; > MEM[(char *)p_19 + 4294967295B] =3D 45; >=20 > : > # p_9 =3D PHI > return p_9; >=20 > Which as I understand has: >=20 > p_8 being the IV at the beginning of the last iteration.=20=20 > p_19 being the IV at the end of the last iteration. > p_22 being the IV at the end of the last iteration MINUS 1. >=20 > I don't see a p_20 anywhere. Did you mean that p_8 and p_19 where both l= ive at > the end of the loop? Yes. Not sure if that captures all of the issues in this bug but that's clearly bad. >>From gcc-bugs-return-596114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:16:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116099 invoked by alias); 5 Mar 2018 10:16: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 115538 invoked by uid 48); 5 Mar 2018 10:16:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Mon, 05 Mar 2018 10: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: 8.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: 8.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: 2018-03/txt/msg00702.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|amker at gcc dot gnu.org |rguenth at gcc dot = gnu.org >>From gcc-bugs-return-596113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:16:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116008 invoked by alias); 5 Mar 2018 10:16: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 115546 invoked by uid 55); 5 Mar 2018 10:16:41 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Mon, 05 Mar 2018 10: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: 8.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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00701.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|amker at gcc dot gnu.org |rguenth at gcc dot = gnu.org >>From gcc-bugs-return-596112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:16:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115521 invoked by alias); 5 Mar 2018 10:16: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 114396 invoked by uid 55); 5 Mar 2018 10:15:23 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Mon, 05 Mar 2018 10: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amker at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00700.txt.bz2 Content-length: 1590 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 --- Comment #4 from rguenther at suse dot de --- On Sat, 3 Mar 2018, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 >=20 > --- Comment #3 from amker at gcc dot gnu.org --- > So given below dump before sccp: >=20 > [local count: 14598063]: >=20 > [local count: 118111601]: > # eu_19 =3D PHI <0(2), eu_13(7)> >=20 > [local count: 955630224]: > # dj.1_18 =3D PHI <0(3), _1(8)> > _1 =3D dj.1_18 + 1; > if (_1 <=3D 1) > goto ; [89.00%] > else > goto ; [11.00%] >=20 > [local count: 850510900]: > goto ; [100.00%] >=20 > [local count: 118111601]: > # _2 =3D PHI <_1(4)> > _4 =3D _2 !=3D 3; > _5 =3D (unsigned int) _4; > _15 =3D 1 - _5; > eu_13 =3D _15 + eu_19; > if (eu_13 <=3D 1) > goto ; [87.64%] > else > goto ; [12.36%] >=20 > [local count: 103513538]: > goto ; [100.00%] >=20 > [local count: 14598063]: > # _25 =3D PHI <_2(5)> > dj =3D _25; > return; >=20 > before sccp, e_13, _15 and e_19 was identified as: > e_13: {_15, _15} > _15 : _15 > e_19: {0, _15} >=20 > During sccp, it proves _15 equals to 0 and thus: > e_13: 0 > _15 : 0 > e_19: {0, _15} >=20 > This information is cached and used in ivopts. I see scev_reset () being called multiple times between sccp and ivopts so I doubt that. The SCEV cache isn't reset between GRAPHITE and IVOPTs though and LIM after GRAPHITE moves some expressions. Testing a fix. >>From gcc-bugs-return-596115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:20:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126372 invoked by alias); 5 Mar 2018 10:20: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 126047 invoked by uid 55); 5 Mar 2018 10:19:43 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODIwMjJdIGNvbnN0ZXhwciBsYW1iZGEgaW4gdGVtcGxhdGUg?= =?UTF-8?B?Y29udGV4dDogZXhwcmVzc2lvbiDigJg8bGFtYmRhPuKAmSBpcyBub3QgYSBj?= =?UTF-8?B?b25zdGFudCBleHByZXNzaW9u?= Date: Mon, 05 Mar 2018 10: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: 7.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo 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: 2018-03/txt/msg00703.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82022 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Mar 5 10:19:11 2018 New Revision: 258241 URL: https://gcc.gnu.org/viewcvs?rev=3D258241&root=3Dgcc&view=3Drev Log: 2018-03-05 Paolo Carlini PR c++/82022 * g++.dg/cpp1z/constexpr-lambda20.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda20.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:22:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127954 invoked by alias); 5 Mar 2018 10:22: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 127893 invoked by uid 48); 5 Mar 2018 10:22:25 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54367] [meta-bug] lambda expressions Date: Mon, 05 Mar 2018 10:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 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: 2018-03/txt/msg00705.txt.bz2 Content-length: 532 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54367 Bug 54367 depends on bug 82022, which changed state. Bug 82022 Summary: constexpr lambda in template context: expression =E2=80= =98=E2=80=99 is not a constant expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82022 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:22:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127946 invoked by alias); 5 Mar 2018 10:22: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 127871 invoked by uid 48); 5 Mar 2018 10:22:24 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODIwMjJdIGNvbnN0ZXhwciBsYW1iZGEgaW4gdGVtcGxhdGUg?= =?UTF-8?B?Y29udGV4dDogZXhwcmVzc2lvbiDigJg8bGFtYmRhPuKAmSBpcyBub3QgYSBj?= =?UTF-8?B?b25zdGFudCBleHByZXNzaW9u?= Date: Mon, 05 Mar 2018 10:22: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 8.0 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: 2018-03/txt/msg00704.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82022 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #3 from Paolo Carlini --- Fixed in trunk. Of course this requires -std=3Dc++17 >>From gcc-bugs-return-596118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:22:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128040 invoked by alias); 5 Mar 2018 10:22: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 127881 invoked by uid 48); 5 Mar 2018 10:22:25 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84708] New: internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:772 Date: Mon, 05 Mar 2018 10:22: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg00706.txt.bz2 Content-length: 3095 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84708 Bug ID: 84708 Summary: internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:772 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: int y; void a() { struct { int b =3D ([] { decltype(b) x =3D y; return y; }) (); } z; } Output: $ xgcc -x c++ -S - : In lambda function: :6:16: internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:772 0xd491ff lambda_expr_this_capture(tree_node*, bool) /home/vegard/git/gcc/gcc/cp/lambda.c:770 0xd4980c maybe_resolve_dummy(tree_node*, bool) /home/vegard/git/gcc/gcc/cp/lambda.c:879 0x12acfc9 finish_non_static_data_member(tree_node*, tree_node*, tree_node*) /home/vegard/git/gcc/gcc/cp/semantics.c:1788 0x12b23d2 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_ki= nd*, bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int) /home/vegard/git/gcc/gcc/cp/semantics.c:3719 0xf7f285 cp_parser_decltype_expr /home/vegard/git/gcc/gcc/cp/parser.c:13999 0xf7f285 cp_parser_decltype /home/vegard/git/gcc/gcc/cp/parser.c:14133 0xf31fa7 cp_parser_simple_type_specifier /home/vegard/git/gcc/gcc/cp/parser.c:17063 0xf26f2d cp_parser_type_specifier /home/vegard/git/gcc/gcc/cp/parser.c:16850 0xf8c7ba cp_parser_decl_specifier_seq /home/vegard/git/gcc/gcc/cp/parser.c:13627 0xfa7ca0 cp_parser_simple_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12936 0xfafbc8 cp_parser_block_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12881 0xfb2094 cp_parser_declaration_statement /home/vegard/git/gcc/gcc/cp/parser.c:12474 0xefef9b cp_parser_statement /home/vegard/git/gcc/gcc/cp/parser.c:10923 0xf02a5b cp_parser_statement_seq_opt /home/vegard/git/gcc/gcc/cp/parser.c:11272 0xfd3951 cp_parser_lambda_body /home/vegard/git/gcc/gcc/cp/parser.c:10683 0xfd3951 cp_parser_lambda_expression /home/vegard/git/gcc/gcc/cp/parser.c:10184 0xf390e4 cp_parser_primary_expression /home/vegard/git/gcc/gcc/cp/parser.c:5259 0xf7abbb cp_parser_postfix_expression /home/vegard/git/gcc/gcc/cp/parser.c:7028 0xf2e927 cp_parser_unary_expression /home/vegard/git/gcc/gcc/cp/parser.c:8320 0xec435a cp_parser_cast_expression /home/vegard/git/gcc/gcc/cp/parser.c:9088 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). I'm not sure if it's really valid code or not, but clang (with -std=3Dc++11) compiles the test case without any errors. Test case was minimised by C-Reduce. Looks related (identical?) to bug #79651 and bug #83268, but the test case looks smaller in any case. >>From gcc-bugs-return-596119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:32:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25663 invoked by alias); 5 Mar 2018 10:32: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 25580 invoked by uid 48); 5 Mar 2018 10:32:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84701] casting to ( unsigned typeof(variable) ) gives wrong results Date: Mon, 05 Mar 2018 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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-03/txt/msg00707.txt.bz2 Content-length: 1595 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84701 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Using typeof(var) in casts of course works, but that is not what you are do= ing, you are using that plus unsigned. This is rejected by other compilers or w= ith -pedantic-errors by G++: error: long, short, signed or unsigned used invalidly for =E2=80=98type nam= e=E2=80=99 Otherwise it is an extension which handles the typedef cases by: if (explicit_intN) type =3D int_n_trees[declspecs->int_n_idx].unsigned_type; else if (longlong) type =3D long_long_unsigned_type_node; else if (long_p) type =3D long_unsigned_type_node; else if (short_p) type =3D short_unsigned_type_node; else if (type =3D=3D char_type_node) type =3D unsigned_char_type_node; else if (typedef_decl) type =3D unsigned_type_for (type); else type =3D unsigned_type_node; (that is the typedef_decl case) but typeof doesn't fall into that category = and so it is just always set to unsigned. Not really convinced we should extend this extension for typeof, perhaps better just to reject it even when not pedantic if it is the unsigned/signed/long/short etc. typeof () case. >>From gcc-bugs-return-596120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:38:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29245 invoked by alias); 5 Mar 2018 10:38: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 29199 invoked by uid 48); 5 Mar 2018 10:38:16 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Mon, 05 Mar 2018 10: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 8.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: 2018-03/txt/msg00708.txt.bz2 Content-length: 1860 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 --- Comment #5 from amker at gcc dot gnu.org --- (In reply to rguenther@suse.de from comment #4) > On Sat, 3 Mar 2018, amker at gcc dot gnu.org wrote: >=20 > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 > >=20 > > --- Comment #3 from amker at gcc dot gnu.org --- > > So given below dump before sccp: > >=20 > > [local count: 14598063]: > >=20 > > [local count: 118111601]: > > # eu_19 =3D PHI <0(2), eu_13(7)> > >=20 > > [local count: 955630224]: > > # dj.1_18 =3D PHI <0(3), _1(8)> > > _1 =3D dj.1_18 + 1; > > if (_1 <=3D 1) > > goto ; [89.00%] > > else > > goto ; [11.00%] > >=20 > > [local count: 850510900]: > > goto ; [100.00%] > >=20 > > [local count: 118111601]: > > # _2 =3D PHI <_1(4)> > > _4 =3D _2 !=3D 3; > > _5 =3D (unsigned int) _4; > > _15 =3D 1 - _5; > > eu_13 =3D _15 + eu_19; > > if (eu_13 <=3D 1) > > goto ; [87.64%] > > else > > goto ; [12.36%] > >=20 > > [local count: 103513538]: > > goto ; [100.00%] > >=20 > > [local count: 14598063]: > > # _25 =3D PHI <_2(5)> > > dj =3D _25; > > return; > >=20 > > before sccp, e_13, _15 and e_19 was identified as: > > e_13: {_15, _15} > > _15 : _15 > > e_19: {0, _15} > >=20 > > During sccp, it proves _15 equals to 0 and thus: > > e_13: 0 > > _15 : 0 > > e_19: {0, _15} > >=20 > > This information is cached and used in ivopts. >=20 > I see scev_reset () being called multiple times between > sccp and ivopts so I doubt that. The SCEV cache isn't > reset between GRAPHITE and IVOPTs though and LIM after > GRAPHITE moves some expressions. Hmm, in this case the problem is in scev, which doesn't fold {0, _15} given= _15 is known to be zero? >=20 > Testing a fix. Thanks for helping. >>From gcc-bugs-return-596121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:40:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30912 invoked by alias); 5 Mar 2018 10:40: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 30851 invoked by uid 48); 5 Mar 2018 10:40:22 -0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82005] Early lto debug not implemented on Darwin Date: Mon, 05 Mar 2018 10: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: 8.0 X-Bugzilla-Keywords: lto, patch, wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface 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: 8.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: 2018-03/txt/msg00709.txt.bz2 Content-length: 737 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82005 --- Comment #38 from simon at pushface dot org --- (In reply to Dominique d'Humieres from comment #37) > > Dominique - please update with the current status after you manage > > to do another regular bootstrap/test cycle. Extra issues that crop > > up with running the testsuite with -flto -g are of course also welcome. >=20 > Results posted at > https://gcc.gnu.org/ml/gcc-testresults/2018-03/msg00264.html. >=20 > I have changed the summary and reset the priority to P3. The ACATS failure (c250002) is to be expected on darwin17 (at least with AP= FS, the file system for internal SSDs) because it attempts to create a file wit= h an illegal name (contains non-utf8 character). >>From gcc-bugs-return-596122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:44:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36935 invoked by alias); 5 Mar 2018 10:44: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 36769 invoked by uid 48); 5 Mar 2018 10:44:48 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67608] ICE when capturing a local 2D array Date: Mon, 05 Mar 2018 10: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: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 2018-03/txt/msg00710.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67608 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Paolo Carlini --- Dup. *** This bug has been marked as a duplicate of bug 60230 *** >>From gcc-bugs-return-596123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:44:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37069 invoked by alias); 5 Mar 2018 10:44: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 36838 invoked by uid 48); 5 Mar 2018 10:44:50 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60230] internal compiler error on lambdas capturing multidimensional arrays with dynamic boundary Date: Mon, 05 Mar 2018 10: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 2018-03/txt/msg00711.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60230 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linesprower at gmail dot c= om --- Comment #7 from Paolo Carlini --- *** Bug 67608 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:50:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50168 invoked by alias); 5 Mar 2018 10:49: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 49818 invoked by uid 48); 5 Mar 2018 10:49:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84681] tree-ter moving code too much Date: Mon, 05 Mar 2018 10:49: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.0 X-Bugzilla-Keywords: missed-optimization 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 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: 2018-03/txt/msg00712.txt.bz2 Content-length: 1648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84681 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- TER doesn't hoist things - it moves dependent computations down to sinks, t= his is historically "simulating" RTL expansion from GENERIC where we had much larger expression trees and was added to avoid regressions. I've experimented in the past with disabling TER and we indeed do see regressions there. Note that the appearant "schedule" on GIMPLE is mostly meaningless if you l= ook at a single BB given passes do not spend any time thinking about stmt place= ment apart from having all dependences available. Thus I suggested to have a BB-local "scheduling" pass on GIMPLE that for example minimizes register pressure. Of course TER will wreck any such thing. See https://gcc.gnu.org/ml/gcc-patches/2016-06/msg02062.html for an attempt to keep the scheduling part of TER but remove its effect otherwise (the scheduling part is just a side-effect that's somewhat hard to avoid I think). It shows that we'll need to go a quite big step further and do sth like early instruction selection on GIMPLE while expanding to RTL... >>From gcc-bugs-return-596125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:52:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63695 invoked by alias); 5 Mar 2018 10:52: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 63612 invoked by uid 55); 5 Mar 2018 10:51:59 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Mon, 05 Mar 2018 10: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: 8.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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00713.txt.bz2 Content-length: 2382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 --- Comment #6 from rguenther at suse dot de --- On Mon, 5 Mar 2018, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 >=20 > --- Comment #5 from amker at gcc dot gnu.org --- > (In reply to rguenther@suse.de from comment #4) > > On Sat, 3 Mar 2018, amker at gcc dot gnu.org wrote: > >=20 > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 > > >=20 > > > --- Comment #3 from amker at gcc dot gnu.org --- > > > So given below dump before sccp: > > >=20 > > > [local count: 14598063]: > > >=20 > > > [local count: 118111601]: > > > # eu_19 =3D PHI <0(2), eu_13(7)> > > >=20 > > > [local count: 955630224]: > > > # dj.1_18 =3D PHI <0(3), _1(8)> > > > _1 =3D dj.1_18 + 1; > > > if (_1 <=3D 1) > > > goto ; [89.00%] > > > else > > > goto ; [11.00%] > > >=20 > > > [local count: 850510900]: > > > goto ; [100.00%] > > >=20 > > > [local count: 118111601]: > > > # _2 =3D PHI <_1(4)> > > > _4 =3D _2 !=3D 3; > > > _5 =3D (unsigned int) _4; > > > _15 =3D 1 - _5; > > > eu_13 =3D _15 + eu_19; > > > if (eu_13 <=3D 1) > > > goto ; [87.64%] > > > else > > > goto ; [12.36%] > > >=20 > > > [local count: 103513538]: > > > goto ; [100.00%] > > >=20 > > > [local count: 14598063]: > > > # _25 =3D PHI <_2(5)> > > > dj =3D _25; > > > return; > > >=20 > > > before sccp, e_13, _15 and e_19 was identified as: > > > e_13: {_15, _15} > > > _15 : _15 > > > e_19: {0, _15} > > >=20 > > > During sccp, it proves _15 equals to 0 and thus: > > > e_13: 0 > > > _15 : 0 > > > e_19: {0, _15} > > >=20 > > > This information is cached and used in ivopts. > >=20 > > I see scev_reset () being called multiple times between > > sccp and ivopts so I doubt that. The SCEV cache isn't > > reset between GRAPHITE and IVOPTs though and LIM after > > GRAPHITE moves some expressions. > Hmm, in this case the problem is in scev, which doesn't fold {0, _15} giv= en _15 > is known to be zero? SCEV doesn't really do any folding but yeah, I'm not sure why _15 isn't picked up as 0 here. That would be worth investigating. Note that we don't really expect unfolded/unpropagated constants so it doesn't surprise me we see this kind of effects. >>From gcc-bugs-return-596126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:53:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66782 invoked by alias); 5 Mar 2018 10:53: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 66752 invoked by uid 48); 5 Mar 2018 10:53:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 10: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00714.txt.bz2 Content-length: 2235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #2 from Richard Biener --- (In reply to Jonathan Wakely from comment #1) > Confirmed, valgrind shows a lot of errors like this: Use --enable-valgrind-annotations, the sparseset errors are spurious. > =3D=3D13397=3D=3D Conditional jump or move depends on uninitialised value= (s) > =3D=3D13397=3D=3D at 0xD1F55E: sparseset_bit_p(sparseset_def*, unsigne= d long) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xD1FF9B: mark_pseudo_regno_live(int) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xD2025C: mark_pseudo_reg_live(rtx_def*, unsigned= int) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xD202CA: mark_ref_live(df_ref_d*) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xD22B05: process_bb_node_lives(ira_loop_tree_nod= e*) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xCFA50D: ira_traverse_loop_tree(bool, ira_loop_t= ree_node*, > void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xD23991: ira_create_allocno_live_ranges() (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xCFE468: ira_build() (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xCF53A5: ira(_IO_FILE*) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xCF5B48: (anonymous > namespace)::pass_ira::execute(function*) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xE132FF: execute_one_pass(opt_pass*) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D by 0xE13650: execute_pass_list_1(opt_pass*) (in > /home/jwakely/gcc/7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/cc1plus) > =3D=3D13397=3D=3D >>From gcc-bugs-return-596127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:54:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68674 invoked by alias); 5 Mar 2018 10:54: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 68626 invoked by uid 48); 5 Mar 2018 10:54:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84685] Designated initializers warning Date: Mon, 05 Mar 2018 10: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.3.0 X-Bugzilla-Keywords: diagnostic 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 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: 2018-03/txt/msg00715.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84685 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 >>From gcc-bugs-return-596128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:55:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69828 invoked by alias); 5 Mar 2018 10:55: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 69785 invoked by uid 48); 5 Mar 2018 10:55:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84686] [6/7 Regression] Parenthesized discarded value expression are not evaluated with option -std=c++14 Date: Mon, 05 Mar 2018 10: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: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority 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: 2018-03/txt/msg00716.txt.bz2 Content-length: 753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84686 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P2 Known to work| |8.0 Summary|[6/7/8 Regression] |[6/7 Regression] |Parenthesized discarded |Parenthesized discarded |value expression are not |value expression are not |evaluated with option |evaluated with option |-std=3Dc++14 |-std=3Dc++14 >>From gcc-bugs-return-596129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 10:56:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71155 invoked by alias); 5 Mar 2018 10:56: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 71113 invoked by uid 48); 5 Mar 2018 10:56:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84691] [6/7/8 Regression] internal compiler error: in poplevel_class, at cp/name-lookup.c:4430 Date: Mon, 05 Mar 2018 10: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: 8.0.1 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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00717.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84691 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >>From gcc-bugs-return-596131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:20:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48131 invoked by alias); 5 Mar 2018 11:20: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 48069 invoked by uid 48); 5 Mar 2018 11:20:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84687] [8 Regression] error: invalid conversion in gimple call with -O3 and -ffast-math Date: Mon, 05 Mar 2018 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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00719.txt.bz2 Content-length: 1190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84687 --- Comment #3 from Jakub Jelinek --- This seems to be a general match.pd issue. We have: vect_patt_27.7_52 =3D exp.simdclone.0 (vect_patt_6.6_50); vect_patt_27.7_53 =3D exp.simdclone.0 (vect_patt_6.6_51); vect__26.9_57 =3D exp.simdclone.0 (vect__25.8_55); vect__26.9_58 =3D exp.simdclone.0 (vect__25.8_56); vect__4.10_59 =3D vect__26.9_57 * vect_patt_27.7_52; vect__4.10_60 =3D vect__26.9_58 * vect_patt_27.7_53; and apply the: /* Simplify expN(x) * expN(y) -> expN(x+y). */ (for exps (EXP EXP2 EXP10 POW10) (simplify (mult (exps:s @0) (exps:s @1)) (exps (plus @0 @1)))) rule to it and emit __builtin_exp !! rather than the exp.simdclone.0 calls,= but of course __builtin_exp can't handle vector arguments. So, shall simd_clone_create just clear DECL_BUILT_IN_CLASS and DECL_FUNCTION_CODE of the simd clones it creates (thus disabling all further optimizations of it), or do we want to make match.pd generator smarter and allow somehow propagating the actual fndecls used from the original and cop= y, or both (do the former temporarily and later on undo it and improve match.p= d)? >>From gcc-bugs-return-596130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:20:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47387 invoked by alias); 5 Mar 2018 11: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 47296 invoked by uid 48); 5 Mar 2018 11:20:11 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Mon, 05 Mar 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 8.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: 2018-03/txt/msg00718.txt.bz2 Content-length: 2836 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 --- Comment #7 from amker at gcc dot gnu.org --- (In reply to rguenther@suse.de from comment #6) > On Mon, 5 Mar 2018, amker at gcc dot gnu.org wrote: >=20 > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 > >=20 > > --- Comment #5 from amker at gcc dot gnu.org --- > > (In reply to rguenther@suse.de from comment #4) > > > On Sat, 3 Mar 2018, amker at gcc dot gnu.org wrote: > > >=20 > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 > > > >=20 > > > > --- Comment #3 from amker at gcc dot gnu.org --- > > > > So given below dump before sccp: > > > >=20 > > > > [local count: 14598063]: > > > >=20 > > > > [local count: 118111601]: > > > > # eu_19 =3D PHI <0(2), eu_13(7)> > > > >=20 > > > > [local count: 955630224]: > > > > # dj.1_18 =3D PHI <0(3), _1(8)> > > > > _1 =3D dj.1_18 + 1; > > > > if (_1 <=3D 1) > > > > goto ; [89.00%] > > > > else > > > > goto ; [11.00%] > > > >=20 > > > > [local count: 850510900]: > > > > goto ; [100.00%] > > > >=20 > > > > [local count: 118111601]: > > > > # _2 =3D PHI <_1(4)> > > > > _4 =3D _2 !=3D 3; > > > > _5 =3D (unsigned int) _4; > > > > _15 =3D 1 - _5; > > > > eu_13 =3D _15 + eu_19; > > > > if (eu_13 <=3D 1) > > > > goto ; [87.64%] > > > > else > > > > goto ; [12.36%] > > > >=20 > > > > [local count: 103513538]: > > > > goto ; [100.00%] > > > >=20 > > > > [local count: 14598063]: > > > > # _25 =3D PHI <_2(5)> > > > > dj =3D _25; > > > > return; > > > >=20 > > > > before sccp, e_13, _15 and e_19 was identified as: > > > > e_13: {_15, _15} > > > > _15 : _15 > > > > e_19: {0, _15} > > > >=20 > > > > During sccp, it proves _15 equals to 0 and thus: > > > > e_13: 0 > > > > _15 : 0 > > > > e_19: {0, _15} > > > >=20 > > > > This information is cached and used in ivopts. > > >=20 > > > I see scev_reset () being called multiple times between > > > sccp and ivopts so I doubt that. The SCEV cache isn't > > > reset between GRAPHITE and IVOPTs though and LIM after > > > GRAPHITE moves some expressions. > > Hmm, in this case the problem is in scev, which doesn't fold {0, _15} g= iven _15 > > is known to be zero? >=20 > SCEV doesn't really do any folding but yeah, I'm not sure why _15 > isn't picked up as 0 here. That would be worth investigating. Ah, I kind of remember that in follow_ssa_edge_binary, it tries each operan= d of add operation (a_13 =3D _15 + e_19;). Here the case might be it finds out impossible to follow _15 to halting phi, the function then tries e_19 inste= ad and keep _15 in its own form, thus {0, _15}. >=20 > Note that we don't really expect unfolded/unpropagated constants > so it doesn't surprise me we see this kind of effects. >>From gcc-bugs-return-596132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:22:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49613 invoked by alias); 5 Mar 2018 11:22: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 49526 invoked by uid 48); 5 Mar 2018 11:22:30 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84667] unreasonable refusal to use assignment operator method Date: Mon, 05 Mar 2018 11:22: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.3.0 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: 2018-03/txt/msg00720.txt.bz2 Content-length: 2136 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84667 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #12 from Jonathan Wakely --- (In reply to Elmar Stellnberger from comment #9) > I still do not understand why this constructor gets called: inline xstrbu= f( > base_str s ). If I use .as_const() the result should be an xstr_const : > public xstr_abstract and not an xstr_mutable: public > xstr_abstract. Even if it ascended to xstr_abstract it would > have to discard the const qualifyer. Read my answer again more carefully. > This is copy-initialization: > > estrbuf copybuf1 =3D varbuf4.as_const(); > > That means it's equivalent to this: > > estrbuf copybuf1 =3D estrbuf(varbuf4.as_const()); The result of as_const() is an xstr_const, but then a temporary xstrbuf is created from that, and then because your copy constructor was not viable for copying a temporary (it only accepts non-const lvalues) the temporary is converted to its base class (xstr_mutable) and then the xstrbuf(base_str) constructor is used. If you write complicated, unreadblae code then don't be surprised if you ca= n't understand what it does! (In reply to Elmar Stellnberger from comment #11) > Why does my gcc not report uninitialized variables. Is the version too = old > (6.3.0 20170516)?=20 Yes, I see warnings with GCC 7.1 and later. > Still I do not know how g++ can convert an xstr_const into an > xstr_mutable. That should be impossible as stated in the comment above. T= hus > the fact that correcting an error reported by clang has made the program > behave correctly under g++ is simply astonishing. However I have no idea = why > g++ behaves like this. Because that's what the C++ standard says should happen. I don't get any error compiling yuor code with clang, I see exactly the same behaviour as GCC. >>From gcc-bugs-return-596133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:27:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82931 invoked by alias); 5 Mar 2018 11:27: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 82896 invoked by uid 48); 5 Mar 2018 11:27:29 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84695] Missed opportunity to issue warning about override Date: Mon, 05 Mar 2018 11: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: 8.0 X-Bugzilla-Keywords: diagnostic 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 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: 2018-03/txt/msg00721.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84695 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 >>From gcc-bugs-return-596134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:29:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84279 invoked by alias); 5 Mar 2018 11:29: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 84223 invoked by uid 48); 5 Mar 2018 11:28:59 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84689] is_invocable is true even for call operator via ambiguous base Date: Mon, 05 Mar 2018 11:29: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: 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: 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: 2018-03/txt/msg00722.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84689 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 >>From gcc-bugs-return-596135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:30:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85928 invoked by alias); 5 Mar 2018 11:30: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 85841 invoked by uid 48); 5 Mar 2018 11:30:45 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80245] Ambiguous operator() call on class with ambiguous base classes treated as hard error in SFINAE context Date: Mon, 05 Mar 2018 11: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: 7.0.1 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: 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: 2018-03/txt/msg00723.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80245 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 >>From gcc-bugs-return-596136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:41:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116269 invoked by alias); 5 Mar 2018 11:41: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 116196 invoked by uid 48); 5 Mar 2018 11:41:02 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81976] bad is_standard_layout/has_unique_object_representations results with a chain of empty bases Date: Mon, 05 Mar 2018 11: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: 7.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00724.txt.bz2 Content-length: 137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81976 --- Comment #3 from Jonathan Wakely --- Fixed by r257745 >>From gcc-bugs-return-596137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:52:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67612 invoked by alias); 5 Mar 2018 11:52:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67543 invoked by uid 48); 5 Mar 2018 11:52:05 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84615] [8 Regression] Executable Segfault for tests compiled with -fdefault-integer-8 and -m32 Date: Mon, 05 Mar 2018 11:52: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.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 8.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: 2018-03/txt/msg00725.txt.bz2 Content-length: 2292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84615 --- Comment #5 from Dominique d'Humieres --- The following test (reduced from gfortran.dg/pr46588.f90) function aufun(pm) character(len =3D *) pm character(len =3D *) aufun print *, ">", pm, "<" aufun =3D 'Oh' // trim(pm) end function aufun program ds implicit none character(len =3D 4) :: ins =3D ' no!' character(len =3D 20) st, aufun=20 logical(4) :: tst print *, ">", ins, "<" st =3D aufun(ins) print *, ">", st, "<" end gives > no!< Program received signal SIGSEGV: Segmentation fault - invalid memory refere= nce. at run time when compiled with -m32 -fdefault-integer-8. I don't see any difference when comparing the outputs of -fdump-tree-origin= al with -m32 or -m32 -fdefault-integer-8, but I see the following difference in the assembly files --- pr46588_db.s 2018-03-05 12:50:58.000000000 +0100 +++ pr46588_db_m32.s 2018-03-05 12:50:41.000000000 +0100 @@ -3,8 +3,7 @@ # GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4= 096 # options passed: pr46588_db.f90 -fPIC -m32 -mmacosx-version-min=3D10.13.0 -# -mtune=3Dcorei7 -march=3Dcorei7 -fdefault-integer-8 -fdump-tree-original -# -fverbose-asm +# -mtune=3Dcorei7 -march=3Dcorei7 -fdump-tree-original -fverbose-asm # -fintrinsic-modules-path /opt/gcc/gcc8w/lib/gcc/x86_64-apple-darwin17.4.0/8.0.1/i386/finclude # options enabled: -Wnonportable-cfstrings -fPIC # -faggressive-loop-optimizations -fasynchronous-unwind-tables @@ -255,16 +254,14 @@ L2$pb: call __gfortran_st_write_done # addl $16, %esp #, # pr46588_db.f90:14: st =3D aufun(ins) - subl $12, %esp #, pushl $4 # leal _ins.3702-L2$pb(%ebx), %eax #, tmp97 pushl %eax # tmp97 - pushl $0 # pushl $20 # leal -48(%ebp), %eax #, tmp98 pushl %eax # tmp98 call _aufun_ # - addl $32, %esp #, + addl $16, %esp #, movl -48(%ebp), %eax # MEM[(c_char * {ref-all})&str.5], tmp99 movl %eax, -28(%ebp) # tmp99, MEM[(c_char * {ref-all})&st] movl -44(%ebp), %eax # MEM[(c_char * {ref-all})&str.5], tmp100 >>From gcc-bugs-return-596138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:59:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112980 invoked by alias); 5 Mar 2018 11:59: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 105890 invoked by uid 48); 5 Mar 2018 11:58:57 -0000 From: "jose.dapena at lge dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84709] New: Cannot define method with same name of previously using declared class Date: Mon, 05 Mar 2018 11: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jose.dapena at lge 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: 2018-03/txt/msg00726.txt.bz2 Content-length: 823 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84709 Bug ID: 84709 Summary: Cannot define method with same name of previously using declared class Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jose.dapena at lge dot com Target Milestone: --- This test case is failing with g++ 7.3.0: namespace A { class Foo { ... }; } using A::Foo namespace B { class Bar { const Foo &Foo() const { ... } } The declaration of B Foo accessor fails because it "changes meaning" of A::= Foo. But as far as I could check in C++14 standard, this should be covered by basic.scope.hiding/2 right? >>From gcc-bugs-return-596139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 11:59:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113477 invoked by alias); 5 Mar 2018 11:59: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 106053 invoked by uid 48); 5 Mar 2018 11:58:58 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/39030] Support -fexcess-precision={standard,fast} also for Fortran Date: Mon, 05 Mar 2018 11:59: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: 4.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00727.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39030 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #4 from Dominique d'Humieres --- > More than eight years later is there any point to keep this PR opened? More than four months without feedback. Closing as WONTFIX >>From gcc-bugs-return-596141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:02:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49594 invoked by alias); 5 Mar 2018 12:02: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 48888 invoked by uid 48); 5 Mar 2018 12:02:44 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84690] std::is_invocable not working for ambiguous calls Date: Mon, 05 Mar 2018 12:02: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: 7.2.0 X-Bugzilla-Keywords: wrong-code 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: 2018-03/txt/msg00729.txt.bz2 Content-length: 1587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84690 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jonathan Wakely --- (In reply to Vincent Reverdy from comment #0) > The std::is_invocable type trait from the standard library fails to detect > that the first call in the main function is ambiguous. The program returns > 1, 1, 1 instead of 0, 1, 1. This seems to be related to > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84689 and to Isn't it identical? The variadic templates in this version seem irrelevant to the bug. #include #include // A base class struct base {void operator()(int){};}; // Two derived classes inheriting from the same base classes struct derived1: base { using base::operator(); }; struct derived2: base { using base::operator(); void operator()(char); void operator()(float); }; // A class inheriting from both derived1 and derived2 struct functor: derived1, derived2 { using derived1::operator(); using derived2::operator(); }; // Main function int main() { std::cout << std::is_invocable_v << "\n"; std::cout << std::is_invocable_v << "\n"; std::cout << std::is_invocable_v << "\n"; } *** This bug has been marked as a duplicate of bug 84689 *** >>From gcc-bugs-return-596140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:02:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49208 invoked by alias); 5 Mar 2018 12:02: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 48922 invoked by uid 48); 5 Mar 2018 12:02:45 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84689] is_invocable is true even for call operator via ambiguous base Date: Mon, 05 Mar 2018 12: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: 8.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00728.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84689 --- Comment #2 from Jonathan Wakely --- *** Bug 84690 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:03:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51194 invoked by alias); 5 Mar 2018 12:03: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 51153 invoked by uid 48); 5 Mar 2018 12:03:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/35844] Overwriting the -std= option at runtime via environment variable Date: Mon, 05 Mar 2018 12:03: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: 4.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00730.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D35844 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #2 from Dominique d'Humieres --- Almost nine years without reaction. How long would this PR have to rot befo= re being closed as WONTFIX? >>From gcc-bugs-return-596143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:08:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61389 invoked by alias); 5 Mar 2018 12:08: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 61270 invoked by uid 48); 5 Mar 2018 12:08:11 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/82195] Undemangleable lambda Date: Mon, 05 Mar 2018 12:08: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2018-03/txt/msg00731.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82195 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Nathan Sidwell --- yes, no one's complained about the fix :) >>From gcc-bugs-return-596144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:08:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61693 invoked by alias); 5 Mar 2018 12:08: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 61350 invoked by uid 48); 5 Mar 2018 12:08:13 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54367] [meta-bug] lambda expressions Date: Mon, 05 Mar 2018 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan 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: 2018-03/txt/msg00732.txt.bz2 Content-length: 447 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54367 Bug 54367 depends on bug 82195, which changed state. Bug 82195 Summary: Undemangleable lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82195 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:13:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118455 invoked by alias); 5 Mar 2018 12:13: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 118008 invoked by uid 48); 5 Mar 2018 12:13:15 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] New: [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Mon, 05 Mar 2018 12:13: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: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 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: 2018-03/txt/msg00734.txt.bz2 Content-length: 2789 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 Bug ID: 84710 Summary: [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 43561 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43561&action=3Dedit reduced testcase Compiler output: $ aarch64-unknown-linux-gnu-gcc -O -fno-forward-propagate testcase.c during RTL pass: combine testcase.c: In function 'foo': testcase.c:9:1: internal compiler error: RTL check: expected code 'reg', ha= ve 'subreg' in rhs_regno, at rtl.h:1896 } ^ 0x5b8938 rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl.c:846 0x5e73c5 rhs_regno /repo/gcc-trunk/gcc/rtl.h:1896 0x13e0ae8 rhs_regno /repo/gcc-trunk/gcc/rtl.h:1447 0x13e0ae8 try_combine /repo/gcc-trunk/gcc/combine.c:4291 0x13e6682 combine_instructions /repo/gcc-trunk/gcc/combine.c:1320 0x13e6682 rest_of_handle_combine /repo/gcc-trunk/gcc/combine.c:14886 0x13e6682 execute /repo/gcc-trunk/gcc/combine.c:14931 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ aarch64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-lin= ux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-258241-checking-yes-rtl-= df-extra-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/8.0.1/lto-wra= pper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --with-sysroot=3D/usr/aarch64-unknown-linux-gnu --build=3Dx86_64-pc-linux-g= nu --host=3Dx86_64-pc-linux-gnu --target=3Daarch64-unknown-linux-gnu --with-ld=3D/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=3D/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-258241-checking-yes-rtl-df-extra-a= arch64 Thread model: posix gcc version 8.0.1 20180305 (experimental) (GCC)=20 Tested revisions: r258241 - ICE r258075 - ICE 7-branch r258055 - OK >>From gcc-bugs-return-596145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:13:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118027 invoked by alias); 5 Mar 2018 12:13: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 117971 invoked by uid 48); 5 Mar 2018 12:13:11 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84701] casting to ( unsigned typeof(variable) ) gives wrong results Date: Mon, 05 Mar 2018 12: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: 7.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00733.txt.bz2 Content-length: 365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84701 --- Comment #2 from Jonathan Wakely --- I think this should be rejected, just like: typedef int T; unsigned T i; You can combine unsigned with int (or char, or long, or short) to refer to a type, but not use it to modify an existing type. You make_unsigned_t to do that. >>From gcc-bugs-return-596147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:21:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33017 invoked by alias); 5 Mar 2018 12:21: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 31931 invoked by uid 48); 5 Mar 2018 12:21:12 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84694] [8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in do_friend, at cp/friend.c:498 Date: Mon, 05 Mar 2018 12:21: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.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00735.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84694 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot g= nu.org >>From gcc-bugs-return-596148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:22:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34549 invoked by alias); 5 Mar 2018 12:22: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 34447 invoked by uid 48); 5 Mar 2018 12:22:18 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84702] [8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15082 Date: Mon, 05 Mar 2018 12:22: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.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00736.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84702 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot g= nu.org >>From gcc-bugs-return-596149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:23:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35424 invoked by alias); 5 Mar 2018 12:23: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 35372 invoked by uid 48); 5 Mar 2018 12:23:03 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84709] Cannot define method with same name of previously using declared class Date: Mon, 05 Mar 2018 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: 7.3.0 X-Bugzilla-Keywords: rejects-valid 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: keywords 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: 2018-03/txt/msg00737.txt.bz2 Content-length: 1130 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84709 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely --- Proper testcase that actually shows the error: namespace A { class Foo { }; } using A::Foo; namespace B { class Bar { const Foo &Foo() const; }; } hide.cc:10:22: error: declaration of =E2=80=98const A::Foo& B::Bar::Foo() c= onst=E2=80=99 [-fpermissive] const Foo &Foo() const; ^~~~~ hide.cc:2:9: error: changes meaning of =E2=80=98Foo=E2=80=99 from =E2=80=98= class A::Foo=E2=80=99 [-fpermissive] class Foo { ^~~ Which can be reduced to: struct Foo { }; struct Bar { const Foo &Foo() const; }; The member function B::Bar::foo does hide ::Foo, and that violates [basic.scope.class]/2. >>From gcc-bugs-return-596151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:29:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23462 invoked by alias); 5 Mar 2018 12:29: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 11324 invoked by uid 48); 5 Mar 2018 12:29:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 12:29: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.3.0 X-Bugzilla-Keywords: rejects-valid 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: --- 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: 2018-03/txt/msg00739.txt.bz2 Content-length: 6981 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Strange that if I try to get rid of the system headers with: typedef decltype (sizeof (0)) size_t; typedef unsigned char uint8_t; namespace std { template class initializer_list { public: typedef _E value_type; typedef const _E& reference; typedef const _E& const_reference; typedef size_t size_type; typedef const _E* iterator; typedef const _E* const_iterator; iterator _M_array; size_type _M_len; constexpr initializer_list(const_iterator __a, size_type __l) : _M_array(__a), _M_len(__l) { } constexpr initializer_list() noexcept : _M_array(0), _M_len(0) { } constexpr size_type size() const noexcept { return _M_len; } constexpr const_iterator begin() const noexcept { return _M_array; } constexpr const_iterator end() const noexcept { return begin() + size(); } }; } template struct array { constexpr E &operator[](size_t n) noexcept { return elems[n]; } constexpr const E &operator[](size_t n) const noexcept { return elems[n];= } constexpr size_t size() const { return N; } E elems[N]; }; template constexpr inline T max (std::initializer_list i) { const T *b =3D i.begin (); const T *e =3D i.end (); if (b =3D=3D e) return *b; const T *r =3D b; while (++b !=3D e) if (*r < *b) r =3D b; return *r; } template constexpr char to_char(alphabet_type const alph) { return alph.to_char(); } template struct union_composition { static constexpr size_t value_size =3D (alphabet_types::value_size + ..= . ); uint8_t _value; template static constexpr auto value_to_char_helper(alphabet_t alphabet) { array value_to_char{}; for (size_t i =3D 0u; i < alphabet_t::value_size; ++i) { value_to_char[i] =3D to_char(alphabet.assign_rank(i)); } return value_to_char; } static constexpr auto make_value_to_char() { constexpr auto N =3D sizeof...(alphabet_types); constexpr array alphabet_sizes { alphabet_types::value_size... }; constexpr size_t fixed_size =3D max({alphabet_types::value_size...}= ); array value_to_char_tables =3D array, N> { value_to_char_helper(alphabet_types{})... }; array value_to_char{}; for (size_t i =3D 0u, value =3D 0u; i < N; ++i) for (size_t k =3D 0u; k < alphabet_sizes[i]; ++k, ++value) value_to_char[value] =3D value_to_char_tables[i][k]; return value_to_char; } }; struct gap { constexpr char to_char() const noexcept { return '-'; } constexpr gap & assign_rank([[maybe_unused]] bool const i) noexcept { return *this; } static constexpr size_t value_size{1}; }; struct dna4 { constexpr char to_char() const noexcept { return value_to_char[_value]; } constexpr dna4 & assign_rank(uint8_t const c) { _value =3D c; return *this; } static constexpr size_t value_size{4}; static constexpr char value_to_char[value_size] { 'A', 'C', 'G', 'T' }; uint8_t _value; }; struct dna5 { constexpr char to_char() const noexcept { return value_to_char[_value]; } constexpr dna5 & assign_rank(uint8_t const c) { _value =3D c; return *this; } static constexpr size_t value_size{5}; static constexpr char value_to_char[value_size] { 'A', 'C', 'G', 'T', '= N' }; uint8_t _value; }; int main() { constexpr array value_to_char1 =3D union_composition::make_value_to_char(); static_assert(value_to_char1.size() =3D=3D 4u); static_assert(value_to_char1[0] =3D=3D 'A'); static_assert(value_to_char1[1] =3D=3D 'C'); static_assert(value_to_char1[2] =3D=3D 'G'); static_assert(value_to_char1[3] =3D=3D 'T'); constexpr array value_to_char2 =3D union_composition::make_value_to_char(); static_assert(value_to_char2.size() =3D=3D 5u); static_assert(value_to_char2[0] =3D=3D 'A'); static_assert(value_to_char2[1] =3D=3D 'C'); static_assert(value_to_char2[2] =3D=3D 'G'); static_assert(value_to_char2[3] =3D=3D 'T'); static_assert(value_to_char2[4] =3D=3D '-'); constexpr array value_to_char3 =3D union_composition::make_value_to_char(); static_assert(value_to_char3.size() =3D=3D 10u); static_assert(value_to_char3[0] =3D=3D 'A'); static_assert(value_to_char3[1] =3D=3D 'C'); static_assert(value_to_char3[2] =3D=3D 'G'); static_assert(value_to_char3[3] =3D=3D 'T'); static_assert(value_to_char3[4] =3D=3D '-'); static_assert(value_to_char3[5] =3D=3D 'A'); static_assert(value_to_char3[6] =3D=3D 'C'); static_assert(value_to_char3[7] =3D=3D 'G'); static_assert(value_to_char3[8] =3D=3D 'T'); static_assert(value_to_char3[9] =3D=3D 'N'); constexpr array value_to_char4 =3D union_composition::make_value_to_char(); static_assert(value_to_char4.size() =3D=3D 10u); static_assert(value_to_char4[0] =3D=3D 'A'); static_assert(value_to_char4[1] =3D=3D 'C'); static_assert(value_to_char4[2] =3D=3D 'G'); static_assert(value_to_char4[3] =3D=3D 'T'); static_assert(value_to_char4[4] =3D=3D 'N'); static_assert(value_to_char4[5] =3D=3D '-'); static_assert(value_to_char4[6] =3D=3D 'A'); static_assert(value_to_char4[7] =3D=3D 'C'); static_assert(value_to_char4[8] =3D=3D 'G'); static_assert(value_to_char4[9] =3D=3D 'T'); constexpr array value_to_char5 =3D union_composition::make_value_to_char(); static_assert(value_to_char5.size() =3D=3D 10u); static_assert(value_to_char5[0] =3D=3D '-'); static_assert(value_to_char5[1] =3D=3D 'A'); static_assert(value_to_char5[2] =3D=3D 'C'); static_assert(value_to_char5[3] =3D=3D 'G'); static_assert(value_to_char5[4] =3D=3D 'T'); static_assert(value_to_char5[5] =3D=3D 'A'); static_assert(value_to_char5[6] =3D=3D 'C'); static_assert(value_to_char5[7] =3D=3D 'G'); static_assert(value_to_char5[8] =3D=3D 'T'); static_assert(value_to_char5[9] =3D=3D 'N'); } the errors go away. Or if I remove int main () { and }, i.e. keep the static_asserts at the toplevel, it fails, but in different spots than when = it is in main. >>From gcc-bugs-return-596150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:29:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113333 invoked by alias); 5 Mar 2018 12:29: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 104023 invoked by uid 48); 5 Mar 2018 12:29:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] [8 Regression] minloc/maxloc not simplified with zero size Date: Mon, 05 Mar 2018 12: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.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00738.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >>From gcc-bugs-return-596152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:32:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38559 invoked by alias); 5 Mar 2018 12:32: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 27768 invoked by uid 48); 5 Mar 2018 12:32:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84702] [8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15082 Date: Mon, 05 Mar 2018 12: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: 8.0.1 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: P1 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00740.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84702 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >>From gcc-bugs-return-596153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:33:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45896 invoked by alias); 5 Mar 2018 12:33: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 36224 invoked by uid 48); 5 Mar 2018 12:33:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] [8 Regression] internal compiler error: gimplification failed Date: Mon, 05 Mar 2018 12: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.0.1 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00741.txt.bz2 Content-length: 368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 CC| |rguenth at gcc dot gnu.org >>From gcc-bugs-return-596154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:33:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65728 invoked by alias); 5 Mar 2018 12:33: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 57555 invoked by uid 48); 5 Mar 2018 12:33:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84705] [6/7/8 Regression] internal compiler error: in add_stmt, at cp/semantics.c:390 Date: Mon, 05 Mar 2018 12: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.0.1 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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00742.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84705 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >>From gcc-bugs-return-596155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:33:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67529 invoked by alias); 5 Mar 2018 12: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64354 invoked by uid 48); 5 Mar 2018 12:33:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80245] Ambiguous operator() call on class with ambiguous base classes treated as hard error in SFINAE context Date: Mon, 05 Mar 2018 12: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.0.1 X-Bugzilla-Keywords: rejects-valid 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: 2018-03/txt/msg00743.txt.bz2 Content-length: 1561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80245 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jonathan Wakely --- Reduced: struct B { void operator()(char){} }; template struct base : B {}; struct ob : base<0>, base<1> { using base<0>::operator(); // char using base<1>::operator(); // char }; template using void_t =3D void; template struct is_ambiguous { }; template struct is_ambiguous> { }; is_ambiguous test; ambig.cc: In instantiation of 'struct is_ambiguous': ambig.cc:21:18: required from here ambig.cc:19:43: error: 'B' is an ambiguous base of 'ob' struct is_ambiguous> { }; ~~~^~~~~ ambig.cc:19:43: error: 'B' is an ambiguous base of 'ob' > The request for an ambiguous member function call produces a SFINAE-frien= dly > context on `clang++5`, allowing the `is_ambiguous` detection to properly > take place. I don't think the problem for GCC is that it's not a SFINAE-friendly contex= t, it's that it gives a different answer in the SFINAE context and when instantiated. So this is the same as PR 84689. *** This bug has been marked as a duplicate of bug 84689 *** >>From gcc-bugs-return-596158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:34:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25925 invoked by alias); 5 Mar 2018 12:34: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 15412 invoked by uid 48); 5 Mar 2018 12:34:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 12:34: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.1 X-Bugzilla-Keywords: 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00746.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >>From gcc-bugs-return-596156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:34:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68014 invoked by alias); 5 Mar 2018 12:34: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 66474 invoked by uid 48); 5 Mar 2018 12:33:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84689] is_invocable is true even for call operator via ambiguous base Date: Mon, 05 Mar 2018 12:34: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: 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: 2018-03/txt/msg00744.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84689 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vittorio.romeo at outlook = dot com --- Comment #3 from Jonathan Wakely --- *** Bug 80245 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:34:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6469 invoked by alias); 5 Mar 2018 12:34: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 126233 invoked by uid 48); 5 Mar 2018 12:34:29 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84711] New: AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode. Date: Mon, 05 Mar 2018 12:34: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tnfchris 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 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: 2018-03/txt/msg00745.txt.bz2 Content-length: 896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84711 Bug ID: 84711 Summary: AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: tnfchris at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org Target Milestone: --- Target: armeb-*-* The following example typedef __fp16 v4f16 __attribute__ ((vector_size (8))); v4f16 fn1 (v4f16 p) { return p; } fails only on arm big-endian when using `-mfpu=3Dneon -mfloat-abi=3Dhard -mfp16-format=3Dieee -mbig-endian` and results in an ICE. This case triggers an endless recursion in the mid-end when taking the subr= eg and eventually segfaults when it runs out of stack space. >>From gcc-bugs-return-596161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:35:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39995 invoked by alias); 5 Mar 2018 12:35: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 34399 invoked by uid 48); 5 Mar 2018 12:35:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, 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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00749.txt.bz2 Content-length: 447 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krebbel at gcc dot gnu.org --- Comment #8 from Richard Biener --- *** Bug 84706 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:35:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12663 invoked by alias); 5 Mar 2018 12:35: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 1006 invoked by uid 48); 5 Mar 2018 12:35:26 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84711] AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode. Date: Mon, 05 Mar 2018 12: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.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: tnfchris 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: 2018-03/txt/msg00747.txt.bz2 Content-length: 583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84711 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 --- Comment #1 from Tamar Christina --- Currently have a patch for it, will submit it on stage-1 for GCC 9 as this = is not an 8 regression. >>From gcc-bugs-return-596160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:35:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39180 invoked by alias); 5 Mar 2018 12:35: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 31836 invoked by uid 48); 5 Mar 2018 12:35:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84706] [8 Regression] Ada bootstrap fails on s390x since r258124 Date: Mon, 05 Mar 2018 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: 8.0.1 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: 8.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: 2018-03/txt/msg00748.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84706 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Richard Biener --- Dup. *** This bug has been marked as a duplicate of bug 84670 *** >>From gcc-bugs-return-596165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:36:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67208 invoked by alias); 5 Mar 2018 12:36: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 63703 invoked by uid 48); 5 Mar 2018 12:36:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 12: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, 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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00753.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla.gnu at coelho dot= net --- Comment #9 from Richard Biener --- *** Bug 84696 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:36:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67492 invoked by alias); 5 Mar 2018 12:36: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 64791 invoked by uid 48); 5 Mar 2018 12:36:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 12:36: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: ice-on-valid-code, 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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00754.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Bug 84670 depends on bug 84696, which changed state. Bug 84696 Summary: [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre= .c:2148 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE >>From gcc-bugs-return-596163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:36:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66637 invoked by alias); 5 Mar 2018 12:36: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 56419 invoked by uid 48); 5 Mar 2018 12:36:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84696] [8 Regression] ICE in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Mon, 05 Mar 2018 12: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: 8.0.1 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: DUPLICATE X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00751.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84696 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Richard Biener --- Dup. *** This bug has been marked as a duplicate of bug 84670 *** >>From gcc-bugs-return-596162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:36:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54843 invoked by alias); 5 Mar 2018 12:36: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 45407 invoked by uid 48); 5 Mar 2018 12:36:01 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 12:36: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.3.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00750.txt.bz2 Content-length: 407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #4 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #3) > the errors go away. Or if I remove int main () { and }, i.e. keep the > static_asserts at the toplevel, it fails, but in different spots than when > it is in main. Yes, that's what made me suspect something uninitialized and try valgrind. >>From gcc-bugs-return-596164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:36:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67177 invoked by alias); 5 Mar 2018 12:36: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 62812 invoked by uid 48); 5 Mar 2018 12:36:14 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84711] AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode. Date: Mon, 05 Mar 2018 12:36: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.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: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2018-03/txt/msg00752.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84711 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-596167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:41:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43264 invoked by alias); 5 Mar 2018 12:41: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 43189 invoked by uid 48); 5 Mar 2018 12:41:43 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8) Date: Mon, 05 Mar 2018 12: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: 8.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 2018-03/txt/msg00755.txt.bz2 Content-length: 3468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83983 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #8 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #6) > > In other words, get_odr_type (t1, true) works on x86 and get_odr_type (= t2, > > true) works on ARM/SPARC, so maybe something like: > >=20 > > Index: ipa-devirt.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 > > --- ipa-devirt.c (revision 258068) > > +++ ipa-devirt.c (working copy) > > @@ -686,7 +686,10 @@ odr_subtypes_equivalent_p (tree t1, tree t2, > > return false; > > /* Limit recursion: If subtypes are ODR types and we know > > that they are same, be happy. */ > > - if (!odr_type_p (t1) || !get_odr_type (t1, true)->odr_violated) > > + if (!odr_type_p (t1) > > + || !odr_type_p (t2) > > + || (!get_odr_type (t1, true)->odr_violated > > + && !get_odr_type (t2, true)->odr_violated)) > > return true; > > } > >=20 > > is the proper thing to do. >=20 > This brings the missing warnings on SPARC (and presumably Aarch64 too) but > gives the same order of warnings as on the HP-PA, so the test still forma= lly > fails. >=20 > In other words, the test is not sufficiently robust as currently written. Yes, now on AArch64, we have: /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:7:10: warning: type 'struct AsyncHooks' violates the C++ One Definition Rule [-Wodr]^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:2:10: note: a diffe= rent type is defined in another translation unit^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:8:21: note: the fir= st difference of corresponding definitions is field 'providers_'^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:3:21: note: a field= of same name but different type is defined in another translation unit^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:7:10: note: array t= ypes have different bounds^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:6:8: warning: type 'struct Environment' violates the C++ One Definition Rule [-Wodr]^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:1:8: note: a differ= ent type is defined in another translation unit^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:10:14: note: the fi= rst difference of corresponding definitions is field 'async_hooks_'^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:5:14: note: a field= of same name but different type is defined in another translation unit^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:7:10: note: type 'struct AsyncHooks' itself violates the C++ One Definition Rule^M /.../build/src/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:2:10: note: the incompatible type is defined here^M FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8) FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_1.C line 2) FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_1.C line 3) FAIL: g++.dg/lto/pr83121 cp_lto_pr83121_0.o-cp_lto_pr83121_1.o link, -O0 -f= lto >>From gcc-bugs-return-596168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:49:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117701 invoked by alias); 5 Mar 2018 12:49: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 117622 invoked by uid 48); 5 Mar 2018 12:49:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 12: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid 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: --- 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: 2018-03/txt/msg00756.txt.bz2 Content-length: 333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #5 from Jakub Jelinek --- Or also defining another method in union_composition, like: static constexpr auto make_value_to_char1() { constexpr auto N =3D sizeof...(alphabet_types); return N; } makes it go away. >>From gcc-bugs-return-596169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:49:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118568 invoked by alias); 5 Mar 2018 12:49: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 118435 invoked by uid 48); 5 Mar 2018 12:49:22 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84712] New: Missed evaluating to constant at tree level Date: Mon, 05 Mar 2018 12: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: 8.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: 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: 2018-03/txt/msg00757.txt.bz2 Content-length: 1627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84712 Bug ID: 84712 Summary: Missed evaluating to constant at tree level Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: prathamesh3492 at gcc dot gnu.org Target Milestone: --- Hi, It seems GCC does not evaluate the following function to a constant at the = tree level: int sum(void) { int a[] =3D {1, 2, 3, -1}; int x =3D 0; for (int i =3D 0; i < 4; i++) if (a[i] < 0) break; else x +=3D a[i]; return x; } optimized dump shows: sum () { int x; int a[4]; int _25; int _33; int _41; [local count: 261993005]: MEM[(int *)&a] =3D { 1, 2, 3, -1 }; _25 =3D a[1]; if (_25 < 0) goto ; [7.91%] else goto ; [92.09%] [local count: 246744733]: x_30 =3D _25 + 1; _33 =3D a[2]; if (_33 < 0) goto ; [7.91%] else goto ; [92.09%] [local count: 232383926]: x_38 =3D x_30 + _33; _41 =3D a[3]; if (_41 < 0) goto ; [7.91%] else goto ; [92.09%] [local count: 47244641]: # x_17 =3D PHI goto ; [100.00%] [local count: 218858940]: x_10 =3D x_38 + _41; [local count: 261993005]: # x_2 =3D PHI a =3D{v} {CLOBBER}; return x_2; } However at RTL, cprop seems to do the constant folding and set return value register to 6. Thanks, Prathamesh >>From gcc-bugs-return-596170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:49:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119350 invoked by alias); 5 Mar 2018 12:49: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 119311 invoked by uid 55); 5 Mar 2018 12:49:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Mon, 05 Mar 2018 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: 8.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: 8.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: 2018-03/txt/msg00758.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 --- Comment #8 from Richard Biener --- Author: rguenth Date: Mon Mar 5 12:49:07 2018 New Revision: 258242 URL: https://gcc.gnu.org/viewcvs?rev=3D258242&root=3Dgcc&view=3Drev Log: 2018-03-05 Richard Biener PR tree-optimization/84650 * tree-ssa-loop-im.c (pass_lim::execute): Reset the SCEV cache if executed in the loop pipeline. * gcc.dg/graphite/pr84650.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr84650.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-im.c >>From gcc-bugs-return-596172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:50:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129794 invoked by alias); 5 Mar 2018 12:50: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 128610 invoked by uid 48); 5 Mar 2018 12:50:51 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84713] New: ANY_RETURN_P does't check all SIMPLE_RETURNs Date: Mon, 05 Mar 2018 12:50: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: 8.0.1 X-Bugzilla-Keywords: 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: 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: 2018-03/txt/msg00760.txt.bz2 Content-length: 952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84713 Bug ID: 84713 Summary: ANY_RETURN_P does't check all SIMPLE_RETURNs Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- rtl.h has /* Predicate yielding nonzero iff X is a return or simple_return. */ #define ANY_RETURN_P(X) \ (GET_CODE (X) =3D=3D RETURN || GET_CODE (X) =3D=3D SIMPLE_RETURN) But on x86, for void __attribute__((interrupt)) fn (void* frame) { } we generate: (jump_insn 13 12 14 2 (parallel [ (simple_return) (unspec [ (const_int 0 [0]) ] UNSPEC_INTERRUPT_RETURN) ]) "/tmp/y.i":5 -1 (nil) -> simple_return) But ANY_RETURN_P returns false. >>From gcc-bugs-return-596171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:50:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128044 invoked by alias); 5 Mar 2018 12: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 127239 invoked by uid 48); 5 Mar 2018 12:50:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 12:50: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.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00759.txt.bz2 Content-length: 877 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 --- Comment #4 from Marek Polacek --- It really seems all we need is=20 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -1410,7 +1410,9 @@ duplicate_decls (tree newdecl, tree olddecl, bool newdecl_is_friend) || TREE_TYPE (olddecl) =3D=3D error_mark_node) return error_mark_node; - if (UDLIT_OPER_P (DECL_NAME (newdecl)) + if (DECL_NAME (newdecl) + && DECL_NAME (olddecl) + && UDLIT_OPER_P (DECL_NAME (newdecl)) && UDLIT_OPER_P (DECL_NAME (olddecl))) { if (TREE_CODE (newdecl) =3D=3D TEMPLATE_DECL then we give a nice error: 84707.C:5:1: error: =E2=80=98namespace { }=E2=80=99 conflicts with a previo= us declaration namespace {} ^~~~~~~~~ 84707.C:1:8: note: previous declaration =E2=80=98namespace { }=E2=80=99 inline namespace { ^~~~~~~~~ >>From gcc-bugs-return-596173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:54:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23086 invoked by alias); 5 Mar 2018 12:54: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 23046 invoked by uid 48); 5 Mar 2018 12:54:26 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 12: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code 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: 8.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: 2018-03/txt/msg00761.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org >>From gcc-bugs-return-596174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 12:55:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59368 invoked by alias); 5 Mar 2018 12:55: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 56104 invoked by uid 48); 5 Mar 2018 12:55:29 -0000 From: "gcc-bugs at marehr dot dialup.fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 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: 7.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc-bugs at marehr dot dialup.fu-berlin.de 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: 2018-03/txt/msg00762.txt.bz2 Content-length: 1076 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #6 from gcc-bugs at marehr dot dialup.fu-berlin.de --- I use now a more simpler approach for the fold expression [1], but the prob= lem from this bug ticket still persisted when I used the same kind of assignmen= t: for (size_t i =3D 0u; i < alphabet_t::value_size; ++i) { value_to_char[i] =3D to_char(alphabet.assign_rank(i)); } Extracting the rhs into a external lambda function auto assign_rank_to_char =3D [](auto alphabet, size_t rank) constex= pr { return seqan3::to_char(seqan3::assign_rank(alphabet, rank)); }; ... for (size_t i =3D 0u; i < alphabet_t::value_size; ++i) { value_to_char[i] =3D assign_rank_to_char(alphabet, i); } Seems to resolve the problem for me and our build systems. I'm eager to know which edge case I triggered here :) [1] https://github.com/marehr/seqan3/blob/0aa304d9a4bc81eb52dd144f3da5fd3833040= 8fc/include/seqan3/alphabet/composition/union_composition.hpp#L362-L389 >>From gcc-bugs-return-596175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:08:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79781 invoked by alias); 5 Mar 2018 13:08: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 79752 invoked by uid 48); 5 Mar 2018 13:08:34 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84712] Missed evaluating to constant at tree level Date: Mon, 05 Mar 2018 13:08: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: 2018-03/txt/msg00763.txt.bz2 Content-length: 287 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84712 --- Comment #1 from Marc Glisse --- We unroll quite late (cunroll) and there aren't any passes (like FRE) after that to do the propagation. Adding #pragma GCC unroll 16 before the loop le= ts it optimize. >>From gcc-bugs-return-596176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:18:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86553 invoked by alias); 5 Mar 2018 13:18: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 86457 invoked by uid 55); 5 Mar 2018 13:18:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 13: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, 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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00764.txt.bz2 Content-length: 1171 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 --- Comment #10 from Richard Biener --- Author: rguenth Date: Mon Mar 5 13:18:12 2018 New Revision: 258243 URL: https://gcc.gnu.org/viewcvs?rev=3D258243&root=3Dgcc&view=3Drev Log: 2018-03-05 Richard Biener PR tree-optimization/84670 * tree-ssa-pre.c (struct bb_bitmap_sets): Add visited_with_visited_succs member. (BB_VISITED_WITH_VISITED_SUCCS): New define. (compute_antic): Initialize BB_VISITED_WITH_VISITED_SUCCS. (compute_antic_aux): Only assert the number of values in ANTIC_IN doesn't grow if all successors (recursively) were visited at least once. * gcc.dg/pr84670-1.c: New testcase. * gcc.dg/pr84670-2.c: Likewise. * gcc.dg/pr84670-3.c: Likewise. * gcc.dg/pr84670-4.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/pr84670-1.c trunk/gcc/testsuite/gcc.dg/pr84670-2.c trunk/gcc/testsuite/gcc.dg/pr84670-3.c trunk/gcc/testsuite/gcc.dg/pr84670-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-pre.c >>From gcc-bugs-return-596177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:19:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87313 invoked by alias); 5 Mar 2018 13:19: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 87248 invoked by uid 48); 5 Mar 2018 13:18:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 13:19: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.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00765.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Richard Biener --- Fixed. >>From gcc-bugs-return-596178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:23:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97376 invoked by alias); 5 Mar 2018 13:23: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 97321 invoked by uid 48); 5 Mar 2018 13:23:13 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84714] New: internal compiler error: in create_tmp_var, at gimple-expr.c:476 Date: Mon, 05 Mar 2018 13:23: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00766.txt.bz2 Content-length: 2834 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84714 Bug ID: 84714 Summary: internal compiler error: in create_tmp_var, at gimple-expr.c:476 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: void a(struct b &c) { asm ("" : "+r" (c)); } Output: $ xgcc -x c++ -S - : In function 'void a(b&)': :2:19: internal compiler error: in create_tmp_var, at gimple-expr.c:= 476 0x20f1583 create_tmp_var(tree_node*, char const*) /home/vegard/git/gcc/gcc/gimple-expr.c:476 0x2218dd6 create_tmp_from_val /home/vegard/git/gcc/gcc/gimplify.c:516 0x2218dd6 lookup_tmp_var /home/vegard/git/gcc/gcc/gimplify.c:537 0x2218dd6 internal_get_tmp_var /home/vegard/git/gcc/gcc/gimplify.c:590 0x221b55c get_formal_tmp_var(tree_node*, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:618 0x221b55c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:12383 0x22469bd gimplify_asm_expr /home/vegard/git/gcc/gcc/gimplify.c:6328 0x221cc11 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11766 0x222b991 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x221da9d gimplify_cleanup_point_expr /home/vegard/git/gcc/gcc/gimplify.c:6400 0x221da9d gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11811 0x222b991 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x2234c59 gimplify_body(tree_node*, bool) /home/vegard/git/gcc/gcc/gimplify.c:12635 0x2236fb0 gimplify_function_tree(tree_node*) /home/vegard/git/gcc/gcc/gimplify.c:12800 0x19a3517 cgraph_node::analyze() /home/vegard/git/gcc/gcc/cgraphunit.c:670 0x19b65eb analyze_functions /home/vegard/git/gcc/gcc/cgraphunit.c:1131 0x19bb301 symbol_table::finalize_compilation_unit() /home/vegard/git/gcc/gcc/cgraphunit.c:2691 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). 4.1.2 gives the same thing. Clang gives: input.cc:2:19: error: dereference of pointer to incomplete type 'struct b' asm ("" : "+r" (c)); ^ input.cc:1:15: note: forward declaration of 'b' void a(struct b &c) { ^ 1 error generated. Test case was minimised by C-Reduce. >>From gcc-bugs-return-596179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:24:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98854 invoked by alias); 5 Mar 2018 13:24: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 98775 invoked by uid 48); 5 Mar 2018 13:24:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 13:24: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.3.0 X-Bugzilla-Keywords: rejects-valid 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: --- 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: 2018-03/txt/msg00767.txt.bz2 Content-length: 7815 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #7 from Jakub Jelinek --- #include #include template constexpr char to_char(alphabet_type const alph) { return alph.to_char(); } constexpr const char *check[][3] =3D { { "ACGT", __null, __null }, { "ACGT", "-", __null }, { "ACGT", "-", "ACGTN" }, { "ACGTN", "-", "ACGT" }, { "-", "ACGT", "ACGTN" } }; template struct union_composition { static constexpr size_t value_size =3D (alphabet_types::value_size + ..= . ); uint8_t _value; template static constexpr auto value_to_char_helper(alphabet_t alphabet) { std::array value_to_char{}; for (size_t i =3D 0u; i < alphabet_t::value_size; ++i) { value_to_char[i] =3D to_char(alphabet.assign_rank(i)); } return value_to_char; } static constexpr auto make_value_to_char() { constexpr auto N =3D sizeof...(alphabet_types); constexpr std::array alphabet_sizes { alphabet_types::value_size... }; constexpr size_t fixed_size =3D std::max({alphabet_types::value_size...}); constexpr std::array value_to_char_tables =3D std::array, N> { value_to_char_helper(alphabet_types{})... }; std::array value_to_char{}; static_assert (value_size =3D=3D (idx =3D=3D 0 ? 4 : (idx < 2 ? 5 : 10))); static_assert (N =3D=3D (idx =3D=3D 0 ? 1 : (idx < 2 ? 2 : 3))); static_assert (fixed_size =3D=3D (idx < 2 ? 4 : 5)); static_assert (alphabet_sizes[0] =3D=3D __builtin_strlen(check[idx][0])); if constexpr(idx >=3D 1) static_assert (alphabet_sizes[1] =3D=3D __builtin_strlen(check[idx][1])); if constexpr (idx >=3D 2) static_assert (alphabet_sizes[2] =3D=3D __builtin_strlen(check[idx][2])); static_assert (value_to_char_tables[0][0] =3D=3D check[idx][0][0]); if constexpr (alphabet_sizes[0] > 1) static_assert (value_to_char_tables[0][1] =3D=3D check[idx][0][1]); if constexpr (alphabet_sizes[0] > 2) static_assert (value_to_char_tables[0][2] =3D=3D check[idx][0][2]); if constexpr (alphabet_sizes[0] > 3) static_assert (value_to_char_tables[0][3] =3D=3D check[idx][0][3]); if constexpr (alphabet_sizes[0] > 4) static_assert (value_to_char_tables[0][4] =3D=3D check[idx][0][4]); if constexpr (idx >=3D 1) { static_assert (value_to_char_tables[1][0] =3D=3D check[idx][1][0]); if constexpr (alphabet_sizes[1] > 1) static_assert (value_to_char_tables[1][1] =3D=3D check[idx][1][1]); if constexpr (alphabet_sizes[1] > 2) static_assert (value_to_char_tables[1][2] =3D=3D check[idx][1][2]); if constexpr (alphabet_sizes[1] > 3) static_assert (value_to_char_tables[1][3] =3D=3D check[idx][1][3]); if constexpr (alphabet_sizes[1] > 4) static_assert (value_to_char_tables[1][4] =3D=3D check[idx][1][4]); } if constexpr (idx >=3D 2) { static_assert (value_to_char_tables[2][0] =3D=3D check[idx][2][0]); if constexpr (alphabet_sizes[2] > 1) static_assert (value_to_char_tables[2][1] =3D=3D check[idx][2][1]); if constexpr (alphabet_sizes[2] > 2) static_assert (value_to_char_tables[2][2] =3D=3D check[idx][2][2]); if constexpr (alphabet_sizes[2] > 3) static_assert (value_to_char_tables[2][3] =3D=3D check[idx][2][3]); if constexpr (alphabet_sizes[2] > 4) static_assert (value_to_char_tables[2][4] =3D=3D check[idx][2][4]); } for (size_t i =3D 0u, value =3D 0u; i < N; ++i) for (size_t k =3D 0u; k < alphabet_sizes[i]; ++k, ++value) value_to_char[value] =3D value_to_char_tables[i][k]; return value_to_char; } }; struct gap { constexpr char to_char() const noexcept { return '-'; } constexpr gap & assign_rank([[maybe_unused]] bool const i) noexcept { return *this; } static constexpr size_t value_size{1}; }; struct dna4 { constexpr char to_char() const noexcept { return value_to_char[_value]; } constexpr dna4 & assign_rank(uint8_t const c) { _value =3D c; return *this; } static constexpr size_t value_size{4}; static constexpr char value_to_char[value_size] { 'A', 'C', 'G', 'T' }; uint8_t _value; }; struct dna5 { constexpr char to_char() const noexcept { return value_to_char[_value]; } constexpr dna5 & assign_rank(uint8_t const c) { _value =3D c; return *this; } static constexpr size_t value_size{5}; static constexpr char value_to_char[value_size] { 'A', 'C', 'G', 'T', '= N' }; uint8_t _value; }; constexpr std::array value_to_char1 =3D union_composition<0, dna4>::make_value_to_char(); static_assert(value_to_char1.size() =3D=3D 4u); static_assert(value_to_char1[0] =3D=3D 'A'); static_assert(value_to_char1[1] =3D=3D 'C'); static_assert(value_to_char1[2] =3D=3D 'G'); static_assert(value_to_char1[3] =3D=3D 'T'); constexpr std::array value_to_char2 =3D union_composition<1, dna4, gap>::make_value_to_char(); static_assert(value_to_char2.size() =3D=3D 5u); static_assert(value_to_char2[0] =3D=3D 'A'); static_assert(value_to_char2[1] =3D=3D 'C'); static_assert(value_to_char2[2] =3D=3D 'G'); static_assert(value_to_char2[3] =3D=3D 'T'); static_assert(value_to_char2[4] =3D=3D '-'); constexpr std::array value_to_char3 =3D union_composition<2, dna4, gap, dna5>::make_value_to_char(); static_assert(value_to_char3.size() =3D=3D 10u); static_assert(value_to_char3[0] =3D=3D 'A'); static_assert(value_to_char3[1] =3D=3D 'C'); static_assert(value_to_char3[2] =3D=3D 'G'); static_assert(value_to_char3[3] =3D=3D 'T'); static_assert(value_to_char3[4] =3D=3D '-'); static_assert(value_to_char3[5] =3D=3D 'A'); static_assert(value_to_char3[6] =3D=3D 'C'); static_assert(value_to_char3[7] =3D=3D 'G'); static_assert(value_to_char3[8] =3D=3D 'T'); static_assert(value_to_char3[9] =3D=3D 'N'); constexpr std::array value_to_char4 =3D union_composition<3, dna5, gap, dna4>::make_value_to_char(); static_assert(value_to_char4.size() =3D=3D 10u); static_assert(value_to_char4[0] =3D=3D 'A'); static_assert(value_to_char4[1] =3D=3D 'C'); static_assert(value_to_char4[2] =3D=3D 'G'); static_assert(value_to_char4[3] =3D=3D 'T'); static_assert(value_to_char4[4] =3D=3D 'N'); static_assert(value_to_char4[5] =3D=3D '-'); static_assert(value_to_char4[6] =3D=3D 'A'); static_assert(value_to_char4[7] =3D=3D 'C'); static_assert(value_to_char4[8] =3D=3D 'G'); static_assert(value_to_char4[9] =3D=3D 'T'); constexpr std::array value_to_char5 =3D union_composition<4, gap, dna4, dna5>::make_value_to_char(); static_assert(value_to_char5.size() =3D=3D 10u); static_assert(value_to_char5[0] =3D=3D '-'); static_assert(value_to_char5[1] =3D=3D 'A'); static_assert(value_to_char5[2] =3D=3D 'C'); static_assert(value_to_char5[3] =3D=3D 'G'); static_assert(value_to_char5[4] =3D=3D 'T'); static_assert(value_to_char5[5] =3D=3D 'A'); static_assert(value_to_char5[6] =3D=3D 'C'); static_assert(value_to_char5[7] =3D=3D 'G'); static_assert(value_to_char5[8] =3D=3D 'T'); static_assert(value_to_char5[9] =3D=3D 'N'); when preprocessed with -E -std=3Dc++17 with g++ 7.3.1 and compiled with -std=3Dc++17 trunk gives: ./cc1plus -quiet -std=3Dc++17 pr84684-6.ii pr84684-6.C: In instantiation of =E2=80=98static constexpr auto union_compo= sition::make_value_to_char() [with int idx =3D 0; alphabet_types = =3D {dna4}]=E2=80=99: pr84684-6.C:152:67: required from here pr84684-6.C:64:43: error: static assertion failed static_assert (value_to_char_tables[0][2] =3D=3D check[idx][0][2]); pr84684-6.C:156:33: error: static assertion failed static_assert(value_to_char1[2] =3D=3D 'G'); >>From gcc-bugs-return-596180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:31:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37256 invoked by alias); 5 Mar 2018 13:31:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7908 invoked by uid 48); 5 Mar 2018 13:31:01 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84019] [7/8 regression] ICE in fold-const of std::complex division Date: Mon, 05 Mar 2018 13: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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf 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: 7.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: 2018-03/txt/msg00768.txt.bz2 Content-length: 549 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84019 Allan Jensen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #9 from Allan Jensen --- I now have trouble reproducing it. Let's assume for now my configuration was wrong at the time this was still reproducable for me. >>From gcc-bugs-return-596181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:38:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28361 invoked by alias); 5 Mar 2018 13:38: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 23052 invoked by uid 48); 5 Mar 2018 13:38:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 13: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid 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: --- 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: 2018-03/txt/msg00769.txt.bz2 Content-length: 740 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #8 from Jakub Jelinek --- Created attachment 43562 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43562&action=3Dedit pr84684-7.ii Even with this simplified version I still get: pr84684-6.C: In instantiation of =E2=80=98static constexpr auto union_compo= sition::make_value_to_char() [with int idx =3D 0; alphabet_types = =3D {dna4}]=E2=80=99: pr84684-6.C:79:67: required from here pr84684-6.C:43:47: error: static assertion failed }; pr84684-6.C:83:33: error: static assertion failed static_assert (value_to_char_tables[2][1] =3D=3D check[idx][2][1]); with -std=3Dc++17, no errors with -std=3Dc++17 -O2. >>From gcc-bugs-return-596182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:49:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86182 invoked by alias); 5 Mar 2018 13:49: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 85905 invoked by uid 55); 5 Mar 2018 13:49:16 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84497] link errors with trivial external thread_local variables Date: Mon, 05 Mar 2018 13: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: 7.0 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2018-03/txt/msg00770.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84497 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Mon Mar 5 13:48:43 2018 New Revision: 258244 URL: https://gcc.gnu.org/viewcvs?rev=3D258244&root=3Dgcc&view=3Drev Log: [PR c++/84497] ref to undefined tls init https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00209.html PR c++/84497 * decl2.c (get_tls_init_fn): Check TYPE_HAS_TRIVIAL_DFLT too. PR c++/84497 * g++.dg/cpp0x/pr84497.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr84497.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:50:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96756 invoked by alias); 5 Mar 2018 13:50: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 95030 invoked by uid 48); 5 Mar 2018 13:49:58 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59994] [meta-bug] thread_local Date: Mon, 05 Mar 2018 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.3 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan 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_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: 2018-03/txt/msg00772.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59994 Bug 59994 depends on bug 84497, which changed state. Bug 84497 Summary: link errors with trivial external thread_local variables https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84497 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:50:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96477 invoked by alias); 5 Mar 2018 13:50: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 93816 invoked by uid 48); 5 Mar 2018 13:49:56 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84497] link errors with trivial external thread_local variables Date: Mon, 05 Mar 2018 13:50: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: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2018-03/txt/msg00771.txt.bz2 Content-length: 562 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84497 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Nathan Sidwell --- Fixed r258244. As the generator side of the compiler isn't changed, this isn't an ABI chan= ge.=20 Just a fix for illformed code generation. >>From gcc-bugs-return-596186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:55:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45313 invoked by alias); 5 Mar 2018 13:55: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 45275 invoked by uid 48); 5 Mar 2018 13:55:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Mon, 05 Mar 2018 13: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: 8.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: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00774.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Target Milestone|--- |8.0 >>From gcc-bugs-return-596185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:55:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44348 invoked by alias); 5 Mar 2018 13:55: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 44248 invoked by uid 48); 5 Mar 2018 13:54:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84712] Missed evaluating to constant at tree level Date: Mon, 05 Mar 2018 13: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: 8.0 X-Bugzilla-Keywords: missed-optimization 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 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: 2018-03/txt/msg00773.txt.bz2 Content-length: 736 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84712 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- DOM value-numbering doesn't know how to fold the read from the constant initializer. I belive we have dups for this. >>From gcc-bugs-return-596187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 13:59:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54511 invoked by alias); 5 Mar 2018 13:59: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 54419 invoked by uid 48); 5 Mar 2018 13:59:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/54687] Use gcc option machinery for gfortran Date: Mon, 05 Mar 2018 13:59: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: 4.8.0 X-Bugzilla-Keywords: easyhack X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00775.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54687 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #13 from Dominique d'Humieres --- No activity since over two years. Any objection to close this PR as FIXED? >>From gcc-bugs-return-596188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:00:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56038 invoked by alias); 5 Mar 2018 14:00: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 55409 invoked by uid 48); 5 Mar 2018 14:00:01 -0000 From: "krichter at posteo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84715] New: "./configure --disable-multilib && make" fails due to "g++: error: gengtype-lex.c: No such file or directory" Date: Mon, 05 Mar 2018 14:00: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krichter at posteo dot 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: 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: 2018-03/txt/msg00776.txt.bz2 Content-length: 1461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84715 Bug ID: 84715 Summary: "./configure --disable-multilib && make" fails due to "g++: error: gengtype-lex.c: No such file or directory" Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: krichter at posteo dot de Target Milestone: --- Running `./configure --disable-multilib && make` fails due to ``` g++: error: gengtype-lex.c: No such file or directory g++: fatal error: no input files compilation terminated. make[3]: *** [build/gengtype-lex.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Makefile:2666: recipe for target 'build/gengtype-lex.o' failed ``` on a pretty empty docker image. I recreated the issue on Ubuntu 14.04, 16.0= 4, 17.10 and 18.04 preview as well as Debian oldstable, stable and testing ins= ide GitLab CI, see https://gitlab.com/krichter/gcc/pipelines/18408388 for detai= ls and [.gitlab-ci.yml](https://gitlab.com/krichter/gcc/blob/gitlab-ci/.gitlab-ci.= yml) for the build instructions. In case this is a user error, it'd be nice if `configure` would check that = all conditions for the configured build are fulfilled and otherwise fail with a helpful error message. experienced with 4225b5dcdbcadaa3d7605582f735d02b6fc50cdf >>From gcc-bugs-return-596189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:05:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65600 invoked by alias); 5 Mar 2018 14:05: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 65551 invoked by uid 48); 5 Mar 2018 14:05:31 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56667] Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant" Date: Mon, 05 Mar 2018 14:05: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: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING 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: priority 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: 2018-03/txt/msg00777.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56667 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|NEW |WAITING --- Comment #2 from Dominique d'Humieres --- How difficult would it be to provide better message? Is it worth the work? = If no, this PR could be closed as WONTFIX. >>From gcc-bugs-return-596190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:07:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68536 invoked by alias); 5 Mar 2018 14:07: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 68458 invoked by uid 48); 5 Mar 2018 14:07:32 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84715] "./configure --disable-multilib && make" fails due to "g++: error: gengtype-lex.c: No such file or directory" Date: Mon, 05 Mar 2018 14:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00778.txt.bz2 Content-length: 614 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84715 --- Comment #1 from Jonathan Wakely --- Don't run ./configure in the source dir: https://gcc.gnu.org/wiki/FAQ#configure If you're building a snapshot or modifying the source, you need Flex: https://gcc.gnu.org/install/prerequisites.html#Tools_002fpackages-necessary= -for-modifying-GCC We don't want the configure script to require flex, because most users don't need it. If you're building a snapshot (not an official release) or modifyi= ng the source then you're expected to read the docs and install the required prerequisites. >>From gcc-bugs-return-596191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:12:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70154 invoked by alias); 5 Mar 2018 14:12: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 62423 invoked by uid 48); 5 Mar 2018 14:12:46 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 14: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: 7.3.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: 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: 2018-03/txt/msg00779.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #9 from Marek Polacek --- Started with r257713. >>From gcc-bugs-return-596192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:19:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51778 invoked by alias); 5 Mar 2018 14:19: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 51667 invoked by uid 48); 5 Mar 2018 14:19:22 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84694] [8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in do_friend, at cp/friend.c:498 Date: Mon, 05 Mar 2018 14:19: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.1 X-Bugzilla-Keywords: error-recovery, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00780.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84694 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #3 from Nathan Sidwell --- The testcase can be mutated into valid (but useless) code >>From gcc-bugs-return-596193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:25:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79861 invoked by alias); 5 Mar 2018 14:25: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 79748 invoked by uid 48); 5 Mar 2018 14:25:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 14: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid 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: --- 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: 2018-03/txt/msg00781.txt.bz2 Content-length: 2933 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #10 from Jakub Jelinek --- In the debugger when looking at cxx_eval_call_expression union_composition<0, dna4>::value_to_char_helper<4, dna4> (TARGET_EXPR ); I see: (gdb) p debug_generic_stmt (result) {._M_elems=3D{65, 67, 67, 84}} which is 'A', 'C', 'C', 'T'. When doing cxx_eval_call_expression for the 3rd invocation of: to_char (TARGET_EXPR ); (i.e. when alphabet PARM_DECL has the current value of {._value=3D2}), we s= omehow find it in the hash table: 1598 constexpr_call *entry =3D NULL; 1599 if (depth_ok && !non_constant_args && ctx->strict) 1600 { 1601 new_call.hash =3D iterative_hash_template_arg 1602 (new_call.bindings, constexpr_fundef_hasher::hash (new_call.fundef)); 1603=20=20=20=20 1604 /* If we have seen this call before, we are done. */ 1605 maybe_initialize_constexpr_call_table (); 1606 constexpr_call **slot 1607 =3D constexpr_call_table->find_slot (&new_call, INSERT); 1608 entry =3D *slot; (i.e. entry is non-NULL) and actually use the cached result instead of evaluating it again. debug_tree (new_call.bindings) unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fffee6d8738 fields context full-name "const struct dna4" X() X(constX&) this=3D(X&) n_parents=3D0 use_template=3D0 interface-unknown pointer_to_this reference_to_this > readonly addressable used read QI pr84684-6.C:5:44 size unit-size align:8 warn_if_not_align:0 context arg-type > value constant length:1 idx used unsigned nonlocal decl_3 QI pr84684-6.C:67:11 size unit-size align:8 warn_if_not_align:0 offset_align 128 offset bit-offset context chain > val >> >>From gcc-bugs-return-596195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:28:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85397 invoked by alias); 5 Mar 2018 14:28: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 85287 invoked by uid 55); 5 Mar 2018 14:28:49 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84686] [6/7 Regression] Parenthesized discarded value expression are not evaluated with option -std=c++14 Date: Mon, 05 Mar 2018 14: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: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00783.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84686 --- Comment #4 from Jason Merrill --- Author: jason Date: Mon Mar 5 14:28:15 2018 New Revision: 258246 URL: https://gcc.gnu.org/viewcvs?rev=3D258246&root=3Dgcc&view=3Drev Log: PR c++/84686 - missing volatile loads. * cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/tree-ssa/volatile2.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/cvt.c >>From gcc-bugs-return-596194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:28:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84595 invoked by alias); 5 Mar 2018 14:28: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 84503 invoked by uid 55); 5 Mar 2018 14:28:39 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84686] [6/7 Regression] Parenthesized discarded value expression are not evaluated with option -std=c++14 Date: Mon, 05 Mar 2018 14: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: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00782.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84686 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 5 14:28:07 2018 New Revision: 258245 URL: https://gcc.gnu.org/viewcvs?rev=3D258245&root=3Dgcc&view=3Drev Log: PR c++/84686 - missing volatile loads. * cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/tree-ssa/volatile2.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/cvt.c >>From gcc-bugs-return-596196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:32:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91261 invoked by alias); 5 Mar 2018 14:32: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 91199 invoked by uid 48); 5 Mar 2018 14:32:38 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 14: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: 7.3.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: 2018-03/txt/msg00784.txt.bz2 Content-length: 326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #11 from Marek Polacek --- Seems like another of the wrong caching issues. I can't reproduce it on my laptop though; can you figure out where the first call, the one which ends = up cached in the constexpr_call_table originates? >>From gcc-bugs-return-596197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:41:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128766 invoked by alias); 5 Mar 2018 14:41: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 128398 invoked by uid 55); 5 Mar 2018 14:41:30 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84114] global reassociation pass prevents fma usage, generates slower code Date: Mon, 05 Mar 2018 14:41: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.0 X-Bugzilla-Keywords: missed-optimization 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: 2018-03/txt/msg00785.txt.bz2 Content-length: 911 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84114 --- Comment #7 from Wilco --- Author: wilco Date: Mon Mar 5 14:40:55 2018 New Revision: 258248 URL: https://gcc.gnu.org/viewcvs?rev=3D258248&root=3Dgcc&view=3Drev Log: [AArch64] PR84114: Avoid reassociating FMA As discussed in the PR, the reassociation phase runs before FMAs are formed and so can significantly reduce FMA opportunities. Although reassociation could be switched off, it helps in many cases, so a better alternative is to only avoid reassociation of floating point additions. This fixes the testc= ase and gives 1% speedup on SPECFP2017, fixing the performance regression. gcc/ PR tree-optimization/84114 * config/aarch64/aarch64.c (aarch64_reassociation_width) Avoid reassociation of FLOAT_MODE addition. Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.c >>From gcc-bugs-return-596198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:50:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119508 invoked by alias); 5 Mar 2018 14:50: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 119436 invoked by uid 48); 5 Mar 2018 14:50:15 -0000 From: "mario-baumann at web dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/84716] New: bootstrap fails on Darwin with internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Mon, 05 Mar 2018 14:50: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mario-baumann at web dot 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: 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: 2018-03/txt/msg00786.txt.bz2 Content-length: 1895 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84716 Bug ID: 84716 Summary: bootstrap fails on Darwin with internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: mario-baumann at web dot de Target Milestone: --- Created attachment 43563 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43563&action=3Dedit delta reduction of isl_factorization.c bootstrap fails on Darwin while compiling ISL file isl_factorization.c from isl-0.16.1 during stage-2: isl_factorization.c:44:17: internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 isl_factorizer* isl_basic_set_factorizer(isl_basic_map* bset) ^~~~~~~~~~~~~~~~~~~~~~~~ > /Gcc/8.0.1/.bld/./prev-gcc/xgcc -v Using built-in specs. COLLECT_GCC=3D/Gcc/8.0.1/.bld/./prev-gcc/xgcc Target: x86_64-apple-darwin17 Configured with: /Gcc/8.0.1/.src/configure --prefix=3D/Gcc/8.0.1 --build=3Dx86_64-apple-darwin17 --enable-languages=3Dc,c++,fortran --enable= -lto --enable-stage1-checking --enable-libstdcxx-time --disable-nls --disable-libquadmath --disable-libquadmath-support --with-ld=3D/opt/local/= bin/ld --with-ar=3D/opt/local/bin/ar --with-as=3D/opt/local/bin/as --with-system-z= lib --with-pkgversion=3Dsvn-revision-258242 Thread model: posix gcc version 8.0.1 20180305 (experimental) (svn-revision-258242) Findings: - Delta reduction for isl_factorization.c is attached - Locally compiled with: /Gcc/8.0.1/.bld/./prev-gcc/xgcc -B/Gcc/8.0.1/.bld/./prev-gcc/ -B/Gcc/8.0.1/x86_64-apple-darwin17/bin/ -B/Gcc/8.0.1/x86_64-apple-darwin17/= bin/ -c -O2 isl_factorization.c - Compilation with -O1 and -O0 works fine >>From gcc-bugs-return-596199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:55:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95680 invoked by alias); 5 Mar 2018 14:55: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 95607 invoked by uid 48); 5 Mar 2018 14:55:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84708] [8 Regression] internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:772 Date: Mon, 05 Mar 2018 14: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: 8.0.1 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00787.txt.bz2 Content-length: 1035 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84708 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-invalid-code |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |8.0 Summary|internal compiler error: in |[8 Regression] internal |lambda_expr_this_capture, |compiler error: in |at cp/lambda.c:772 |lambda_expr_this_capture, | |at cp/lambda.c:772 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r251433. Previous revisions compile this fine, so should be valid. >>From gcc-bugs-return-596200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 14:58:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108575 invoked by alias); 5 Mar 2018 14:58: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 108460 invoked by uid 48); 5 Mar 2018 14:58:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 14: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-03/txt/msg00788.txt.bz2 Content-length: 11624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |jason at gcc dot gnu.org Target Milestone|--- |8.0 --- Comment #12 from Jakub Jelinek --- It seems to be a CONSTRUCTOR sharing issue somewhere. If I put a breakpoint on cxx_eval_constant_expression when t is: union_composition<0, dna4>::value_to_char_helper<4, dna4> (TARGET_EXPR ) and then add breakpoint on constexpr.c:1601, the first hit on that breakpoi= nt is that value_to_char_helper call (let's just ignore it) and following 3 ca= lls are with t to_char (TARGET_EXPR ) On the first of these 3 I see: (gdb) p debug_generic_stmt (new_call.bindings) alph {._value=3D0} $217 =3D void (gdb) p new_call.bindings->list.value $218 =3D and obviously nothing is found in the cache. On the second call I see: (gdb) p debug_generic_stmt (new_call.bindings) alph {._value=3D1} $219 =3D void (gdb) p new_call.bindings->list.value $220 =3D (gdb) p debug_generic_stmt ($218) {._value=3D1} and the last case is already a problem, but we are lucky at this iteration,= the hashes are different and with luck we don't find the entry. And in the third call I see: (gdb) p debug_generic_stmt (new_call.bindings) alph {._value=3D2} $222 =3D void (gdb) p new_call.bindings->list.value $223 =3D (gdb) p debug_generic_stmt ($218) {._value=3D2} $224 =3D void (gdb) p debug_generic_stmt ($220) {._value=3D2} and this time we are unlucky and find the call from the previous iteration. To get this problem far more unlikely, we could in constexpr_call_hasher::e= qual add: if (lhs =3D=3D rhs) return 1; + if (lhs->hash !=3D rhs->hash) + return false; if (!constexpr_fundef_hasher::equal (lhs->fundef, rhs->fundef)) return 0; (this function is returning bool, so shouldn't return 0/1 instead of true/f= alse btw), which I think generally is a good thing for performance reasons. But it will not really address the underlying bug. Either whatever modified the $218 and $220 ctors shouldn't really modify them. To reproduce this bug reliably, do: --- gcc/cp/constexpr.c.jj 2018-03-05 13:58:05.475928800 +0100 +++ gcc/cp/constexpr.c 2018-03-05 15:54:06.529016570 +0100 @@ -1598,8 +1598,12 @@ cxx_eval_call_expression (const constexp constexpr_call *entry =3D NULL; if (depth_ok && !non_constant_args && ctx->strict) { +#if 0 new_call.hash =3D iterative_hash_template_arg (new_call.bindings, constexpr_fundef_hasher::hash (new_call.fundef)= ); +#else + new_call.hash =3D 0; +#endif /* If we have seen this call before, we are done. */ maybe_initialize_constexpr_call_table (); and then it reproduces even on the simplified: typedef decltype (sizeof (0)) size_t; namespace std { template struct initializer_list { typedef _E value_type; typedef const _E& reference; typedef const _E& const_reference; typedef size_t size_type; typedef const _E* iterator; typedef const _E* const_iterator; iterator _M_array; size_type _M_len; constexpr initializer_list(const_iterator __a, size_type __l) : _M_array(__a), _M_len(__l) { } constexpr initializer_list() noexcept : _M_array(0), _M_len(0) { } constexpr size_type size() const noexcept { return _M_len; } constexpr const_iterator begin() const noexcept { return _M_array; } constexpr const_iterator end() const noexcept { return begin() + size()= ; } }; } template struct array { constexpr E &operator[](size_t n) noexcept { return elems[n]; } constexpr const E &operator[](size_t n) const noexcept { return elems[n];= } constexpr size_t size() const { return N; } E elems[N]; }; template constexpr inline T max (std::initializer_list i) { const T *b =3D i.begin (); const T *e =3D i.end (); if (b =3D=3D e) return *b; const T *r =3D b; while (++b !=3D e) if (*r < *b) r =3D b; return *r; } template constexpr char to_char(alphabet_type const alph) { return alph.to_char(); } template struct union_composition { static constexpr size_t value_size =3D (alphabet_types::value_size + ... = ); unsigned char _value; template static constexpr auto value_to_char_helper(alphabet_t alphabet) { array value_to_char{}; for (size_t i =3D 0u; i < alphabet_t::value_size; ++i) value_to_char[i] =3D to_char(alphabet.assign_rank(i)); return value_to_char; } static constexpr auto make_value_to_char() { constexpr auto N =3D sizeof...(alphabet_types); constexpr array alphabet_sizes { alphabet_types::value_size.= .. }; constexpr size_t fixed_size =3D max({alphabet_types::value_size...}); array value_to_char_tables =3D array, N> { value_to_char_helper(alphabet_types{})... }; array value_to_char{}; for (size_t i =3D 0u, value =3D 0u; i < N; ++i) for (size_t k =3D 0u; k < alphabet_sizes[i]; ++k, ++value) value_to_char[value] =3D value_to_char_tables[i][k]; return value_to_char; } }; struct gap { constexpr char to_char() const noexcept { return '-'; } constexpr gap & assign_rank([[maybe_unused]] bool const i) noexcept { ret= urn *this; } static constexpr size_t value_size{1}; }; struct dna4 { constexpr char to_char() const noexcept { return value_to_char[_value]; } constexpr dna4 & assign_rank(unsigned char const c) { _value =3D c; return *this; } static constexpr size_t value_size{4}; static constexpr char value_to_char[value_size] { 'A', 'C', 'G', 'T' }; unsigned char _value; }; struct dna5 { constexpr char to_char() const noexcept { return value_to_char[_value]; } constexpr dna5 & assign_rank(unsigned char const c) { _value =3D c; return *this; } static constexpr size_t value_size{5}; static constexpr char value_to_char[value_size] { 'A', 'C', 'G', 'T', 'N'= }; unsigned char _value; }; constexpr array value_to_char1 =3D union_composition::make_value_to_c= har(); static_assert(value_to_char1.size() =3D=3D 4u); static_assert(value_to_char1[0] =3D=3D 'A'); static_assert(value_to_char1[1] =3D=3D 'C'); static_assert(value_to_char1[2] =3D=3D 'G'); static_assert(value_to_char1[3] =3D=3D 'T'); constexpr array value_to_char2 =3D union_composition::make_value_to_char(); static_assert(value_to_char2.size() =3D=3D 5u); static_assert(value_to_char2[0] =3D=3D 'A'); static_assert(value_to_char2[1] =3D=3D 'C'); static_assert(value_to_char2[2] =3D=3D 'G'); static_assert(value_to_char2[3] =3D=3D 'T'); static_assert(value_to_char2[4] =3D=3D '-'); constexpr array value_to_char3 =3D union_composition::make_value_to_char(); static_assert(value_to_char3.size() =3D=3D 10u); static_assert(value_to_char3[0] =3D=3D 'A'); static_assert(value_to_char3[1] =3D=3D 'C'); static_assert(value_to_char3[2] =3D=3D 'G'); static_assert(value_to_char3[3] =3D=3D 'T'); static_assert(value_to_char3[4] =3D=3D '-'); static_assert(value_to_char3[5] =3D=3D 'A'); static_assert(value_to_char3[6] =3D=3D 'C'); static_assert(value_to_char3[7] =3D=3D 'G'); static_assert(value_to_char3[8] =3D=3D 'T'); static_assert(value_to_char3[9] =3D=3D 'N'); constexpr array value_to_char4 =3D union_composition::make_value_to_char(); static_assert(value_to_char4.size() =3D=3D 10u); static_assert(value_to_char4[0] =3D=3D 'A'); static_assert(value_to_char4[1] =3D=3D 'C'); static_assert(value_to_char4[2] =3D=3D 'G'); static_assert(value_to_char4[3] =3D=3D 'T'); static_assert(value_to_char4[4] =3D=3D 'N'); static_assert(value_to_char4[5] =3D=3D '-'); static_assert(value_to_char4[6] =3D=3D 'A'); static_assert(value_to_char4[7] =3D=3D 'C'); static_assert(value_to_char4[8] =3D=3D 'G'); static_assert(value_to_char4[9] =3D=3D 'T'); constexpr array value_to_char5 =3D union_composition::make_value_to_char(); static_assert(value_to_char5.size() =3D=3D 10u); static_assert(value_to_char5[0] =3D=3D '-'); static_assert(value_to_char5[1] =3D=3D 'A'); static_assert(value_to_char5[2] =3D=3D 'C'); static_assert(value_to_char5[3] =3D=3D 'G'); static_assert(value_to_char5[4] =3D=3D 'T'); static_assert(value_to_char5[5] =3D=3D 'A'); static_assert(value_to_char5[6] =3D=3D 'C'); static_assert(value_to_char5[7] =3D=3D 'G'); static_assert(value_to_char5[8] =3D=3D 'T'); static_assert(value_to_char5[9] =3D=3D 'N'); With that hack I get: pr84684-4.C:111:33: error: static assertion failed static_assert(value_to_char1[1] =3D=3D 'C'); pr84684-4.C:112:33: error: static assertion failed static_assert(value_to_char1[2] =3D=3D 'G'); pr84684-4.C:113:33: error: static assertion failed static_assert(value_to_char1[3] =3D=3D 'T'); pr84684-4.C:118:33: error: static assertion failed static_assert(value_to_char2[1] =3D=3D 'C'); pr84684-4.C:119:33: error: static assertion failed static_assert(value_to_char2[2] =3D=3D 'G'); pr84684-4.C:120:33: error: static assertion failed static_assert(value_to_char2[3] =3D=3D 'T'); pr84684-4.C:126:33: error: static assertion failed static_assert(value_to_char3[1] =3D=3D 'C'); pr84684-4.C:127:33: error: static assertion failed static_assert(value_to_char3[2] =3D=3D 'G'); pr84684-4.C:128:33: error: static assertion failed static_assert(value_to_char3[3] =3D=3D 'T'); pr84684-4.C:131:33: error: static assertion failed static_assert(value_to_char3[6] =3D=3D 'C'); pr84684-4.C:132:33: error: static assertion failed static_assert(value_to_char3[7] =3D=3D 'G'); pr84684-4.C:133:33: error: static assertion failed static_assert(value_to_char3[8] =3D=3D 'T'); pr84684-4.C:134:33: error: static assertion failed static_assert(value_to_char3[9] =3D=3D 'N'); pr84684-4.C:139:33: error: static assertion failed static_assert(value_to_char4[1] =3D=3D 'C'); pr84684-4.C:140:33: error: static assertion failed static_assert(value_to_char4[2] =3D=3D 'G'); pr84684-4.C:141:33: error: static assertion failed static_assert(value_to_char4[3] =3D=3D 'T'); pr84684-4.C:142:33: error: static assertion failed static_assert(value_to_char4[4] =3D=3D 'N'); pr84684-4.C:145:33: error: static assertion failed static_assert(value_to_char4[7] =3D=3D 'C'); pr84684-4.C:146:33: error: static assertion failed static_assert(value_to_char4[8] =3D=3D 'G'); pr84684-4.C:147:33: error: static assertion failed static_assert(value_to_char4[9] =3D=3D 'T'); pr84684-4.C:153:33: error: static assertion failed static_assert(value_to_char5[2] =3D=3D 'C'); pr84684-4.C:154:33: error: static assertion failed static_assert(value_to_char5[3] =3D=3D 'G'); pr84684-4.C:155:33: error: static assertion failed static_assert(value_to_char5[4] =3D=3D 'T'); pr84684-4.C:157:33: error: static assertion failed static_assert(value_to_char5[6] =3D=3D 'C'); pr84684-4.C:158:33: error: static assertion failed static_assert(value_to_char5[7] =3D=3D 'G'); pr84684-4.C:159:33: error: static assertion failed static_assert(value_to_char5[8] =3D=3D 'T'); pr84684-4.C:160:33: error: static assertion failed static_assert(value_to_char5[9] =3D=3D 'N'); >>From gcc-bugs-return-596201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:01:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113093 invoked by alias); 5 Mar 2018 15: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 112858 invoked by uid 55); 5 Mar 2018 15:01:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84486] [7/8 Regression] code hoisting removes alignment assumption Date: Mon, 05 Mar 2018 15: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: 7.3.1 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: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00789.txt.bz2 Content-length: 598 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84486 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Mar 5 15:00:48 2018 New Revision: 258249 URL: https://gcc.gnu.org/viewcvs?rev=3D258249&root=3Dgcc&view=3Drev Log: 2018-03-05 Richard Biener PR tree-optimization/84486 * tree-ssa-pre.c (create_expression_by_pieces): Remove dead code. When inserting a __builtin_assume_aligned call set the LHS SSA name alignment info accordingly. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-pre.c >>From gcc-bugs-return-596202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:01:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113906 invoked by alias); 5 Mar 2018 15:01: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 113831 invoked by uid 48); 5 Mar 2018 15:01:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84486] [7 Regression] code hoisting removes alignment assumption Date: Mon, 05 Mar 2018 15: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: 7.3.1 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: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work 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: 2018-03/txt/msg00790.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84486 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.0 Summary|[7/8 Regression] code |[7 Regression] code |hoisting removes alignment |hoisting removes alignment |assumption |assumption Known to fail| |7.3.0 --- Comment #5 from Richard Biener --- Fixed on trunk sofar. Will backport with next batch. >>From gcc-bugs-return-596203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:03:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116337 invoked by alias); 5 Mar 2018 15:03: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 116160 invoked by uid 48); 5 Mar 2018 15:03:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/84716] bootstrap fails on Darwin with internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 Date: Mon, 05 Mar 2018 15:03: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: 8.0.1 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: 2018-03/txt/msg00791.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84716 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Richard Biener --- Dup. *** This bug has been marked as a duplicate of bug 84670 *** >>From gcc-bugs-return-596204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:03:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116347 invoked by alias); 5 Mar 2018 15:03: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 116264 invoked by uid 48); 5 Mar 2018 15:03:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 15:03: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.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00792.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mario-baumann at web dot de --- Comment #12 from Richard Biener --- *** Bug 84716 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:04:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48289 invoked by alias); 5 Mar 2018 15:04: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 48247 invoked by uid 48); 5 Mar 2018 15:04:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84715] "./configure --disable-multilib && make" fails due to "g++: error: gengtype-lex.c: No such file or directory" Date: Mon, 05 Mar 2018 15:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 2018-03/txt/msg00793.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84715 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Richard Biener --- As documented. >>From gcc-bugs-return-596206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:05:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55652 invoked by alias); 5 Mar 2018 15:05: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 55560 invoked by uid 48); 5 Mar 2018 15:05:30 -0000 From: "stiefschmied at alice dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84717] New: C compiler accepts fortran style suffix "d" with float number but result is strange Date: Mon, 05 Mar 2018 15:05: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: 6.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stiefschmied at alice dot 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: bug_id short_desc product version bug_status 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: 2018-03/txt/msg00794.txt.bz2 Content-length: 1159 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84717 Bug ID: 84717 Summary: C compiler accepts fortran style suffix "d" with float number but result is strange Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: stiefschmied at alice dot de Target Milestone: --- Target: x86_64-apple-darwin (and others?) Created attachment 43564 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43564&action=3Dedit example c code which compiles with gcc 6.4.0 but should give an error. When porting code from Fortran, a floating point number was accidentially written like this: static double aem =3D 7.29735d-3; gcc version 6.4.0 accepts the code, but assigns an unexpected result: static double aem =3D 7.29735-3; Other compilers (tested with: clang 9.0.0 or gcc version 4.4.7) report an e= rror during compilation: error: invalid suffix "d" on floating constant I think this is a compiler bug? The example code is attached. >>From gcc-bugs-return-596207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:06:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57890 invoked by alias); 5 Mar 2018 15:06: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 57773 invoked by uid 48); 5 Mar 2018 15:06:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 15: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-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: 8.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: 2018-03/txt/msg00795.txt.bz2 Content-length: 832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #13 from Jakub Jelinek --- If the in-place modification of the CONSTRUCTOR in these cases are intentio= nal, the fix could be: if (entry =3D=3D NULL) { /* We need to keep a pointer to the entry, not just the slot, as= the slot can move in the call to cxx_eval_builtin_function_call. = */ *slot =3D entry =3D ggc_alloc (); *entry =3D new_call; + entry->bindings =3D unshare_constructor (entry->bindings); } with or without the if (lhs->hash !=3D rhs->hash) return false; performance improvement. But I really don't have an idea about whether the sharing is intentional or not, or how much compile time memory increase would the above cause. >>From gcc-bugs-return-596208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:15:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34517 invoked by alias); 5 Mar 2018 15:15: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 34405 invoked by uid 48); 5 Mar 2018 15:15:34 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84717] C compiler accepts fortran style suffix "d" with float number but result is strange Date: Mon, 05 Mar 2018 15: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: 6.4.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00796.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84717 --- Comment #1 from Jonathan Wakely --- (In reply to stiefschmied from comment #0) > I think this is a compiler bug? The example code is attached. No. Compile with -Wpedantic and you see why it's accepted: 84717.c:3:21: warning: suffix for double constant is a GCC extension static double aem =3D 7.29735d-3; ^~~~~~~~ 84717.c:6:1: error: unknown type name =E2=80=98Int=E2=80=99; did you mean = =E2=80=98int=E2=80=99? Int main() { ^~~ int Or use -Wpedantic-errors to reject it. I think the suffix is to distinguish 1.0d from 1.0f or 1.0l but I can't find any documentation on it. >>From gcc-bugs-return-596209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:22:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61213 invoked by alias); 5 Mar 2018 15:22: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 61113 invoked by uid 48); 5 Mar 2018 15:22:44 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84714] internal compiler error: in create_tmp_var, at gimple-expr.c:476 Date: Mon, 05 Mar 2018 15:22: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.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: 2018-03/txt/msg00797.txt.bz2 Content-length: 809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84714 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Assertion failure here: #1 0x0000000000cc4a0b in create_tmp_var (type=3Dtype@entry=3D, prefix=3D) at ../../src/gcc/gimple-expr.c:476 476 gcc_assert (!TREE_ADDRESSABLE (type) && COMPLETE_TYPE_P (type)); >>From gcc-bugs-return-596210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:22:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61776 invoked by alias); 5 Mar 2018 15:22: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 61187 invoked by uid 48); 5 Mar 2018 15:22:48 -0000 From: "bruno at clisp dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/21161] [6/7/8 Regression] "clobbered by longjmp" warning ignores the data flow Date: Mon, 05 Mar 2018 15:22: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: 4.0.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bruno at clisp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: law at redhat dot com X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00798.txt.bz2 Content-length: 313 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D21161 --- Comment #15 from Bruno Haible --- > I think the following test case does show what Bruno was trying to prove. Yes, the test case from comment 14 much better reflects what this bug repor= t is about, than the one from comment 13. >>From gcc-bugs-return-596211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:26:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118951 invoked by alias); 5 Mar 2018 15:26: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 118926 invoked by uid 48); 5 Mar 2018 15:26:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84717] suffix for double constant is a GCC extension is not documented Date: Mon, 05 Mar 2018 15: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: 6.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal 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: keywords bug_status cf_reconfirmed_on 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: 2018-03/txt/msg00799.txt.bz2 Content-length: 845 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84717 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 Summary|C compiler accepts fortran |suffix for double constant |style suffix "d" with float |is a GCC extension is not |number but result is |documented |strange | Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski --- Extension but not documented as far as I can see. >>From gcc-bugs-return-596212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:29:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122531 invoked by alias); 5 Mar 2018 15:29: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 122474 invoked by uid 48); 5 Mar 2018 15:29:34 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84713] ANY_RETURN_P does't check all SIMPLE_RETURNs Date: Mon, 05 Mar 2018 15:29: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: 8.0.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 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: 2018-03/txt/msg00800.txt.bz2 Content-length: 555 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84713 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- ANY_RETURN_P is correct. What might not be correct is the usage of ANY_RETURN_P. But there is not enough context here to see that. >>From gcc-bugs-return-596213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:40:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114842 invoked by alias); 5 Mar 2018 15: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 112005 invoked by uid 55); 5 Mar 2018 15:40:47 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84618] [8 Regression] ICE in build_capture_proxy, at cp/lambda.c:460 Date: Mon, 05 Mar 2018 15: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.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00801.txt.bz2 Content-length: 999 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84618 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Mar 5 15:40:15 2018 New Revision: 258250 URL: https://gcc.gnu.org/viewcvs?rev=3D258250&root=3Dgcc&view=3Drev Log: /cp 2018-03-05 Paolo Carlini PR c++/84618 * parser.c (cp_parser_lambda_introducer): Reject any capture not involving a VAR_DECL or a PARM_DECL. /testsuite 2018-03-05 Paolo Carlini PR c++/84618 * g++.dg/cpp0x/lambda/lambda-ice29.C: New. * g++.dg/cpp0x/lambda/lambda-ice17.C: Adjust. * g++.dg/cpp0x/lambda/lambda-ice23.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice29.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice17.C trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice23.C >>From gcc-bugs-return-596215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:41:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22726 invoked by alias); 5 Mar 2018 15:41: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 22367 invoked by uid 48); 5 Mar 2018 15:41:39 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54367] [meta-bug] lambda expressions Date: Mon, 05 Mar 2018 15:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 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: 2018-03/txt/msg00803.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54367 Bug 54367 depends on bug 84618, which changed state. Bug 84618 Summary: [8 Regression] ICE in build_capture_proxy, at cp/lambda.= c:460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84618 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:41:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22618 invoked by alias); 5 Mar 2018 15:41: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 21683 invoked by uid 48); 5 Mar 2018 15:41:38 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84618] [8 Regression] ICE in build_capture_proxy, at cp/lambda.c:460 Date: Mon, 05 Mar 2018 15: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status blocked resolution 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: 2018-03/txt/msg00802.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84618 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Blocks| |54367 Resolution|--- |FIXED Assignee|paolo.carlini at oracle dot com |unassigned at gcc d= ot gnu.org --- Comment #5 from Paolo Carlini --- Fixed. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54367 [Bug 54367] [meta-bug] lambda expressions >>From gcc-bugs-return-596216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:46:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94033 invoked by alias); 5 Mar 2018 15:46: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 93983 invoked by uid 48); 5 Mar 2018 15:46:54 -0000 From: "jose.dapena at lge dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84709] Cannot define method with same name of previously using declared class Date: Mon, 05 Mar 2018 15: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jose.dapena at lge 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: 2018-03/txt/msg00804.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84709 --- Comment #2 from Jose Dapena Paz --- OK, just for understanding all the edges of this... So the fact that in namespace B A::Foo the full A::Foo name is still access= ible is not relevant right? >>From gcc-bugs-return-596217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:49:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97493 invoked by alias); 5 Mar 2018 15:49: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 97439 invoked by uid 48); 5 Mar 2018 15:49:30 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84686] [6/7 Regression] Parenthesized discarded value expression are not evaluated with option -std=c++14 Date: Mon, 05 Mar 2018 15: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: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00805.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84686 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jason Merrill --- Fixed. >>From gcc-bugs-return-596218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:52:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12877 invoked by alias); 5 Mar 2018 15:52: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 9499 invoked by uid 55); 5 Mar 2018 15:52:44 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84264] [8 Regression] ICE in rs6000_emit_le_vsx_store, at config/rs6000/rs6000.c:10367 starting with r256656 Date: Mon, 05 Mar 2018 15: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00806.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84264 --- Comment #7 from Peter Bergner --- Author: bergner Date: Mon Mar 5 15:52:11 2018 New Revision: 258251 URL: https://gcc.gnu.org/viewcvs?rev=3D258251&root=3Dgcc&view=3Drev Log: gcc/ PR target/84264 * config/rs6000/vector.md (mov): Disallow altivec memory operands. gcc/testsuite/ PR target/84264 * g++.dg/pr84264.C: New test. Added: trunk/gcc/testsuite/g++.dg/pr84264.C Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/vector.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 15:59:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25871 invoked by alias); 5 Mar 2018 15:59: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 25782 invoked by uid 48); 5 Mar 2018 15:59:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84687] [8 Regression] error: invalid conversion in gimple call with -O3 and -ffast-math Date: Mon, 05 Mar 2018 15:59: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00807.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84687 --- Comment #4 from Jakub Jelinek --- Created attachment 43565 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43565&action=3Dedit gcc8-pr84687.patch Untested fix. >>From gcc-bugs-return-596220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:01:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43414 invoked by alias); 5 Mar 2018 16:01: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 42787 invoked by uid 55); 5 Mar 2018 16:01:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84524] -O3 causes behavior change Date: Mon, 05 Mar 2018 16:01: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.4.0 X-Bugzilla-Keywords: wrong-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: jakub 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: 2018-03/txt/msg00808.txt.bz2 Content-length: 786 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84524 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Mar 5 16:01:03 2018 New Revision: 258252 URL: https://gcc.gnu.org/viewcvs?rev=3D258252&root=3Dgcc&view=3Drev Log: PR target/84524 * config/i386/sse.md (*3): Replace with orig,vex. (*3): Likewise. Remove uses. * gcc.c-torture/execute/pr84524.c: New test. * gcc.target/i386/avx512bw-pr84524.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr84524.c trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr84524.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:02:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45288 invoked by alias); 5 Mar 2018 16:02: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 45248 invoked by uid 48); 5 Mar 2018 16:02:45 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84718] New: [8 regression] ICE when compiling chromium Date: Mon, 05 Mar 2018 16:02: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: linux at carewolf 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: 2018-03/txt/msg00810.txt.bz2 Content-length: 694 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84718 Bug ID: 84718 Summary: [8 regression] ICE when compiling chromium Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: linux at carewolf dot com Target Milestone: --- Created attachment 43566 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43566&action=3Dedit gcc log Using latest gcc 8 updated today I hit an internal compiler error in the Chromium part of qtwebengine in the file net/spdy/core/spdy_alt_svc_wire_format.cc >>From gcc-bugs-return-596221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:02:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44561 invoked by alias); 5 Mar 2018 16: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 44506 invoked by uid 48); 5 Mar 2018 16:02:34 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 16: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-code 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: 8.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: 2018-03/txt/msg00809.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #14 from Marek Polacek --- Let me see if I can figure it out. >>From gcc-bugs-return-596223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:04:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47631 invoked by alias); 5 Mar 2018 16:04: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 47459 invoked by uid 48); 5 Mar 2018 16:03:56 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84718] [8 regression] ICE when compiling chromium Date: Mon, 05 Mar 2018 16:04: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf 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: 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: 2018-03/txt/msg00811.txt.bz2 Content-length: 246 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84718 --- Comment #1 from Allan Jensen --- Created attachment 43567 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43567&action=3Dedit spdy_alt_svc_wire_format.s >>From gcc-bugs-return-596225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:05:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50804 invoked by alias); 5 Mar 2018 16:05: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 50646 invoked by uid 48); 5 Mar 2018 16:05:48 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84718] [8 regression] ICE when compiling chromium Date: Mon, 05 Mar 2018 16:05: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: unknown 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00813.txt.bz2 Content-length: 140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84718 --- Comment #3 from Marek Polacek --- Dup of bug 84670? >>From gcc-bugs-return-596224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:05:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49620 invoked by alias); 5 Mar 2018 16:05: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 49503 invoked by uid 48); 5 Mar 2018 16:05:14 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84718] [8 regression] ICE when compiling chromium Date: Mon, 05 Mar 2018 16:05: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf 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: 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: 2018-03/txt/msg00812.txt.bz2 Content-length: 250 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84718 --- Comment #2 from Allan Jensen --- Created attachment 43568 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43568&action=3Dedit spdy_alt_svc_wire_format.ii.gz >>From gcc-bugs-return-596226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:07:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52891 invoked by alias); 5 Mar 2018 16:07: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 52815 invoked by uid 48); 5 Mar 2018 16:07:13 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84718] [8 regression] ICE when compiling chromium Date: Mon, 05 Mar 2018 16:07: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf 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: 2018-03/txt/msg00814.txt.bz2 Content-length: 156 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84718 --- Comment #4 from Allan Jensen --- I will update my gcc build and check >>From gcc-bugs-return-596227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:10:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98184 invoked by alias); 5 Mar 2018 16:10: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 98103 invoked by uid 55); 5 Mar 2018 16:10:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84524] -O3 causes behavior change Date: Mon, 05 Mar 2018 16:10: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.4.0 X-Bugzilla-Keywords: wrong-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: jakub 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: 2018-03/txt/msg00815.txt.bz2 Content-length: 866 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84524 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Mar 5 16:09:49 2018 New Revision: 258253 URL: https://gcc.gnu.org/viewcvs?rev=3D258253&root=3Dgcc&view=3Drev Log: PR target/84524 * config/i386/sse.md (*3): Replace with orig,vex. (*3): Likewise. Remove uses. * gcc.c-torture/execute/pr84524.c: New test. * gcc.target/i386/avx512bw-pr84524.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/execute/pr84524.c branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/avx512bw-pr84524.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/i386/sse.md branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:11:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101506 invoked by alias); 5 Mar 2018 16:11:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101367 invoked by uid 48); 5 Mar 2018 16:11:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84524] -O3 causes behavior change Date: Mon, 05 Mar 2018 16:11: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.4.0 X-Bugzilla-Keywords: wrong-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: --- 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: 2018-03/txt/msg00816.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84524 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jakub Jelinek --- Fixed for 7.4+. >>From gcc-bugs-return-596231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:12:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105554 invoked by alias); 5 Mar 2018 16:12: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 105403 invoked by uid 48); 5 Mar 2018 16:12:50 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8) Date: Mon, 05 Mar 2018 16:12: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.0 X-Bugzilla-Keywords: lto 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: 2018-03/txt/msg00819.txt.bz2 Content-length: 331 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83983 --- Comment #9 from Eric Botcazou --- David, any idea about how to handle this? Otherwise I'm afraid that the new LTO warning framework looks rather counter-productive if it makes it easier= to write tests that fail on half of the platforms... >>From gcc-bugs-return-596229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:12:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103711 invoked by alias); 5 Mar 2018 16:12: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 103635 invoked by uid 48); 5 Mar 2018 16:12:23 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84694] [8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in do_friend, at cp/friend.c:498 Date: Mon, 05 Mar 2018 16: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00817.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84694 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Nathan Sidwell --- Fixed r258254. >>From gcc-bugs-return-596230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:12:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104730 invoked by alias); 5 Mar 2018 16:12: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 104658 invoked by uid 55); 5 Mar 2018 16:12:39 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84694] [8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in do_friend, at cp/friend.c:498 Date: Mon, 05 Mar 2018 16: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00818.txt.bz2 Content-length: 699 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84694 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Mon Mar 5 16:12:07 2018 New Revision: 258254 URL: https://gcc.gnu.org/viewcvs?rev=3D258254&root=3Dgcc&view=3Drev Log: [PR c++/84694] ICE on template friend decl https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00221.html PR c++/84694 * friend.c (do_friend): Restore check for identifier_p inside TEMPLATE_ID_EXPR. PR c++/84694 * g++.dg/template/pr84694.C: New. Added: trunk/gcc/testsuite/g++.dg/template/pr84694.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/friend.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:16:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116168 invoked by alias); 5 Mar 2018 16:16: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 116134 invoked by uid 55); 5 Mar 2018 16:16:17 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 16: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code 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: 8.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: 2018-03/txt/msg00820.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Mon Mar 5 16:15:35 2018 New Revision: 258255 URL: https://gcc.gnu.org/viewcvs?rev=3D258255&root=3Dgcc&view=3Drev Log: PR c++/84707 * decl.c (duplicate_decls): Check DECL_NAME before accessing UDLIT_OPER_P. * g++.dg/cpp0x/inline-ns10.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/inline-ns10.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:17:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121547 invoked by alias); 5 Mar 2018 16:17: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 121499 invoked by uid 48); 5 Mar 2018 16:17:45 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls()) Date: Mon, 05 Mar 2018 16: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00821.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84707 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Marek Polacek --- Fixed. >>From gcc-bugs-return-596234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:25:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70891 invoked by alias); 5 Mar 2018 16: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 70781 invoked by uid 55); 5 Mar 2018 16:25:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84564] error: unable to find a register to spill with -mforce-indirect-call Date: Mon, 05 Mar 2018 16:25: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: 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00822.txt.bz2 Content-length: 701 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84564 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Mar 5 16:24:43 2018 New Revision: 258256 URL: https://gcc.gnu.org/viewcvs?rev=3D258256&root=3Dgcc&view=3Drev Log: PR target/84564 * config/i386/i386.c (ix86_function_ok_for_sibcall): Check for regparm >=3D 3 with no arg reg available also for calls with flag_force_indirect_call. Pass decl to ix86_function_regparm. * gcc.target/i386/pr84564.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr84564.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:26:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72139 invoked by alias); 5 Mar 2018 16:26: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 71758 invoked by uid 48); 5 Mar 2018 16:25:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84564] error: unable to find a register to spill with -mforce-indirect-call Date: Mon, 05 Mar 2018 16: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: 8.0 X-Bugzilla-Keywords: 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: 8.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: 2018-03/txt/msg00823.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84564 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-596236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:38:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59463 invoked by alias); 5 Mar 2018 16:38: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 59398 invoked by uid 48); 5 Mar 2018 16:38:18 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71832] [7/8 Regression] ICE on invalid C++11 code with incorrect decltype use for non-type template parameter: Segmentation fault Date: Mon, 05 Mar 2018 16: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: 7.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com 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.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: 2018-03/txt/msg00824.txt.bz2 Content-length: 1096 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71832 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle do= t com --- Comment #5 from Paolo Carlini --- Avoiding the ICE seems easy, something like the below but the diagnostic we produce is way too redundant. I believe that in such cases we should skip completely the body of the template (A). Index: class.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 --- class.c (revision 258250) +++ class.c (working copy) @@ -7568,6 +7568,9 @@ push_nested_class (tree type) void pop_nested_class (void) { + if (!current_class_type) + return; + tree context =3D DECL_CONTEXT (TYPE_MAIN_DECL (current_class_type)); popclass (); >>From gcc-bugs-return-596237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:39:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61417 invoked by alias); 5 Mar 2018 16:39: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 61282 invoked by uid 48); 5 Mar 2018 16:39:42 -0000 From: "gpnuma at centaurean dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/84719] New: gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 16:39: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gpnuma at centaurean 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: 2018-03/txt/msg00825.txt.bz2 Content-length: 3270 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 Bug ID: 84719 Summary: gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: gpnuma at centaurean dot com Target Milestone: --- I post this bug report as an echo to my post here : https://stackoverflow.com/questions/49098453/ To reproduce : just create a file (test.c), compile (gcc -O3 test.c) and run (time ./a.out) this simple code : #include #include #include #include #include #include #include int main(int argc, char *argv[]) { const uint64_t size =3D 1000000000; const size_t alloc_mem =3D size * sizeof(uint8_t); uint8_t *mem =3D (uint8_t*)malloc(alloc_mem); for (uint_fast64_t i =3D 0; i < size; i++) mem[i] =3D (uint8_t) (i >> 7); uint8_t block =3D 0; uint_fast64_t counter =3D 0; uint64_t total =3D 0x123456789abcdefllu; uint64_t receiver =3D 0; for(block =3D 1; block <=3D 8; block ++) { printf("%u ...\n", block); counter =3D 0; while (counter < size - 8) { __builtin_memcpy(&receiver, &mem[counter], block); receiver &=3D (0xffffffffffffffffllu >> (64 - ((block) << 3))); total +=3D ((receiver * 0x321654987cbafedllu) >> 48); counter +=3D block; } } printf("=3D> %llu\n", total); return EXIT_SUCCESS; } Timings for gcc compiled code are almost 3x slower than those for clang. As= a side note, loop unrolling is not very well handled there as specifying a fo= rced unroll in gcc 8 improves performance, but this is not any better with clang. Even with complete manual unrolling, the resulting gcc compiled code is sti= ll 3x slower than clangs's. After further testing it appears that the problem = is caused by some specific number of bytes requested in __builtin_memcpy, in particular the __builtin_memcpy(,,3) performance is very poor. My platform compiler infos : gcc-7 -v Using built-in specs. COLLECT_GCC=3Dgcc-7 COLLECT_LTO_WRAPPER=3D/usr/local/Cellar/gcc/7.3.0/libexec/gcc/x86_64-apple-= darwin17.4.0/7.3.0/lto-wrapper Target: x86_64-apple-darwin17.4.0 Configured with: ../configure --build=3Dx86_64-apple-darwin17.4.0 --prefix=3D/usr/local/Cellar/gcc/7.3.0 --libdir=3D/usr/local/Cellar/gcc/7.3.0/lib/gcc/7 --enable-languages=3Dc,c++,objc,obj-c++,fortran --program-suffix=3D-7 --with-gmp=3D/usr/local/opt/gmp --with-mpfr=3D/usr/local/opt/mpfr --with-mpc=3D/usr/local/opt/libmpc --with-isl=3D/usr/local/opt/isl --with-system-zlib --enable-checking=3Drelease --with-pkgversion=3D'Homebre= w GCC 7.3.0' --with-bugurl=3Dhttps://github.com/Homebrew/homebrew-core/issues --disable-nls Thread model: posix gcc version 7.3.0 (Homebrew GCC 7.3.0) cc -v Apple LLVM version 9.0.0 (clang-900.0.39.2) Target: x86_64-apple-darwin17.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch= ain/usr/bi >>From gcc-bugs-return-596238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:41:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65326 invoked by alias); 5 Mar 2018 16:41: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 65237 invoked by uid 48); 5 Mar 2018 16:41:48 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 16: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: 7.3.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: 2018-03/txt/msg00826.txt.bz2 Content-length: 570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Does -mcpu=3Dnative improve it? Also is GCC calling memcpy instead of doing an inline version? >>From gcc-bugs-return-596239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:46:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83907 invoked by alias); 5 Mar 2018 16: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 83171 invoked by uid 48); 5 Mar 2018 16:46:46 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84720] New: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472 Date: Mon, 05 Mar 2018 16: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg00827.txt.bz2 Content-length: 3658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84720 Bug ID: 84720 Summary: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: template struct a { template static void b() { b(); } }; Output: $ xgcc -x c++ -S - : In substitution of 'template > template static void a< >::b() [with =3D ; int&& =3D {}]': :5:7: required from here :4:15: internal compiler error: tree check: expected tree that conta= ins 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472 0x66106d tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) /home/vegard/git/gcc/gcc/tree.c:9509 0x131d185 contains_struct_check(tree_node const*, tree_node_structure_enum, char const*, int, char const*) /home/vegard/git/gcc/gcc/tree.h:3502 0x131d185 decl_anon_ns_mem_p(tree_node const*) /home/vegard/git/gcc/gcc/cp/tree.c:3472 0xc3288f determine_visibility(tree_node*) /home/vegard/git/gcc/gcc/cp/decl2.c:2537 0x117fa53 tsubst_function_decl /home/vegard/git/gcc/gcc/cp/pt.c:12692 0x1156895 tsubst_decl /home/vegard/git/gcc/gcc/cp/pt.c:12921 0x11071d6 tsubst(tree_node*, tree_node*, int, tree_node*) /home/vegard/git/gcc/gcc/cp/pt.c:13809 0x1121474 instantiate_template_1 /home/vegard/git/gcc/gcc/cp/pt.c:18784 0x112423e instantiate_template(tree_node*, tree_node*, int) /home/vegard/git/gcc/gcc/cp/pt.c:18840 0x119d32b fn_type_unification(tree_node*, tree_node*, tree_node*, tree_node* const*, unsigned int, tree_node*, unification_kind_t, int, bool, bool) /home/vegard/git/gcc/gcc/cp/pt.c:19220 0x907d89 add_template_candidate_real /home/vegard/git/gcc/gcc/cp/call.c:3180 0x90af6c add_template_candidate /home/vegard/git/gcc/gcc/cp/call.c:3258 0x90af6c add_candidates /home/vegard/git/gcc/gcc/cp/call.c:5525 0x93bdea build_new_method_call_1 /home/vegard/git/gcc/gcc/cp/call.c:9154 0x93bdea build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int) /home/vegard/git/gcc/gcc/cp/call.c:9361 0x12802c0 finish_call_expr(tree_node*, vec**, bool, bool, int) /home/vegard/git/gcc/gcc/cp/semantics.c:2450 0xf7bb98 cp_parser_postfix_expression /home/vegard/git/gcc/gcc/cp/parser.c:7244 0xf2e927 cp_parser_unary_expression /home/vegard/git/gcc/gcc/cp/parser.c:8320 0xec435a cp_parser_cast_expression /home/vegard/git/gcc/gcc/cp/parser.c:9088 0xec6986 cp_parser_binary_expression /home/vegard/git/gcc/gcc/cp/parser.c:9189 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). Seems to have been introduced between 6.3.0 and 7.1.0 (as it actually compi= les with 6.3.0). It also seems to compile with clang.=20 ICE message looks similar to bug #84694 but I have it on good authority that it's a different bug :-) Test case was minimised by C-Reduce. >>From gcc-bugs-return-596240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:48:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87860 invoked by alias); 5 Mar 2018 16: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 87669 invoked by uid 48); 5 Mar 2018 16:48:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84683] [6/7/8 Regression] internal compiler error: in move_for_stack_reg, at reg-stack.c:1173 Date: Mon, 05 Mar 2018 16:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg00828.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84683 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 43569 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43569&action=3Dedit gcc8-pr84683.patch Untested fix. >>From gcc-bugs-return-596241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 16:53:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98466 invoked by alias); 5 Mar 2018 16:53: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 98337 invoked by uid 48); 5 Mar 2018 16:53:16 -0000 From: "gpnuma at centaurean dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 16: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gpnuma at centaurean 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: 2018-03/txt/msg00829.txt.bz2 Content-length: 641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 --- Comment #2 from gpnuma at centaurean dot com --- (In reply to Andrew Pinski from comment #1) > Does -mcpu=3Dnative improve it? > Also is GCC calling memcpy instead of doing an inline version? No -march=3Dnative does not make any difference.=20 And no, gcc is not calling memcpy as when I replace __builtin_memcpy by mem= cpy in the above code it is somewhat slower, but the timing is the same as clang/memcpy this time. It's just when comparing gcc/__builtin_memcpy and clang/__builtin_memcpy that the resulting code exhibits considerable performance differences in favor of clang. >>From gcc-bugs-return-596242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:05:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34001 invoked by alias); 5 Mar 2018 17:05: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 33921 invoked by uid 48); 5 Mar 2018 17:04:58 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84700] [6/7/8 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1 Date: Mon, 05 Mar 2018 17:05: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: 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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00830.txt.bz2 Content-length: 871 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84700 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.5 Summary|ICE on 32-bit BE powerpc |[6/7/8 Regression] ICE on |targets w/ -misel -O1 |32-bit BE powerpc targets | |w/ -misel -O1 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r218595. Seems endless recursion in the combiner. >>From gcc-bugs-return-596244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:09:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43261 invoked by alias); 5 Mar 2018 17:09: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 43061 invoked by uid 48); 5 Mar 2018 17:09:27 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84670] [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts Date: Mon, 05 Mar 2018 17:09: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.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00832.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84670 Allan Jensen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linux at carewolf dot com --- Comment #13 from Allan Jensen --- *** Bug 84718 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:09:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43114 invoked by alias); 5 Mar 2018 17:09: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 42995 invoked by uid 48); 5 Mar 2018 17:09:25 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84718] [8 regression] ICE when compiling chromium Date: Mon, 05 Mar 2018 17:09: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf 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: 2018-03/txt/msg00831.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84718 Allan Jensen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Allan Jensen --- Yes an updated build which includes the fix from 84670 works. *** This bug has been marked as a duplicate of bug 84670 *** >>From gcc-bugs-return-596245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:11:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54207 invoked by alias); 5 Mar 2018 17:11: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 50929 invoked by uid 55); 5 Mar 2018 17:11:48 -0000 From: "willschm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9 Date: Mon, 05 Mar 2018 17:11: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: willschm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: willschm 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: 2018-03/txt/msg00833.txt.bz2 Content-length: 950 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84371 --- Comment #6 from Will Schmidt --- Author: willschm Date: Mon Mar 5 17:11:16 2018 New Revision: 258257 URL: https://gcc.gnu.org/viewcvs?rev=3D258257&root=3Dgcc&view=3Drev Log: 2018-03-05 Will Schmidt Backport from trunk. 2018-02-16 Will Schmidt PR target/84371 * gcc.target/powerpc/builtins-3.c: Update dg-options and dg-skip-if stanzas. * gcc.target/powerpc/builtins-3.p8.c: Add dg-skip-if stanza. * gcc.target/powerpc/builtins-3.p9.c: Add dg-skip-if stanza. Modified: branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/builtins-3-p9.c branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/builtins-3.c >>From gcc-bugs-return-596246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:13:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60894 invoked by alias); 5 Mar 2018 17:13: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 60817 invoked by uid 48); 5 Mar 2018 17:13:01 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84711] AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode. Date: Mon, 05 Mar 2018 17: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.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: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00834.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84711 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.0 |8.0 --- Comment #2 from Tamar Christina --- I have submitted this for GCC 8 after all. >>From gcc-bugs-return-596247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:27:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19170 invoked by alias); 5 Mar 2018 17:27: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 19088 invoked by uid 48); 5 Mar 2018 17:26:56 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 17: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-code 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: 8.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: 2018-03/txt/msg00835.txt.bz2 Content-length: 704 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #15 from Marek Polacek --- I think this is the fix: --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -1251,8 +1251,7 @@ massage_init_elt (tree type, tree init, int nested, tsubst_flags_t complain) init =3D TARGET_EXPR_INITIAL (init); /* When we defer constant folding within a statement, we may want to defer this folding as well. */ - tree t =3D fold_non_dependent_expr (init); - t =3D maybe_constant_init (t); + tree t =3D fold_non_dependent_init (init); if (TREE_CONSTANT (t)) init =3D t; return init; (implementation of fold_non_dependent_init intentionally omitted here). >>From gcc-bugs-return-596248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:36:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27736 invoked by alias); 5 Mar 2018 17:36: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 27703 invoked by uid 48); 5 Mar 2018 17:36:21 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 17:36: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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: cf_gcctarget 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: 2018-03/txt/msg00836.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86_64-apple-darwin17.4.0 |x86_64 CC| |hjl.tools at gmail dot com --- Comment #3 from H.J. Lu --- Confirmed on Linux/x86-64. >>From gcc-bugs-return-596249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:40:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44265 invoked by alias); 5 Mar 2018 17:40: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 44170 invoked by uid 48); 5 Mar 2018 17:40:17 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84700] [6/7/8 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1 Date: Mon, 05 Mar 2018 17: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: 8.0 X-Bugzilla-Keywords: 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: 6.5 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: 2018-03/txt/msg00837.txt.bz2 Content-length: 847 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84700 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Seems it is combine_simplify_rtx called with x: (plus:SI (ltu:SI (plus:SI (if_then_else:SI (eq (reg:CC 147) (const_int 0 [0])) (subreg:SI (reg:DI 126) 4) (reg:SI 146)) (subreg:SI (reg:DI 126) 4)) (if_then_else:SI (eq (reg:CC 147) (const_int 0 [0])) (subreg:SI (reg:DI 126) 4) (reg:SI 146))) (reg:SI 133 [ iftmp.0_2 ])) and from =3D=3D to =3D=3D pc_rtx. >>From gcc-bugs-return-596250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:44:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76994 invoked by alias); 5 Mar 2018 17:44: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 76895 invoked by uid 48); 5 Mar 2018 17:44:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84700] [6/7/8 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1 Date: Mon, 05 Mar 2018 17: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: 8.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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg00838.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84700 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Created attachment 43570 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43570&action=3Dedit gcc8-pr84700.patch Untested fix. >>From gcc-bugs-return-596251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:45:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79896 invoked by alias); 5 Mar 2018 17:45: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 79818 invoked by uid 48); 5 Mar 2018 17:45:42 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 17:45: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.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: 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: 2018-03/txt/msg00839.txt.bz2 Content-length: 882 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #4 from H.J. Lu --- I compared __builtin_memcpy one size at a time. Here are results in cycles: clang 1 bytes: 17193410146 gcc 1 bytes: 15440244966 clang 2 bytes: 8997535880 gcc 2 bytes: 8147449530 clang 3 bytes: 6002276628 gcc 3 bytes: 5430387704 clang 4 bytes: 4497121282 gcc 4 bytes: 4069604454 clang 5 bytes: 3644879742 gcc 5 bytes: 3258094970 clang 6 bytes: 3045612708 gcc 6 bytes: 2728410608 clang 7 bytes: 2574110178 gcc 7 bytes: 2330365680 clang 8 bytes: 969894432 gcc 8 bytes: 6436950208 GCC is faster except for 8 byte size. >>From gcc-bugs-return-596252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 17:56:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63279 invoked by alias); 5 Mar 2018 17:56: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 63220 invoked by uid 48); 5 Mar 2018 17:56:25 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol Date: Mon, 05 Mar 2018 17:56: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: 8.0 X-Bugzilla-Keywords: lto, openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 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: 2018-03/txt/msg00840.txt.bz2 Content-length: 308 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84592 --- Comment #7 from Tom de Vries --- Created attachment 43571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43571&action=3Dedit Tentative patch Works on nvptx for the examples from comment 0, comment 3 and comment 5. >>From gcc-bugs-return-596253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:07:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5227 invoked by alias); 5 Mar 2018 18: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 5177 invoked by uid 48); 5 Mar 2018 18:07:41 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84721] New: [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Date: Mon, 05 Mar 2018 18: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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: 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: 2018-03/txt/msg00841.txt.bz2 Content-length: 1979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84721 Bug ID: 84721 Summary: [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed between 20171210 and 20171217 (ICE at -O[gs123]) : $ cat z1.c int a[({ int b })]; $ cat z3.c int a[({ int f() {}; })]; $ gcc-8-20171210 -g -O2 -c z1.c z1.c:1:7: error: braced-group within expression allowed only inside a funct= ion int a[({ int b })]; ^ $ gcc-8-20180304 -g -O2 -c z1.c z1.c:1:1: internal compiler error: Segmentation fault int a[({ int b })]; ^~~ 0xaed10f crash_signal ../../gcc/toplev.c:325 0x6761df c_push_function_context() ../../gcc/c/c-decl.c:9667 0x6b3ef5 c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:2242 0x6b2292 c_parser_compound_statement_nostart ../../gcc/c/c-parser.c:5001 0x6999a8 c_parser_postfix_expression ../../gcc/c/c-parser.c:7943 0x6a2682 c_parser_unary_expression ../../gcc/c/c-parser.c:7262 0x6a3437 c_parser_cast_expression ../../gcc/c/c-parser.c:7103 0x6a3703 c_parser_binary_expression ../../gcc/c/c-parser.c:6906 0x6a4745 c_parser_conditional_expression ../../gcc/c/c-parser.c:6644 0x6a4cd0 c_parser_expr_no_commas ../../gcc/c/c-parser.c:6561 0x6b142a c_parser_direct_declarator_inner ../../gcc/c/c-parser.c:3815 0x6b305f c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:1989 0x6b9be3 c_parser_external_declaration ../../gcc/c/c-parser.c:1644 0x6ba659 c_parser_translation_unit ../../gcc/c/c-parser.c:1524 0x6ba659 c_parse_file() ../../gcc/c/c-parser.c:18410 0x6fd2d5 c_common_parse_file() ../../gcc/c-family/c-opts.c:1132 >>From gcc-bugs-return-596254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:11:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47463 invoked by alias); 5 Mar 2018 18:11: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 47416 invoked by uid 48); 5 Mar 2018 18:10:56 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84722] New: [8 Regression] ICE in create_dispatcher_calls, at multiple_target.c:147 Date: Mon, 05 Mar 2018 18:11: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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: 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: 2018-03/txt/msg00842.txt.bz2 Content-length: 1115 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84722 Bug ID: 84722 Summary: [8 Regression] ICE in create_dispatcher_calls, at multiple_target.c:147 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed between 20170618 and 20170716 (on x86_64/linux) : $ cat z1.c __attribute__((target_clones("avx","arch=3Dcore-avx2","default"))) int foo (int i) { return i+1; } int weaks (int i) __attribute__((weak, alias("foo"))); $ gcc-8-20170618 -c z1.c $ $ gcc-8-20180304 -c z1.c during IPA pass: targetclone z1.c:6:1: internal compiler error: in create_dispatcher_calls, at multiple_target.c:147 int weaks (int i) __attribute__((weak, alias("foo"))); ^~~ 0x11d66f9 create_dispatcher_calls ../../gcc/multiple_target.c:147 0x11d66f9 ipa_target_clone ../../gcc/multiple_target.c:408 0x11d66f9 execute ../../gcc/multiple_target.c:437 >>From gcc-bugs-return-596255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:12:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49440 invoked by alias); 5 Mar 2018 18:12: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 49380 invoked by uid 48); 5 Mar 2018 18:12:52 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84700] [6/7/8 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1 Date: Mon, 05 Mar 2018 18: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00843.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84700 --- Comment #4 from Segher Boessenkool --- That patch is pre-approved if it tests fine. Thanks! >>From gcc-bugs-return-596257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:13:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51256 invoked by alias); 5 Mar 2018 18:13: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 51157 invoked by uid 48); 5 Mar 2018 18:13:29 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84723] New: [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Date: Mon, 05 Mar 2018 18:13: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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: 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: 2018-03/txt/msg00845.txt.bz2 Content-length: 1172 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84723 Bug ID: 84723 Summary: [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed between 20170723 and 20170820 (on x86_64/linux) : $ cat z1.c __attribute__((target_clones("avx","arch=3Dcore-avx2","default"))) __attribute__((naked)) void foo (void) { } $ gcc-8-20170723 -c z1.c z1.c:4:1: warning: 'naked' attribute directive ignored [-Wattributes] { ^ $ $ gcc-8-20180304 -c z1.c during IPA pass: targetclone z1.c:5:1: internal compiler error: Segmentation fault } ^ 0xaed10f crash_signal ../../gcc/toplev.c:325 0x11d6028 create_target_clone ../../gcc/multiple_target.c:275 0x11d6028 expand_target_clones ../../gcc/multiple_target.c:346 0x11d6028 ipa_target_clone ../../gcc/multiple_target.c:404 0x11d6028 execute ../../gcc/multiple_target.c:437 >>From gcc-bugs-return-596256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:13:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50455 invoked by alias); 5 Mar 2018 18:13: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 50385 invoked by uid 48); 5 Mar 2018 18:13:19 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Date: Mon, 05 Mar 2018 18: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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00844.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84721 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-05 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r255569. -gno-statement-frontiers helps. >>From gcc-bugs-return-596258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:37:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112427 invoked by alias); 5 Mar 2018 18:37: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 109236 invoked by uid 48); 5 Mar 2018 18:37:26 -0000 From: "gpnuma at centaurean dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 18: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gpnuma at centaurean 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: 2018-03/txt/msg00846.txt.bz2 Content-length: 986 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 --- Comment #5 from gpnuma at centaurean dot com --- Which gcc and which clang ? Because on my platform, in the above code, if you isolate 3 bytes at a time= and 5 bytes at a time it is way slower than clang (by doing manual unrolling). Or maybe it's the interaction with the bit masking that causes a problem ? (In reply to H.J. Lu from comment #4) > I compared __builtin_memcpy one size at a time. Here are results in > cycles: >=20 > clang 1 bytes: 17193410146 > gcc 1 bytes: 15440244966 > clang 2 bytes: 8997535880 > gcc 2 bytes: 8147449530 > clang 3 bytes: 6002276628 > gcc 3 bytes: 5430387704 > clang 4 bytes: 4497121282 > gcc 4 bytes: 4069604454 > clang 5 bytes: 3644879742 > gcc 5 bytes: 3258094970 > clang 6 bytes: 3045612708 > gcc 6 bytes: 2728410608 > clang 7 bytes: 2574110178 > gcc 7 bytes: 2330365680 > clang 8 bytes: 969894432 > gcc 8 bytes: 6436950208 >=20 > GCC is faster except for 8 byte size. >>From gcc-bugs-return-596260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:41:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1074 invoked by alias); 5 Mar 2018 18:41: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 1008 invoked by uid 48); 5 Mar 2018 18:41:37 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84709] Cannot define method with same name of previously using declared class Date: Mon, 05 Mar 2018 18: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid 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: 2018-03/txt/msg00848.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84709 --- Comment #3 from Jonathan Wakely --- Right, it's not relevant. The rule is not really about hiding ::Foo and mak= ing a name inaccessible, it's about the name "Foo" changing meaning in the class scope. Consider: struct Foo { }; struct Bar { Foo f1 =3D Foo(); const Foo &Foo() const; Foo f2 =3D Foo();=20=20=20=20 }; At the point of declaration of f1 Foo() means constructing a ::Foo object (= and whether that is really A::Foo is irrelevant) and at the point of declaratio= n of f2 it means calling the Bar::Foo() function. The meaning of Foo has changed, and so the class is ill-formed. >>From gcc-bugs-return-596259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:41:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 131058 invoked by alias); 5 Mar 2018 18:41: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 130980 invoked by uid 48); 5 Mar 2018 18:41:22 -0000 From: "gpnuma at centaurean dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 18: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gpnuma at centaurean 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: 2018-03/txt/msg00847.txt.bz2 Content-length: 1276 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 --- Comment #6 from gpnuma at centaurean dot com --- If you compile the following code (-O3 being the only flag used) : #include #include #include #include #include #include #include int main(int argc, char *argv[]) { const uint64_t size =3D 1000000000; const size_t alloc_mem =3D size * sizeof(uint8_t); uint8_t *mem =3D malloc(alloc_mem); for (uint_fast64_t i =3D 0; i < size; i++) mem[i] =3D (uint8_t) (i >> 7); uint_fast64_t counter =3D 0; uint64_t total =3D 0x123456789abcdefllu; uint64_t receiver =3D 0; printf("%u ...\n", 3); counter =3D 0; while (counter < size - 8) { __builtin_memcpy(&receiver, &mem[counter], 3); receiver &=3D (0xffffffffffffffffllu >> (64 - ((3) << 3))); total +=3D ((receiver * 0x321654987cbafedllu) >> 48); counter +=3D 3; } printf("=3D> %llu\n", total); return EXIT_SUCCESS; } Here are the results : gcc time ./a.out 3 ... =3D> 81996806116422545 real 0m4.145s user 0m3.691s sys 0m0.396s clang time ./a.out 3 ... =3D> 81996806116422545 real 0m1.246s user 0m0.855s sys 0m0.374s 4x faster >>From gcc-bugs-return-596261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:44:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127278 invoked by alias); 5 Mar 2018 18:44: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 124294 invoked by uid 48); 5 Mar 2018 18:44:40 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84702] [8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15082 Date: Mon, 05 Mar 2018 18: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00849.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84702 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Nathan Sidwell --- Fixed r258258. >>From gcc-bugs-return-596262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:45:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5121 invoked by alias); 5 Mar 2018 18:45: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 3831 invoked by uid 55); 5 Mar 2018 18:44:56 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84702] [8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15082 Date: Mon, 05 Mar 2018 18: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00850.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84702 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Mon Mar 5 18:44:24 2018 New Revision: 258258 URL: https://gcc.gnu.org/viewcvs?rev=3D258258&root=3Dgcc&view=3Drev Log: [PR c++/84702] ICE with default tmpl arg of overload set https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00227.html PR c++/84702 * pt.c (process_template_arg): Mark lookup_keep on a default arg. PR c++/84702 * g++.dg/lookup/pr84702.C: New. Added: trunk/gcc/testsuite/g++.dg/lookup/pr84702.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:48:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15867 invoked by alias); 5 Mar 2018 18:48: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 12041 invoked by uid 48); 5 Mar 2018 18:48:37 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 18: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: 2018-03/txt/msg00851.txt.bz2 Content-length: 319 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 --- Comment #7 from Andrew Pinski --- I wonder if this is not __builtin_memcpy but rather how to optimize and put= ting in the lower bytes of an uint64_t. I think your benchmark is not benchmark= ing what you think it is benchmarking. >>From gcc-bugs-return-596264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:50:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15980 invoked by alias); 5 Mar 2018 18:50: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 13195 invoked by uid 48); 5 Mar 2018 18:50:48 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84724] New: internal compiler error: in single_succ_edge, at basic-block.h:339 Date: Mon, 05 Mar 2018 18: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00852.txt.bz2 Content-length: 2271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84724 Bug ID: 84724 Summary: internal compiler error: in single_succ_edge, at basic-block.h:339 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: int __builtin_trap(); int a() { int b; int c(&b); return b %=3D b ? c : 0; } Output: $ xgcc -x c++ -O3 -fpermissive -fno-toplevel-reorder -S - :1:5: warning: new declaration 'int __builtin_trap()' ambiguates built-in declaration 'void __builtin_trap()' [-Wbuiltin-declaration-mismatc= h] : In function 'int a()': :5:9: warning: invalid conversion from 'int*' to 'int' [-fpermissive] :3:5: error: wrong outgoing edge flags at end of bb 4 during GIMPLE pass: isolate-paths :3:5: internal compiler error: in single_succ_edge, at basic-block.h= :339 0x32700db single_succ_edge /home/vegard/git/gcc/gcc/basic-block.h:339 0x328b157 single_succ /home/vegard/git/gcc/gcc/basic-block.h:359 0x328b157 gimple_verify_flow_info /home/vegard/git/gcc/gcc/tree-cfg.c:5792 0x185db91 verify_flow_info() /home/vegard/git/gcc/gcc/cfghooks.c:263 0x33140ac checking_verify_flow_info /home/vegard/git/gcc/gcc/cfghooks.h:198 0x33140ac cleanup_tree_cfg_noloop /home/vegard/git/gcc/gcc/tree-cfgcleanup.c:920 0x33140ac cleanup_tree_cfg() /home/vegard/git/gcc/gcc/tree-cfgcleanup.c:971 0x2b6aaa4 execute_function_todo /home/vegard/git/gcc/gcc/passes.c:1947 0x2b73d16 do_per_function /home/vegard/git/gcc/gcc/passes.c:1659 0x2b73d16 execute_todo /home/vegard/git/gcc/gcc/passes.c:2048 $ xgcc --version xgcc (GCC) 8.0.1 20180303 (experimental) Built from git 0d86c284d085d29782d862600a79aa1ff0ee0c47 (r258221). 7.3.0 fails differently: :3:5: internal compiler error: in expand_gimple_basic_block, at cfgexpand.c:5457 6.3.0 apparently succeeds in compiling it. Test case was minimised by C-Reduce. >>From gcc-bugs-return-596265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 18:52:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55704 invoked by alias); 5 Mar 2018 18:52: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 55664 invoked by uid 48); 5 Mar 2018 18:52:21 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84570] [og7, openacc, nvptx] Unused offloaded function parameters Date: Mon, 05 Mar 2018 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: enhancement X-Bugzilla-Who: cesar 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: 2018-03/txt/msg00853.txt.bz2 Content-length: 1107 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84570 cesar at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cesar at gcc dot gnu.org --- Comment #1 from cesar at gcc dot gnu.org --- First, variable 'i' is private, so it shouldn't require a param argument. What we really need here is proper data flow analysis during gimplification. That would solve a lot of performance issues, including privatizing uninitialized, privatizing variables only live inside a parallel region, not transferring unused variables, not copying out dead variables, etc.=20 I like the idea of privatizing uninitialized variables, but if I'm not mistaken, that would still require DF information. It looks like that information doesn't become available until the gimple code goes into SSA. As an alternative, I proposed postponing the outlining of omp/acc regions u= ntil the SSA information is available. But then that approach would have its own= set of problems. >>From gcc-bugs-return-596266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 19:02:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111159 invoked by alias); 5 Mar 2018 19:02: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 111027 invoked by uid 48); 5 Mar 2018 19:02:36 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84725] New: enable attribute nonstring for all narrow character types Date: Mon, 05 Mar 2018 19:02: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: 8.0 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: 2018-03/txt/msg00854.txt.bz2 Content-length: 2024 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84725 Bug ID: 84725 Summary: enable attribute nonstring for all narrow character types Product: gcc Version: 8.0 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: --- Attribute nonstring newly added in GCC is only accepted on arrays or pointe= rs to plain char (see the test case below). However, as discussed in the thre= ad Re: [PATCH] Support the nonstring variable attribute (gcc >=3D 8), Linux ke= rnel developers would find the new attribute nonstring useful with all narrow character types, including signed char and unsigned char: https://www.spinics.net/lists/kernel/msg2737596.html This bug tracks that change. $ cat z.c && gcc -O2 -S -Wall z.c struct S { char __attribute__ ((nonstring)) a[4]; signed char __attribute__ ((nonstring)) b[4]; unsigned char __attribute__ ((nonstring)) c[4]; char __attribute__ ((nonstring)) *p; signed char __attribute__ ((nonstring)) *q; unsigned char __attribute__ ((nonstring)) *r; };=20 z.c:4:3: warning: =E2=80=98nonstring=E2=80=99 attribute ignored on objects = of type =E2=80=98signed char[4]=E2=80=99 [-Wattributes] signed char __attribute__ ((nonstring)) b[4]; ^~~~~~ z.c:5:3: warning: =E2=80=98nonstring=E2=80=99 attribute ignored on objects = of type =E2=80=98unsigned char[4]=E2=80=99 [-Wattributes] unsigned char __attribute__ ((nonstring)) c[4]; ^~~~~~~~ z.c:8:3: warning: =E2=80=98nonstring=E2=80=99 attribute ignored on objects = of type =E2=80=98signed char *=E2=80=99 [-Wattributes] signed char __attribute__ ((nonstring)) *q; ^~~~~~ z.c:9:3: warning: =E2=80=98nonstring=E2=80=99 attribute ignored on objects = of type =E2=80=98unsigned char *=E2=80=99 [-Wattributes] unsigned char __attribute__ ((nonstring)) *r; ^~~~~~~~ >>From gcc-bugs-return-596267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 19:03:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113032 invoked by alias); 5 Mar 2018 19:03: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 112958 invoked by uid 48); 5 Mar 2018 19:03:06 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84725] enable attribute nonstring for all narrow character types Date: Mon, 05 Mar 2018 19:03: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.0 X-Bugzilla-Keywords: diagnostic 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: --- 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: 2018-03/txt/msg00855.txt.bz2 Content-length: 640 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84725 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-03-05 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Let me make the change. >>From gcc-bugs-return-596268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 19:10:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21228 invoked by alias); 5 Mar 2018 19:10: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 21071 invoked by uid 48); 5 Mar 2018 19:10:08 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56667] Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant" Date: Mon, 05 Mar 2018 19:10: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: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00856.txt.bz2 Content-length: 958 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56667 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 |P5 Status|WAITING |NEW CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #2) > How difficult would it be to provide better message? Is it worth the work? > If no, this PR could be closed as WONTFIX. I have a patch. The problem is the matcher for a complex entity runs prior to the matcher for an implied do-loop. Errors are queued in that order so the slightly obtuse error message is emitted. https://gcc.gnu.org/ml/fortran/2018-03/msg00018.html >>From gcc-bugs-return-596269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 19:12:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29175 invoked by alias); 5 Mar 2018 19:12: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 29109 invoked by uid 48); 5 Mar 2018 19:12:40 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84571] [og7, openacc, nvptx] 32-bit value passed in 64 bits to offloading function Date: Mon, 05 Mar 2018 19: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: enhancement X-Bugzilla-Who: cesar 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: 2018-03/txt/msg00857.txt.bz2 Content-length: 1415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84571 cesar at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cesar at gcc dot gnu.org --- Comment #1 from cesar at gcc dot gnu.org --- The is the legacy firstprivate_int optimization. Prior to the param state optimization, GCC used to build a struct of pointers to all of the data mappings used by an offloaded region. That struct would then be passed to t= he offloaded function. To optimize the transfer of firstprivate integer values, Jakub introduced an GOMP_MAP_FIRSTPRIVATE_INT data mapping, which effective converts 32-bit ints to 64-bit ints. The advantage here is that those firstprivate values do not require a separate data mapping, because the 64-= bt int is casted into a dummy pointer. There should be on-device code to recon= vert that 64-bit int into a 32-bit int. If not, there's a bug somewhere. With regards to OpenACC code passing data mappings to offloaded functions directly via function arguments, it's not clear if the approach I took is optimal for all targets. So, maybe when it comes time to upstream that patc= h, it could be rewritten as a separate device-specific pass which expands stru= ct containing all of the offloaded data mappings into individual function arguments. >>From gcc-bugs-return-596270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 19:48:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128543 invoked by alias); 5 Mar 2018 19:48: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 128438 invoked by uid 48); 5 Mar 2018 19:48:47 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84264] [8 Regression] ICE in rs6000_emit_le_vsx_store, at config/rs6000/rs6000.c:10367 starting with r256656 Date: Mon, 05 Mar 2018 19: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00858.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84264 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Peter Bergner --- Fixed on trunk. >>From gcc-bugs-return-596271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:07:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29518 invoked by alias); 5 Mar 2018 20:07: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 29341 invoked by uid 48); 5 Mar 2018 20:07:09 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60230] internal compiler error on lambdas capturing multidimensional arrays with dynamic boundary Date: Mon, 05 Mar 2018 20: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: 2018-03/txt/msg00859.txt.bz2 Content-length: 844 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60230 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #8 from Jason Merrill --- (In reply to Paolo Carlini from comment #6) > Jason, in 8, at variance with 7, for this testcase and its Dups we issue a > proper error message mentioning N3639 and no ICE. I think we can resolve = the > bug, right? Yes, my fix was marked with PR 84560. Actually allowing this code would be= an extension beyond what was allowed under the abandoned array TS. *** This bug has been marked as a duplicate of bug 84560 *** >>From gcc-bugs-return-596273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:07:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29778 invoked by alias); 5 Mar 2018 20: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 29446 invoked by uid 48); 5 Mar 2018 20:07:10 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54367] [meta-bug] lambda expressions Date: Mon, 05 Mar 2018 20:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug 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 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: 2018-03/txt/msg00861.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54367 Bug 54367 depends on bug 60230, which changed state. Bug 60230 Summary: internal compiler error on lambdas capturing multidimens= ional arrays with dynamic boundary https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60230 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE >>From gcc-bugs-return-596272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:07:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29636 invoked by alias); 5 Mar 2018 20:07: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 29416 invoked by uid 48); 5 Mar 2018 20:07:10 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84560] [6/7/8 Regression] Internal error in std::function with std::memset Date: Mon, 05 Mar 2018 20: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: unknown X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00860.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84560 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |moezzia at gmail dot com --- Comment #7 from Jason Merrill --- *** Bug 60230 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:32:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91640 invoked by alias); 5 Mar 2018 20:32: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 91349 invoked by uid 48); 5 Mar 2018 20:32:00 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84726] New: [8 regression] Unnecessary lambda capture of constant variables Date: Mon, 05 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: ABI 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: jason 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: 2018-03/txt/msg00862.txt.bz2 Content-length: 913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84726 Bug ID: 84726 Summary: [8 regression] Unnecessary lambda capture of constant variables Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ABI Severity: normal Priority: P3 Component: c++ Assignee: jason at gcc dot gnu.org Reporter: jason at gcc dot gnu.org Target Milestone: --- wg21.link/p0588 changes i from not captured to captured by the lambda in th= is testcase, but an implementation is allowed to optimize away that capture if= it doesn't affect the semantics of the program. Since we didn't capture it in previous versions of GCC, the optimization is desirable to avoid an ABI cha= nge. int main() {=20 const int i =3D 42; auto l =3D [=3D]{return i;}; if (sizeof(l) > 1) __builtin_abort (); } >>From gcc-bugs-return-596276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:32:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94252 invoked by alias); 5 Mar 2018 20:32: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 93540 invoked by uid 48); 5 Mar 2018 20:32:35 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84726] [8 regression] Unnecessary lambda capture of constant variables Date: Mon, 05 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00864.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84726 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-596275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:32:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92647 invoked by alias); 5 Mar 2018 20:32: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 92535 invoked by uid 48); 5 Mar 2018 20:32:11 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84726] [8 regression] Unnecessary lambda capture of constant variables Date: Mon, 05 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason 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: 2018-03/txt/msg00863.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84726 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-03-05 Ever confirmed|0 |1 >>From gcc-bugs-return-596277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:34:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97095 invoked by alias); 5 Mar 2018 20:34: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 96950 invoked by uid 48); 5 Mar 2018 20:34:48 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84726] [8 regression] Unnecessary lambda capture of constant variables Date: Mon, 05 Mar 2018 20:34: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: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00865.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84726 --- Comment #1 from Jason Merrill --- Optimizing it away is allowed by 8.4.5.1p2: An implementation may define the closure type differently from what is described below provided this does not alter the observable behavior of the program other than by changing: =E2=80=94 the size and/or alignment of the closure type, =E2=80=94 whether the closure type is trivially copyable (Clause 12), or =E2=80=94 whether the closure type is a standard-layout class (Clause 12). >>From gcc-bugs-return-596278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:43:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122022 invoked by alias); 5 Mar 2018 20:43: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 121872 invoked by uid 48); 5 Mar 2018 20:43:48 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Mon, 05 Mar 2018 20:43: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: 6.5 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: 2018-03/txt/msg00866.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jason at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #11 from Jason Merrill --- Consider also struct X { unsigned i; unsigned n =3D bar(X{2,i}); }; which would also have an X PLACEHOLDER_EXPR, but it would refer to the oute= r X rather than the temporary. It seems like maybe we need to defer NSDMI expansion in aggregate initialization until we know which object we're initializing. But Jakub's patch is an improvement over what we have now, and may be the r= ight choice for GCC 8. >>From gcc-bugs-return-596279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 20:55:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12572 invoked by alias); 5 Mar 2018 20:55: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 12305 invoked by uid 48); 5 Mar 2018 20:55:15 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84725] enable attribute nonstring for all narrow character types Date: Mon, 05 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: diagnostic, patch 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: --- 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: 2018-03/txt/msg00867.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84725 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #2 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00237.html >>From gcc-bugs-return-596280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 21:07:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30448 invoked by alias); 5 Mar 2018 21:07: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 27035 invoked by uid 48); 5 Mar 2018 21:07:07 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/54687] Use gcc option machinery for gfortran Date: Mon, 05 Mar 2018 21: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: 4.8.0 X-Bugzilla-Keywords: easyhack X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00868.txt.bz2 Content-length: 1000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54687 --- Comment #14 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Dominique d'Humieres from comment #13) > No activity since over two years. Any objection to close this PR as FIXED? I personally don't mind since I don't use gfortran and I am not planning to work on this, but if somebody ever wanted to fix this, the information above would be useful. In a nutshell, gfortran duplicates a lot of the common machinery, which is a waste of both time (since the options are processed anyway by the common machinery and then again by gfortran) and space (since gfortran uses its own structures for options that are already present in the common machinery). A= lso, improvements in the common machinery do not benefit gfortran. Comment #12 explains what's left to do. On the other hand, the benefits of what remains to be done are likely small. Not even the C/C++ FE are making full use of the common machinery. >>From gcc-bugs-return-596281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 21:08:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50048 invoked by alias); 5 Mar 2018 21:08: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 49942 invoked by uid 48); 5 Mar 2018 21:08:47 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66128] ICE for some intrinsics with zero sized array parameter Date: Mon, 05 Mar 2018 21:08: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 8.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: 2018-03/txt/msg00869.txt.bz2 Content-length: 954 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 --- Comment #14 from kargl at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #11) > According to your mail at (In reply to kargl from comment #10) >=20 > > Closing as fixed. >=20 > https://gcc.gnu.org/ml/fortran/2018-03/msg00010.html still shows a few > tests that fail. >=20 > Let's keep this PR open to track these. First, I should note that the URL does not lead to a list of tests that fail. It points to a list of intrinsic subrprogram where the Fortran standard specifically=20 calls out behavior for dummy arguments associated with a size zero actual argument. No tests were written or performed. Item 1) is covered by PR 54613 Item 2) is now PR 84697. Items 3)-5) do not exhibit any unexpected behavior. Item 6) concerns old g77 compatibility routines I won't check those as no one should be using these routines. This PR should be closed, but I'll leave that up to others. >>From gcc-bugs-return-596282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 21:35:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53249 invoked by alias); 5 Mar 2018 21:35: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 53149 invoked by uid 48); 5 Mar 2018 21:35:52 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84708] [8 Regression] internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:772 Date: Mon, 05 Mar 2018 21:35: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00870.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84708 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jason at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gn= u.org >>From gcc-bugs-return-596283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 21:39:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25814 invoked by alias); 5 Mar 2018 21:39: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 20376 invoked by uid 48); 5 Mar 2018 21:39:06 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70913] ICE in gfc_encode_character, at fortran/target-memory.c:227 Date: Mon, 05 Mar 2018 21:39: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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: 2018-03/txt/msg00871.txt.bz2 Content-length: 1389 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70913 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #5 from Harald Anlauf --- (In reply to Gerhard Steinmetz from comment #3) > Another situation : >=20 > $ cat z4.f90 > program p > character(3) :: a(2) =3D ['abc', 'xyz'] > character(3) :: b(1,2) =3D ' ' > equivalence (b, a) > end >=20 > $ gfortran-6 z4.f90 > internal compiler error: in gfc_encode_character, at > fortran/target-memory.c:227 >=20 > --- >=20 > Interestingly, this works without initializer of b : It is not important that b is of rank 2, the ICE occurs also for character(3) :: b(2) =3D ' ' Running under the debugger, the assert 220 gfc_encode_character (int kind, size_t length, const gfc_char_t *string, 221 unsigned char *buffer, size_t buffer_size) 222 { 223 size_t elsize =3D size_character (1, kind); 224 tree type =3D gfc_get_char_type (kind); 225 226 gcc_assert (buffer_size >=3D size_character (length, kind)); appears to be triggered by a call with buffer_size=3D0 while processing the equivalence. This can also be guessed by looking at the backtrace. >>From gcc-bugs-return-596284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 21:49:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95914 invoked by alias); 5 Mar 2018 21:49: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 95839 invoked by uid 48); 5 Mar 2018 21:49:27 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84218] ICE in free_expr0, at fortran/expr.c:451 Date: Mon, 05 Mar 2018 21:49: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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: 2018-03/txt/msg00872.txt.bz2 Content-length: 520 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84218 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #4 from Harald Anlauf --- The implied do variants z1, z2, and z3 are now rejected, probably by Steve's recent patch. z4 is fine. Is there anything left, or can this PR be closed? >>From gcc-bugs-return-596285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 21:54:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106330 invoked by alias); 5 Mar 2018 21:54: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 106290 invoked by uid 48); 5 Mar 2018 21:54:18 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84218] ICE in free_expr0, at fortran/expr.c:451 Date: Mon, 05 Mar 2018 21:54: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00873.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84218 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Dominique d'Humieres --- > The implied do variants z1, z2, and z3 are now rejected, > probably by Steve's recent patch. > > z4 is fine. > > Is there anything left, or can this PR be closed? Confirmed, closing as FIXED. >>From gcc-bugs-return-596286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:08:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9165 invoked by alias); 5 Mar 2018 22:08: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 8939 invoked by uid 48); 5 Mar 2018 22:08:50 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82611] Incorrect warning for redundant capture in lambda Date: Mon, 05 Mar 2018 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: 6.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 2018-03/txt/msg00874.txt.bz2 Content-length: 241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82611 --- Comment #3 from Paolo Carlini --- By the way, both clang and icc emit an *hard error*, not just a warning for this usage. Consider yourself lucky ;) >>From gcc-bugs-return-596287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:13:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106244 invoked by alias); 5 Mar 2018 22:13: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 100814 invoked by uid 55); 5 Mar 2018 22:13:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Mon, 05 Mar 2018 22: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-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: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00875.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #16 from Jakub Jelinek --- Author: jakub Date: Mon Mar 5 22:12:45 2018 New Revision: 258262 URL: https://gcc.gnu.org/viewcvs?rev=3D258262&root=3Dgcc&view=3Drev Log: PR c++/84684 * constexpr.c (constexpr_call_hasher::equal): Return false if lhs->hash !=3D rhs->hash. Change return 1 to return true and return 0 to return false. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c >>From gcc-bugs-return-596288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:14:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24556 invoked by alias); 5 Mar 2018 22:14: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 24183 invoked by uid 55); 5 Mar 2018 22:14:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84700] [6/7/8 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1 Date: Mon, 05 Mar 2018 22: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: 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00876.txt.bz2 Content-length: 660 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84700 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Mar 5 22:13:58 2018 New Revision: 258263 URL: https://gcc.gnu.org/viewcvs?rev=3D258263&root=3Dgcc&view=3Drev Log: PR target/84700 * combine.c (combine_simplify_rtx): Don't try to simplify if if_then_else_cond returned non-NULL, but either true_rtx or false_r= tx are equal to x. * gcc.target/powerpc/pr84700.c: New test. Added: trunk/gcc/testsuite/gcc.target/powerpc/pr84700.c Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:15:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26300 invoked by alias); 5 Mar 2018 22: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 26022 invoked by uid 55); 5 Mar 2018 22:15:28 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84708] [8 Regression] internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:772 Date: Mon, 05 Mar 2018 22: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00877.txt.bz2 Content-length: 541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84708 --- Comment #2 from Jason Merrill --- Author: jason Date: Mon Mar 5 22:14:38 2018 New Revision: 258264 URL: https://gcc.gnu.org/viewcvs?rev=3D258264&root=3Dgcc&view=3Drev Log: PR c++/84708 - ICE with lambda in local class NSDMI. * lambda.c (lambda_expr_this_capture): Handle local class NSDMI context. Added: trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/lambda.c >>From gcc-bugs-return-596290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:19:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30316 invoked by alias); 5 Mar 2018 22:19: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 30065 invoked by uid 48); 5 Mar 2018 22:19:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84700] [6/7 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1 Date: Mon, 05 Mar 2018 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: 8.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: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00878.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84700 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Summary|[6/7/8 Regression] ICE on |[6/7 Regression] ICE on |32-bit BE powerpc targets |32-bit BE powerpc targets |w/ -misel -O1 |w/ -misel -O1 --- Comment #6 from Jakub Jelinek --- Fixed on the trunk so far. >>From gcc-bugs-return-596291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:41:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15490 invoked by alias); 5 Mar 2018 22:41: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 15436 invoked by uid 48); 5 Mar 2018 22:41:19 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84708] [8 Regression] internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:772 Date: Mon, 05 Mar 2018 22: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00879.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84708 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Jason Merrill --- Fixed. >>From gcc-bugs-return-596292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:42:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17007 invoked by alias); 5 Mar 2018 22:42: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 16958 invoked by uid 48); 5 Mar 2018 22:42:49 -0000 From: "npiggin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84627] powerpc excess padding generated for POWER9 target Date: Mon, 05 Mar 2018 22:42: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.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: npiggin at gmail 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: 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: 2018-03/txt/msg00880.txt.bz2 Content-length: 1069 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84627 Nicholas Piggin changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #4 from Nicholas Piggin --- After some more discussion and testing, it was determined that for POWER9, = 16 bytes of padding is sufficient for these small loops and was adjusted. https://gcc.gnu.org/viewcvs/gcc?view=3Drevision&revision=3D258260 Author: segher Date: Mon Mar 5 19:11:54 2018 UTC (3 hours, 27 minutes ago) Log Message: rs6000: Don't align tiny loops to 32 bytes for POWER9 For POWER4..POWER8 we align loops of 5..8 instructions to 32 bytes (instead of to 16 bytes) because that executes faster. This is no longer the case on POWER9, so we can just as well only align to 16 bytes. * config/rs6000/rs6000.c (rs6000_loop_align): Don't align tiny loops to 32 bytes when compiling for POWER9. >>From gcc-bugs-return-596293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 22:53:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16090 invoked by alias); 5 Mar 2018 22:53: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 4713 invoked by uid 48); 5 Mar 2018 22:53:53 -0000 From: "gpnuma at centaurean dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Mon, 05 Mar 2018 22: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gpnuma at centaurean 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: 2018-03/txt/msg00881.txt.bz2 Content-length: 1273 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 --- Comment #8 from gpnuma at centaurean dot com --- Just to make sure I commented out bit masking : #include #include #include #include #include #include #include int main(int argc, char *argv[]) { const uint64_t size =3D 1000000000; const size_t alloc_mem =3D size * sizeof(uint8_t); uint8_t *mem =3D malloc(alloc_mem); for (uint_fast64_t i =3D 0; i < size; i++) mem[i] =3D (uint8_t) (i >> 7); uint_fast64_t counter =3D 0; uint64_t total =3D 0x123456789abcdefllu; uint64_t receiver =3D 0; printf("%u ...\n", 3); counter =3D 0; while (counter < size - 8) { __builtin_memcpy(&receiver, &mem[counter], 3); // receiver &=3D (0xffffffffffffffffllu >> (64 - ((3) << 3))); total +=3D ((receiver * 0x321654987cbafedllu) >> 48); counter +=3D 3; } printf("=3D> %llu\n", total); return EXIT_SUCCESS; } Results are exactly the same : gcc time ./a.out 3 ... =3D> 81996806116422545 real 0m3.771s user 0m3.292s sys 0m0.403s clang time ./a.out 3 ... =3D> 81996806116422545 real 0m1.209s user 0m0.833s sys 0m0.359s Still 4x faster >>From gcc-bugs-return-596294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 23:02:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55624 invoked by alias); 5 Mar 2018 23:02: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 55502 invoked by uid 48); 5 Mar 2018 23:02:14 -0000 From: "romain.geissler at amadeus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84727] New: [8 regression] Constant class initialization not detected as such Date: Mon, 05 Mar 2018 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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus 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: 2018-03/txt/msg00882.txt.bz2 Content-length: 2330 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84727 Bug ID: 84727 Summary: [8 regression] Constant class initialization not detected as such Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, There appear to be a recent regression, triggered when compiling tcmalloc. = This snippet: #include // A safe way of doing "(1 << n) - 1" -- without worrying about overflow // Note this will all be resolved to a constant expression at compile-time #define N_ONES_(IntType, N) \ ( (N) =3D=3D 0 ? 0 : ((static_cast(1) << ((N)-1))-1 + \ (static_cast(1) << ((N)-1))) ) template class A { public: static const int kValuebits =3D 7; private: // With the template version, this fails. static const uint32_t kValueMask =3D N_ONES_(uint32_t, kValuebits); }; class B=20 { public: static const int kValuebits =3D 7; private: // With the non-template version, this works. static const uint32_t kValueMask =3D N_ONES_(uint32_t, kValuebits); }; used to build fine (with no special options) with g++ (GCC) 8.0.1 20180224 (experimental) but fails with g++ (GCC) 8.0.1 20180301 (experimental): file.cpp:7:59: error: non-constant in-class initialization invalid for stat= ic member 'A< >::kValueMask' (static_cast(1) << ((N)-1))) ) ^ file.cpp:16:44: note: in expansion of macro 'N_ONES_' static const uint32_t kValueMask =3D N_ONES_(uint32_t, kValuebits); ^~~~~~~ file.cpp:7:59: note: (an out of class initialization is required) (static_cast(1) << ((N)-1))) ) ^ file.cpp:16:44: note: in expansion of macro 'N_ONES_' static const uint32_t kValueMask =3D N_ONES_(uint32_t, kValuebits); ^~~~~~~ Cheers, Romain >>From gcc-bugs-return-596295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 23:09:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62561 invoked by alias); 5 Mar 2018 23:09: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 62480 invoked by uid 48); 5 Mar 2018 23:09:48 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81572] [7 Regression] gcc-7 regression: unnecessary vector regmove on compare Date: Mon, 05 Mar 2018 23: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner 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.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: 2018-03/txt/msg00883.txt.bz2 Content-length: 591 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81572 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Peter Bergner --- Thanks for fixing this Vlad! Since this is a GCC 7 regression, can we get = this back ported there too? If it would help, I can do the bootstrap, regtesting and commit. >>From gcc-bugs-return-596296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 23:12:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87067 invoked by alias); 5 Mar 2018 23: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 87038 invoked by uid 48); 5 Mar 2018 23:12:29 -0000 From: "romain.geissler at amadeus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84727] [8 regression] Constant class initialization not detected as such Date: Mon, 05 Mar 2018 23: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus 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: 2018-03/txt/msg00884.txt.bz2 Content-length: 271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84727 --- Comment #1 from Romain Geissler --- Mmmh on Godbolt it seems to work with the gcc from today: https://godbolt.org/g/91wxk7 So it's has been most likely fixed in the meantime. >>From gcc-bugs-return-596297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 05 23:39:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15810 invoked by alias); 5 Mar 2018 23:39: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 15712 invoked by uid 48); 5 Mar 2018 23:39:07 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81572] [7 Regression] gcc-7 regression: unnecessary vector regmove on compare Date: Mon, 05 Mar 2018 23: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.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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.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: 2018-03/txt/msg00885.txt.bz2 Content-length: 418 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81572 --- Comment #6 from Vladimir Makarov --- (In reply to Peter Bergner from comment #5) > Thanks for fixing this Vlad! Since this is a GCC 7 regression, can we get > this back ported there too? If it would help, I can do the bootstrap, > regtesting and commit. Yes, I think it is safe to backport it. Thank you for your help, Peter. >>From gcc-bugs-return-596298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 01:33:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103942 invoked by alias); 6 Mar 2018 01:33: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 103754 invoked by uid 48); 6 Mar 2018 01:33:52 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84724] [7/8 Regression] internal compiler error: in single_succ_edge, at basic-block.h:339 with a declaration of __builtin_trap Date: Tue, 06 Mar 2018 01: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.0.1 X-Bugzilla-Keywords: ice-on-invalid-code 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 cf_reconfirmed_on cc cf_known_to_work short_desc 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: 2018-03/txt/msg00886.txt.bz2 Content-length: 2132 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84724 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |msebor at gcc dot gnu.org Known to work| |6.4.0 Summary|internal compiler error: in |[7/8 Regression] internal |single_succ_edge, at |compiler error: in |basic-block.h:339 |single_succ_edge, at | |basic-block.h:339 with a | |declaration of | |__builtin_trap Ever confirmed|0 |1 Known to fail| |7.3.0, 8.0 --- Comment #1 from Martin Sebor --- Confirmed with r244114 (gcc 7.0.0) as the first revision to ICE: r244114 | jakub | 2017-01-05 16:14:19 -0500 (Thu, 05 Jan 2017) | 12 lines PR tree-optimization/71016 Prior to that GCC accepted the test case (with -fpermissive): t.C:2:5: warning: new declaration =E2=80=98int __builtin_trap()=E2=80=99 am= biguates built-in declaration =E2=80=98void __builtin_trap()=E2=80=99 [-Wbuiltin-declaration-= mismatch] int __builtin_trap(); ^~~~~~~~~~~~~~ t.C: In function =E2=80=98int a()=E2=80=99: t.C:6:9: warning: invalid conversion from =E2=80=98int*=E2=80=99 to =E2=80= =98int=E2=80=99 [-fpermissive] int c(&b); ^~ A simpler test case is int __builtin_trap (); int a (int i) { const char *p =3D i < 0 ? 0 : ""; return *p; } The trouble seems to be that __builtin_trap is expected not to return but t= he extern C++ declaration in the program says otherwise and overrides the built-in. I'd say re-declarations of built-ins that GCC itself depends on/makes assumptions about should be rejected with a hard error. >>From gcc-bugs-return-596299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 02:52:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93409 invoked by alias); 6 Mar 2018 02:52: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 93341 invoked by uid 48); 6 Mar 2018 02:51:57 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83969] [8 Regression] ICE in final_scan_insn, at final.c:2997 (error: could not split insn) for powerpc targets Date: Tue, 06 Mar 2018 02: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner 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: 8.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: 2018-03/txt/msg00887.txt.bz2 Content-length: 1592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83969 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bergner at gcc dot gnu.org --- Comment #10 from Peter Bergner --- This looks like a similar bug I fixed in PR84279, namely mem_operand_gpr() accepting addresses that are not offsettable. In this specific bug, we don't have an altivec address, but we do have an i= ndex address which also should be rejected for the "Y" constraint. Replacing the fix for PR84279 with a test for offsettable_address_p() instead fixes both ICEs. I'm testing the following patch which mimics the code for mem_operand_ds_form(): Index: gcc/config/rs6000/rs6000.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/config/rs6000/rs6000.c (revision 258267) +++ gcc/config/rs6000/rs6000.c (working copy) @@ -8207,10 +8207,8 @@ mem_operand_gpr (rtx op, machine_mode mo int extra; rtx addr =3D XEXP (op, 0); - /* Don't allow altivec type addresses like (mem (and (plus ...))). - See PR target/84279. */ - - if (GET_CODE (addr) =3D=3D AND) + /* Don't allow non-offsettable addresses. See PRs 83969 and 84279. */ + if (!offsettable_address_p (false, mode, addr)) return false; op =3D address_offset (addr); >>From gcc-bugs-return-596300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 03:15:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106845 invoked by alias); 6 Mar 2018 03:15: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 106475 invoked by uid 48); 6 Mar 2018 03:15:39 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71169] [7/8 Regression] ICE on invalid C++ code in pop_nested_class (cp/class.c:7785) Date: Tue, 06 Mar 2018 03: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: 7.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 7.4 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: 2018-03/txt/msg00888.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71169 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at or= acle dot com --- Comment #4 from Paolo Carlini --- Mine. >>From gcc-bugs-return-596301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 03:16:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108516 invoked by alias); 6 Mar 2018 03:16: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 108369 invoked by uid 48); 6 Mar 2018 03:16:36 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71832] [7/8 Regression] ICE on invalid C++11 code with incorrect decltype use for non-type template parameter: Segmentation fault Date: Tue, 06 Mar 2018 03: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: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 7.4 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: 2018-03/txt/msg00889.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71832 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC|paolo.carlini at oracle dot com | Assignee|unassigned at gcc dot gnu.org |paolo.carlini at or= acle dot com --- Comment #6 from Paolo Carlini --- Mine. >>From gcc-bugs-return-596302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 03:22:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114067 invoked by alias); 6 Mar 2018 03:22: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 113948 invoked by uid 48); 6 Mar 2018 03:22:50 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Date: Tue, 06 Mar 2018 03:22: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: ice-on-valid-code 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: keywords bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg00890.txt.bz2 Content-length: 1861 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84723 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |8.0 --- Comment #1 from Martin Sebor --- Confirmed. The first revision to ICE is r250736 (gcc 8.0.0), which is also where attribute naked was added. r250736 | uros | 2017-07-31 06:22:41 -0400 (Mon, 31 Jul 2017) | 23 lines PR target/25967 * config/i386/i386.c (ix86_function_naked): New function. (ix86_can_use_return_insn_p): Return false for naked functions. (ix86_expand_prologue): Skip prologue for naked functions. (ix86_expand_epilogue): Skip epilogue for naked functions and emit trap instruction. (ix86_warn_func_return): New function. (ix86_attribute_table): Add "naked" attribute specification. (TARGET_WARN_FUNC_RETURN): Define. * doc/extend.texi (x86 Function Attributes) : Document it. Another test case: __attribute__((target_clones ("avx", "default"))) __attribute__((noclone)) void foo (void) { } The create_target_clone() function assumes the call to cgraph_node::create_version_clone_with_body() succeeds, which isn't necessa= rily the case. But mutually exclusive attributes should be detected earlier on, during parsing, so if target_clones is incompatible with naked, GCC should issue a warning and drop the latter attribute. >>From gcc-bugs-return-596303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 03:25:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117436 invoked by alias); 6 Mar 2018 03:25: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 117224 invoked by uid 48); 6 Mar 2018 03:25:01 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70409] Silent truncation of character parameters with len=huge() Date: Tue, 06 Mar 2018 03:25: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00891.txt.bz2 Content-length: 597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70409 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|NEW |ASSIGNED CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org --- Comment #2 from kargl at gcc dot gnu.org --- I have a patch. To be submitted after I write a testcase. >>From gcc-bugs-return-596304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 06:25:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110107 invoked by alias); 6 Mar 2018 06:25: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 109787 invoked by uid 55); 6 Mar 2018 06:25:13 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84492] [8 Regression] ICE with statement expression Date: Tue, 06 Mar 2018 06: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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00892.txt.bz2 Content-length: 1092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84492 --- Comment #4 from Alexandre Oliva --- Author: aoliva Date: Tue Mar 6 06:24:40 2018 New Revision: 258269 URL: https://gcc.gnu.org/viewcvs?rev=3D258269&root=3Dgcc&view=3Drev Log: [PR c++/84492] stmt expr ending with overload We ICEd when returning a stmt expr that ends with an overloaded function, because instantiate_type did not know what to do with STMT_EXPRs. And it shouldn't have to: the expected type of a stmt expr cannot be used to resolve its value: an unresolved overload cannot supply the result of a stmt expr. Catch that and report the error in the stmt expr before we have a chance to instantiate it. for gcc/cp/ChangeLog PR c++/84492 * semantics.c (finish_stmt_expr_expr): Reject unresolved overloads used as stmt expr values. for gcc/testsuite/ChangeLog PR c++/84492 * g++.dg/pr84492.C: New. Added: trunk/gcc/testsuite/g++.dg/pr84492.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 06:25:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110879 invoked by alias); 6 Mar 2018 06:25: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 110807 invoked by uid 55); 6 Mar 2018 06:25:26 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84593] [6/7/8 Regression] internal compiler error: Segmentation fault (non_type_check()) Date: Tue, 06 Mar 2018 06: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00893.txt.bz2 Content-length: 916 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84593 --- Comment #3 from Alexandre Oliva --- Author: aoliva Date: Tue Mar 6 06:24:53 2018 New Revision: 258270 URL: https://gcc.gnu.org/viewcvs?rev=3D258270&root=3Dgcc&view=3Drev Log: [PR c++/84593] ice on braced init with uninit ref field If an initializer expr is to be NULL in a ctor initializer list, we ICE in picflag_from_initializer and elsewhere. If we're missing an initializer for a reference field, we report the error, but then build a zero initializer to avoid the ICE. for gcc/cp/ChangeLog PR c++/84593 * init.c (build_zero_init_1): Zero-initialize references. for gcc/testsuite/ChangeLog PR c++/84593 * g++.dg/cpp1y/pr84593.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr84593.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/init.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 06:25:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111821 invoked by alias); 6 Mar 2018 06:25: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 111707 invoked by uid 55); 6 Mar 2018 06:25:45 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODQyMzFdIFs4IFJlZ3Jlc3Npb25dIGNhbm5vdCBiaW5kIG5v?= =?UTF-8?B?bi1jb25zdCBsdmFsdWUgcmVmZXJlbmNlIG9mIHR5cGUg4oCYY29uc3QgY2hh?= =?UTF-8?B?ciom4oCZIHRvIGFuIHJ2YWx1ZSBvZiB0eXBlIOKAmGNvbnN0IGNoYXIq4oCZ?= Date: Tue, 06 Mar 2018 06: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: 8.0 X-Bugzilla-Keywords: patch, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00894.txt.bz2 Content-length: 2464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84231 --- Comment #5 from Alexandre Oliva --- Author: aoliva Date: Tue Mar 6 06:25:12 2018 New Revision: 258271 URL: https://gcc.gnu.org/viewcvs?rev=3D258271&root=3Dgcc&view=3Drev Log: [C++] [PR84231] overload on cond_expr in template A non-type-dependent COND_EXPR within a template is reconstructed with the original operands, after one with non-dependent proxies is built to determine its result type. This is problematic because the operands of a COND_EXPR determined to be an rvalue may have been converted to denote their rvalue nature. The reconstructed one, however, won't have such conversions, so lvalue_kind may not recognize it as an rvalue, which may lead to e.g. incorrect overload resolution decisions. If we mistake such a COND_EXPR for an lvalue, overload resolution might regard a conversion sequence that binds it to a non-const reference as viable, and then select that over one that binds it to a const reference. Only after template substitution would we rebuild the COND_EXPR, realize it is an rvalue, and conclude the reference binding is ill-formed, but at that point we'd have long discarded any alternate candidates we could have used. This patch modifies the logic that determines whether a (non-type-dependent) COND_EXPR in a template is an lvalue, to rely on its type, more specifically, on the presence of a REFERENCE_TYPE wrapper. In order to avoid a type bootstrapping problem, the REFERENCE_TYPE that wraps the type of some such COND_EXPRs is introduced earlier, so that we don't have to test for lvalueness of the expression using the very code that we wish to change. for gcc/cp/ChangeLog PR c++/84231 * tree.c (lvalue_kind): Use presence/absence of REFERENCE_TYPE only while processing template decls. * typeck.c (build_x_conditional_expr): Move wrapping of reference type around type... * call.c (build_conditional_expr_1): ... here. Rename is_lvalue to is_glvalue. * parser.c (cp_parser_fold_expression): Catch REFERENCE_REF_P INDIRECT_REF of COND_EXPR too. for gcc/testsuite/ChangeLog PR c++/84231 * g++.dg/pr84231.C: New. Added: trunk/gcc/testsuite/g++.dg/pr84231.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/cp/parser.c trunk/gcc/cp/tree.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 06:26:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113578 invoked by alias); 6 Mar 2018 06:26: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 113483 invoked by uid 48); 6 Mar 2018 06:26:48 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84492] [8 Regression] ICE with statement expression Date: Tue, 06 Mar 2018 06: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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00896.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84492 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Alexandre Oliva --- Fixed >>From gcc-bugs-return-596307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 06:26:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112808 invoked by alias); 6 Mar 2018 06:26: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 112752 invoked by uid 48); 6 Mar 2018 06:26:36 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84593] [6/7/8 Regression] internal compiler error: Segmentation fault (non_type_check()) Date: Tue, 06 Mar 2018 06: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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00895.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84593 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 |P3 Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Alexandre Oliva --- Fixed >>From gcc-bugs-return-596309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 06:27:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114699 invoked by alias); 6 Mar 2018 06:27:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114625 invoked by uid 48); 6 Mar 2018 06:27:06 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODQyMzFdIFs4IFJlZ3Jlc3Npb25dIGNhbm5vdCBiaW5kIG5v?= =?UTF-8?B?bi1jb25zdCBsdmFsdWUgcmVmZXJlbmNlIG9mIHR5cGUg4oCYY29uc3QgY2hh?= =?UTF-8?B?ciom4oCZIHRvIGFuIHJ2YWx1ZSBvZiB0eXBlIOKAmGNvbnN0IGNoYXIq4oCZ?= Date: Tue, 06 Mar 2018 06: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: 8.0 X-Bugzilla-Keywords: patch, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00897.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84231 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Alexandre Oliva --- Fixed >>From gcc-bugs-return-596310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 07:07:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42367 invoked by alias); 6 Mar 2018 07:07: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 42328 invoked by uid 55); 6 Mar 2018 07:07:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84687] [8 Regression] error: invalid conversion in gimple call with -O3 and -ffast-math Date: Tue, 06 Mar 2018 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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00898.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84687 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Mar 6 07:06:44 2018 New Revision: 258272 URL: https://gcc.gnu.org/viewcvs?rev=3D258272&root=3Dgcc&view=3Drev Log: PR tree-optimization/84687 * omp-simd-clone.c (simd_clone_create): Clear DECL_BUILT_IN_CLASS on new_node->decl. * match.pd (pow(C,x)*expN(y) -> expN(logN(C)*x+y)): New optimizatio= n. * gcc.dg/pr84687.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr84687.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd trunk/gcc/omp-simd-clone.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 07:23:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101621 invoked by alias); 6 Mar 2018 07:23: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 101564 invoked by uid 48); 6 Mar 2018 07:23:01 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84728] New: internal compiler error: Segmentation fault (is_gimple_variable()) Date: Tue, 06 Mar 2018 07:23: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00899.txt.bz2 Content-length: 3361 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84728 Bug ID: 84728 Summary: internal compiler error: Segmentation fault (is_gimple_variable()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: void a(int b) { asm("" : "=3Dm" (b) : "0" (({ ; }))); } Output: $ xgcc -x c++ -S -g -O1 - : In function 'void a(int)': :2:37: warning: matching constraint does not allow a register :2:37: warning: matching constraint does not allow a register :2:31: internal compiler error: Segmentation fault 0x3152ce9 crash_signal /home/vegard/git/gcc/gcc/toplev.c:325 0x20f0ce8 is_gimple_variable /home/vegard/git/gcc/gcc/gimple-expr.h:83 0x20f0ce8 is_gimple_id /home/vegard/git/gcc/gcc/gimple-expr.h:94 0x20f0ce8 is_gimple_addressable /home/vegard/git/gcc/gcc/gimple-expr.h:121 0x20f0ce8 is_gimple_lvalue(tree_node*) /home/vegard/git/gcc/gcc/gimple-expr.c:595 0x222358a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:12355 0x2242d00 gimplify_asm_expr /home/vegard/git/gcc/gcc/gimplify.c:6289 0x2219681 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11766 0x2228401 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x221a50d gimplify_cleanup_point_expr /home/vegard/git/gcc/gcc/gimplify.c:6400 0x221a50d gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11811 0x2228401 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x221bc6b gimplify_statement_list /home/vegard/git/gcc/gcc/gimplify.c:1767 0x221bc6b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/vegard/git/gcc/gcc/gimplify.c:11863 0x2228401 gimplify_stmt(tree_node**, gimple**) /home/vegard/git/gcc/gcc/gimplify.c:6658 0x22316c9 gimplify_body(tree_node*, bool) /home/vegard/git/gcc/gcc/gimplify.c:12635 0x2233a20 gimplify_function_tree(tree_node*) /home/vegard/git/gcc/gcc/gimplify.c:12800 0x199ff87 cgraph_node::analyze() /home/vegard/git/gcc/gcc/cgraphunit.c:670 0x19b305b analyze_functions /home/vegard/git/gcc/gcc/cgraphunit.c:1131 0x19b7d71 symbol_table::finalize_compilation_unit() /home/vegard/git/gcc/gcc/cgraphunit.c:2691 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). 7.3.0 fails more gracefully with: : In function 'void a(int)': :2:37: warning: matching constraint does not allow a register asm("" : "=3Dm" (b) : "0" (({ ; }))); ^ :2:37: warning: matching constraint does not allow a register :2:37: error: memory input 1 is not directly addressable Compiler returned: 1 Test case was minimised by C-Reduce. >>From gcc-bugs-return-596312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 07:34:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17385 invoked by alias); 6 Mar 2018 07:34: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 17352 invoked by uid 48); 6 Mar 2018 07:34:25 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84729] New: internal compiler error: verify_gimple failed Date: Tue, 06 Mar 2018 07:34: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00900.txt.bz2 Content-length: 1668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84729 Bug ID: 84729 Summary: internal compiler error: verify_gimple failed Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: typedef int b[2]; void a() { new b(a); } Output: $ xgcc -x c++ -S -std=3Dc++14 -fpermissive -fno-toplevel-reorder - : In function 'void a()': :4:10: warning: parenthesized initializer in array new [-fpermissive] :3:6: error: non-trivial conversion at assignment int void (void) *D.2125 =3D a.1_1; :3:6: internal compiler error: verify_gimple failed 0x32b4a77 verify_gimple_in_seq(gimple*) /home/vegard/git/gcc/gcc/tree-cfg.c:5247 0x2232b54 gimplify_body(tree_node*, bool) /home/vegard/git/gcc/gcc/gimplify.c:12710 0x2233a20 gimplify_function_tree(tree_node*) /home/vegard/git/gcc/gcc/gimplify.c:12800 0x199ff87 cgraph_node::analyze() /home/vegard/git/gcc/gcc/cgraphunit.c:670 0x19b305b analyze_functions /home/vegard/git/gcc/gcc/cgraphunit.c:1131 0x19b7d71 symbol_table::finalize_compilation_unit() /home/vegard/git/gcc/gcc/cgraphunit.c:2691 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). Seems to have appeared between 4.6.4 and 4.7.1. Test case was minimised by C-Reduce. >>From gcc-bugs-return-596313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 07:37:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19031 invoked by alias); 6 Mar 2018 07:37: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 18990 invoked by uid 48); 6 Mar 2018 07:36:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84687] [8 Regression] error: invalid conversion in gimple call with -O3 and -ffast-math Date: Tue, 06 Mar 2018 07: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00901.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84687 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-596314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 07:51:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51346 invoked by alias); 6 Mar 2018 07:51: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 51287 invoked by uid 48); 6 Mar 2018 07:51:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 07: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: 8.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00902.txt.bz2 Content-length: 2218 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |jakub at gcc dot gnu.org, | |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- This is on try_combine with i3: (insn 21 20 22 2 (set (reg:SI 109) (const_int 0 [0])) "pr84710.c":8 679 {*aarch64_lshr_sisd_or_int_si3} (expr_list:REG_DEAD (reg:SI 108) (nil))) i2: (insn 20 19 21 2 (set (reg:SI 108) (zero_extend:SI (subreg:HI (reg:SI 106) 0))) "pr84710.c":8 89 {*zero_extendhisi2_aarch64} (nil)) i1: (insn 19 18 20 2 (set (subreg:HI (reg:SI 106) 0) (const_int 0 [0])) "pr84710.c":8 45 {*movhi_aarch64} (nil)) and on: 4286 /* It can only be a SET of a REG or of a paradoxical SUBREG o= f a REG. */ 4287 x =3D SET_DEST (x); 4288 if (paradoxical_subreg_p (x)) 4289 x =3D SUBREG_REG (x); 4290=20=20=20=20 4291 unsigned int regno =3D REGNO (x); x is: (subreg:HI (reg:SI 106) 0) rtl.texi documents the behavior of SUBREGs as lvalues not just for paradoxi= cal SUBREGs, but also for normal SUBREGs. So, we have a proof that the paradoxical_subreg_p guard is insufficient. I'd go with: --- gcc/combine.c.jj 2018-03-05 23:13:26.478215559 +0100 +++ gcc/combine.c 2018-03-06 08:50:17.756288841 +0100 @@ -4283,9 +4283,9 @@ try_combine (rtx_insn *i3, rtx_insn *i2, if (GET_CODE (x) =3D=3D PARALLEL) x =3D XVECEXP (newi2pat, 0, 0); - /* It can only be a SET of a REG or of a paradoxical SUBREG of a REG= .=20 */ + /* It can only be a SET of a REG or of a SUBREG of a REG. */ x =3D SET_DEST (x); - if (paradoxical_subreg_p (x)) + if (SUBREG_P (x)) x =3D SUBREG_REG (x); unsigned int regno =3D REGNO (x); (until proven otherwise). >>From gcc-bugs-return-596315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:01:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73422 invoked by alias); 6 Mar 2018 08:01: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 67276 invoked by uid 48); 6 Mar 2018 08:00:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 08:01: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: 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg00903.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 43572 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43572&action=3Dedit gcc8-pr84710.patch Full untested patch. >>From gcc-bugs-return-596316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:13:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96880 invoked by alias); 6 Mar 2018 08:13: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 96376 invoked by uid 48); 6 Mar 2018 08:13:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84281] Heap grows indefinitely Date: Tue, 06 Mar 2018 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: 7.3.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code, memory-hog 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: 2018-03/txt/msg00904.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84281 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Richard Biener --- As said, fixed. >>From gcc-bugs-return-596317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:31:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43272 invoked by alias); 6 Mar 2018 08:31: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 42433 invoked by uid 48); 6 Mar 2018 08:31:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Tue, 06 Mar 2018 08: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: 7.3.0 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: --- 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: 2018-03/txt/msg00905.txt.bz2 Content-length: 1885 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #9 from Richard Biener --- So with 2 bytes we get .L3: movzwl (%rax), %edx addq $3, %rax movw %dx, 8(%rsp) movq 8(%rsp), %rdx imulq %rcx, %rdx shrq $48, %rdx addq %rdx, %rsi cmpq %rdi, %rax jne .L3 while with 3 bytes we see .L3: movzwl (%rax), %edx addq $3, %rax movw %dx, 8(%rsp) movzbl -1(%rax), %edx movb %dl, 10(%rsp) movq 8(%rsp), %rdx imulq %rcx, %rdx shrq $48, %rdx addq %rdx, %rsi cmpq %rdi, %rax jne .L3 while clang outputs .LBB0_3: # =3D>This Inner Loop Header: Depth= =3D1 movzwl (%r14,%rcx), %edx movzbl 2(%r14,%rcx), %edi shlq $16, %rdi orq %rdx, %rdi andq $-16777216, %rbx # imm =3D 0xFFFFFFFFFF000000 orq %rdi, %rbx movq %rbx, %rdx imulq %rax, %rdx shrq $48, %rdx addq %rdx, %rsi addq $3, %rcx cmpq $999999992, %rcx # imm =3D 0x3B9AC9F8 jb .LBB0_3 that _looks_ slower. Are you sure performance isn't dominated by the first init loop (both GCC and clang vectorize it). I notice we spill in the above loop for the bitfield insert where clang uses register operations. We refuse to inline the memcpy at the GIMPLE level and further refuse to optimzie it to a BIT_INSERT_EXPR which would be a possibility. >>From gcc-bugs-return-596319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:32:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73215 invoked by alias); 6 Mar 2018 08:32: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 73123 invoked by uid 48); 6 Mar 2018 08:32:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Date: Tue, 06 Mar 2018 08: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: 8.0 X-Bugzilla-Keywords: 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00907.txt.bz2 Content-length: 367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84721 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 CC| |aoliva at gcc dot gnu.org >>From gcc-bugs-return-596318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:32:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72166 invoked by alias); 6 Mar 2018 08:32: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 72110 invoked by uid 48); 6 Mar 2018 08:32:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84720] [7/8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472 Date: Tue, 06 Mar 2018 08: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: 8.0.1 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority 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: 2018-03/txt/msg00906.txt.bz2 Content-length: 922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84720 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P2 Target Milestone|--- |7.4 Summary|internal compiler error: |[7/8 Regression] internal |tree check: expected tree |compiler error: tree check: |that contains 'decl |expected tree that contains |minimal' structure, have |'decl minimal' structure, |'error_mark' in |have 'error_mark' in |decl_anon_ns_mem_p, at |decl_anon_ns_mem_p, at |cp/tree.c:3472 |cp/tree.c:3472 >>From gcc-bugs-return-596321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:33:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74887 invoked by alias); 6 Mar 2018 08:33: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 74792 invoked by uid 48); 6 Mar 2018 08:33:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Date: Tue, 06 Mar 2018 08:33: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.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00909.txt.bz2 Content-length: 405 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84723 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Component|c |middle-end Target Milestone|--- |8.0 >>From gcc-bugs-return-596320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:33:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74081 invoked by alias); 6 Mar 2018 08:33: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 74047 invoked by uid 48); 6 Mar 2018 08:33:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84722] [8 Regression] ICE in create_dispatcher_calls, at multiple_target.c:147 Date: Tue, 06 Mar 2018 08:33: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.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget priority 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: 2018-03/txt/msg00908.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84722 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* i?86-*-* Priority|P3 |P1 Component|c |middle-end Target Milestone|--- |8.0 >>From gcc-bugs-return-596322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:36:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76760 invoked by alias); 6 Mar 2018 08:36: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 76709 invoked by uid 48); 6 Mar 2018 08:36:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84724] [7/8 Regression] internal compiler error: in single_succ_edge, at basic-block.h:339 with a declaration of __builtin_trap Date: Tue, 06 Mar 2018 08:36: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.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00910.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84724 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |7.4 --- Comment #2 from Richard Biener --- Yeah. Or rather the FEs shouldn't clobber the builtin decls (_not_ merge i= nto them) so that when the ME looks up decls for them they never pick up user decls. Similar issues for builtin folding if the folded-to builtin is misdeclared. >>From gcc-bugs-return-596323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:38:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79095 invoked by alias); 6 Mar 2018 08:38: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 79034 invoked by uid 48); 6 Mar 2018 08:38:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84727] [8 regression] Constant class initialization not detected as such Date: Tue, 06 Mar 2018 08: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: 8.0.1 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-03/txt/msg00911.txt.bz2 Content-length: 356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84727 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Target Milestone|--- |8.0 >>From gcc-bugs-return-596324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:43:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81979 invoked by alias); 6 Mar 2018 08:43: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 81915 invoked by uid 48); 6 Mar 2018 08:43:20 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84727] [8 regression] Constant class initialization not detected as such Date: Tue, 06 Mar 2018 08:43: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.1 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00912.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84727 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from Marek Polacek --- Yeah, already fixed by my r258116. >>From gcc-bugs-return-596325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:44:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85313 invoked by alias); 6 Mar 2018 08: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 82825 invoked by uid 48); 6 Mar 2018 08:43:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84722] [8 Regression] ICE in create_dispatcher_calls, at multiple_target.c:147 Date: Tue, 06 Mar 2018 08:44: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work 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: 2018-03/txt/msg00913.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84722 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-03-06 CC| |marxin at gcc dot gnu.org Known to work| |7.3.0 Ever confirmed|0 |1 Known to fail| |8.0 --- Comment #1 from Martin Li=C5=A1ka --- Started with r249365, thus mine. >>From gcc-bugs-return-596326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:46:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98828 invoked by alias); 6 Mar 2018 08:46: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 98786 invoked by uid 48); 6 Mar 2018 08:46:13 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84729] internal compiler error: verify_gimple failed Date: Tue, 06 Mar 2018 08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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 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: 2018-03/txt/msg00914.txt.bz2 Content-length: 587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84729 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, started with GCC 4.7.0. >>From gcc-bugs-return-596327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:47:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99935 invoked by alias); 6 Mar 2018 08:47: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 99896 invoked by uid 48); 6 Mar 2018 08:47:10 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Tue, 06 Mar 2018 08: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: 2018-03/txt/msg00915.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 --- Comment #10 from Marc Glisse --- (In reply to Richard Biener from comment #9) > So with 2 bytes we get Try 3 bytes (the worst case). > Are you sure performance isn't dominated by the > first init loop (both GCC and clang vectorize it). Replacing memcpy(,,block) with memcpy(,,8) (the next line masks the other b= ytes anyway) gained a factor 8 in running time, when I tried the other day. >>From gcc-bugs-return-596329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:50:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105234 invoked by alias); 6 Mar 2018 08:50: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 104322 invoked by uid 48); 6 Mar 2018 08:50:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84729] [6/7/8 Regression] internal compiler error: verify_gimple failed Date: Tue, 06 Mar 2018 08:50: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.1 X-Bugzilla-Keywords: ice-on-invalid-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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-03/txt/msg00917.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84729 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |6.5 Summary|internal compiler error: |[6/7/8 Regression] internal |verify_gimple failed |compiler error: | |verify_gimple failed >>From gcc-bugs-return-596328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:50:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103306 invoked by alias); 6 Mar 2018 08:50: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 103181 invoked by uid 48); 6 Mar 2018 08:50:14 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84729] internal compiler error: verify_gimple failed Date: Tue, 06 Mar 2018 08:50: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.1 X-Bugzilla-Keywords: ice-on-invalid-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: --- 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: 2018-03/txt/msg00916.txt.bz2 Content-length: 153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84729 --- Comment #2 from Marek Polacek --- Probably started with r175674. >>From gcc-bugs-return-596330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:51:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120771 invoked by alias); 6 Mar 2018 08:51: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 115738 invoked by uid 48); 6 Mar 2018 08:51:11 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84720] [7/8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472 Date: Tue, 06 Mar 2018 08: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: 8.0.1 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work 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: 2018-03/txt/msg00918.txt.bz2 Content-length: 764 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84720 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org Known to work| |6.4.0 Ever confirmed|0 |1 Known to fail| |7.3.0, 8.0 --- Comment #1 from Martin Li=C5=A1ka --- Started with r241425. >>From gcc-bugs-return-596331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 08:52:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62948 invoked by alias); 6 Mar 2018 08:52: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 62790 invoked by uid 48); 6 Mar 2018 08:52:38 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84728] internal compiler error: Segmentation fault (is_gimple_variable()) Date: Tue, 06 Mar 2018 08:52: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.1 X-Bugzilla-Keywords: ice-on-invalid-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 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: 2018-03/txt/msg00919.txt.bz2 Content-length: 600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84728 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, all releases I have do ICE (4.6.0+). >>From gcc-bugs-return-596332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 09:23:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24596 invoked by alias); 6 Mar 2018 09:23: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 24312 invoked by uid 48); 6 Mar 2018 09:23:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83325] Compile time hog w/ -Os -fwrapv Date: Tue, 06 Mar 2018 09: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: 7.3.1 X-Bugzilla-Keywords: compile-time-hog 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: cf_gcctarget cf_reconfirmed_on version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00920.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83325 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc-linux |x86_64-*-* Last reconfirmed|2017-12-08 00:00:00 |2018-3-6 Version|8.0 |7.3.1 --- Comment #3 from Richard Biener --- Re-confirmed on the GCC 7 branch for x86_64-linux, on trunk powerpc it no longer reproduces. I will try to isolate a GIMPLE testcase now... >>From gcc-bugs-return-596333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 09:26:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83571 invoked by alias); 6 Mar 2018 09:26: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 33879 invoked by uid 55); 6 Mar 2018 09:24:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84683] [6/7/8 Regression] internal compiler error: in move_for_stack_reg, at reg-stack.c:1173 Date: Tue, 06 Mar 2018 09:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.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: 2018-03/txt/msg00921.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84683 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Mar 6 09:23:36 2018 New Revision: 258273 URL: https://gcc.gnu.org/viewcvs?rev=3D258273&root=3Dgcc&view=3Drev Log: PR inline-asm/84683 * reg-stack.c (move_for_stack_reg): If any_malformed_asm, avoid assertion failure. * g++.dg/ext/pr84683.C: New test. Added: trunk/gcc/testsuite/g++.dg/ext/pr84683.C Modified: trunk/gcc/ChangeLog trunk/gcc/reg-stack.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 09:43:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44049 invoked by alias); 6 Mar 2018 09:43: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 43978 invoked by uid 48); 6 Mar 2018 09:43:15 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 09: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: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00922.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #3 from Segher Boessenkool --- Well, yuck, I missed that part of rtl.texi (or somehow I thought this RTL w= ould be refused earlier). Please use reg_or_subregno in the patch though? >>From gcc-bugs-return-596335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 09:54:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93065 invoked by alias); 6 Mar 2018 09:54: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 92972 invoked by uid 48); 6 Mar 2018 09:54:41 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 09: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: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00923.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #4 from Segher Boessenkool --- The testcase does not crash for me; does it need more non-default options? The testcase has UB of course (d is undefined). >>From gcc-bugs-return-596336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 09:59:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95963 invoked by alias); 6 Mar 2018 09:59: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 95878 invoked by uid 48); 6 Mar 2018 09:59:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 09:59: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: 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00924.txt.bz2 Content-length: 1323 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #5 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #4) > The testcase does not crash for me; does it need more non-default options? >=20 > The testcase has UB of course (d is undefined). The compiler needs to be configured with --enable-checking=3Dyes,rtl . --- gcc/combine.c.jj 2018-03-05 23:13:26.478215559 +0100 +++ gcc/combine.c 2018-03-06 08:50:17.756288841 +0100 @@ -4283,12 +4283,8 @@ try_combine (rtx_insn *i3, rtx_insn *i2, if (GET_CODE (x) =3D=3D PARALLEL) x =3D XVECEXP (newi2pat, 0, 0); - /* It can only be a SET of a REG or of a paradoxical SUBREG of a REG= .=20 */ - x =3D SET_DEST (x); - if (paradoxical_subreg_p (x)) - x =3D SUBREG_REG (x); - - unsigned int regno =3D REGNO (x); + /* It can only be a SET of a REG or of a SUBREG of a REG. */ + unsigned int regno =3D reg_or_subregno (SET_DEST (x)); bool done =3D false; for (rtx_insn *insn =3D NEXT_INSN (i3); is the combine.c part I'll be testing. And, the testcase is dg-do compile only, so it doesn't matter if there is UB in it or not, we shouldn't ICE on it (a= nd yes, my attempts to get rid of the uninit use just resulted in the ICE no longer happening). >>From gcc-bugs-return-596339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:02:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99659 invoked by alias); 6 Mar 2018 10:02: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 99444 invoked by uid 55); 6 Mar 2018 10:02:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84607] [6/7 Regression] Side effects discarded in address computation inside 'if' Date: Tue, 06 Mar 2018 10: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: 7.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00927.txt.bz2 Content-length: 1232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84607 --- Comment #5 from Richard Biener --- Author: rguenth Date: Tue Mar 6 10:01:52 2018 New Revision: 258274 URL: https://gcc.gnu.org/viewcvs?rev=3D258274&root=3Dgcc&view=3Drev Log: 2018-03-06 Richard Biener Backport from mainline 2018-03-05 Richard Biener PR tree-optimization/84486 * tree-ssa-pre.c (create_expression_by_pieces): Remove dead code. When inserting a __builtin_assume_aligned call set the LHS SSA name alignment info accordingly. 2018-02-28 Richard Biener PR middle-end/84607 * genmatch.c (capture_info::walk_match): Do not mark captured expressions without operands as expr_p given they act more like predicates and should be subject to "lost tail" side-effect preserving. * gcc.dg/pr84607.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84607.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/genmatch.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/tree-ssa-pre.c >>From gcc-bugs-return-596338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:02:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99558 invoked by alias); 6 Mar 2018 10:02: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 99447 invoked by uid 55); 6 Mar 2018 10:02:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84486] [7 Regression] code hoisting removes alignment assumption Date: Tue, 06 Mar 2018 10: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: 7.3.1 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: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00926.txt.bz2 Content-length: 1232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84486 --- Comment #6 from Richard Biener --- Author: rguenth Date: Tue Mar 6 10:01:52 2018 New Revision: 258274 URL: https://gcc.gnu.org/viewcvs?rev=3D258274&root=3Dgcc&view=3Drev Log: 2018-03-06 Richard Biener Backport from mainline 2018-03-05 Richard Biener PR tree-optimization/84486 * tree-ssa-pre.c (create_expression_by_pieces): Remove dead code. When inserting a __builtin_assume_aligned call set the LHS SSA name alignment info accordingly. 2018-02-28 Richard Biener PR middle-end/84607 * genmatch.c (capture_info::walk_match): Do not mark captured expressions without operands as expr_p given they act more like predicates and should be subject to "lost tail" side-effect preserving. * gcc.dg/pr84607.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84607.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/genmatch.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/tree-ssa-pre.c >>From gcc-bugs-return-596337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:02:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98676 invoked by alias); 6 Mar 2018 10: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 98618 invoked by uid 48); 6 Mar 2018 10:02:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Date: Tue, 06 Mar 2018 10: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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00925.txt.bz2 Content-length: 573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84721 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- The C FE uses building_stmt_list_p predicate in multiple spots, and that doesn't really work well if we've already pushed a DEBUG_BEGIN_STMT into so= me STATEMENT_LIST. I have an untested patch. >>From gcc-bugs-return-596340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:03:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13405 invoked by alias); 6 Mar 2018 10:03: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 10343 invoked by uid 48); 6 Mar 2018 10:03:42 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 10:03: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: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00928.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #6 from Zdenek Sojka --- (In reply to Segher Boessenkool from comment #4) > The testcase has UB of course (d is undefined). The original testcase had defined behavior. The uninitialized use is the re= sult of delta/creduce reduction. There was an ICE with the unreduced testcase as well. >>From gcc-bugs-return-596341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:06:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31130 invoked by alias); 6 Mar 2018 10:06: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 31047 invoked by uid 48); 6 Mar 2018 10:06:44 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 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: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00929.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #7 from Zdenek Sojka --- Created attachment 43573 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43573&action=3Dedit original testcase Unreduced testcase; needs additional -fkeep-inline-functions: $ aarch64-unknown-linux-gnu-gcc -O -fno-forward-propagate -fkeep-inline-functions xxx.c -w during RTL pass: combine xxx.c: In function 'bar2': xxx.c:81:1: internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 } ... >>From gcc-bugs-return-596342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:09:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43783 invoked by alias); 6 Mar 2018 10:09: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 43721 invoked by uid 48); 6 Mar 2018 10:09:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Date: Tue, 06 Mar 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg00930.txt.bz2 Content-length: 784 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84721 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Created attachment 43574 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43574&action=3Dedit gcc8-pr84721.patch Untested fix. Besides fixing this PR, I think it is plain wrong to add the DEBUG_BEGIN_STMTs somewhere at the file scope, they are necessarily tied to functions, so it makes only sense to emit them inside of functions. >>From gcc-bugs-return-596343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:11:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84666 invoked by alias); 6 Mar 2018 10:11: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 79583 invoked by uid 48); 6 Mar 2018 10:11:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84486] [7 Regression] code hoisting removes alignment assumption Date: Tue, 06 Mar 2018 10: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: 7.3.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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.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: 2018-03/txt/msg00931.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84486 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Richard Biener --- Fixed. >>From gcc-bugs-return-596344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:18:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99844 invoked by alias); 6 Mar 2018 10: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 99784 invoked by uid 48); 6 Mar 2018 10:18:19 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 10: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: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00932.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #8 from Segher Boessenkool --- Ah right, I had checking disabled. Need more coffee I guess. The insns I see are different: Trying 19, 20 -> 21: 19: r106:SI#0=3D0 20: r108:SI=3Dzero_extend(r106:SI#0) 21: r109:SI=3Dr108:SI 0>>0x8 REG_DEAD r108:SI (see insn 20); maybe the i3 in #c1 is already modified? The #c5 patch is okay for trunk, thanks! >>From gcc-bugs-return-596345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:23:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8242 invoked by alias); 6 Mar 2018 10:23: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 8171 invoked by uid 48); 6 Mar 2018 10:23:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 10: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: 8.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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00933.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #9 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #8) > Ah right, I had checking disabled. Need more coffee I guess. You don't really need to build the checking compiler for this though, it is enough to put a breakpoint on that REGNO (x) line and debug_rtx (x) first. > The insns I see are different: >=20 > Trying 19, 20 -> 21: > 19: r106:SI#0=3D0 > 20: r108:SI=3Dzero_extend(r106:SI#0) > 21: r109:SI=3Dr108:SI 0>>0x8 > REG_DEAD r108:SI >=20 > (see insn 20); maybe the i3 in #c1 is already modified? Likely, yes. I've just done up and debug_rtx on the 3 insns passed to try_combine. > The #c5 patch is okay for trunk, thanks! Thanks. >>From gcc-bugs-return-596346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:25:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14943 invoked by alias); 6 Mar 2018 10: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 14891 invoked by uid 48); 6 Mar 2018 10:25:23 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Date: Tue, 06 Mar 2018 10:25: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.0 X-Bugzilla-Keywords: 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg00934.txt.bz2 Content-length: 911 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84723 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- There are other reasons why versioning is forbidden, e.g. __attribute__((target_clones ("avx", "default"))) void foo (void) { static void *p =3D &&lab; asm volatile ("" : "+m" (p) : : "memory"); lab:; } and __attribute__((target_clones ("avx", "default"))) int foo (int x) { __label__ lab; __attribute__((noinline)) void bar () { goto lab; } if (x =3D=3D 5) bar (); x++; lab:; return x; } ICE too, even when they don't have any extra attributes. So the target clo= nes code needs to cope with those in any case. >>From gcc-bugs-return-596347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:35:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86926 invoked by alias); 6 Mar 2018 10:35: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 86887 invoked by uid 48); 6 Mar 2018 10:35:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83325] Compile time hog w/ -Os -fwrapv Date: Tue, 06 Mar 2018 10: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: 7.3.1 X-Bugzilla-Keywords: compile-time-hog 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: 2018-03/txt/msg00935.txt.bz2 Content-length: 3617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83325 --- Comment #4 from Richard Biener --- Got distracted by analysis... we don't do anything "wrong" but hit the late= nt issue that we're allowing x_1 -> y_3 lattice transitions. Those are unfortunately required by the redundant IV removal testcases tree-ssa/pr19590.c and tree-ssa/ssa-sccvn-{1,2,4}.c who all are very simila= r. Index: gcc/tree-ssa-sccvn.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/tree-ssa-sccvn.c (revision 258272) +++ gcc/tree-ssa-sccvn.c (working copy) @@ -3283,6 +3283,20 @@ set_ssa_val_to (tree from, tree to) && (to =3D=3D from || SSA_VAL (to) =3D=3D to)) || is_gimple_min_invariant (to))); + bool changed =3D false; + if (currval !=3D to + && !operand_equal_p (currval, to, 0) + /* ??? For addresses involving volatile objects or types operand_equal_p + does not reliably detect ADDR_EXPRs as equal. We know we are only + getting invariant gimple addresses here, so can use + get_addr_base_and_unit_offset to do this comparison. */ + && !(TREE_CODE (currval) =3D=3D ADDR_EXPR + && TREE_CODE (to) =3D=3D ADDR_EXPR + && (get_addr_base_and_unit_offset (TREE_OPERAND (currval, 0), &c= off) + =3D=3D get_addr_base_and_unit_offset (TREE_OPERAND (to, 0), = &toff)) + && coff =3D=3D toff)) + changed =3D true; + if (from !=3D to) { if (currval =3D=3D from) @@ -3297,9 +3311,10 @@ set_ssa_val_to (tree from, tree to) } return false; } - else if (currval !=3D VN_TOP - && ! is_gimple_min_invariant (currval) - && is_gimple_min_invariant (to)) + else if (changed + && currval !=3D VN_TOP + && !(is_gimple_min_invariant (currval) + && !is_gimple_min_invariant (to))) { if (dump_file && (dump_flags & TDF_DETAILS)) { @@ -3308,9 +3323,9 @@ set_ssa_val_to (tree from, tree to) print_generic_expr (dump_file, from, 0); fprintf (dump_file, " from "); print_generic_expr (dump_file, currval, 0); - fprintf (dump_file, " (non-constant) to "); + fprintf (dump_file, " to "); print_generic_expr (dump_file, to, 0); - fprintf (dump_file, " (constant)\n"); + fprintf (dump_file, "\n"); } to =3D from; } @@ -3327,17 +3342,7 @@ set_ssa_val_to (tree from, tree to) print_generic_expr (dump_file, to, 0); } - if (currval !=3D to - && !operand_equal_p (currval, to, 0) - /* ??? For addresses involving volatile objects or types operand_equal_p - does not reliably detect ADDR_EXPRs as equal. We know we are only - getting invariant gimple addresses here, so can use - get_addr_base_and_unit_offset to do this comparison. */ - && !(TREE_CODE (currval) =3D=3D ADDR_EXPR - && TREE_CODE (to) =3D=3D ADDR_EXPR - && (get_addr_base_and_unit_offset (TREE_OPERAND (currval, 0), &c= off) - =3D=3D get_addr_base_and_unit_offset (TREE_OPERAND (to, 0), = &toff)) - && coff =3D=3D toff)) + if (changed) { /* If we equate two SSA names we have to make the side-band info of the leader conservative (and remember whatever original value >>From gcc-bugs-return-596348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:43:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102646 invoked by alias); 6 Mar 2018 10:43: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 102615 invoked by uid 48); 6 Mar 2018 10:43:35 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84730] New: internal compiler error: Segmentation fault (build_class_member_access_expr) Date: Tue, 06 Mar 2018 10:43: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00936.txt.bz2 Content-length: 3343 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84730 Bug ID: 84730 Summary: internal compiler error: Segmentation fault (build_class_member_access_expr) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: struct { int a; struct { int b =3D decltype(b); int a; }; }; Output: $ xgcc -x c++ -S - :5:9: error: 'int ::::a' conflicts w= ith a previous declaration :2:7: note: previous declaration 'int ::a' :4:22: internal compiler error: Segmentation fault 0x3152ce9 crash_signal /home/vegard/git/gcc/gcc/toplev.c:325 0x1409270 build_class_member_access_expr(cp_expr, tree_node*, tree_node*, b= ool, int) /home/vegard/git/gcc/gcc/cp/typeck.c:2408 0x140a55a build_class_member_access_expr(cp_expr, tree_node*, tree_node*, b= ool, int) /home/vegard/git/gcc/gcc/cp/typeck.c:2501 0x12a9da1 finish_non_static_data_member(tree_node*, tree_node*, tree_node*) /home/vegard/git/gcc/gcc/cp/semantics.c:1860 0x12aec62 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_ki= nd*, bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int) /home/vegard/git/gcc/gcc/cp/semantics.c:3726 0xf7b055 cp_parser_decltype_expr /home/vegard/git/gcc/gcc/cp/parser.c:14001 0xf7b055 cp_parser_decltype /home/vegard/git/gcc/gcc/cp/parser.c:14135 0xf2db37 cp_parser_simple_type_specifier /home/vegard/git/gcc/gcc/cp/parser.c:17065 0xf76736 cp_parser_postfix_expression /home/vegard/git/gcc/gcc/cp/parser.c:6951 0xf2a4b7 cp_parser_unary_expression /home/vegard/git/gcc/gcc/cp/parser.c:8322 0xebfeca cp_parser_cast_expression /home/vegard/git/gcc/gcc/cp/parser.c:9090 0xec24f6 cp_parser_binary_expression /home/vegard/git/gcc/gcc/cp/parser.c:9191 0xec62ca cp_parser_assignment_expression /home/vegard/git/gcc/gcc/cp/parser.c:9486 0xecc0a3 cp_parser_constant_expression /home/vegard/git/gcc/gcc/cp/parser.c:9770 0xed334e cp_parser_initializer_clause /home/vegard/git/gcc/gcc/cp/parser.c:21916 0xedc293 cp_parser_initializer /home/vegard/git/gcc/gcc/cp/parser.c:21856 0xedc4d1 cp_parser_late_parse_one_default_arg /home/vegard/git/gcc/gcc/cp/parser.c:27761 0xf15be0 cp_parser_late_parsing_nsdmi /home/vegard/git/gcc/gcc/cp/parser.c:27813 0xf15be0 cp_parser_class_specifier_1 /home/vegard/git/gcc/gcc/cp/parser.c:22715 0xf231cb cp_parser_class_specifier /home/vegard/git/gcc/gcc/cp/parser.c:22768 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). 7.3.0 gives: :5:9: error: redeclaration of 'int ::::a' int a; ^ :2:7: note: previous declaration 'int ::a' int a; ^ :4: confused by earlier errors, bailing out Compiler returned: 1 Test case was minimised by C-Reduce. >>From gcc-bugs-return-596349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 10:48:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14767 invoked by alias); 6 Mar 2018 10:48: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 14643 invoked by uid 48); 6 Mar 2018 10:48:26 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84730] internal compiler error: Segmentation fault (build_class_member_access_expr) Date: Tue, 06 Mar 2018 10: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: --- 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: 2018-03/txt/msg00937.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84730 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed, even 4.7 ICEs. >>From gcc-bugs-return-596350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:10:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8375 invoked by alias); 6 Mar 2018 11:10: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 8316 invoked by uid 48); 6 Mar 2018 11:10:40 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/71572] ICE with VLA and "+g" inline-asm in force_constant_size, at gimplify.c:671 Date: Tue, 06 Mar 2018 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg00938.txt.bz2 Content-length: 618 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71572 Vegard Nossum changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vegard.nossum at gmail dot= com --- Comment #3 from Vegard Nossum --- FWIW this still ICEs on latest trunk (r258271) for me. It also reproduces u= sing "+r" instead of "+g". An alternative test case (which is admittedly invalid code) is: void f() { int a[0 / 0]; asm("" : "+r" (a)); } >>From gcc-bugs-return-596351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:12:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90249 invoked by alias); 6 Mar 2018 11: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 81181 invoked by uid 48); 6 Mar 2018 11:12:30 -0000 From: "stsp at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/84731] New: -Bsymbolic switch ignored Date: Tue, 06 Mar 2018 11:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stsp at users dot sourceforge.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: 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: 2018-03/txt/msg00939.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84731 Bug ID: 84731 Summary: -Bsymbolic switch ignored Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: stsp at users dot sourceforge.net Target Milestone: --- -Bsymbolic option is ignored by gcc. -Wl,-Bsymbolic works correctly. -Bsymbolic should either be rejected, or passed to the linker, but not ignored. >>From gcc-bugs-return-596352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:18:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16198 invoked by alias); 6 Mar 2018 11:18: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 16131 invoked by uid 48); 6 Mar 2018 11:18:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Date: Tue, 06 Mar 2018 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: 8.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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg00940.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84723 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Created attachment 43575 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43575&action=3Dedit gcc8-pr84723.patch Untested fix. >>From gcc-bugs-return-596353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:19:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17198 invoked by alias); 6 Mar 2018 11:19: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 17138 invoked by uid 48); 6 Mar 2018 11:19:00 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/84731] -Bsymbolic switch ignored Date: Tue, 06 Mar 2018 11:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: 2018-03/txt/msg00941.txt.bz2 Content-length: 535 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84731 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andreas Schwab --- It is not ignored, it has a differnt meaning. -B Add to the compiler's search paths >>From gcc-bugs-return-596354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:21:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19294 invoked by alias); 6 Mar 2018 11:21: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 19255 invoked by uid 48); 6 Mar 2018 11:21:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84683] [6/7 Regression] internal compiler error: in move_for_stack_reg, at reg-stack.c:1173 Date: Tue, 06 Mar 2018 11:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.5 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: 2018-03/txt/msg00942.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84683 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7/8 Regression] internal |[6/7 Regression] internal |compiler error: in |compiler error: in |move_for_stack_reg, at |move_for_stack_reg, at |reg-stack.c:1173 |reg-stack.c:1173 --- Comment #4 from Jakub Jelinek --- Fixed for 8.1+ so far. >>From gcc-bugs-return-596355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:25:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24902 invoked by alias); 6 Mar 2018 11:25: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 24774 invoked by uid 48); 6 Mar 2018 11:25:02 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71832] [7/8 Regression] ICE on invalid C++11 code with incorrect decltype use for non-type template parameter: Segmentation fault Date: Tue, 06 Mar 2018 11: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: 7.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00943.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71832 --- Comment #7 from Paolo Carlini --- Skipping completely the body works for this testcase, isn't that difficult = to do, but goes too far, the template completely disappears and we end up with= bad error recovery for anything referring to it afterwards. Probably, a better approximation would be skipping the *instantiations* of the body. >>From gcc-bugs-return-596356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:32:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39025 invoked by alias); 6 Mar 2018 11:32: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 38957 invoked by uid 48); 6 Mar 2018 11:32:51 -0000 From: "gpnuma at centaurean dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Tue, 06 Mar 2018 11: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gpnuma at centaurean 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: 2018-03/txt/msg00944.txt.bz2 Content-length: 3014 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 --- Comment #11 from gpnuma at centaurean dot com --- Yes it's not the init loop the problem. Just to make sure, with the followi= ng code : #include #include #include #include #include #include #include int main(int argc, char *argv[]) { const uint64_t size =3D 1000000000; const size_t alloc_mem =3D size * sizeof(uint8_t); uint8_t *mem =3D malloc(alloc_mem); // for (uint_fast64_t i =3D 0; i < size; i++) // mem[i] =3D (uint8_t) (i >> 7); uint_fast64_t counter =3D 0; uint64_t total =3D 0x123456789abcdefllu; uint64_t receiver =3D 0; printf("%u ...\n", 3); counter =3D 0; while (counter < size - 8) { __builtin_memcpy(&receiver, &mem[counter], 3); // receiver &=3D (0xffffffffffffffffllu >> (64 - ((3) << 3))); total +=3D ((receiver * 0x321654987cbafedllu) >> 48); counter +=3D 3; } printf("=3D> %llu\n", total); return EXIT_SUCCESS; } The result is (the calculated sum is unreliable since we do not init memory= ) : gcc 3 ... =3D> 81985529216486895 real 0m3.180s user 0m2.822s sys 0m0.328s clang time ./a.out 3 ... =3D> 81985529216486895 real 0m0.972s user 0m0.621s sys 0m0.338s Still 4x faster (In reply to Richard Biener from comment #9) > So with 2 bytes we get >=20 > .L3: > movzwl (%rax), %edx > addq $3, %rax > movw %dx, 8(%rsp) > movq 8(%rsp), %rdx > imulq %rcx, %rdx > shrq $48, %rdx > addq %rdx, %rsi > cmpq %rdi, %rax > jne .L3 >=20 > while with 3 bytes we see >=20 > .L3: > movzwl (%rax), %edx > addq $3, %rax > movw %dx, 8(%rsp) > movzbl -1(%rax), %edx > movb %dl, 10(%rsp) > movq 8(%rsp), %rdx > imulq %rcx, %rdx > shrq $48, %rdx > addq %rdx, %rsi > cmpq %rdi, %rax > jne .L3 >=20 > while clang outputs >=20 > .LBB0_3: # =3D>This Inner Loop Header: Dep= th=3D1 > movzwl (%r14,%rcx), %edx > movzbl 2(%r14,%rcx), %edi > shlq $16, %rdi > orq %rdx, %rdi > andq $-16777216, %rbx # imm =3D 0xFFFFFFFFFF000000 > orq %rdi, %rbx > movq %rbx, %rdx > imulq %rax, %rdx > shrq $48, %rdx > addq %rdx, %rsi > addq $3, %rcx > cmpq $999999992, %rcx # imm =3D 0x3B9AC9F8 > jb .LBB0_3 >=20 > that _looks_ slower. Are you sure performance isn't dominated by the > first init loop (both GCC and clang vectorize it). I notice we spill > in the above loop for the bitfield insert where clang uses register > operations. We refuse to inline the memcpy at the GIMPLE level > and further refuse to optimzie it to a BIT_INSERT_EXPR which would > be a possibility. >>From gcc-bugs-return-596357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:41:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45939 invoked by alias); 6 Mar 2018 11:41: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 45851 invoked by uid 48); 6 Mar 2018 11:41:51 -0000 From: "sudi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer Date: Tue, 06 Mar 2018 11: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sudi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg00945.txt.bz2 Content-length: 278 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 sudi at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >>From gcc-bugs-return-596358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 11:55:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68983 invoked by alias); 6 Mar 2018 11: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 67844 invoked by uid 48); 6 Mar 2018 11:55:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84724] [7/8 Regression] internal compiler error: in single_succ_edge, at basic-block.h:339 with a declaration of __builtin_trap Date: Tue, 06 Mar 2018 11: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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.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: 2018-03/txt/msg00946.txt.bz2 Content-length: 999 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84724 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- The C FE has quite a lot of code in this case, e.g. match_builtin_function_types, which the C++ FE doesn't seem to have, and in= deed the C FE leaves the __builtin_trap decl untouched after warning, while the = C++ FE changes it. The ICE in this case isn't caused by a mismatch between __builtin_trap () return type, but rather the lack of noreturn attribute on the new decl. Though I'm sure that redefining similar way many other builtins that GCC em= its on its own or expects a particular arguments or return types will cause many other ICEs. >>From gcc-bugs-return-596359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 12:19:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104067 invoked by alias); 6 Mar 2018 12:19: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 103987 invoked by uid 48); 6 Mar 2018 12:19:38 -0000 From: "arnd at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] New: false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Tue, 06 Mar 2018 12:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arnd at linaro 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 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: 2018-03/txt/msg00947.txt.bz2 Content-length: 2719 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 Bug ID: 84732 Summary: false-positive -Wstringop-truncation warning with -fsanitize-coverage=3Dtrace-pc Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: arnd at linaro dot org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxi= n at gcc dot gnu.org Target Milestone: --- Created attachment 43576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43576&action=3Dedit linux/drivers/staging/lustre/lnet/lnet/lib-socket.c, preprocessed, not redu= ced I ran into this warning for what looks like correct code in the linux kernel that we should not warn about: $ aarch64-linux-gcc-8.0.1 -fno-strict-aliasing -Wno-pointer-sign -fsanitize-coverage=3Dtrace-pc -Wall -O2 -c lib-socket.i In file included from /git/arm-soc/arch/arm64/include/asm/processor.h:37, from /git/arm-soc/arch/arm64/include/asm/spinlock.h:21, from /git/arm-soc/include/linux/spinlock.h:88, from /git/arm-soc/include/linux/wait.h:9, from /git/arm-soc/include/linux/net.h:23, from /git/arm-soc/drivers/staging/lustre/lnet/lnet/lib-socket.c:37: /git/arm-soc/drivers/staging/lustre/lnet/lnet/lib-socket.c: In function 'lnet_ipif_query': /git/arm-soc/include/linux/string.h:254:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /git/arm-soc/include/linux/string.h:254:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /git/arm-soc/include/linux/string.h:254:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ See https://elixir.bootlin.com/linux/v4.15/source/drivers/staging/lustre/lnet/l= net/lib-socket.c#L99 for the original source code. Without -fsanitize-coverage=3Dtrace-pc, the strlen() comparison is sufficient to avoid that warning, with fsanitize=3Dcoverage=3Dtrace-pc, that logic fails: if (strlen(name) > sizeof(ifr.ifr_name) - 1) return -E2BIG; strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); I can probably create a reduced test case if that helps. >>From gcc-bugs-return-596360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 12:25:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110949 invoked by alias); 6 Mar 2018 12:25: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 110762 invoked by uid 48); 6 Mar 2018 12:25:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Tue, 06 Mar 2018 12:25: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: 8.0.1 X-Bugzilla-Keywords: diagnostic 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 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: 2018-03/txt/msg00948.txt.bz2 Content-length: 586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-03-06 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 --- Let me take a look. >>From gcc-bugs-return-596361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 12:30:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33612 invoked by alias); 6 Mar 2018 12:30: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 33408 invoked by uid 48); 6 Mar 2018 12:30:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84720] [7/8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472 Date: Tue, 06 Mar 2018 12: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: 8.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00949.txt.bz2 Content-length: 767 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84720 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- clang++ accepts this. In tsubst_function_decl we set DECL_CONTEXT to error_mark_node as that is w= hat 12520 if (member && !closure) 12521 ctx =3D tsubst_aggr_type (ctx, args, 12522 complain, t, /*entering_scope=3D*/1); returns (complain is tf_none), returning error_mark_node here if ctx is error_mark_node doesn't help, it ICEs later on elsewhere. >>From gcc-bugs-return-596362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 12:42:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128453 invoked by alias); 6 Mar 2018 12:42: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 128391 invoked by uid 48); 6 Mar 2018 12:42:27 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/71832] [7/8 Regression] ICE on invalid C++11 code with incorrect decltype use for non-type template parameter: Segmentation fault Date: Tue, 06 Mar 2018 12: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: 7.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg00950.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71832 --- Comment #8 from Paolo Carlini --- Another idea - which appears to work great! - is skipping the bodies of the member function definitions. If everything goes well I'll send soon a draft patch. >>From gcc-bugs-return-596363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 12:48:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21930 invoked by alias); 6 Mar 2018 12:48: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 18828 invoked by uid 48); 6 Mar 2018 12:48:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84659] [8 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling Date: Tue, 06 Mar 2018 12:48: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: 8.0 X-Bugzilla-Keywords: 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: 8.0 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: 2018-03/txt/msg00951.txt.bz2 Content-length: 2656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84659 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |abel at gcc dot gnu.org, | |amonakov at gcc dot gnu.or= g, | |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- So, we have bb 5: (code_label 29 65 30 5 4 (nil) [1 uses]) (note 30 29 32 5 [bb 5] NOTE_INSN_BASIC_BLOCK) (insn 32 30 33 5 (set (mem:SI (reg/f:SI 125 [ _5 ]) [1 *_20+0 S4 A32]) (reg:SI 143)) "pr84659.c":7 503 {*movsi_internal1} (expr_list:REG_DEAD (reg:SI 143) (expr_list:REG_DEAD (reg/f:SI 125 [ _5 ]) (nil)))) (insn 33 32 34 5 (set (reg/f:SI 125 [ _5 ]) (mem/f:SI (reg/v/f:SI 129 [ x ]) [2 *x_10(D)+0 S4 A32])) "pr84659.c= ":4 503 {*movsi_internal1} (nil)) (insn 34 33 36 5 (set (reg:SI 126 [ _6 ]) (mem:SI (reg/f:SI 125 [ _5 ]) [1 *_5+0 S4 A32])) "pr84659.c":4 503 {*movsi_internal1} (nil)) (insn 36 34 64 5 (set (reg:CC 144) (compare:CC (reg:SI 126 [ _6 ]) (const_int 0 [0]))) "pr84659.c":4 774 {*cmpsi_signed} (nil)) (insn 64 36 37 5 (const_int -1 [0xffffffffffffffff]) "pr84659.c":7 -1 (nil)) (jump_insn 37 64 38 5 (set (pc) (if_then_else (le (reg:CC 144) (const_int 0 [0])) (label_ref:SI 29) (pc))) "pr84659.c":4 849 {*rs6000.md:12271} (expr_list:REG_DEAD (reg:CC 144) (int_list:REG_BR_PROB 955630228 (nil))) -> 29) with succs edges 5->5 and 5->6, and call compute_live_after_bb on that bb. This in turn does: 3073 IOR_REG_SET (lv, compute_live (sel_bb_head (e->dest))); where sel_bb_head is insn 32 above, but src is NULL there, BB_LV_SET_VALID_P (bb) is false and so is INSN_LIVE_VALID_P in all the insns (32, 34, 36, 64 = and 37). This means we: 3124 temp =3D NEXT_INSN (insn); 3125 final =3D NEXT_INSN (BB_END (bb)); 3126 while (temp !=3D final && ! INSN_LIVE_VALID_P (temp)) 3127 temp =3D NEXT_INSN (temp); 3128 if (temp =3D=3D final) 3129 { 3130 lv =3D compute_live_after_bb (bb); 3131 temp =3D PREV_INSN (temp); 3132 } temp =3D=3D final =3D=3D first insn of the following bb, and we recurse aga= in into compute_live_after_bb. >>From gcc-bugs-return-596364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 12:51:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53063 invoked by alias); 6 Mar 2018 12:51: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 50743 invoked by uid 48); 6 Mar 2018 12:51:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84659] [6/7/8 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling Date: Tue, 06 Mar 2018 12:51: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: 8.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00952.txt.bz2 Content-length: 736 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84659 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Summary|[8 Regression] ICE: |[6/7/8 Regression] ICE: |Segmentation fault (stack |Segmentation fault (stack |overflow in bb_note) w/ |overflow in bb_note) w/ |selective scheduling |selective scheduling --- Comment #2 from Jakub Jelinek --- Started with r211725 (though, that likely just made a latent sel-sched bug reproducible). >>From gcc-bugs-return-596365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 13:01:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5823 invoked by alias); 6 Mar 2018 13:01: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 1134 invoked by uid 48); 6 Mar 2018 13:00:54 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84114] global reassociation pass prevents fma usage, generates slower code Date: Tue, 06 Mar 2018 13: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: 8.0 X-Bugzilla-Keywords: missed-optimization 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: 2018-03/txt/msg00953.txt.bz2 Content-length: 1301 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84114 --- Comment #8 from Wilco --- (In reply to Steve Ellcey from comment #6) > (In reply to Wilco from comment #5) > > (In reply to Steve Ellcey from comment #4) > > > While teaching the reassociation pass about fma's seems like the right > > > answer would it be reasonable (and simpler) to do the fma pass > > > (pass_optimize_widening_mul) before > > > the reassociation pass (pass_reassoc) to get the most fma's? > > >=20 > > > That fixes my small test case but I haven't done a bigger performance= check > > > to see what the overall impact would be. > >=20 > > I don't know what else that would affect since the reassociation phase = runs > > very early - and it's late at this stage. My patch seems much safer. Ev= en > > easier might be to return 1 for FLOAT_MODE PLUS_EXPR in > > aarch64_reassociation_width. Then we can fix the reassociation phase in= GCC9. >=20 > Moving the fma phase did not have a good performance impact (it was worse= ). So it looks like it's best to teach the reassociation phase about FMA for G= CC9. > Your patch of setting the reassociation width to 1 did help performance on > ThunderX2. Can you let me know if my workaround helped? If useful I could backport it = to GCC7 as well. >>From gcc-bugs-return-596366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 13:42:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52116 invoked by alias); 6 Mar 2018 13:42: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 51292 invoked by uid 48); 6 Mar 2018 13:41:58 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53281] poor error message for calling a non-const method from a const object Date: Tue, 06 Mar 2018 13: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.6.3 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: 2018-03/txt/msg00954.txt.bz2 Content-length: 2330 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53281 --- Comment #3 from Jonathan Wakely --- Current trunk gives: cv.cc: In member function =E2=80=98void Foo::bar2(const Foo&)=E2=80=99: cv.cc:4:26: error: passing =E2=80=98const Foo=E2=80=99 as =E2=80=98this=E2= =80=99 argument discards qualifiers [-fpermissive] foo.bar1(); ^ cv.cc:2:14: note: in call to =E2=80=98void Foo::bar1()=E2=80=99 void bar1() {} ^~~~ With this patch: --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -7799,7 +7799,24 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain) if (permerror (input_location, "passing %qT as % " "argument discards qualifiers", TREE_TYPE (argtype))) - inform (DECL_SOURCE_LOCATION (fn), " in call to %qD", fn); + { + int argquals =3D cp_type_quals (TREE_TYPE (argtype)); + int fnquals =3D cp_type_quals (TREE_TYPE (fn)); + int discarded =3D argquals & ~fnquals; + bool non_const =3D discarded & TYPE_QUAL_CONST; + bool non_volatile =3D discarded & TYPE_QUAL_VOLATILE; + const char *descr; + if (non_const && non_volatile) + descr =3D " which is non-const and non-volatile"; + else if (non_const) + descr =3D " which is non-const"; + else if (non_volatile) + descr =3D " which is non-volatile"; + else + descr =3D ""; + inform (DECL_SOURCE_LOCATION (fn), " in call to %qD%s", + fn, descr); + } } else return error_mark_node; we get: cv.cc: In member function =E2=80=98void Foo::bar2(const Foo&)=E2=80=99: cv.cc:4:26: error: passing =E2=80=98const Foo=E2=80=99 as =E2=80=98this=E2= =80=99 argument discards qualifiers [-fpermissive] foo.bar1(); ^ cv.cc:2:14: note: in call to =E2=80=98void Foo::bar1()=E2=80=99 which is = non-const void bar1() {} ^~~~ Note the addition of "which is non-const" to the note. >>From gcc-bugs-return-596367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 13:46:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98136 invoked by alias); 6 Mar 2018 13:46: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 98083 invoked by uid 48); 6 Mar 2018 13:46:31 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84733] New: internal compiler error: Segmentation fault (check_local_shadow()) Date: Tue, 06 Mar 2018 13: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 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: 2018-03/txt/msg00955.txt.bz2 Content-length: 2974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84733 Bug ID: 84733 Summary: internal compiler error: Segmentation fault (check_local_shadow()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: struct c { ~c(); } b; void f() { try { d: ; } catch (int) { } decltype(b) a; int e; struct e f; } Output: $ xgcc -x c++ -S - :14:10: internal compiler error: Segmentation fault 0x3152ce9 crash_signal /home/vegard/git/gcc/gcc/toplev.c:325 0xe47760 check_local_shadow /home/vegard/git/gcc/gcc/cp/name-lookup.c:2683 0xe5b1b7 do_pushdecl /home/vegard/git/gcc/gcc/cp/name-lookup.c:3086 0xe6030f pushdecl(tree_node*, bool) /home/vegard/git/gcc/gcc/cp/name-lookup.c:3154 0xe6030f do_pushdecl_with_scope /home/vegard/git/gcc/gcc/cp/name-lookup.c:3982 0xe62f98 do_pushtag /home/vegard/git/gcc/gcc/cp/name-lookup.c:6444 0xe62f98 pushtag(tree_node*, tree_node*, tag_scope) /home/vegard/git/gcc/gcc/cp/name-lookup.c:6514 0xb5f965 xref_tag_1 /home/vegard/git/gcc/gcc/cp/decl.c:13726 0xb5f965 xref_tag(tag_types, tree_node*, tag_scope, bool) /home/vegard/git/gcc/gcc/cp/decl.c:13783 0xf8396d cp_parser_elaborated_type_specifier /home/vegard/git/gcc/gcc/cp/parser.c:17918 0xf2265c cp_parser_type_specifier /home/vegard/git/gcc/gcc/cp/parser.c:16802 0xf8858a cp_parser_decl_specifier_seq /home/vegard/git/gcc/gcc/cp/parser.c:13629 0xfa3a70 cp_parser_simple_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12938 0xfab998 cp_parser_block_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12883 0xfade64 cp_parser_declaration_statement /home/vegard/git/gcc/gcc/cp/parser.c:12476 0xefab2b cp_parser_statement /home/vegard/git/gcc/gcc/cp/parser.c:10925 0xefe5eb cp_parser_statement_seq_opt /home/vegard/git/gcc/gcc/cp/parser.c:11274 0xeff08a cp_parser_compound_statement /home/vegard/git/gcc/gcc/cp/parser.c:11228 0xf9283b cp_parser_function_body /home/vegard/git/gcc/gcc/cp/parser.c:21778 0xf9283b cp_parser_ctor_initializer_opt_and_function_body /home/vegard/git/gcc/gcc/cp/parser.c:21813 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). 5.5.0 says: : In function 'void f()': :12:13: error: 'decltype' was not declared in this scope decltype(b) a; ^ :14:12: error: aggregate 'f()::e f' has incomplete type and cannot = be defined struct e f; ^ Compiler returned: 1 Test case was minimised by C-Reduce. >>From gcc-bugs-return-596368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 13:54:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107633 invoked by alias); 6 Mar 2018 13:54: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 107572 invoked by uid 48); 6 Mar 2018 13:54:11 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68523] CFG Expansion Computes Incorrect Block Frequencies for Nested Loops Date: Tue, 06 Mar 2018 13:54: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 2018-03/txt/msg00956.txt.bz2 Content-length: 649 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68523 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Segher Boessenkool --- The constant loop is now completely optimised away before expand; use -fno-loop-interchange to prevent that. Even with that I see no problem any more now, maybe the new frequency stuff changed this? Resolving as fixed. >>From gcc-bugs-return-596369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 13:56:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122060 invoked by alias); 6 Mar 2018 13: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 119590 invoked by uid 48); 6 Mar 2018 13:56:30 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53281] poor error message for calling a non-const method from a const object Date: Tue, 06 Mar 2018 13: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: 4.6.3 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: 2018-03/txt/msg00957.txt.bz2 Content-length: 679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53281 --- Comment #4 from Jonathan Wakely --- FWIW Clang says: cv.cc:4:17: error: member function 'bar1' not viable: 'this' argument has t= ype 'const Foo', but function is not marked const foo.bar1(); ^~~ cv.cc:2:14: note: 'bar1' declared here void bar1() {} ^ 1 error generated. And EDG says: "cv.cc", line 4: error: the object has type qualifiers that are not compati= ble with the member function object type is: const Foo foo.bar1(); ^ 1 error detected in the compilation of "cv.cc". >>From gcc-bugs-return-596370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:15:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118237 invoked by alias); 6 Mar 2018 14:15: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 118170 invoked by uid 48); 6 Mar 2018 14:15:50 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84734] New: [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE Date: Tue, 06 Mar 2018 14:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg00958.txt.bz2 Content-length: 2740 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84734 Bug ID: 84734 Summary: [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr Target Milestone: --- Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE: % gfc /opt/gcc/_clean/gcc/testsuite/gfortran.dg/size_kind_2.f90 -fdefault-integer-8 f951: internal compiler error: Segmentation fault: 11 The backtrace is * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D EXC_BAD_ACC= ESS (code=3D1, address=3D0x0) frame #0: 0x0000000100002367 f951`::eval_intrinsic_f3(op=3DINTRINSIC_PL= US, eval=3D(f951`::gfc_arith_plus(gfc_expr *, gfc_expr *, gfc_expr **) at arith.c:614), op1=3D0x0000000000000000, op2=3D0x0000000000000000)(gfc_expr = *, gfc_expr *, gfc_expr **), gfc_expr *, gfc_expr *) at arith.c:1661 1658 static int 1659 gfc_zero_size_array (gfc_expr *e) 1660 { -> 1661 if (e->expr_type !=3D EXPR_ARRAY) 1662 return 0; 1663=20 1664 return e->value.constructor =3D=3D NULL; Target 0: (f951) stopped. (lldb) bt * thread #1, queue =3D 'com.apple.main-thread', stop reason =3D EXC_BAD_ACC= ESS (code=3D1, address=3D0x0) * frame #0: 0x0000000100002367 f951`::eval_intrinsic_f3(op=3DINTRINSIC_PL= US, eval=3D(f951`::gfc_arith_plus(gfc_expr *, gfc_expr *, gfc_expr **) at arith.c:614), op1=3D0x0000000000000000, op2=3D0x0000000000000000)(gfc_expr = *, gfc_expr *, gfc_expr **), gfc_expr *, gfc_expr *) at arith.c:1661 frame #1: 0x000000010003cc13 f951`gfc_simplify_expr(p=3D0x0000000143918= 7e0, type=3D0) at expr.c:1133 frame #2: 0x0000000100029a4f f951`gfc_match_data_decl() at decl.c:2365 frame #3: 0x00000001000299d4 f951`gfc_match_data_decl() frame #4: 0x000000010008e984 f951`::decode_statement() at parse.c:65 frame #5: 0x000000010008e97f f951`::decode_statement() frame #6: 0x00000001000928b5 f951`::next_statement() at parse.c:1230 frame #7: 0x000000010009a05f f951`gfc_parse_file() at parse.c:6190 frame #8: 0x00000001000e661c f951`::gfc_be_parse_file() at f95-lang.c:2= 04 frame #9: 0x0000000100c2f59a f951`::compile_file() at toplev.c:455 frame #10: 0x00000001012973eb f951`toplev::main(int, char**) at toplev.c:2132 frame #11: 0x0000000101298f2e f951`main(argc=3D3, argv=3D0x00007ffeefbf= f220) at main.c:39 The change occurred between revisions r257969 (2018-02-25, OK) and r258235 (2018-03-04, ICE). >>From gcc-bugs-return-596371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:17:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120290 invoked by alias); 6 Mar 2018 14:17: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 120262 invoked by uid 48); 6 Mar 2018 14:17:20 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84734] [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE Date: Tue, 06 Mar 2018 14:17: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cf_known_to_work blocked target_milestone 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: 2018-03/txt/msg00959.txt.bz2 Content-length: 807 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84734 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 Known to work| |6.4.0, 7.3.0 Blocks| |32770 Target Milestone|--- |8.0 Ever confirmed|0 |1 Known to fail| |8.0 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32770 [Bug 32770] [Meta-bug] -fdefault-integer-8 issues >>From gcc-bugs-return-596372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:20:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124186 invoked by alias); 6 Mar 2018 14:20: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 124156 invoked by uid 48); 6 Mar 2018 14:20:41 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84734] [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE Date: Tue, 06 Mar 2018 14:20: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 8.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: 2018-03/txt/msg00960.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84734 --- Comment #1 from Dominique d'Humieres --- The following variant integer(4) :: B(huge(1_4)+3_8,2_8) integer(8) :: var1(2), var2, var3 print *, kind(B), size(B) var1 =3D shape(B) ! { dg-error "SHAPE overflows its kind" } print *, var1 var2 =3D size(B) ! { dg-error "SIZE overflows its kind" } var3 =3D size(B,dim=3D1) ! { dg-error "SIZE overflows its kind" } end gives the expected errors when compiled without -fdefault-integer-8, but compile with -fdefault-integer-8 and gives at run time 4 4294967300 2147483650 2 >>From gcc-bugs-return-596373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:34:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20978 invoked by alias); 6 Mar 2018 14:34: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 20934 invoked by uid 48); 6 Mar 2018 14:34:35 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53281] poor error message for calling a non-const method from a const object Date: Tue, 06 Mar 2018 14:34: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.6.3 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: 2018-03/txt/msg00961.txt.bz2 Content-length: 1900 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53281 --- Comment #5 from Jonathan Wakely --- A further improvement might be to stop talking about "passing '...' as 'thi= s' argument" since that's a leaky abstraction: although member functions are implemented with a hidden 'this' parameter, that's not how most C++ program= mers think of it, or how the abstract machine is described. Also, 'this' is a pointer, and 'const Foo' is not a pointer type (Clang loses points there to= o). So maybe this would be better: --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -7796,8 +7796,15 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain) { if (complain & tf_error) { - if (permerror (input_location, "passing %qT as % " - "argument discards qualifiers", + int argquals =3D cp_type_quals (TREE_TYPE (argtype)); + int fnquals =3D cp_type_quals (TREE_TYPE (fn)); + int discarded =3D argquals & ~fnquals; + bool non_const =3D discarded & TYPE_QUAL_CONST; + bool non_volatile =3D discarded & TYPE_QUAL_VOLATILE; + if (permerror (input_location, "cannot call %s%s member " + "function on object of type %qT", + non_const ? "non-const" : "", + non_volatile ? "non-volatile" : "", TREE_TYPE (argtype))) inform (DECL_SOURCE_LOCATION (fn), " in call to %qD", fn); } cv.cc: In member function 'void Foo::bar2(const Foo&)': cv.cc:4:26: error: cannot call non-const member function on object of type 'const Foo' [-fpermissive] foo.bar1(); ^ cv.cc:2:14: note: in call to 'void Foo::bar1()' void bar1() {} ^~~~ >>From gcc-bugs-return-596374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:42:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45071 invoked by alias); 6 Mar 2018 14:42: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 45017 invoked by uid 48); 6 Mar 2018 14:42:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84735] New: [8 Regression] Describe recent gcov data file format changes in gcov-io.h Date: Tue, 06 Mar 2018 14:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-03/txt/msg00962.txt.bz2 Content-length: 791 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84735 Bug ID: 84735 Summary: [8 Regression] Describe recent gcov data file format changes in gcov-io.h Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Brief Description of 'gcov' Data Files in the manual says: The full details of the file format is specified in 'gcov-io.h', and functions provided in that header file should be used to access the coverage files. but the recent changes weren't documented in gcov-io.h. >>From gcc-bugs-return-596375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:44:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49373 invoked by alias); 6 Mar 2018 14: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 49318 invoked by uid 48); 6 Mar 2018 14:44:51 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Tue, 06 Mar 2018 14: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: 8.0.1 X-Bugzilla-Keywords: diagnostic 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00963.txt.bz2 Content-length: 1756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 --- Comment #2 from Martin Li=C5=A1ka --- Reduced test-case: $ cat ~/Programming/testcases/ice.i char *arg; struct buffer{ char a[16]; }; struct buffer a, b; void e(void) { if (__builtin_strlen(arg) > 1) __builtin_strncpy(a.a, arg, sizeof(struct buffer)); } Without coverage sanitization: $ ./xgcc -B. ~/Programming/testcases/ice.i -c -O2 -Wall -fdump-tree-strlen=3D/dev/stdout ;; Function e (e, funcdef_no=3D0, decl_uid=3D1962, cgraph_uid=3D0, symbol_o= rder=3D3) e () { char * arg.0_1; long unsigned int _2; [local count: 1073741825]: arg.0_1 =3D arg; _2 =3D __builtin_strlen (arg.0_1); if (_2 > 1) goto ; [41.48%] else goto ; [58.52%] [local count: 445388109]: __builtin_strncpy (&a.a, arg.0_1, 16); [local count: 1073741825]: return; } With: ./xgcc -B. ~/Programming/testcases/ice.i -c -O2 -fsanitize-coverage=3Dtrace= -pc -fdump-tree-strlen=3D/dev/stdout ;; Function e (e, funcdef_no=3D0, decl_uid=3D2322, cgraph_uid=3D0, symbol_o= rder=3D3) e () { char * arg.0_1; long unsigned int _2; [local count: 1073741825]: __builtin___sanitizer_cov_trace_pc (); arg.0_1 =3D arg; _2 =3D __builtin_strlen (arg.0_1); if (_2 > 1) goto ; [41.48%] else goto ; [58.52%] [local count: 445388109]: __builtin___sanitizer_cov_trace_pc (); __builtin_strncpy (&a.a, arg.0_1, 16); [local count: 1073741825]: __builtin___sanitizer_cov_trace_pc (); return; } I guess it somehow confuses VRP, Martin can you please take a look? Note th= at __builtin___sanitizer_cov_trace_pc is pure function, can't modify memory in original program. >>From gcc-bugs-return-596376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:45:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50458 invoked by alias); 6 Mar 2018 14:45: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 50382 invoked by uid 48); 6 Mar 2018 14:45:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84735] [8 Regression] Describe recent gcov data file format changes in gcov-io.h Date: Tue, 06 Mar 2018 14:45: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: 8.0 X-Bugzilla-Keywords: 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone 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: 2018-03/txt/msg00964.txt.bz2 Content-length: 601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84735 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-03-06 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot g= nu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 Known to fail| |8.0 >>From gcc-bugs-return-596377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 14:52:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95748 invoked by alias); 6 Mar 2018 14:52: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 95653 invoked by uid 48); 6 Mar 2018 14:52:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Tue, 06 Mar 2018 14:52: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.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-03/txt/msg00965.txt.bz2 Content-length: 386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 --- Comment #12 from Jakub Jelinek --- Created attachment 43577 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43577&action=3Dedit gcc8-pr79937.patch My #c8 patch doesn't work at all, but this one at least fixes the two testc= ases (but indeed doesn't fix one where bar returns X rather than C). >>From gcc-bugs-return-596378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:02:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55361 invoked by alias); 6 Mar 2018 15:02: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 55013 invoked by uid 48); 6 Mar 2018 15:02:05 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific) Date: Tue, 06 Mar 2018 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: 4.1.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rakdver 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: 2018-03/txt/msg00966.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28364 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #32 from amker at gcc dot gnu.org --- (In reply to bin.cheng from comment #31) > This is a really old issue! I will also check status of this issue on tr= unk. For multi-exit cases, I wonder if it's possible to only copy wrto the one checking IV. It should still satisfy ch's purpose. >>From gcc-bugs-return-596379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:12:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88385 invoked by alias); 6 Mar 2018 15:12: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 88294 invoked by uid 48); 6 Mar 2018 15:12:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Tue, 06 Mar 2018 15: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: 7.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00967.txt.bz2 Content-length: 5631 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 --- Comment #13 from Jakub Jelinek --- That said, I've tried: --- gcc/cp/semantics.c.jj 2018-03-06 08:01:37.851883447 +0100 +++ gcc/cp/semantics.c 2018-03-06 15:19:27.685013764 +0100 @@ -2814,6 +2814,11 @@ finish_compound_literal (tree type, tree if (!VECTOR_TYPE_P (type)) compound_literal =3D get_target_expr_sfinae (compound_literal, complai= n); + if (TREE_CODE (compound_literal) =3D=3D TARGET_EXPR) + compound_literal + =3D replace_placeholders (compound_literal, + TARGET_EXPR_SLOT (compound_literal)); + return compound_literal; } instead, but that fails miserably during gimplification, seems we optimize = away those TARGET_EXPRs at some point just to their TARGET_EXPR_INITIAL and referring in that CONSTRUCTOR to the TARGET_EXPR_SLOT then doesn't really w= ork. The regression was introduced by the: - case TARGET_EXPR: - /* Don't mess with placeholders in an unrelated object. */ - *walk_subtrees =3D false; - break; replace_placeholders_r change, which makes me wonder if replace_placeholders could somehow make a difference between TARGET_EXPRs it wants to walk into (e.g. the TARGET_EXPR created in nsdmi-aggr3.C: #0 make_node (code=3DTARGET_EXPR) at ../../gcc/tree.c:1056 #1 0x00000000015d4974 in build4 (code=3DTARGET_EXPR, tt=3D, arg0=3D,=20 arg1=3D, arg2=3D, arg3=3D) at ../../gcc/tree.c:4797 #2 0x0000000000ace5e4 in build_target_expr (decl=3D, value=3D, complain=3D3) at ../../gcc/cp/tree.c:454 #3 0x0000000000acf39c in build_cplus_new (type=3D, init=3D, complain=3D3) at ../../gcc/cp/tree.c:631 #4 0x0000000000ad8b16 in bot_manip (tp=3D0x7fffffffc3c8, walk_subtrees=3D0x7fffffffc37c, data=3D0x2dd3c80) at ../../gcc/cp/tree.c:29= 15 #5 0x00000000015f02f2 in walk_tree_1 (tp=3D0x7fffffffc3c8, func=3D0xad89ae , data=3D0x2dd3c80, pset=3D0x0,=20 lh=3D0xae085b >*)>) at ../../gcc/tree.c:11400 #6 0x0000000000ad94e2 in break_out_target_exprs (t=3D) at ../../gcc/cp/tree.c:3050 #7 0x000000000093e0f2 in get_nsdmi (member=3D, in_ctor=3Dfalse, complain=3D3) at ../../gcc/cp/init.c:637 and the TARGET_EXPRs created by finish_compound_literal by the testcase included in the above patch or the: // PR c++/79937 // { dg-do run { target c++14 } } struct X { unsigned i; unsigned n =3D i; unsigned m =3D i; }; X bar (X x) { if (x.i !=3D 1 || x.n !=3D 2 || x.m !=3D 1) __builtin_abort (); return x; } int main () { X x =3D bar (X {1, X {2}.n}); if (x.i !=3D 1 || x.n !=3D 2 || x.m !=3D 1) __builtin_abort (); } E.g. could we walk into TARGET_EXPRs that have TARGET_EXPR_INITIAL AGGR_INIT_EXPR, but avoid those that have TARGET_EXPR_INITIAL a CONSTRUCTOR= , or a CONSTRUCTOR with certain flags, or have some flags on TARGET_EXPRs? Tried: --- gcc/cp/tree.c.jj 2018-03-06 08:01:37.851883447 +0100 +++ gcc/cp/tree.c 2018-03-06 16:07:53.296061505 +0100 @@ -3165,6 +3165,13 @@ replace_placeholders_r (tree* t, int* wa break; } + case TARGET_EXPR: + /* Don't mess with placeholders in finish_compound_literal + created TARGET_EXPRs. */ + if (TREE_CODE (TARGET_EXPR_INITIAL (*t)) =3D=3D CONSTRUCTOR) + *walk_subtrees =3D false; + break; + default: if (d->pset->add (*t)) *walk_subtrees =3D false; but that FAILs nsdmi13.C, where the TARGET_EXPR is created by: #4 0x00000000015c5ff9 in make_node (code=3DTARGET_EXPR) at ../../gcc/tree.= c:1053 #5 0x00000000015d49ca in build4 (code=3DTARGET_EXPR, tt=3D, arg0=3D,=20 arg1=3D, arg2=3D, arg3=3D) at ../../gcc/tree.c:4797 #6 0x0000000000ace5e4 in build_target_expr (decl=3D, value=3D, complain=3D3) at ../../gcc/cp/tree.c:454 #7 0x0000000000acfaee in force_target_expr (type=3D, init=3D, complain=3D3) at ../../gcc/cp/tree.c:782 #8 0x0000000000acfa92 in build_target_expr_with_type (init=3D, type=3D, complain=3D3) at ../../gcc/cp/tree.c:766 #9 0x0000000000acfc0e in get_target_expr_sfinae (init=3D, complain=3D3) at ../../gcc/cp/tree.c:797 #10 0x0000000000821df6 in convert_like_real (convs=3D0x2e5f280, expr=3D, fn=3D,=20 argnum=3D0, issue_conversion_warnings=3Dtrue, c_cast_p=3Dfalse, complai= n=3D3) at ../../gcc/cp/call.c:6902 #11 0x0000000000821ede in convert_like_real (convs=3D0x2e5f2b0, expr=3D, fn=3D,=20 argnum=3D0, issue_conversion_warnings=3Dtrue, c_cast_p=3Dfalse, complai= n=3D3) at ../../gcc/cp/call.c:6912 #12 0x0000000000826426 in build_over_call (cand=3D0x2e5f2e0, flags=3D1, com= plain=3D3) at ../../gcc/cp/call.c:7945 #13 0x000000000082d3fb in build_new_method_call_1 (instance=3D, fns=3D, >>From gcc-bugs-return-596381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:25:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67772 invoked by alias); 6 Mar 2018 15:25: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 67553 invoked by uid 48); 6 Mar 2018 15:25:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Tue, 06 Mar 2018 15: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: 7.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg00969.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 --- Comment #14 from Jakub Jelinek --- The CONSTRUCTORS in TARGET_EXPR in the pr79937-{1,2,3}.C testcases have all CONSTRUCTOR_IS_DIRECT_INIT and TREE_HAS_CONSTRUCTOR set, while nsdmi13.C doesn't. Does any of those matter? In the nsdmi13.C case, there is just a single replace_placeholders call on = the whole testcase, so if we don't replace everything, we die during gimplification, but in pr79937-{1,2,3}.C the gimplification of the CONSTRUCTOR results in cp_gimplify_init_expr and calls it there and handles the replacements that aren't otherwise done. >>From gcc-bugs-return-596380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:25:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66889 invoked by alias); 6 Mar 2018 15:25: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 66827 invoked by uid 48); 6 Mar 2018 15:25:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/63572] [6/7/8 Regression] ICF breaks user debugging experience Date: Tue, 06 Mar 2018 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 5.0 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: P4 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-03/txt/msg00968.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63572 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.5 >>From gcc-bugs-return-596382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:26:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68604 invoked by alias); 6 Mar 2018 15:26: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 68550 invoked by uid 48); 6 Mar 2018 15:26:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80598] [7/8 regression] -Wunused triggers for functions used in uninstantiated templates Date: Tue, 06 Mar 2018 15: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: 7.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00970.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80598 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |7.4 >>From gcc-bugs-return-596384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:27:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70996 invoked by alias); 6 Mar 2018 15:27: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 70937 invoked by uid 48); 6 Mar 2018 15:27:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83268] [7 Regression] internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:785 Date: Tue, 06 Mar 2018 15: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: 7.2.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00972.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83268 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |7.4 >>From gcc-bugs-return-596383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:27:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69973 invoked by alias); 6 Mar 2018 15:27: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 69691 invoked by uid 48); 6 Mar 2018 15:27:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81764] [6/7/8 Regression] Visibility attributes for explicitly instantiated template class get warned if it has been implicitly instantiated Date: Tue, 06 Mar 2018 15: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: 7.1.0 X-Bugzilla-Keywords: diagnostic 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: 6.5 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: 2018-03/txt/msg00971.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81764 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.5 >>From gcc-bugs-return-596385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:28:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71861 invoked by alias); 6 Mar 2018 15:28: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 71705 invoked by uid 48); 6 Mar 2018 15:27:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83911] [6/7/8 Regression] ICE with target attribute on constructor in gimplify_expr at gimplify.c:11321 Date: Tue, 06 Mar 2018 15: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: 7.2.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00973.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83911 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |6.5 >>From gcc-bugs-return-596386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:28:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72758 invoked by alias); 6 Mar 2018 15: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 72706 invoked by uid 48); 6 Mar 2018 15:28:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84034] [6/7 Regression] incomplete warning message with dos line endings Date: Tue, 06 Mar 2018 15:28: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.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work 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: 2018-03/txt/msg00974.txt.bz2 Content-length: 398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84034 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Known to work| |8.0 Target Milestone|--- |6.5 >>From gcc-bugs-return-596387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:29:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75473 invoked by alias); 6 Mar 2018 15:29: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 75373 invoked by uid 48); 6 Mar 2018 15:29:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84178] [7/8 Regression] ICE in release_bb_predicate Date: Tue, 06 Mar 2018 15: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: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00975.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84178 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |rguenth at gcc dot gnu.org Target Milestone|--- |7.4 >>From gcc-bugs-return-596388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:29:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79744 invoked by alias); 6 Mar 2018 15:29: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 79597 invoked by uid 48); 6 Mar 2018 15:29:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84280] [6/7/8 Regression] Performance regression in g++-7 with Eigen for non-AVX2 CPUs Date: Tue, 06 Mar 2018 15:29: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 6.5 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: 2018-03/txt/msg00976.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84280 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.5 >>From gcc-bugs-return-596389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:30:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101641 invoked by alias); 6 Mar 2018 15:30: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 100805 invoked by uid 48); 6 Mar 2018 15:30:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84394] [7/8 Regression] compiler error when using modules with derived types in block data subprograms Date: Tue, 06 Mar 2018 15:30: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.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-03/txt/msg00977.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84394 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.4 >>From gcc-bugs-return-596390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:31:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102698 invoked by alias); 6 Mar 2018 15: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 102521 invoked by uid 48); 6 Mar 2018 15:31:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84611] [6/7/8 Regression] ICE in operator[], at vec.h:826 (local_class_index()) Date: Tue, 06 Mar 2018 15: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: 8.0.1 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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00978.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84611 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|--- |6.5 Summary|[5/67/8 Regression] ICE in |[6/7/8 Regression] ICE in |operator[], at vec.h:826 |operator[], at vec.h:826 |(local_class_index()) |(local_class_index()) >>From gcc-bugs-return-596391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:32:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104190 invoked by alias); 6 Mar 2018 15:32: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 104066 invoked by uid 48); 6 Mar 2018 15:32:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84588] [8 Regression] internal compiler error: Segmentation fault (contains_struct_check()) Date: Tue, 06 Mar 2018 15: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: 8.0.1 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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg00979.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84588 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|--- |8.0 >>From gcc-bugs-return-596392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:35:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115993 invoked by alias); 6 Mar 2018 15:35: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 115956 invoked by uid 48); 6 Mar 2018 15:35:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84221] [6/7/8 Regression] spurious -Wunused warning on a variable of a template type declared unused Date: Tue, 06 Mar 2018 15:35: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00980.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84221 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:36:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116760 invoked by alias); 6 Mar 2018 15:36: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 116718 invoked by uid 48); 6 Mar 2018 15:36:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84222] [6/7/8 Regression] [[deprecated]] class complains about internal class usage Date: Tue, 06 Mar 2018 15:36: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00981.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84222 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:36:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117841 invoked by alias); 6 Mar 2018 15:36: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 117761 invoked by uid 48); 6 Mar 2018 15:36:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/84241] [8 regression] test case g++.dg/torture/pr67600.C fails starting with r257412 Date: Tue, 06 Mar 2018 15:36: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: 8.0.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: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00982.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84241 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >>From gcc-bugs-return-596395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:37:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118792 invoked by alias); 6 Mar 2018 15: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 118658 invoked by uid 48); 6 Mar 2018 15:37:01 -0000 From: "manuel.lauss at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's Date: Tue, 06 Mar 2018 15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manuel.lauss at googlemail 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: 2018-03/txt/msg00983.txt.bz2 Content-length: 3432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84719 Manuel Lauss changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manuel.lauss at googlemail= dot com --- Comment #12 from Manuel Lauss --- clang-7 achieves an impressive level of ipc (amd zen): Performance counter stats for './memtime-clangO2' (10 runs): 358,260795 task-clock:u (msec) # 0,999 CPUs utilized= =20=20=20=20=20 ( +- 1,43% ) 0 context-switches:u # 0,000 K/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 0 cpu-migrations:u # 0,000 K/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 244.191 page-faults:u # 0,682 M/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20 ( +- 0,00% ) 1.253.573.425 cycles:u # 3,499 GHz=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 ( +- 1,50% ) 149.207.036 stalled-cycles-frontend:u # 11,90% frontend cycles idle ( +- 2,04% ) 333.373.414 stalled-cycles-backend:u # 26,59% backend cycles idle ( +- 0,00% ) 4.333.767.562 instructions:u # 3,46 insn per cycle= =20=20=20=20=20 # 0,08 stalled cycles= per insn ( +- 0,00% ) 333.621.304 branches:u # 931,225 M/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20 ( +- 0,00% ) 248.011 branch-misses:u # 0,07% of all branche= s=20=20=20 ( +- 0,06% ) 0,358644336 seconds time elapsed=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ( +- 1,43% ) compared to gcc-8 as of today: Performance counter stats for './memtime-gcc8O2' (10 runs): 2087,357431 task-clock:u (msec) # 1,000 CPUs utilized= =20=20=20=20=20 ( +- 0,19% ) 0 context-switches:u # 0,000 K/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 0 cpu-migrations:u # 0,000 K/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 244.191 page-faults:u # 0,117 M/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20 ( +- 0,00% ) 8.273.911.027 cycles:u # 3,964 GHz=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 ( +- 0,00% ) 3.691.281.142 stalled-cycles-frontend:u # 44,61% frontend cycles idle ( +- 0,02% ) 333.373.414 stalled-cycles-backend:u # 4,03% backend cycles idle ( +- 0,00% ) 3.667.101.412 instructions:u # 0,44 insn per cycle= =20=20=20=20=20 # 1,01 stalled cycles= per insn ( +- 0,00% ) 333.621.824 branches:u # 159,830 M/sec=20=20=20= =20=20=20=20=20=20=20=20=20=20 ( +- 0,00% ) 248.423 branch-misses:u # 0,07% of all branche= s=20=20=20 ( +- 0,01% ) 2,088370519 seconds time elapsed=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ( +- 0,19% ) >>From gcc-bugs-return-596396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:38:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23371 invoked by alias); 6 Mar 2018 15:38: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 23252 invoked by uid 48); 6 Mar 2018 15:38:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84251] [8 Regression] Performance regression in gcc 8 when comparing floating point numbers Date: Tue, 06 Mar 2018 15:38: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00984.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84251 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 --- Comment #6 from Richard Biener --- So we changed wrong-code to missed-optimization. Sounds reasonable enough = to not make this P1. >>From gcc-bugs-return-596398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:39:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27914 invoked by alias); 6 Mar 2018 15:39: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 27843 invoked by uid 48); 6 Mar 2018 15:39:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84345] [8 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 1) Date: Tue, 06 Mar 2018 15:39: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: 8.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: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00986.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84345 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:39:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26603 invoked by alias); 6 Mar 2018 15:39: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 25934 invoked by uid 48); 6 Mar 2018 15:39:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84301] [6/7/8 Regression] ICE in create_pre_exit, at mode-switching.c:451 Date: Tue, 06 Mar 2018 15: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: 8.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: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00985.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84301 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:41:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29606 invoked by alias); 6 Mar 2018 15:41: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 29544 invoked by uid 48); 6 Mar 2018 15:41:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/84456] [8 regression] gcc.dg/guality/pr49888.c fail Date: Tue, 06 Mar 2018 15:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-03/txt/msg00987.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84456 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|debug |testsuite --- Comment #3 from Richard Biener --- So it's a testsuite issue? Can somebody with a recent assembler verify with -gno-whatever? Maybe we need a dg-require-effective-target locview? >>From gcc-bugs-return-596400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:43:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31546 invoked by alias); 6 Mar 2018 15: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 31483 invoked by uid 48); 6 Mar 2018 15:43:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy Date: Tue, 06 Mar 2018 15:43: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.0.1 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00988.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84468 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #16 from Richard Biener --- I still say simply walk to the next VDEF... >>From gcc-bugs-return-596401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:44:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43012 invoked by alias); 6 Mar 2018 15:44: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 42971 invoked by uid 48); 6 Mar 2018 15:44:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1 Date: Tue, 06 Mar 2018 15:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00989.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84550 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #8 from Richard Biener --- Raising priority. A fix can be either in GCC or in gdb (we can just docume= nt a new gdb requirement). >>From gcc-bugs-return-596402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:44:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43746 invoked by alias); 6 Mar 2018 15: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 43715 invoked by uid 48); 6 Mar 2018 15:44:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84552] [8 Regression] Compile time hog w/ -O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon Date: Tue, 06 Mar 2018 15: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: 8.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00990.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84552 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >>From gcc-bugs-return-596403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:45:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44829 invoked by alias); 6 Mar 2018 15:45: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 44626 invoked by uid 48); 6 Mar 2018 15:45:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84565] [8 Regression] ICE in extract_insn, at recog.c:2304 on aarch64 Date: Tue, 06 Mar 2018 15:45: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00991.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84565 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >>From gcc-bugs-return-596404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:49:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102962 invoked by alias); 6 Mar 2018 15: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 102875 invoked by uid 48); 6 Mar 2018 15:49:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84610] [6/7/8 Regression] ICE in synthesize_implicit_template_parm, at cp/parser.c:38843 Date: Tue, 06 Mar 2018 15: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: 8.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00992.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84610 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:50:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103879 invoked by alias); 6 Mar 2018 15:50: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 103767 invoked by uid 48); 6 Mar 2018 15:49:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Date: Tue, 06 Mar 2018 15:50: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.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: 8.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: 2018-03/txt/msg00993.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84650 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Richard Biener --- Fixed. >>From gcc-bugs-return-596406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:51:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111456 invoked by alias); 6 Mar 2018 15:51: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 111229 invoked by uid 48); 6 Mar 2018 15:51:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84729] [6/7/8 Regression] internal compiler error: verify_gimple failed Date: Tue, 06 Mar 2018 15: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: 8.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00994.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84729 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:53:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115522 invoked by alias); 6 Mar 2018 15: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 115482 invoked by uid 48); 6 Mar 2018 15:53:27 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80511] [8 Regression] gcc.dg/Wstrict-overflow-18.c gcc.dg/Wstrict-overflow-7.c gcc.dg/pragma-diag-3.c Date: Tue, 06 Mar 2018 15:53: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.0 X-Bugzilla-Keywords: diagnostic, xfail X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00995.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80511 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >>From gcc-bugs-return-596409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:54:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6259 invoked by alias); 6 Mar 2018 15:54: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 5886 invoked by uid 48); 6 Mar 2018 15:54:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/80791] [8 regression] test case gcc.dg/sms-1.c fail2 starting with r247885 Date: Tue, 06 Mar 2018 15:54: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00997.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80791 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:54:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5952 invoked by alias); 6 Mar 2018 15:54: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 5838 invoked by uid 48); 6 Mar 2018 15:54:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Tue, 06 Mar 2018 15: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: 7.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-03/txt/msg00996.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 --- Comment #15 from Jakub Jelinek --- Created attachment 43578 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43578&action=3Dedit gcc8-pr79937.patch Actually, seems TREE_HAS_CONSTRUCTOR is set on a CONSTRUCTOR only by finish_compound_literal. So if those are something we don't want to walk i= nto and everything else we do, then this patch might be it (passed make check-c++-all, but otherwise untested). >>From gcc-bugs-return-596411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:55:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10293 invoked by alias); 6 Mar 2018 15:55: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 10238 invoked by uid 48); 6 Mar 2018 15:55:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81764] [6/7/8 Regression] Visibility attributes for explicitly instantiated template class get warned if it has been implicitly instantiated Date: Tue, 06 Mar 2018 15: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: 7.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg00999.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81764 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 15:55:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9140 invoked by alias); 6 Mar 2018 15:55: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 8508 invoked by uid 55); 6 Mar 2018 15:55:04 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81572] [7 Regression] gcc-7 regression: unnecessary vector regmove on compare Date: Tue, 06 Mar 2018 15: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner 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.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: 2018-03/txt/msg00998.txt.bz2 Content-length: 1645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81572 --- Comment #7 from Peter Bergner --- Author: bergner Date: Tue Mar 6 15:54:30 2018 New Revision: 258280 URL: https://gcc.gnu.org/viewcvs?rev=3D258280&root=3Dgcc&view=3Drev Log: gcc/ Backport from mainline 2018-02-22 Vladimir Makarov PR target/81572 * lra-int.h (LRA_UNKNOWN_ALT, LRA_NON_CLOBBERED_ALT): New macros. * lra.c (lra_set_insn_recog_data, lra_update_insn_recog_data): Use LRA_UNKNOWN_ALT. * lra-constraints.c (curr_insn_transform): Set up LRA_NON_CLOBBERED_ALT for moves processed on the fast path. Use LRA_UNKNOWN_ALT. (remove_inheritance_pseudos): Use LRA_UNKNOWN_ALT. * lra-eliminations.c (spill_pseudos): Ditto. (process_insn_for_elimination): Ditto. * lra-lives.c (reg_early_clobber_p): Use the new macros. * lra-spills.c (spill_pseudos): Use LRA_UNKNOWN_ALT and LRA_NON_CLOBBERED_ALT. gcc/testsuite/ Backport from mainline 2018-02-22 Vladimir Makarov PR target/81572 * gcc.target/powerpc/pr81572.c: New. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr81572.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/lra-constraints.c branches/gcc-7-branch/gcc/lra-eliminations.c branches/gcc-7-branch/gcc/lra-int.h branches/gcc-7-branch/gcc/lra-lives.c branches/gcc-7-branch/gcc/lra-spills.c branches/gcc-7-branch/gcc/lra.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 16:02:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85468 invoked by alias); 6 Mar 2018 16:02: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 68628 invoked by uid 48); 6 Mar 2018 16:02:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1 Date: Tue, 06 Mar 2018 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01001.txt.bz2 Content-length: 326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84550 --- Comment #9 from Jakub Jelinek --- My limited understanding is this is a GDB bug and that it basically never worked properly with -freorder-blocks-and-partition. So not really sure ho= w we could work around it in GCC. Pedro, do you agree? >>From gcc-bugs-return-596412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 16:02:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1111 invoked by alias); 6 Mar 2018 16:02: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 122530 invoked by uid 48); 6 Mar 2018 16:02:16 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81572] [7 Regression] gcc-7 regression: unnecessary vector regmove on compare Date: Tue, 06 Mar 2018 16: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: CLOSED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_file_loc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01000.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81572 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-02/msg01310.ht | |ml --- Comment #8 from Peter Bergner --- Backport testing was clean. Patch committed to the GCC 7 release branch. Closing as fixed everywhere. >>From gcc-bugs-return-596414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 16:33:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98183 invoked by alias); 6 Mar 2018 16:33: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 97370 invoked by uid 48); 6 Mar 2018 16:33:06 -0000 From: "kuba.skowron at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84736] New: When compiling with -g -O2 internal compiler error: in force_type_die, at dwarf2out.c:25111 Date: Tue, 06 Mar 2018 16: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kuba.skowron 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: 2018-03/txt/msg01002.txt.bz2 Content-length: 3262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84736 Bug ID: 84736 Summary: When compiling with -g -O2 internal compiler error: in force_type_die, at dwarf2out.c:25111 Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kuba.skowron at gmail dot com Target Milestone: --- Created attachment 43579 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43579&action=3Dedit Zipped first.ii file There is internal compiler error when compiling with -g -O2 (ii file attach= ed). $ g++-7 -save-temps -Wall -g -O2 first.cpp In file included from osd/OSD.cc:51:0: osd/ReplicatedPG.h: In destructor =E2=80=98virtual ReplicatedPG::WaitTrimTimer::WaitTrimTimer(boost::statechart::state::my_context)::OnTimer::~OnTimer()=E2=80=99: osd/ReplicatedPG.h:1667:14: internal compiler error: in force_type_die, at dwarf2out.c:25111 struct OnTimer : Context { ^~~~~~~ 0x8206ba force_type_die ../../src/gcc/dwarf2out.c:25111 0x82089b get_context_die ../../src/gcc/dwarf2out.c:25025 0x82089b force_decl_die ../../src/gcc/dwarf2out.c:25044 0x81ba47 gen_subprogram_die ../../src/gcc/dwarf2out.c:21905 0x816138 gen_decl_die ../../src/gcc/dwarf2out.c:25347 0x816e6e dwarf2out_decl ../../src/gcc/dwarf2out.c:25856 0x81cb42 dwarf2out_abstract_function ../../src/gcc/dwarf2out.c:21681 0xb46695 expand_call_inline ../../src/gcc/tree-inline.c:4887 0xb48084 gimple_expand_calls_inline ../../src/gcc/tree-inline.c:4917 0xb48084 optimize_inline_calls(tree_node*) ../../src/gcc/tree-inline.c:5057 0x113f6a9 early_inliner(function*) ../../src/gcc/ipa-inline.c:2721 $ g++-7 -v Using built-in specs. COLLECT_GCC=3Dg++-7 COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=3Dnvptx-none OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 7.2.0-1ubuntu1~16.04' --with-bugurl=3Dfile:///usr/share/doc/gcc-7/README.Bu= gs --enable-languages=3Dc,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=3D/u= sr --with-gcc-major-version-only --program-suffix=3D-7 --program-prefix=3Dx86_64-linux-gnu- --enable-shared --enable-linker-build-= id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=3Dauto --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-offload-targets=3Dnvptx-none --without-cuda-driver --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 7.2.0 (Ubuntu 7.2.0-1ubuntu1~16.04) >>From gcc-bugs-return-596415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 16:35:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100432 invoked by alias); 6 Mar 2018 16:35: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 100358 invoked by uid 48); 6 Mar 2018 16:35:02 -0000 From: "pthaugen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84737] New: 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Tue, 06 Mar 2018 16:35: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild 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: 2018-03/txt/msg01003.txt.bz2 Content-length: 2019 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84737 Bug ID: 84737 Summary: 20% degradation in CPU2000 172.mgrid starting with r256888 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: pthaugen at gcc dot gnu.org CC: dje at gcc dot gnu.org, marxin at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Host: powerpc64-unknown-linux-gnu Target: powerpc64-unknown-linux-gnu Build: powerpc64-unknown-linux-gnu I'm seeing a 20% degradation on 172.mgrid with r256888. Benchmark was built with "-O3 -mcpu=3Dpower7 -ffast-math". Profiling shows the difference comes= from function resid() and its clone. r256887 ------- Counted PM_RUN_CYC events (Run_cycles.) with a unit mask of 0x00 (No unit m= ask) count 100000 samples % image name symbol name 658215 48.2563 mgrid_base.pat_test_64 .resid_ 367381 26.9341 mgrid_base.pat_test_64 .psinv_ 153587 11.2601 mgrid_base.pat_test_64 .interp_ 109785 8.0488 mgrid_base.pat_test_64 .rprj3_ 52642 3.8594 mgrid_base.pat_test_64 .comm3_ 7912 0.5801 mgrid_base.pat_test_64 .MAIN__ 3796 0.2783 libc-2.17.so .__memset_power8 r256888 ------- Counted PM_RUN_CYC events (Run_cycles.) with a unit mask of 0x00 (No unit m= ask) count 100000 samples % image name symbol name 1109100 59.2023 mgrid_base.gcc_hunt_64 .resid_.constprop.1 368930 19.6930 mgrid_base.gcc_hunt_64 .psinv_ 160102 8.5460 mgrid_base.gcc_hunt_64 .interp_ 114954 6.1361 mgrid_base.gcc_hunt_64 .MAIN__ 55253 2.9493 mgrid_base.gcc_hunt_64 .comm3_ 46903 2.5036 mgrid_base.gcc_hunt_64 .resid_ 5103 0.2724 libc-2.17.so .__memset_power8 >>From gcc-bugs-return-596416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 16:38:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120024 invoked by alias); 6 Mar 2018 16:38: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 118921 invoked by uid 48); 6 Mar 2018 16:38:47 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Tue, 06 Mar 2018 16: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: 8.0 X-Bugzilla-Keywords: missed-optimization 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords component 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: 2018-03/txt/msg01004.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84737 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Component|ipa |tree-optimization Target Milestone|--- |8.0 Summary|20% degradation in CPU2000 |[8 Regression] 20% |172.mgrid starting with |degradation in CPU2000 |r256888 |172.mgrid starting with | |r256888 >>From gcc-bugs-return-596417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 16:42:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122852 invoked by alias); 6 Mar 2018 16:42: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 122764 invoked by uid 48); 6 Mar 2018 16:42:53 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Tue, 06 Mar 2018 16:42: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: 8.0.1 X-Bugzilla-Keywords: diagnostic 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: marxin 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: 2018-03/txt/msg01005.txt.bz2 Content-length: 1912 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 --- Comment #3 from Martin Sebor --- In general, by inserting their instrumentation the sanitizers cause all sor= ts of trouble for middle-end warnings. The usual answer has been to disable -Werror when using -fsanitize. Personally, I think that's less than optimal (ideally we want both good static analysis and robust runtime detection), b= ut sometimes it may be the only viable solution. The -Wstringop-truncation suppression logic looks for the next statement af= ter a strncpy call that writes a NUL into the destination (actually, it looks f= or an assignment of any value to the destination for now, but that will likely change in the future). The __builtin___sanitizer_cov_trace_pc() call inser= ted by the sanitizer just after the strncpy() call disables the suppression. __builtin_strncpy (&a.a, arg.0_1, 16); [local count: 1073741825]: __builtin___sanitizer_cov_trace_pc (); There are other similar examples where this can happen (e.g., bug 84624). = It might be possible to deal with some of them either by hardcoding a whitelis= t of things to skip over, or by making the logic smart enough to see that some calls/expressions cannot access (read from) the strncpy destination, or some combination of the two. Richi has been suggesting the latter approach. The challenge (for me) is to figure out how to avoid false negatives on things like: void f (const char *s) { char d[8]; char *p =3D strncpy (d, s, sizeof d); // want a -Wstringop-truncation= here foo (p); // reads a string from d d[sizeof d - 1] =3D '\0'; } or even: extern char *p; void f (const char *s) { char d[8]; p =3D strncpy (d, s, sizeof d); // also want a -Wstringop-truncation = here foo (); // also reads a string from d through p d[sizeof d - 1] =3D '\0'; } >>From gcc-bugs-return-596418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 16:57:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7675 invoked by alias); 6 Mar 2018 16:57: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 7621 invoked by uid 48); 6 Mar 2018 16:57:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Tue, 06 Mar 2018 16:57: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: 8.0.1 X-Bugzilla-Keywords: diagnostic 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: --- 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: 2018-03/txt/msg01006.txt.bz2 Content-length: 927 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 --- Comment #4 from Jakub Jelinek --- (In reply to Martin Li=C5=A1ka from comment #2) > I guess it somehow confuses VRP, Martin can you please take a look? Note > that __builtin___sanitizer_cov_trace_pc is pure function, can't modify > memory in original program. No, __builtin___sanitizer_cov_trace_pc is certainly not pure and can't real= ly be, otherwise would optimize them all away (nothing uses their void return value), so the problem is that it invalidates all recorded string lengths, at least those that escape (but in this testcase it is a global variable). As __sanitizer_cov_trace_pc is a user-supplied function, I don't really thi= nk we can assume anything on it (e.g. that it will not change any global or escaped local variables, it can change them and most likely will do at least some of them, otherwise it would be useless). >>From gcc-bugs-return-596419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 17:10:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35661 invoked by alias); 6 Mar 2018 17:10: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 35607 invoked by uid 48); 6 Mar 2018 17:10:03 -0000 From: "raphael.kubo.da.costa at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70431] [C++11] Out of line defaulted copy constructor of a union does not compile. Date: Tue, 06 Mar 2018 17: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: raphael.kubo.da.costa at intel 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: 2018-03/txt/msg01007.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70431 Raphael Kubo da Costa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |raphael.kubo.da.costa@intel | |.com --- Comment #1 from Raphael Kubo da Costa --- This is also true for classes and structs, I've just run into the same bug = with 7.3.1 and 8.0.1 when debugging https://chromium-review.googlesource.com/c/chromium/src/+/944403 >>From gcc-bugs-return-596420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 17:41:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2621 invoked by alias); 6 Mar 2018 17:41: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 2565 invoked by uid 48); 6 Mar 2018 17:41:37 -0000 From: "ville.voutilainen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70431] [C++11] Out of line defaulted copy constructor of a union does not compile. Date: Tue, 06 Mar 2018 17: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ville.voutilainen 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: 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: 2018-03/txt/msg01008.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70431 Ville Voutilainen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |jason at redhat dot com Ever confirmed|0 |1 --- Comment #2 from Ville Voutilainen = --- clang accepts the code. >>From gcc-bugs-return-596421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 17:47:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54757 invoked by alias); 6 Mar 2018 17: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 54735 invoked by uid 48); 6 Mar 2018 17:46:56 -0000 From: "jr98 at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84738] New: stack-overflow in regex_match Date: Tue, 06 Mar 2018 17:47: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jr98 at hotmail dot 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: 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: 2018-03/txt/msg01009.txt.bz2 Content-length: 2092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84738 Bug ID: 84738 Summary: stack-overflow in regex_match Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jr98 at hotmail dot de Target Milestone: --- The following code crashes with a stack-oveflow Code: (min.cpp) #include #include int main(int argc, char *argv[]) { std::regex re("y**{83}{72}b"); std::regex_match("", re); return 0; } Compile comandline: g++-7 -fsanitize=3Daddress -std=3Dc++17 -O2 -g -ggdb min.cpp Version: g++-7 -v Using built-in specs. COLLECT_GCC=3Dg++-7 COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=3Dnvptx-none OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 7.2.0-8ubuntu3.2' --with-bugurl=3Dfile:///usr/share/doc/gcc-7/README.Bugs --enable-languages=3Dc,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=3D/u= sr --with-gcc-major-version-only --program-suffix=3D-7 --program-prefix=3Dx86_64-linux-gnu- --enable-shared --enable-linker-build-= id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=3Dauto --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-offload-targets=3Dnvptx-none --without-cuda-driver --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3.2) __GLIBCXX__ is 20171003 >>From gcc-bugs-return-596422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:22:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75122 invoked by alias); 6 Mar 2018 18:22: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 75088 invoked by uid 48); 6 Mar 2018 18:22:34 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84739] New: [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Tue, 06 Mar 2018 18:22: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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: 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: 2018-03/txt/msg01010.txt.bz2 Content-length: 1767 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 Bug ID: 84739 Summary: [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions 6/7/8 at -O[s23] : $ cat z1.c static void baz (void) __attribute__((weakref("bar"))); int foo (int x, int y) { if (x) y =3D 0; if (y) goto L1; y =3D 0; L1: return y; } void bar (int x, int y) { y =3D foo (x, y); if (y !=3D 0) baz (); } $ gcc-5 -O2 -c z1.c $ $ gcc-8-20180304 -O2 -c z1.c z1.c:1:13: warning: 'baz' alias between functions of incompatible types 'void(void)' and 'void(int, int)' [-Wattribute-alias] static void baz (void) __attribute__((weakref("bar"))); ^~~ z1.c:14:1: note: aliased declaration here bar (int x, int y) ^~~ during GIMPLE pass: ccp z1.c: In function 'bar': z1.c:14:1: internal compiler error: Segmentation fault 0xaed10f crash_signal ../../gcc/toplev.c:325 0xbc5401 get_value_for_expr ../../gcc/tree-ssa-ccp.c:649 0xbc7ea8 ccp_propagate::visit_phi(gphi*) ../../gcc/tree-ssa-ccp.c:1133 0xc42778 ssa_propagation_engine::simulate_stmt(gimple*) ../../gcc/tree-ssa-propagate.c:233 0xc42992 ssa_propagation_engine::simulate_block(basic_block_def*) ../../gcc/tree-ssa-propagate.c:359 0xc43669 ssa_propagation_engine::ssa_propagate() ../../gcc/tree-ssa-propagate.c:800 0xbc4697 do_ssa_ccp ../../gcc/tree-ssa-ccp.c:2474 0xbc4697 execute ../../gcc/tree-ssa-ccp.c:2518 >>From gcc-bugs-return-596423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:23:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76053 invoked by alias); 6 Mar 2018 18:23: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 76014 invoked by uid 48); 6 Mar 2018 18:23:00 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84739] [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Tue, 06 Mar 2018 18: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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: 2018-03/txt/msg01011.txt.bz2 Content-length: 905 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 --- Comment #1 from G. Steinmetz --- Configured with --enable-checking=3Dyes : $ gcc-8-20180304 -O2 -c z1.c z1.c:1:13: warning: 'baz' alias between functions of incompatible types 'void(void)' and 'void(int, int)' [-Wattribute-alias] static void baz (void) __attribute__((weakref("bar"))); ^~~ z1.c:14:1: note: aliased declaration here bar (int x, int y) ^~~ during GIMPLE pass: tailr z1.c: In function 'bar': z1.c:19:1: internal compiler error: in gimple_call_arg, at gimple.h:3179 } ^ 0xecae86 gimple_call_arg ../../gcc/gimple.h:3179 0xecae86 gimple_call_arg ../../gcc/gimple.h:3187 0xecae86 eliminate_tail_call ../../gcc/tree-tailcall.c:921 0xecae86 optimize_tail_call ../../gcc/tree-tailcall.c:953 0xecae86 tree_optimize_tail_calls_1 ../../gcc/tree-tailcall.c:1082 >>From gcc-bugs-return-596424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:26:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86714 invoked by alias); 6 Mar 2018 18:26: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 86651 invoked by uid 48); 6 Mar 2018 18:26:42 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84740] New: [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Tue, 06 Mar 2018 18:26: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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: 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: 2018-03/txt/msg01012.txt.bz2 Content-length: 1391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 Bug ID: 84740 Summary: [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Gives an ICE at -O[s23] since at least 20170618. Shrinked/modified from gcc.dg/tree-ssa/cswtch-4.c $ cat z1.c void frobulate_for_gcc (unsigned int v) { const char *s; switch (v) { case 0: s =3D "foo"; break; case 1: s =3D "bar"; break; case 2: s =3D "spam"; break; default: s =3D (const char *) 0; break; } if (!s) __builtin_printf ("%s\n", s); } $ gcc-7 -c z1.c -O2 $ gcc-8-20180304 -c z1.c -O1 $ gcc-8-20180304 -c z1.c -O2 during GIMPLE pass: switchconv z1.c: In function 'frobulate_for_gcc': z1.c:22:1: internal compiler error: in build_constructors, at tree-switch-conversion.c:965 } ^ 0xbb98a0 build_constructors ../../gcc/tree-switch-conversion.c:965 0xbb98a0 process_switch ../../gcc/tree-switch-conversion.c:1566 0xbb98a0 execute ../../gcc/tree-switch-conversion.c:1630 No ICE without line "if (!s)". >>From gcc-bugs-return-596425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:28:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101916 invoked by alias); 6 Mar 2018 18:28: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 101822 invoked by uid 48); 6 Mar 2018 18:28:29 -0000 From: "sudi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer Date: Tue, 06 Mar 2018 18:28: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sudi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01013.txt.bz2 Content-length: 989 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 --- Comment #16 from sudi at gcc dot gnu.org --- So I think I would go with Jakub's suggestion of defining calls_builtin_set= jmp and use that in aarch64_layout_frame for cfun->machine->frame.emit_frame_ch= ain. I am still investigating Wilco's concern over pr60003.c Also I would like to ask if we can pick up the discussions on PR59039 and on the documentation patch. Some definition would be a lot more helpful for someone like me who had no idea about __builtin_setjmp/longjmp to wrap my h= ead around what it actually is. The macro DONT_USE_BUITIN_SETJMP made me very confused for a while until Ra= mana pointed it out to me that its only used in the context of compiler's except= ion unwinding machinery and does not apply to a case like this where the user c= alls the builtin function. With this context in head when I went back and read t= he document, it made sense. Can we possibly tweak the wording to make it clear= er? >>From gcc-bugs-return-596426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:30:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108997 invoked by alias); 6 Mar 2018 18:30: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 104119 invoked by uid 48); 6 Mar 2018 18:30:04 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84741] New: [7/8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:13893 Date: Tue, 06 Mar 2018 18:30: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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: 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: 2018-03/txt/msg01014.txt.bz2 Content-length: 1465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84741 Bug ID: 84741 Summary: [7/8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:13893 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Starts to ICE from 20170129 on with option -fstack-usage. File gcc/testsuite/gcc.dg/rtl/x86_64/test-return-const.c.after-expand.c $ gcc-8-20180304 -c test-return-const.c.after-expand.c $ gcc-8-20180304 -c test-return-const.c.after-expand.c -fstack-usage during RTL pass: pro_and_epilogue test-return-const.c.after-expand.c: In function 'test_returning_constant': test-return-const.c.after-expand.c:32:1: internal compiler error: Segmentat= ion fault } ^ 0xaed10f crash_signal ../../gcc/toplev.c:325 0xda329c ix86_expand_prologue() ../../gcc/config/i386/i386.c:13893 0xfc4cda gen_prologue() ../../gcc/config/i386/i386.md:13183 0xd8f588 target_gen_prologue ../../gcc/config/i386/i386.md:19561 0x88f139 make_prologue_seq ../../gcc/function.c:5926 0x88f352 thread_prologue_and_epilogue_insns() ../../gcc/function.c:6043 0x88f9f2 rest_of_handle_thread_prologue_and_epilogue ../../gcc/function.c:6534 0x88f9f2 execute ../../gcc/function.c:6576 >>From gcc-bugs-return-596427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:42:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125668 invoked by alias); 6 Mar 2018 18:42: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 125618 invoked by uid 48); 6 Mar 2018 18:42:21 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83748] Local variables not aligned to word boundary Date: Tue, 06 Mar 2018 18:42: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.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME 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: 2018-03/txt/msg01015.txt.bz2 Content-length: 1061 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83748 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #7 from Segher Boessenkool --- Closing this now. This was fixed in 2013, in r205896 -- so should be fixed in 4.9 already. That commit added this to the documentation: In some cases, such as when the 'packed' attribute is applied to a structure field, it may not be possible to access the field with a single read or write that is correctly aligned for the target machine. In this case GCC falls back to generating multiple accesses rather than code that will fault or truncate the result at run time. (and also added the code to implement it; as you noticed, older compilers will do misaligned loads if you're not careful). >>From gcc-bugs-return-596428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:46:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121649 invoked by alias); 6 Mar 2018 18:46: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 121589 invoked by uid 48); 6 Mar 2018 18:46:35 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84742] New: internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Date: Tue, 06 Mar 2018 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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 keywords 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: 2018-03/txt/msg01016.txt.bz2 Content-length: 4721 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84742 Bug ID: 84742 Summary: internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com Target Milestone: --- Created attachment 43580 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43580&action=3Dedit valgrind output Input: void a() { char b; asm volatile ("" : "+fm: In function 'void a()': :9:1: internal compiler error: in process_alt_operands, at lra-constraints.c:2112 0x289cf5b process_alt_operands /home/vegard/git/gcc/gcc/lra-constraints.c:2112 0x28a6043 curr_insn_transform /home/vegard/git/gcc/gcc/lra-constraints.c:3860 0x28b93b6 lra_constraints(bool) /home/vegard/git/gcc/gcc/lra-constraints.c:4877 0x2829984 lra(_IO_FILE*) /home/vegard/git/gcc/gcc/lra.c:2419 0x2608794 do_reload /home/vegard/git/gcc/gcc/ira.c:5465 0x2608794 execute /home/vegard/git/gcc/gcc/ira.c:5649 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). This one is a bit of a weird one. It doesn't reproduce with "trunk" on godbolt.org for me and the crash itself is indeterministic. Sometimes the compiler doesn't print anything and it returns 0, sometimes it hangs after printing "during RTL pass: reload", and sometimes it gives the splat above (about 1 in every 10 runs, I'd say). I recommend running it in a loop to increase the chances of reproducing. Valgrind shows a bunch of errors, this is the first one: =3D=3D31845=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D31845=3D=3D at 0x2757C74: sparseset_bit_p (sparseset.h:147) =3D=3D31845=3D=3D by 0x2757C74: mark_pseudo_regno_live(int) (ira-lives.c= :289) =3D=3D31845=3D=3D by 0x2760800: process_bb_node_lives(ira_loop_tree_node= *) (ira-lives.c:1140) =3D=3D31845=3D=3D by 0x2677F7D: ira_traverse_loop_tree(bool, ira_loop_tr= ee_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1806) =3D=3D31845=3D=3D by 0x276BED9: ira_create_allocno_live_ranges() (ira-li= ves.c:1565) =3D=3D31845=3D=3D by 0x2687F08: ira_build() (ira-build.c:3429) =3D=3D31845=3D=3D by 0x2640C54: ira (ira.c:5295) =3D=3D31845=3D=3D by 0x2640C54: (anonymous namespace)::pass_ira::execute= (function*) (ira.c:5606) =3D=3D31845=3D=3D by 0x2B7EDA7: execute_one_pass(opt_pass*) (passes.c:24= 97) =3D=3D31845=3D=3D by 0x2B84CFB: execute_pass_list_1(opt_pass*) [clone .c= onstprop.89] (passes.c:2586) =3D=3D31845=3D=3D by 0x2B85DA0: execute_pass_list_1 (passes.c:2587) =3D=3D31845=3D=3D by 0x2B85DA0: execute_pass_list(function*, opt_pass*) (passes.c:2597) =3D=3D31845=3D=3D by 0x19A118E: cgraph_node::expand() (cgraphunit.c:2139) =3D=3D31845=3D=3D by 0x19AA5A7: expand_all_functions (cgraphunit.c:2275) =3D=3D31845=3D=3D by 0x19AA5A7: symbol_table::compile() [clone .part.56] (cgraphunit.c:2624) =3D=3D31845=3D=3D by 0x19B84D7: compile (cgraphunit.c:2537) =3D=3D31845=3D=3D by 0x19B84D7: symbol_table::finalize_compilation_unit() (cgraphunit.c:2717) I've attached a full valgrind log as well, in case that helps. Test case was minimised by C-Reduce. >>From gcc-bugs-return-596429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:48:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124244 invoked by alias); 6 Mar 2018 18:48: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 124196 invoked by uid 48); 6 Mar 2018 18:48:47 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84739] [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Tue, 06 Mar 2018 18: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-03/txt/msg01017.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Component|c |tree-optimization Target Milestone|--- |6.5 >>From gcc-bugs-return-596430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 18:58:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60432 invoked by alias); 6 Mar 2018 18:58: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 60345 invoked by uid 48); 6 Mar 2018 18:58:47 -0000 From: "willschm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9 Date: Tue, 06 Mar 2018 18:58: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: willschm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: willschm 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: 2018-03/txt/msg01018.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84371 Will Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Will Schmidt --- fixed and backported. Closing now. >>From gcc-bugs-return-596431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 19:06:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122801 invoked by alias); 6 Mar 2018 19: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 120483 invoked by uid 55); 6 Mar 2018 19:06:21 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56667] Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant" Date: Tue, 06 Mar 2018 19: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: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl 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: 2018-03/txt/msg01019.txt.bz2 Content-length: 843 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56667 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Mar 6 19:05:48 2018 New Revision: 258281 URL: https://gcc.gnu.org/viewcvs?rev=3D258281&root=3Dgcc&view=3Drev Log: 2018-03-06 Steven G. Kargl PR fortran/56667 * primary.c (match_sym_complex_part): Give the matcher for an impli= ed do-loop a chance to run. 2018-03-06 Steven G. Kargl PR fortran/56667 * gfortran.dg/implied_do_2.f90: New test. * gfortran.dg/coarray_8.f90: Update for new error message. Added: trunk/gcc/testsuite/gfortran.dg/implied_do_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/primary.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/coarray_8.f90 >>From gcc-bugs-return-596432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 19:19:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12980 invoked by alias); 6 Mar 2018 19:19: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 12901 invoked by uid 48); 6 Mar 2018 19:19:46 -0000 From: "willschm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82982] [8 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 5) in ready_sort_real in haifa scheduler Date: Tue, 06 Mar 2018 19:19: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: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: willschm 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.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: 2018-03/txt/msg01020.txt.bz2 Content-length: 1511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82982 --- Comment #8 from Will Schmidt --- (In reply to Will Schmidt from comment #6) > (In reply to Arseny Solokha from comment #5) > > (In reply to Will Schmidt from comment #4) > > > Tried to re-create locally, I've gotten two ICE's using the provided > > > testcode snippet, neither look quite like the originally reported iss= ue.=20 > >=20 > > You are right. I also cannot reproduce the original issue anymore w/ r2= 57975. >=20 > Today I cannot get any ICE's out of this test. Wonder if things were fix= ed > up in the mean-time, or if I tickled a config option and managed to hide = the > issue(s). Going to try a few more runs with older trees to see if I can > verify things are fixed. (In reply to Arseny Solokha from comment #7) > OK, the original issue still reproduces for the powerpc-e500v2-linux-gnus= pe > target as of r257975, so the change that affected this issue must have be= en > local to the rs6000 backend. Ok. so at the moment I'm going to claim that I am unable to recreate the initially reported problem in my environments, which are 64-bit or 64/32 mi= xed. Nothing pure 32-bit here, nothing e300* or e500*, etc. The ICe's that I did see (comment #4) seem to be to be a separate issue. T= hose only occur in my sandbox/debug build of gcc, which has CFLAGS,CXXFLAGS,CFLAGS_FOR_BUILD, CFLAGS_FOR_TARGET, etc all set to "-O0 -= g3 -fno-inline". I otherwise don't see any ICE with this test case. >>From gcc-bugs-return-596433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 19:20:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13933 invoked by alias); 6 Mar 2018 19:20: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 13860 invoked by uid 48); 6 Mar 2018 19:20:11 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Tue, 06 Mar 2018 19: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: 7.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: 6.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: 2018-03/txt/msg01021.txt.bz2 Content-length: 1200 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 --- Comment #16 from Jason Merrill --- (In reply to Jakub Jelinek from comment #13) > E.g. could we walk into TARGET_EXPRs that have TARGET_EXPR_INITIAL > AGGR_INIT_EXPR, but avoid those that have TARGET_EXPR_INITIAL a CONSTRUCT= OR, > or a CONSTRUCTOR with certain flags, or have some flags on TARGET_EXPRs? No, the form of the TARGET_EXPR isn't sufficient to distinguish. Here's a complete testcase: struct X { unsigned i; unsigned n =3D i; }; X bar(X x) { return x; } struct Y { static Y bar(Y y) { return y; } unsigned i; unsigned n =3D bar(Y{2,i}).n; }; int main() { X x { 1, bar(X{2}).n }; if (x.n !=3D 2) __builtin_abort(); Y y { 1 }; if (y.n !=3D 1) __builtin_abort(); } Here, the initializers for x and y end up looking equivalent within store_init_value, but the PLACEHOLDER_EXPRs are meant to refer to different objects. There's no way for replace_placeholders to tell the difference. I think to handle this we'll need to change process_init_constructor_record= to either not expose PLACEHOLDER_EXPRs, or adjust them to indicate better which CONSTRUCTOR they refer to. >>From gcc-bugs-return-596434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 19:28:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24098 invoked by alias); 6 Mar 2018 19:28: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 24053 invoked by uid 55); 6 Mar 2018 19:28:20 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56667] Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant" Date: Tue, 06 Mar 2018 19:28: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: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl 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: 2018-03/txt/msg01022.txt.bz2 Content-length: 923 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56667 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Mar 6 19:27:48 2018 New Revision: 258282 URL: https://gcc.gnu.org/viewcvs?rev=3D258282&root=3Dgcc&view=3Drev Log: 2018-03-06 Steven G. Kargl PR fortran/56667 * primary.c (match_sym_complex_part): Give the matcher for an impli= ed do-loop a chance to run. 2018-03-06 Steven G. Kargl PR fortran/56667 * gfortran.dg/implied_do_2.f90: New test. * gfortran.dg/coarray_8.f90: Update for new error message. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/implied_do_2.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/primary.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gfortran.dg/coarray_8.f90 >>From gcc-bugs-return-596435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 19:31:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38366 invoked by alias); 6 Mar 2018 19:31: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 35740 invoked by uid 55); 6 Mar 2018 19:31:30 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56667] Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant" Date: Tue, 06 Mar 2018 19: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: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl 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: 2018-03/txt/msg01023.txt.bz2 Content-length: 924 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56667 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Mar 6 19:30:41 2018 New Revision: 258283 URL: https://gcc.gnu.org/viewcvs?rev=3D258283&root=3Dgcc&view=3Drev Log: 2018-03-06 Steven G. Kargl PR fortran/56667 * primary.c (match_sym_complex_part): Give the matcher for an impli= ed do-loop a chance to run. 2018-03-06 Steven G. Kargl PR fortran/56667 * gfortran.dg/implied_do_2.f90: New test. * gfortran.dg/coarray_8.f90: Update for new error message. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/implied_do_2.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/primary.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gfortran.dg/coarray_8.f90 >>From gcc-bugs-return-596436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 19:32:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40800 invoked by alias); 6 Mar 2018 19:32: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 40757 invoked by uid 48); 6 Mar 2018 19:32:11 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56667] Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant" Date: Tue, 06 Mar 2018 19:32: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: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01024.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56667 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.5 --- Comment #7 from kargl at gcc dot gnu.org --- Fixed on 6-branch, 7-branch, and trunk. Thanks for bug report. >>From gcc-bugs-return-596437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 19:53:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79028 invoked by alias); 6 Mar 2018 19:53: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 78993 invoked by uid 48); 6 Mar 2018 19:53:18 -0000 From: "acsawdey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84743] New: default widths for parallel reassociation now hurt rather than help Date: Tue, 06 Mar 2018 19:53: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey 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 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: 2018-03/txt/msg01025.txt.bz2 Content-length: 1162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84743 Bug ID: 84743 Summary: default widths for parallel reassociation now hurt rather than help Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: acsawdey at gcc dot gnu.org Reporter: acsawdey at gcc dot gnu.org Target Milestone: --- Target: powerpc64le power8 The width settings in rs6000_reassociation_width() were chosen to help performance for SPEC CPU in gcc 7. Testing on power8 shows that in gcc 8 (258101) there are now major degradat= ions in CPU2017 int with the default reassociation widths as compared to using --param tree-reassoc-width=3D1 to disable reassociation. Benchmark=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 500.perlbench_r -5.98% 502.gcc_r -1.16% 505.mcf_r -12.44% 520.omnetpp_r -39.00% 523.xalancbmk_r -9.78% 525.x264_r -1.76% 531.deepsjeng_r -4.23% 548.exchange2_r -0.66% 557.xz_r -2.04% >>From gcc-bugs-return-596438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:00:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92103 invoked by alias); 6 Mar 2018 20:00: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 91838 invoked by uid 48); 6 Mar 2018 20:00:50 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84743] default widths for parallel reassociation now hurt rather than help Date: Tue, 06 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01026.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84743 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 CC| |segher at gcc dot gnu.org --- Comment #1 from Segher Boessenkool --- This needs to be fixed before GCC 8 release. >>From gcc-bugs-return-596439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:02:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94230 invoked by alias); 6 Mar 2018 20:02: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 94130 invoked by uid 55); 6 Mar 2018 20:02:16 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type Date: Tue, 06 Mar 2018 20:02: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: 7.2.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01027.txt.bz2 Content-length: 1195 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83954 --- Comment #14 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:01:44 2018 New Revision: 258285 URL: https://gcc.gnu.org/viewcvs?rev=3D258285&root=3Dgcc&view=3Drev Log: Backport r257183 2018-03-06 Martin Liska Backport from mainline 2018-01-30 Jan Hubicka PR lto/83954 * lto-symtab.c (warn_type_compatibility_p): Silence false positive for type match warning on arrays of pointers. 2018-03-06 Martin Liska Backport from mainline 2018-01-30 Jan Hubicka PR lto/83954 * gcc.dg/lto/pr83954.h: New testcase. * gcc.dg/lto/pr83954_0.c: New testcase. * gcc.dg/lto/pr83954_1.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr83954.h branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr83954_0.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr83954_1.c Modified: branches/gcc-7-branch/gcc/lto/ChangeLog branches/gcc-7-branch/gcc/lto/lto-symtab.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:02:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97216 invoked by alias); 6 Mar 2018 20: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 95544 invoked by uid 55); 6 Mar 2018 20:02:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type Date: Tue, 06 Mar 2018 20:02: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: 7.2.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01028.txt.bz2 Content-length: 684 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83954 --- Comment #15 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:02:03 2018 New Revision: 258286 URL: https://gcc.gnu.org/viewcvs?rev=3D258286&root=3Dgcc&view=3Drev Log: Backport r257343 2018-03-06 Martin Liska Backport from mainline 2018-02-02 Eric Botcazou PR lto/83954 * lto-symtab.c (warn_type_compatibility_p): Do not recurse into the component type of array types with non-aliased component. Modified: branches/gcc-7-branch/gcc/lto/ChangeLog branches/gcc-7-branch/gcc/lto/lto-symtab.c >>From gcc-bugs-return-596441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:03:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98407 invoked by alias); 6 Mar 2018 20:03: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 98334 invoked by uid 55); 6 Mar 2018 20:02:57 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Tue, 06 Mar 2018 20:03: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: 7.1.1 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01029.txt.bz2 Content-length: 882 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 --- Comment #27 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:02:22 2018 New Revision: 258287 URL: https://gcc.gnu.org/viewcvs?rev=3D258287&root=3Dgcc&view=3Drev Log: Backport r257412 2018-03-06 Martin Liska Backport from mainline 2018-01-30 Jan Hubicka PR lto/81004 * lto.c: Include builtins.h (register_resolution): Merge resolutions in case trees was merged across units. (lto_maybe_register_decl): Break out from ... (lto_read_decls): ... here. (unify_scc): Also register decls here. (read_cgraph_and_symbols): Sanity check that all resolutions was read. Modified: branches/gcc-7-branch/gcc/lto/ChangeLog branches/gcc-7-branch/gcc/lto/lto.c >>From gcc-bugs-return-596442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:04:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106096 invoked by alias); 6 Mar 2018 20:04: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 106013 invoked by uid 55); 6 Mar 2018 20:04:52 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/81360] [8 Regression] ice in estimate_edge_growth, at ipa-inline.h:86 Date: Tue, 06 Mar 2018 20: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01030.txt.bz2 Content-length: 1431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81360 --- Comment #17 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:04:20 2018 New Revision: 258289 URL: https://gcc.gnu.org/viewcvs?rev=3D258289&root=3Dgcc&view=3Drev Log: Backport r257490 2018-03-06 Martin Liska Backport from mainline 2018-02-08 Jan Hubicka PR ipa/81360 * cgraph.h (symtab_node::output_to_lto_symbol_table_p): Declare * symtab.c: Include builtins.h (symtab_node::output_to_lto_symbol_table_p): Move here from lto-streamer-out.c:output_symbol_p. * lto-streamer-out.c (write_symbol): Turn early exit to assert. (output_symbol_p): Move all logic to symtab.c (produce_symtab): Update. 2018-03-06 Martin Liska Backport from mainline 2018-02-08 Jan Hubicka PR ipa/81360 * lto.c (unify_scc): Register prevailing trees, not trees to be fre= ed. (read_cgraph_and_symbols): Use symtab_node::output_to_lto_symbol_table_p. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/cgraph.h branches/gcc-7-branch/gcc/lto-streamer-out.c branches/gcc-7-branch/gcc/lto/ChangeLog branches/gcc-7-branch/gcc/lto/lto.c branches/gcc-7-branch/gcc/symtab.c branches/gcc-7-branch/gcc/tree.c >>From gcc-bugs-return-596443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:05:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107112 invoked by alias); 6 Mar 2018 20:05: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 107057 invoked by uid 55); 6 Mar 2018 20:05:10 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84229] A valid code rejected with -flto Date: Tue, 06 Mar 2018 20: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: 8.0.1 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2018-03/txt/msg01031.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84229 --- Comment #11 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:04:36 2018 New Revision: 258290 URL: https://gcc.gnu.org/viewcvs?rev=3D258290&root=3Dgcc&view=3Drev Log: Backport r257877 2018-03-06 Martin Liska Backport from mainline 2018-02-21 Jan Hubicka PR c/84229 * ipa-cp.c (determine_versionability): Do not version functions cal= ing va_arg_pack. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/ipa-cp.c >>From gcc-bugs-return-596444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:06:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109005 invoked by alias); 6 Mar 2018 20:06: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 108927 invoked by uid 55); 6 Mar 2018 20:06:24 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/79455] c-c++-common/tsan/race_on_mutex.c fails on powerpcle starting with r244854 (where it was activated) Date: Tue, 06 Mar 2018 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01032.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79455 --- Comment #6 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:05:52 2018 New Revision: 258293 URL: https://gcc.gnu.org/viewcvs?rev=3D258293&root=3Dgcc&view=3Drev Log: Backport r247342 2018-03-06 Martin Liska Backport from mainline 2017-04-27 Martin Liska PR testsuite/79455 * c-c++-common/tsan/race_on_mutex.c: Make the scanned pattern more generic. Modified: branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/c-c++-common/tsan/race_on_mutex.c >>From gcc-bugs-return-596445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:06:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110205 invoked by alias); 6 Mar 2018 20:06: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 109959 invoked by uid 55); 6 Mar 2018 20:06:42 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82675] ICE in duplicate_loop_to_header_edge at gcc/cfgloopmanip.c:1207 Date: Tue, 06 Mar 2018 20:06: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: 8.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: marxin 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: 2018-03/txt/msg01033.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82675 --- Comment #6 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:06:10 2018 New Revision: 258294 URL: https://gcc.gnu.org/viewcvs?rev=3D258294&root=3Dgcc&view=3Drev Log: Backport r255818 2018-03-06 Martin Liska Backport from mainline 2017-12-19 Martin Liska PR rtl-optimization/82675 * loop-unroll.c (unroll_loop_constant_iterations): Allocate one more element in sbitmap. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/loop-unroll.c >>From gcc-bugs-return-596448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:07:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123639 invoked by alias); 6 Mar 2018 20:07: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 118953 invoked by uid 55); 6 Mar 2018 20:07:31 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84137] Typo in gcov online documentation Date: Tue, 06 Mar 2018 20:07: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: 7.2.1 X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01036.txt.bz2 Content-length: 587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84137 --- Comment #4 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:06:56 2018 New Revision: 258297 URL: https://gcc.gnu.org/viewcvs?rev=3D258297&root=3Dgcc&view=3Drev Log: Backport r257384 2018-03-06 Martin Liska Backport from mainline 2018-02-05 Martin Liska PR gcov-profile/84137 * doc/gcov.texi: Fix typo in documentation. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/doc/gcov.texi >>From gcc-bugs-return-596446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:07:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111679 invoked by alias); 6 Mar 2018 20:07: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 111508 invoked by uid 55); 6 Mar 2018 20:07:01 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct Date: Tue, 06 Mar 2018 20:07: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: 6.3.1 X-Bugzilla-Keywords: diagnostic, lto, patch 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01034.txt.bz2 Content-length: 1176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81440 --- Comment #10 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:06:29 2018 New Revision: 258295 URL: https://gcc.gnu.org/viewcvs?rev=3D258295&root=3Dgcc&view=3Drev Log: Backport r256989 2018-03-06 Martin Liska Backport from mainline 2018-01-23 Martin Liska PR lto/81440 * lto-symtab.c (lto_symtab_merge): Handle and do not warn about trailing arrays at the end of a struct. 2018-03-06 Martin Liska Backport from mainline 2018-01-23 Martin Liska PR lto/81440 * gcc.dg/lto/pr81440.h: New test. * gcc.dg/lto/pr81440_0.c: New test. * gcc.dg/lto/pr81440_1.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440.h branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440_0.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/lto/pr81440_1.c Modified: branches/gcc-7-branch/gcc/lto/ChangeLog branches/gcc-7-branch/gcc/lto/lto-symtab.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:07:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113512 invoked by alias); 6 Mar 2018 20:07: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 112627 invoked by uid 55); 6 Mar 2018 20:07:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries Date: Tue, 06 Mar 2018 20:07: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: unknown X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01035.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83879 --- Comment #8 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:06:45 2018 New Revision: 258296 URL: https://gcc.gnu.org/viewcvs?rev=3D258296&root=3Dgcc&view=3Drev Log: Backport r257383 2018-03-06 Martin Liska Backport from mainline 2018-02-05 Martin Liska PR gcov-profile/83879 * doc/gcov.texi: Document necessity of --dynamic-list-data when using dlopen functionality. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/doc/gcov.texi >>From gcc-bugs-return-596449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:07:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9553 invoked by alias); 6 Mar 2018 20:07: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 4959 invoked by uid 55); 6 Mar 2018 20:07:50 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/80589] Typing mistakes in two messages Date: Tue, 06 Mar 2018 20:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01037.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80589 --- Comment #12 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:07:18 2018 New Revision: 258298 URL: https://gcc.gnu.org/viewcvs?rev=3D258298&root=3Dgcc&view=3Drev Log: Backport r257803 2018-03-06 Martin Liska Backport from mainline 2018-02-19 Martin Liska PR other/80589 * doc/invoke.texi: Fix typo. * params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/doc/invoke.texi branches/gcc-7-branch/gcc/params.def >>From gcc-bugs-return-596451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:08:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31811 invoked by alias); 6 Mar 2018 20:08: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 26606 invoked by uid 55); 6 Mar 2018 20:08:11 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/79747] Missing documentation for -malign-{jumps,label,loops,functions}= and strange value range limitation Date: Tue, 06 Mar 2018 20:08: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.0 X-Bugzilla-Keywords: documentation 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: 8.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: 2018-03/txt/msg01039.txt.bz2 Content-length: 1420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79747 --- Comment #5 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:07:38 2018 New Revision: 258299 URL: https://gcc.gnu.org/viewcvs?rev=3D258299&root=3Dgcc&view=3Drev Log: Backport r257842 2018-03-06 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * final.c (shorten_branches): Build align_tab array with one more element. * opts.c (finish_options): Add alignment option limit check. (MAX_CODE_ALIGN): Likewise. (MAX_CODE_ALIGN_VALUE): Likewise. * doc/invoke.texi: Document maximum allowed option value for all -falign-* options. 2018-03-06 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * gcc.target/i386/pr84310.c: New test. * gcc.target/i386/pr84310-2.c: Likewise. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr84310-2.c branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr84310.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/doc/invoke.texi branches/gcc-7-branch/gcc/final.c branches/gcc-7-branch/gcc/opts.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:08:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31558 invoked by alias); 6 Mar 2018 20:08: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 24442 invoked by uid 55); 6 Mar 2018 20:08:10 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84310] -falign-{labels,loops,jumps} with value >= 32768+1 cause a segfault Date: Tue, 06 Mar 2018 20: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: unknown 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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01038.txt.bz2 Content-length: 1420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84310 --- Comment #4 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:07:38 2018 New Revision: 258299 URL: https://gcc.gnu.org/viewcvs?rev=3D258299&root=3Dgcc&view=3Drev Log: Backport r257842 2018-03-06 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * final.c (shorten_branches): Build align_tab array with one more element. * opts.c (finish_options): Add alignment option limit check. (MAX_CODE_ALIGN): Likewise. (MAX_CODE_ALIGN_VALUE): Likewise. * doc/invoke.texi: Document maximum allowed option value for all -falign-* options. 2018-03-06 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * gcc.target/i386/pr84310.c: New test. * gcc.target/i386/pr84310-2.c: Likewise. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr84310-2.c branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr84310.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/doc/invoke.texi branches/gcc-7-branch/gcc/final.c branches/gcc-7-branch/gcc/opts.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:08:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36462 invoked by alias); 6 Mar 2018 20:08: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 33338 invoked by uid 55); 6 Mar 2018 20:08:25 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc Date: Tue, 06 Mar 2018 20:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01040.txt.bz2 Content-length: 702 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80551 --- Comment #20 from Martin Li=C5=A1ka --- Author: marxin Date: Tue Mar 6 20:07:49 2018 New Revision: 258300 URL: https://gcc.gnu.org/viewcvs?rev=3D258300&root=3Dgcc&view=3Drev Log: Backport r257932 2018-03-06 Martin Liska Backport from mainline 2018-02-23 Segher Boessenkool PR testsuite/80551 * c-c++-common/tsan/race_on_mutex.c: Change regexp to allow __GI___pthread_mutex_init as well. Modified: branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/c-c++-common/tsan/race_on_mutex.c >>From gcc-bugs-return-596453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:09:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44729 invoked by alias); 6 Mar 2018 20:09: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 44673 invoked by uid 48); 6 Mar 2018 20:08:57 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/80551] c-c++-common/tsan/race_on_mutex.c fails on powerpc Date: Tue, 06 Mar 2018 20:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01041.txt.bz2 Content-length: 448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80551 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #21 from Martin Li=C5=A1ka --- Should be fixed now. >>From gcc-bugs-return-596454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:36:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50924 invoked by alias); 6 Mar 2018 20:36: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 50889 invoked by uid 48); 6 Mar 2018 20:36:43 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84740] [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Tue, 06 Mar 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: 2018-03/txt/msg01042.txt.bz2 Content-length: 990 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Confirmed; assertion failure here: #1 0x0000000000e405ce in build_constructors (info=3D0x7fffffffdb80, swtch=3D) at ../../src/gcc/tree-switch-conversion.c:965 965 gcc_assert (!info->contiguous_range); (gdb) p info->contiguous_range=20 $1 =3D true (gdb) call debug (info->range_min) 0 (gdb) call debug (info->range_max) 2 Started between r247528 (not affected) and r247538 (affected); probably r247538. >>From gcc-bugs-return-596455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:42:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70523 invoked by alias); 6 Mar 2018 20:42: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 70466 invoked by uid 55); 6 Mar 2018 20:42:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 20:42: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: 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01043.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Tue Mar 6 20:41:37 2018 New Revision: 258301 URL: https://gcc.gnu.org/viewcvs?rev=3D258301&root=3Dgcc&view=3Drev Log: PR target/84710 * combine.c (try_combine): Use reg_or_subregno instead of handling just paradoxical SUBREGs and REGs. * gcc.dg/pr84710.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr84710.c Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:58:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1449 invoked by alias); 6 Mar 2018 20:58: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 1367 invoked by uid 55); 6 Mar 2018 20:58:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Date: Tue, 06 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01044.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84721 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Mar 6 20:57:30 2018 New Revision: 258302 URL: https://gcc.gnu.org/viewcvs?rev=3D258302&root=3Dgcc&view=3Drev Log: PR c/84721 * c-parser.c (add_debug_begin_stmt): Don't add DEBUG_BEGIN_STMT if !building_stmt_list_p (). * gcc.dg/pr84721.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr84721.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:59:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2522 invoked by alias); 6 Mar 2018 20:59: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 2458 invoked by uid 48); 6 Mar 2018 20:58:58 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate Date: Tue, 06 Mar 2018 20:59: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: 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01045.txt.bz2 Content-length: 424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84710 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-596458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 20:59:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3305 invoked by alias); 6 Mar 2018 20:59: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 3237 invoked by uid 48); 6 Mar 2018 20:59:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667 Date: Tue, 06 Mar 2018 20:59: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: ice-on-invalid-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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01046.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84721 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-596459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:06:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12679 invoked by alias); 6 Mar 2018 21:06: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 12476 invoked by uid 48); 6 Mar 2018 21:06:25 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64107] [F95] Pure function as array size Date: Tue, 06 Mar 2018 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: 5.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01047.txt.bz2 Content-length: 854 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64107 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org --- Comment #1 from kargl at gcc dot gnu.org --- This appears to be fixed by my patch for PR 83633. I will convert the code and add it as a testcase to trunk. % gfcx -o z a.f90 a.f90:15:22: integer :: x2(foo()) 1 Error: Explicit shaped array with nonconstant bounds at (1) a.f90:24:22: integer :: x4(foo()) 1 Error: Explicit shaped array with nonconstant bounds at (1) >>From gcc-bugs-return-596460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:12:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43470 invoked by alias); 6 Mar 2018 21:12: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 43423 invoked by uid 55); 6 Mar 2018 21:12:18 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Tue, 06 Mar 2018 21: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-code 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: 8.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: 2018-03/txt/msg01048.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #17 from Marek Polacek --- Author: mpolacek Date: Tue Mar 6 21:11:46 2018 New Revision: 258303 URL: https://gcc.gnu.org/viewcvs?rev=3D258303&root=3Dgcc&view=3Drev Log: PR c++/84684 * constexpr.c (cxx_bind_parameters_in_call): Unshare evaluated arguments. * g++.dg/cpp1z/constexpr-84684.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-84684.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:24:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114579 invoked by alias); 6 Mar 2018 21:24: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 114465 invoked by uid 48); 6 Mar 2018 21:24:53 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83969] [8 Regression] ICE in final_scan_insn, at final.c:2997 (error: could not split insn) for powerpc targets Date: Tue, 06 Mar 2018 21: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01049.txt.bz2 Content-length: 1011 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83969 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|segher at gcc dot gnu.org |bergner at gcc dot = gnu.org --- Comment #11 from Peter Bergner --- (In reply to Peter Bergner from comment #10) > + /* Don't allow non-offsettable addresses. See PRs 83969 and 84279. */ > + if (!offsettable_address_p (false, mode, addr)) > return false; Ok, I had one regression and that was caused by a TImode load that was at t= he end of the valid offset range...meaning "addr" was ok for a offset address,= but we could not add one more offset, which is what offsettable_address_p() tes= ts for. Looks like I just need to replace offsettable_address_p() with rs6000_offsettable_memref_p(). That fixes the failing test case. I'll rebootstrap/regtest with that change. >>From gcc-bugs-return-596462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:26:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115828 invoked by alias); 6 Mar 2018 21:26: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 115758 invoked by uid 48); 6 Mar 2018 21:26:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84740] [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Tue, 06 Mar 2018 21: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: 8.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: marxin 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: 2018-03/txt/msg01050.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot g= nu.org --- Comment #2 from Martin Li=C5=A1ka --- I can take a look. >>From gcc-bugs-return-596463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:27:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118812 invoked by alias); 6 Mar 2018 21:27: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 118700 invoked by uid 48); 6 Mar 2018 21:27:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Tue, 06 Mar 2018 21: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: 7.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01051.txt.bz2 Content-length: 2295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 --- Comment #17 from Jakub Jelinek --- (In reply to Jason Merrill from comment #16) > (In reply to Jakub Jelinek from comment #13) > > E.g. could we walk into TARGET_EXPRs that have TARGET_EXPR_INITIAL > > AGGR_INIT_EXPR, but avoid those that have TARGET_EXPR_INITIAL a CONSTRU= CTOR, > > or a CONSTRUCTOR with certain flags, or have some flags on TARGET_EXPRs? >=20 > No, the form of the TARGET_EXPR isn't sufficient to distinguish. Here's a > complete testcase: >=20 > struct X { > unsigned i; > unsigned n =3D i; > }; >=20 > X bar(X x) { > return x; > } >=20 > struct Y > { > static Y bar(Y y) { return y; } > unsigned i; > unsigned n =3D bar(Y{2,i}).n; > }; >=20 > int main() > { > X x { 1, bar(X{2}).n }; > if (x.n !=3D 2) > __builtin_abort(); >=20=20=20 > Y y { 1 }; > if (y.n !=3D 1) > __builtin_abort(); > } >=20 > Here, the initializers for x and y end up looking equivalent within > store_init_value, but the PLACEHOLDER_EXPRs are meant to refer to differe= nt > objects. There's no way for replace_placeholders to tell the difference. >=20 > I think to handle this we'll need to change process_init_constructor_reco= rd > to either not expose PLACEHOLDER_EXPRs, or adjust them to indicate better > which CONSTRUCTOR they refer to. Ah, ok, that indeed fails with my patch. Couldn't we mark somewhere using a new lang flag the CONSTRUCTORs that are supposed to be boundaries for the PLACEHOLDER_EXPRs (in the above testcase on {.i=3D1, .n=3D(TARGET_EXPR )->i}>)>).n} it would be the {.i=3D2, .n=3D(&)->i} CONSTRUCTOR and on {.i=3D1, .n=3D(TARGET_EXPR )->i}>)>).n} it wouldn't mark any)? Is it the case that PLACEHOLDER_EXPRs should always bind to some containing CONSTRUCTOR and can't be intermixed (say one PLACEHOLDER_EXPR binding to inner CONSTRUCTOR and some other PLACEHOLDER_EX= PR within the same CONSTRUCTOR binding to an outer CONSTRUCTOR? Or do you want the #c12 patch as a partial fix for GCC8 and come up with a = real fix for GCC9? Or do nothing for now, something else? >>From gcc-bugs-return-596464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:43:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22193 invoked by alias); 6 Mar 2018 21:43: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 22102 invoked by uid 55); 6 Mar 2018 21:43:36 -0000 From: "ville at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84601] [8 Regression] std::optional> is not assignment copyable Date: Tue, 06 Mar 2018 21:43: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: 8.0.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ville at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ville.voutilainen at gmail dot com X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01052.txt.bz2 Content-length: 744 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84601 --- Comment #3 from ville at gcc dot gnu.org --- Author: ville Date: Tue Mar 6 21:43:03 2018 New Revision: 258304 URL: https://gcc.gnu.org/viewcvs?rev=3D258304&root=3Dgcc&view=3Drev Log: PR libstdc++/84601 * include/std/optional (_Optional_payload): Split into multiple specializations that can handle different cases of trivial or non-trivial assignment operators. * testsuite/20_util/optional/84601.cc: New. * testsuite/20_util/optional/cons/value_neg.cc: Adjust. Added: trunk/libstdc++-v3/testsuite/20_util/optional/84601.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/optional trunk/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc >>From gcc-bugs-return-596465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:45:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24550 invoked by alias); 6 Mar 2018 21:45: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 24142 invoked by uid 48); 6 Mar 2018 21:45:37 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84739] [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Tue, 06 Mar 2018 21: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: 6.5 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: 2018-03/txt/msg01053.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-06 CC| |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from David Malcolm --- Confirmed. The ICE in comment #1 started with r231428. >>From gcc-bugs-return-596466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 21:47:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26974 invoked by alias); 6 Mar 2018 21:47: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 26931 invoked by uid 48); 6 Mar 2018 21:47:11 -0000 From: "ville.voutilainen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84601] [8 Regression] std::optional> is not assignment copyable Date: Tue, 06 Mar 2018 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: 8.0.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ville.voutilainen at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ville.voutilainen at gmail dot com X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01054.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84601 Ville Voutilainen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Ville Voutilainen = --- Fixed. >>From gcc-bugs-return-596467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 22:08:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72423 invoked by alias); 6 Mar 2018 22:08: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 72382 invoked by uid 48); 6 Mar 2018 22:08:16 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84677] internal compiler error: in extract_constrain_insn, at recog.c:2205 Date: Tue, 06 Mar 2018 22:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: 2018-03/txt/msg01055.txt.bz2 Content-length: 662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84677 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org --- Comment #1 from David Malcolm --- Doesn't need the "-x c++". Started somewhere between r229464 (unaffected) and r229470 (affected); prob= ably r229470. Running into this for gcc 8 due to: 2572 if (flag_checking) 2573 check_rtl (true); Is this valid code? My asm-syntax knowledge isn't strong. >>From gcc-bugs-return-596468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 22:09:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73699 invoked by alias); 6 Mar 2018 22:09: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 73638 invoked by uid 48); 6 Mar 2018 22:09:44 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84739] [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Tue, 06 Mar 2018 22:09: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.0 X-Bugzilla-Keywords: 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: 6.5 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: 2018-03/txt/msg01056.txt.bz2 Content-length: 938 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Untested fix: --- gcc/tree-tailcall.c.jj 2018-01-12 11:35:51.470222838 +0100 +++ gcc/tree-tailcall.c 2018-03-06 23:05:39.779048759 +0100 @@ -481,7 +481,7 @@ find_tail_calls (basic_block bb, struct { tree arg; - for (param =3D DECL_ARGUMENTS (func), idx =3D 0; + for (param =3D DECL_ARGUMENTS (current_function_decl), idx =3D 0; param && idx < gimple_call_num_args (call); param =3D DECL_CHAIN (param), idx ++) { Wonder if the bug is also reproduceable when the gimple call has some diffe= rent fntype. >>From gcc-bugs-return-596469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 22:24:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103563 invoked by alias); 6 Mar 2018 22:24: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 103510 invoked by uid 48); 6 Mar 2018 22:24:49 -0000 From: "palves at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1 Date: Tue, 06 Mar 2018 22:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01057.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84550 --- Comment #10 from Pedro Alves --- It sounds that way, but I haven't verified, e.g., by trying older versions = of gdb, and/or bisecting. Kevin, in addition to trying older versions of gdb with freorder-blocks-and-partition, I'm curious about why gdb finds different en= ds of prologue when stepping vs when setting a breakpoint. It may be that mak= ing both spots use the same logic (e.g., it may one is skipping instructions manually using the heuristic unwinders and another is using the line tables) will be good enough of a stopgap to unblock this bug. >>From gcc-bugs-return-596470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 22:57:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30547 invoked by alias); 6 Mar 2018 22:57: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 30503 invoked by uid 48); 6 Mar 2018 22:57:46 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64124] [F95] Valid constant expr rejected Date: Tue, 06 Mar 2018 22:57: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01058.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64124 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org --- Comment #2 from kargl at gcc dot gnu.org --- I think my patch for PR 70409 also fixes this one. >>From gcc-bugs-return-596471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:14:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67533 invoked by alias); 6 Mar 2018 23:14: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 67342 invoked by uid 48); 6 Mar 2018 23:13:59 -0000 From: "development@faf-ltd.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] New: cannot use glibc 2.27 with gcc 7.3 Date: Tue, 06 Mar 2018 23:14: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: development@faf-ltd.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: 2018-03/txt/msg01059.txt.bz2 Content-length: 3860 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 Bug ID: 84744 Summary: cannot use glibc 2.27 with gcc 7.3 Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: development@faf-ltd.com Target Milestone: --- Created attachment 43581 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43581&action=3Dedit error messages I have installed gcc 7.3 in the /FaF directory and glibc 2.27 in the /FaF/g= libc directory. Compiling this code ------------------- #include #include int main( int argc, char * argv [] ) { if ( argc !=3D 2 ) { return 1; } return std::abs(std::atoi(argv[1])); } with g++ -c foo.cpp works fine. Adding the glibc 2.27 include path fails horrible: g++ -c foo.cpp -I /FaF/glibc/include Here the full error list: https://gofile.io/?c=3DJ2Zwlv or see the attached= file. Compiling it with the system gcc 4.8.5 works fine even the glibc 2.27 inclu= de path is added. Output for g++ -xc++ -E -v - -I /FaF/glibc/include/ --------------------------------------------------- Using built-in specs. COLLECT_GCC=3Dg++ Target: x86_64-suse-linux Configured with: ../gcc-7.3.0/configure --prefix=3D/FaF --infodir=3D/FaF/sh= are/info --mandir=3D/FaF/share/man --libdir=3D/FaF/lib64 --libexecdir=3D/FaF/lib64 --enable-languages=3Dc,c++ --enable-checking=3Drelease --with-gmp=3D/FaF/ --with-mpfr=3D/FaF --with-gmc=3D/FaF --with-gxx-include-dir=3D/FaF/include/= c++/7.3 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=3Dhttp://bugs.opensuse.org/--with-pkgversion=3D'SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=3D/lib64 --with-system= -zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=3Dnew --disable-libstdcx= x-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=3D-7.3 --without-system-libunwind --with-arch-32=3Di586 --with-tune=3Dgeneric --build=3Dx86_64-suse-linux --host=3Dx86_64-suse-linux --disable-multilib Thread model: posix gcc version 7.3.0 (SUSE Linux) COLLECT_GCC_OPTIONS=3D'-E' '-v' '-I' '/FaF/glibc/include/' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /FaF/lib64/gcc/x86_64-suse-linux/7.3.0/cc1plus -E -quiet -v -I /FaF/glibc/include/ -D_GNU_SOURCE - -mtune=3Dgeneric -march=3Dx86-64 ignoring nonexistent directory "/FaF/lib64/gcc/x86_64-suse-linux/7.3.0/../../../../x86_64-suse-linux/inclu= de" #include "..." search starts here: #include <...> search starts here: /FaF/glibc/include/ /FaF/include/c++/7.3 /FaF/include/c++/7.3/x86_64-suse-linux /FaF/include/c++/7.3/backward /FaF/lib64/gcc/x86_64-suse-linux/7.3.0/include /usr/local/include /FaF/include /FaF/lib64/gcc/x86_64-suse-linux/7.3.0/include-fixed /usr/include End of search list. First error lines - for some reasons g++ starts to use the g++ starts to use the g++ 4.8.5 - which is installed on the system - include path. In file included from /usr/include/math.h:48:0, from /FaF/include/c++/7.3/cmath:45, from foo.cpp:11: /FaF/glibc/include/bits/mathdef.h:19:3: error: #error "Never use directly; include instead" # error "Never use directly; include instead" ^~~~~ In file included from /FaF/include/c++/7.3/cstdlib:75:0, from foo.cpp:10: /usr/include/stdlib.h:95:1: error: =E2=80=98__BEGIN_NAMESPACE_STD=E2=80=99 = does not name a type; did you mean =E2=80=98__BEGIN_DECLS=E2=80=99? __BEGIN_NAMESPACE_STD ^~~~~~~~~~~~~~~~~~~~~ __BEGIN_DECLS /usr/include/stdlib.h:101:5: error: =E2=80=98div_t=E2=80=99 does not name a= type; did you mean =E2=80=98size_t=E2=80=99? } div_t; ^~~~~ >>From gcc-bugs-return-596472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:21:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76781 invoked by alias); 6 Mar 2018 23:21: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 76758 invoked by uid 48); 6 Mar 2018 23:21:05 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Tue, 06 Mar 2018 23:21: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.3.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: 2018-03/txt/msg01060.txt.bz2 Content-length: 193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #1 from Andrew Pinski --- >-I /FaF/glibc/include Use -isystem instead or a true sysroot instead. >>From gcc-bugs-return-596474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:32:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32983 invoked by alias); 6 Mar 2018 23:31: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 32925 invoked by uid 48); 6 Mar 2018 23:31:54 -0000 From: "development@faf-ltd.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Tue, 06 Mar 2018 23: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: development@faf-ltd.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: 2018-03/txt/msg01062.txt.bz2 Content-length: 272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #3 from Peter VARGA --- (In reply to Andrew Pinski from comment #1) > >-I /FaF/glibc/include >=20 > Use -isystem instead or a true sysroot instead. Sorry, but this does not help. >>From gcc-bugs-return-596473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:31:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32029 invoked by alias); 6 Mar 2018 23:31: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 31974 invoked by uid 48); 6 Mar 2018 23:31:23 -0000 From: "development@faf-ltd.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Tue, 06 Mar 2018 23: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: development@faf-ltd.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: 2018-03/txt/msg01061.txt.bz2 Content-length: 147 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #2 from Peter VARGA --- Sorry, but this does not help. >>From gcc-bugs-return-596475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:44:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93290 invoked by alias); 6 Mar 2018 23:44: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 93265 invoked by uid 48); 6 Mar 2018 23:44:12 -0000 From: "development@faf-ltd.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Tue, 06 Mar 2018 23: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: development@faf-ltd.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: 2018-03/txt/msg01063.txt.bz2 Content-length: 305 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #4 from Peter VARGA --- (In reply to Andrew Pinski from comment #1) > >-I /FaF/glibc/include >=20 > Use -isystem instead or a true sysroot instead. Can you post the full g++ command line options how you mean it? >>From gcc-bugs-return-596477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:50:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19366 invoked by alias); 6 Mar 2018 23:50: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 19287 invoked by uid 55); 6 Mar 2018 23:50:33 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66128] ICE for some intrinsics with zero sized array parameter Date: Tue, 06 Mar 2018 23: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: 5.1.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01065.txt.bz2 Content-length: 1607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 --- Comment #15 from Thomas Koenig --- Author: tkoenig Date: Tue Mar 6 23:50:01 2018 New Revision: 258305 URL: https://gcc.gnu.org/viewcvs?rev=3D258305&root=3Dgcc&view=3Drev Log: 2017-03-06 Thomas Koenig PR fortran/84697 PR fortran/66128 * expr.c (simplify_parameter_variable): If p is a size zero array and not an ARRAY_EXPR insert an empty array constructor and return. * gfortran.h: Add prototype for gfc_is_size_zero_array. * simplify.c (is_size_zero_array): Make non-static and rename into (gfc_is_size_zero_array): Check for parameter arrays of zero size by comparing shape and absence of constructor. (gfc_simplify_all): Use gfc_is_size_zero_array instead of is_size_zero_array. (gfc_simplify_count): Likewise. (gfc_simplify_iall): Likewise. (gfc_simplify_iany): Likewise. (gfc_simplify_iparity): Likewise. (gfc_simplify_minval): Likewise. (gfc_simplify_maxval): Likewise. (gfc_simplify_product): Likewise. (gfc_simplify_sum): Likewise. 2017-03-06 Thomas Koenig PR fortran/84697 PR fortran/66128 * gfortran.dg/minmaxloc_zerosize_1.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/minmaxloc_zerosize_1.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:50:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19356 invoked by alias); 6 Mar 2018 23:50: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 19284 invoked by uid 55); 6 Mar 2018 23:50:33 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] [8 Regression] minloc/maxloc not simplified with zero size Date: Tue, 06 Mar 2018 23: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: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01064.txt.bz2 Content-length: 1606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Tue Mar 6 23:50:01 2018 New Revision: 258305 URL: https://gcc.gnu.org/viewcvs?rev=3D258305&root=3Dgcc&view=3Drev Log: 2017-03-06 Thomas Koenig PR fortran/84697 PR fortran/66128 * expr.c (simplify_parameter_variable): If p is a size zero array and not an ARRAY_EXPR insert an empty array constructor and return. * gfortran.h: Add prototype for gfc_is_size_zero_array. * simplify.c (is_size_zero_array): Make non-static and rename into (gfc_is_size_zero_array): Check for parameter arrays of zero size by comparing shape and absence of constructor. (gfc_simplify_all): Use gfc_is_size_zero_array instead of is_size_zero_array. (gfc_simplify_count): Likewise. (gfc_simplify_iall): Likewise. (gfc_simplify_iany): Likewise. (gfc_simplify_iparity): Likewise. (gfc_simplify_minval): Likewise. (gfc_simplify_maxval): Likewise. (gfc_simplify_product): Likewise. (gfc_simplify_sum): Likewise. 2017-03-06 Thomas Koenig PR fortran/84697 PR fortran/66128 * gfortran.dg/minmaxloc_zerosize_1.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/minmaxloc_zerosize_1.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:51:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21651 invoked by alias); 6 Mar 2018 23:51: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 21562 invoked by uid 48); 6 Mar 2018 23:51:51 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84697] [8 Regression] minloc/maxloc not simplified with zero size Date: Tue, 06 Mar 2018 23:51: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: rejects-valid, wrong-code 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.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: 2018-03/txt/msg01067.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Thomas Koenig --- Fixed on trunk, closing. >>From gcc-bugs-return-596478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 06 23:51:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21623 invoked by alias); 6 Mar 2018 23:51: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 21586 invoked by uid 48); 6 Mar 2018 23:51:51 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66128] ICE for some intrinsics with zero sized array parameter Date: Tue, 06 Mar 2018 23:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.1.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: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01066.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 Bug 66128 depends on bug 84697, which changed state. Bug 84697 Summary: [8 Regression] minloc/maxloc not simplified with zero si= ze https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84697 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 00:17:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71980 invoked by alias); 7 Mar 2018 00: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 71871 invoked by uid 48); 7 Mar 2018 00:17:25 -0000 From: "kevinb at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1 Date: Wed, 07 Mar 2018 00:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kevinb at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01068.txt.bz2 Content-length: 5880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84550 --- Comment #11 from Kevin Buettner --- I've simplified Jakub's example slightly: --- vau2.c --- struct A { int a; }; struct B { struct A *b; }; struct C { struct B *c; }; __attribute__((noipa)) bool foo (struct A *p) { return false; } __attribute__((noipa)) int baz (int x) { return 0; } __attribute__((noipa)) void qux (struct C *p) { struct A *a; bool b; int c; if (!p->c) __builtin_abort (); a =3D p->c->b; b =3D (a->a =3D=3D 4) && (foo (a)); c =3D baz (0); baz (b); } int main () { struct A a =3D { 4 }; struct B b =3D { &a }; struct C c =3D { &b }; qux (&c); return 0; } --- end vau2.c --- When I compile this via "g++ -O2 -g vau2.c -o vau2", and load it into gdb, = it exhibits the same behavior shown by Jakub. I.e. the following sequence... b qux run s s s ... does not stop in foo as expected. The program instead exits. It turns out that qux consists of two disjoint pieces which, for some reaso= n, are separated by a lot of other code, e.g. main, _start, foo, baz, and a lo= t of other stuff too. Here's what it looks like: 0x400460 : callq 0x400430 0x400465: nopw %cs:0x0(%rax,%rax,1) 0x40046f: nop 0x400470 : sub $0x28,%rsp 0x400474 : lea 0xc(%rsp),%rax 0x400479 : lea 0x18(%rsp),%rdi 0x40047e : movl $0x4,0xc(%rsp) 0x400486 : mov %rax,0x10(%rsp) 0x40048b : lea 0x10(%rsp),%rax 0x400490 : mov %rax,0x18(%rsp) 0x400495 : callq 0x4005b0 <_Z3quxP1C> 0x40049a : xor %eax,%eax 0x40049c : add $0x28,%rsp 0x4004a0 : retq=20=20=20 0x4004a1: nopw %cs:0x0(%rax,%rax,1) 0x4004ab: nopl 0x0(%rax,%rax,1) 0x4004b0 <_start>: xor %ebp,%ebp 0x4004b2 <_start+2>: mov %rdx,%r9 0x4004b5 <_start+5>: pop %rsi 0x4004b6 <_start+6>: mov %rsp,%rdx 0x4004b9 <_start+9>: and $0xfffffffffffffff0,%rsp 0x4004bd <_start+13>: push %rax 0x4004be <_start+14>: push %rsp 0x4004bf <_start+15>: mov $0x400660,%r8 0x4004c6 <_start+22>: mov $0x4005f0,%rcx 0x4004cd <_start+29>: mov $0x400470,%rdi 0x4004d4 <_start+36>: callq 0x400440 <__libc_start_main@plt> 0x4004d9 <_start+41>: hlt=20=20=20=20 ... 0x400590 : xor %eax,%eax 0x400592 : retq=20=20=20 0x400593: nopl (%rax) 0x400596: nopw %cs:0x0(%rax,%rax,1) 0x4005a0 : xor %eax,%eax 0x4005a2 : retq=20=20=20 0x4005a3: nopl (%rax) 0x4005a6: nopw %cs:0x0(%rax,%rax,1) 0x4005b0 <_Z3quxP1C>: push %rbx 0x4005b1 <_Z3quxP1C+1>: mov (%rdi),%rax 0x4005b4 <_Z3quxP1C+4>: test %rax,%rax 0x4005b7 <_Z3quxP1C+7>: je 0x400460 0x4005bd <_Z3quxP1C+13>: mov (%rax),%rdi 0x4005c0 <_Z3quxP1C+16>: xor %ebx,%ebx 0x4005c2 <_Z3quxP1C+18>: cmpl $0x4,(%rdi) 0x4005c5 <_Z3quxP1C+21>: je 0x4005d8 <_Z3quxP1C+40> 0x4005c7 <_Z3quxP1C+23>: xor %edi,%edi 0x4005c9 <_Z3quxP1C+25>: callq 0x4005a0 0x4005ce <_Z3quxP1C+30>: mov %ebx,%edi 0x4005d0 <_Z3quxP1C+32>: pop %rbx 0x4005d1 <_Z3quxP1C+33>: jmp 0x4005a0 0x4005d3 <_Z3quxP1C+35>: nopl 0x0(%rax,%rax,1) 0x4005d8 <_Z3quxP1C+40>: callq 0x400590 0x4005dd <_Z3quxP1C+45>: xor %edi,%edi 0x4005df <_Z3quxP1C+47>: movzbl %al,%ebx 0x4005e2 <_Z3quxP1C+50>: callq 0x4005a0 0x4005e7 <_Z3quxP1C+55>: mov %ebx,%edi 0x4005e9 <_Z3quxP1C+57>: pop %rbx 0x4005ea <_Z3quxP1C+58>: jmp 0x4005a0 0x4005ec: nopl 0x0(%rax) Within GDB, this is where things go wrong: top-gdb> bt 4 #0 find_pc_partial_function_gnu_ifunc (pc=3D4195728, name=3D0x7fffffffdd28= ,=20 address=3D0x7fffffffdd18, endaddr=3D0x7fffffffdd20, is_gnu_ifunc_p=3D0x= 0) at /ironwood1/sourceware-git/mesquite-native-thread_handle_to_thread_info/bld/= ../../binutils-gdb/gdb/blockframe.c:213 #1 0x0000000000553281 in find_pc_partial_function (pc=3D4195728,=20 name=3D0x7fffffffdd28, address=3D0x7fffffffdd18, endaddr=3D0x7fffffffdd= 20) at /ironwood1/sourceware-git/mesquite-native-thread_handle_to_thread_info/bld/= ../../binutils-gdb/gdb/blockframe.c:323 #2 0x00000000006b6aec in fill_in_stop_func (gdbarch=3D0x1249170,=20 ecs=3D0x7fffffffdcd0) at /ironwood1/sourceware-git/mesquite-native-thread_handle_to_thread_info/bld/= ../../binutils-gdb/gdb/infrun.c:4303 #3 0x00000000006baf13 in process_event_stop_test (ecs=3D0x7fffffffdcd0) at /ironwood1/sourceware-git/mesquite-native-thread_handle_to_thread_info/bld/= ../../binutils-gdb/gdb/infrun.c:6494 That pc value is actually the first address for foo(), which is what we wan= t: top-gdb> p/x pc $22 =3D 0x400590 (Refer to my disassembly above to verify this.) This code, which is in find_pc_partial_function_gnu_ifunc(), incorrectly identifies this address, 0x400590, as belonging to qux: if (mapped_pc >=3D cache_pc_function_low && mapped_pc < cache_pc_function_high && section =3D=3D cache_pc_function_section) goto return_cached_value; top-gdb> p/x cache_pc_function_low $30 =3D 0x400460 top-gdb> p/x cache_pc_function_high $31 =3D 0x4005ec Note that these high and low addresses include not only qux, but foo, baz, main, and _start. This is due to the fact that qux consists of two separate parts separated by a lot of other code. So far as I can tell, prologue analysis is not at fault here. I'm now trying to figure out how this might be fixed. >>From gcc-bugs-return-596481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 00:25:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87009 invoked by alias); 7 Mar 2018 00:25: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 86958 invoked by uid 48); 7 Mar 2018 00:25:04 -0000 From: "kevinb at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1 Date: Wed, 07 Mar 2018 00:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kevinb at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01069.txt.bz2 Content-length: 1099 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84550 --- Comment #12 from Kevin Buettner --- I'll note, too, that just setting a breakpoint on qux and then looking at t= he locations reveals another problem... (gdb) b qux Breakpoint 1 at 0x400460: qux. (2 locations) (gdb) info break Num Type Disp Enb Address What 1 breakpoint keep y =20=20=20=20=20=20=20=20=20 1.1 y 0x0000000000400460 in qux(C*) at vau2.c:24 1.2 y 0x00000000004005b0 in qux(C*) at vau2.c:24 (gdb) x/4i 0x400460 0x400460 : callq 0x400430 0x400465: nopw %cs:0x0(%rax,%rax,1) 0x40046f: nop 0x400470 : sub $0x28,%rsp (gdb) x/4i 0x4005b0 0x4005b0 <_Z3quxP1C>: push %rbx 0x4005b1 <_Z3quxP1C+1>: mov (%rdi),%rax 0x4005b4 <_Z3quxP1C+4>: test %rax,%rax 0x4005b7 <_Z3quxP1C+7>: je 0x400460 Placing a breakpoint on 0x400460 is incorrect since this is not an actual e= ntry point to the function. >>From gcc-bugs-return-596482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 00:26:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88495 invoked by alias); 7 Mar 2018 00:26: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 88442 invoked by uid 55); 7 Mar 2018 00:26:02 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64107] [F95] Pure function as array size Date: Wed, 07 Mar 2018 00:26: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: 5.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl 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: 2018-03/txt/msg01070.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64107 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Mar 7 00:25:30 2018 New Revision: 258311 URL: https://gcc.gnu.org/viewcvs?rev=3D258311&root=3Dgcc&view=3Drev Log: 2018-03-06 Steven G. Kargl PR fortran/64107 * gfortran.dg/pr64107.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr64107.f90 Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 00:28:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93608 invoked by alias); 7 Mar 2018 00:28: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 93395 invoked by uid 48); 7 Mar 2018 00:28:13 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/32834] [Meta-bug] 'Fortran 95'-only failures Date: Wed, 07 Mar 2018 00:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.3.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 2018-03/txt/msg01072.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32834 Bug 32834 depends on bug 64107, which changed state. Bug 64107 Summary: [F95] Pure function as array size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64107 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 00:28:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93483 invoked by alias); 7 Mar 2018 00: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 93354 invoked by uid 48); 7 Mar 2018 00:28:12 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64107] [F95] Pure function as array size Date: Wed, 07 Mar 2018 00:28: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: 5.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01071.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64107 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #3 from kargl at gcc dot gnu.org --- Closing as fixed on trunk. Thanks for bug report. >>From gcc-bugs-return-596485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 00:35:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101143 invoked by alias); 7 Mar 2018 00:35: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 101068 invoked by uid 48); 7 Mar 2018 00:35:14 -0000 From: "kevinb at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1 Date: Wed, 07 Mar 2018 00:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kevinb at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01073.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84550 --- Comment #13 from Kevin Buettner --- (In reply to Kevin Buettner from comment #11) > This code, which is in find_pc_partial_function_gnu_ifunc(), incorrectly > identifies this address, 0x400590, as belonging to qux: >=20 > if (mapped_pc >=3D cache_pc_function_low > && mapped_pc < cache_pc_function_high > && section =3D=3D cache_pc_function_section) > goto return_cached_value; I've determined that if this code is disabled, then things work. I'm not suggesting this as a fix, just adding another data point. >>From gcc-bugs-return-596486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 03:39:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43810 invoked by alias); 7 Mar 2018 03:39: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 43713 invoked by uid 48); 7 Mar 2018 03:39:29 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/57197] [Fortran-Dev][Regression] ICE in record_reference, at cgraphbuild.c:66 Date: Wed, 07 Mar 2018 03:39: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: fortran-dev X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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 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: 2018-03/txt/msg01074.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57197 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- The code in comment one compiles without a problem. Can this be closed as fixed. >>From gcc-bugs-return-596488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 06:53:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1005 invoked by alias); 7 Mar 2018 06:53: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 944 invoked by uid 48); 7 Mar 2018 06:53:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56818] [meta-bug] fortran-dev bugs Date: Wed, 07 Mar 2018 06:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: fortran-dev X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 2018-03/txt/msg01076.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56818 Bug 56818 depends on bug 57197, which changed state. Bug 57197 Summary: [Fortran-Dev][Regression] ICE in record_reference, at cg= raphbuild.c:66 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57197 What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 06:53:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 997 invoked by alias); 7 Mar 2018 06:53: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 915 invoked by uid 48); 7 Mar 2018 06:53:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/57197] [Fortran-Dev][Regression] ICE in record_reference, at cgraphbuild.c:66 Date: Wed, 07 Mar 2018 06: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: fortran-dev X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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 blocked 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: 2018-03/txt/msg01075.txt.bz2 Content-length: 759 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57197 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Blocks| |56818 Resolution|--- |FIXED --- Comment #4 from Dominique d'Humieres --- > The code in comment one compiles without a problem. > Can this be closed as fixed. It even compiles with fortran-dev revision 240290 (2016-09-19). Closing. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56818 [Bug 56818] [meta-bug] fortran-dev bugs >>From gcc-bugs-return-596489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 07:21:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107412 invoked by alias); 7 Mar 2018 07:21: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 107392 invoked by uid 48); 7 Mar 2018 07:21:53 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84745] New: internal compiler error: Segmentation fault (main_block_label()) Date: Wed, 07 Mar 2018 07:21: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg01077.txt.bz2 Content-length: 1380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84745 Bug ID: 84745 Summary: internal compiler error: Segmentation fault (main_block_label()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vegard.nossum at gmail dot com CC: webrown.cpp at gmail dot com Target Milestone: --- Input: void a() { alignof(({ b: 0; })); goto b; } Output: $ xgcc -x c++ -S - during GIMPLE pass: cfg : In function 'void a()': :1:6: internal compiler error: Segmentation fault 0x3152ce9 crash_signal /home/vegard/git/gcc/gcc/toplev.c:325 0x32834db main_block_label /home/vegard/git/gcc/gcc/tree-cfg.c:1496 0x3292fff cleanup_dead_labels() /home/vegard/git/gcc/gcc/tree-cfg.c:1679 0x32f0b70 build_gimple_cfg /home/vegard/git/gcc/gcc/tree-cfg.c:240 0x32f0b70 execute_build_cfg /home/vegard/git/gcc/gcc/tree-cfg.c:410 0x32f0b70 execute /home/vegard/git/gcc/gcc/tree-cfg.c:446 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). Funnily, clang also segfaults on this exact input. Test case was minimised by C-Reduce. >>From gcc-bugs-return-596490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 07:22:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108183 invoked by alias); 7 Mar 2018 07: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 108161 invoked by uid 48); 7 Mar 2018 07:22:21 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Wed, 07 Mar 2018 07:22: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: 2018-03/txt/msg01078.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #5 from Marc Glisse --- That's not how you use a different glibc. If you look at the include order printed by -v, it has to remain in that order (libstdc++ before glibc, in particular), whereas you are adding your glibc in front. Best would be to recompile gcc, which has the added advantage that it will be able to take advantage of the new features in the new glibc this way. >>From gcc-bugs-return-596491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 07:50:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76833 invoked by alias); 7 Mar 2018 07: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 76808 invoked by uid 48); 7 Mar 2018 07:50:44 -0000 From: "development@faf-ltd.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Wed, 07 Mar 2018 07:50: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: development@faf-ltd.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: 2018-03/txt/msg01079.txt.bz2 Content-length: 1174 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #6 from Peter VARGA --- (In reply to Marc Glisse from comment #5) > That's not how you use a different glibc. If you look at the include order > printed by -v, it has to remain in that order (libstdc++ before glibc, in > particular), whereas you are adding your glibc in front. Best would be to > recompile gcc, which has the added advantage that it will be able to take > advantage of the new features in the new glibc this way. May be for you all is clear but I am not in the gnu gcc developer team and = I am using only gcc. Therefore I don't really understand what I should do. You a= ll give just half of some hints and they don't even work. What should I do different when I recompile gcc? This works - but why should I do it? Why is g++ using the path /usr/include BEFORE the others and this is the problem! gcc does NOT keep the include or= der. g++ foo.cpp -o foo -nostdinc -I /FaF/include/c++/7.3 -I /FaF/include/c++/7.3/x86_64-suse-linux/ -I /FaF/glibc/include/ -I /FaF/lib64/gcc/x86_64-suse-linux/7.3.0/include In /FaF is my gcc 7.3 and in /FaF/glibc is glibc 2.27 >>From gcc-bugs-return-596492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 07:51:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96793 invoked by alias); 7 Mar 2018 07:51: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 94033 invoked by uid 55); 7 Mar 2018 07:51:30 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Wed, 07 Mar 2018 07: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-code 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: 8.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: 2018-03/txt/msg01080.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 --- Comment #18 from Marek Polacek --- Author: mpolacek Date: Wed Mar 7 07:50:57 2018 New Revision: 258313 URL: https://gcc.gnu.org/viewcvs?rev=3D258313&root=3Dgcc&view=3Drev Log: PR c++/84684 * constexpr.c (cxx_bind_parameters_in_call): Unshare evaluated arguments. * g++.dg/cpp1z/constexpr-84684.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/constexpr-84684.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/constexpr.c >>From gcc-bugs-return-596493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 07:52:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108774 invoked by alias); 7 Mar 2018 07:52: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 108704 invoked by uid 48); 7 Mar 2018 07:52:18 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84684] inserting random code / flags produces wrong code Date: Wed, 07 Mar 2018 07:52: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.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-code 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: 8.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: 2018-03/txt/msg01081.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84684 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #19 from Marek Polacek --- Fixed. >>From gcc-bugs-return-596494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 07:57:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119657 invoked by alias); 7 Mar 2018 07:57: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 119626 invoked by uid 48); 7 Mar 2018 07:57:39 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] New: ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 07:57: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: su at cs dot ucdavis.edu 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: 2018-03/txt/msg01082.txt.bz2 Content-length: 2334 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 Bug ID: 84746 Summary: ICE on valid code at -O2 and -O3: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- $ gcctk -v Using built-in specs. COLLECT_GCC=3Dgcctk COLLECT_LTO_WRAPPER=3D/home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_6= 4-pc-linux-gnu/8.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=3Dc,c++,l= to --prefix=3D/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 8.0.1 20180307 (experimental) [trunk revision 258312] (GCC)=20 $=20 $ gcctk -Os -c small.c $ gcc-7.2.0 -O2 -c small.c $=20 $ gcctk -O2 -c small.c during GIMPLE pass: pre small.c: In function =E2=80=98fn1=E2=80=99: small.c:4:6: internal compiler error: Segmentation fault void fn1 () ^~~ 0xca7f6f crash_signal ../../gcc-source-trunk/gcc/toplev.c:325 0xedd700 update_dep_bb ../../gcc-source-trunk/gcc/tree-ssa-tail-merge.c:402 0xedfbf9 same_succ_hash ../../gcc-source-trunk/gcc/tree-ssa-tail-merge.c:506 0xedfbf9 find_same_succ_bb ../../gcc-source-trunk/gcc/tree-ssa-tail-merge.c:717 0xee00ff find_same_succ ../../gcc-source-trunk/gcc/tree-ssa-tail-merge.c:748 0xee00ff init_worklist ../../gcc-source-trunk/gcc/tree-ssa-tail-merge.c:767 0xee00ff tail_merge_optimize(unsigned int) ../../gcc-source-trunk/gcc/tree-ssa-tail-merge.c:1733 0xe7c6b6 execute ../../gcc-source-trunk/gcc/tree-ssa-pre.c:4196 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 -------------------------------------------------- int a, b, c, d, e; char f, g; void fn1 () { while (1) { if (d) goto L1; if (e) goto L3; int q =3D (c && a) % (f * (d || a)) && b; e =3D q; if (b) break; L1: L2: c =3D f; L3: f =3D g; while (a) goto L2; } } >>From gcc-bugs-return-596495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:07:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82944 invoked by alias); 7 Mar 2018 08:07: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 81753 invoked by uid 48); 7 Mar 2018 08:07:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 08: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: unknown 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg01083.txt.bz2 Content-length: 896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |8.0 Summary|ICE on valid code at -O2 |[8 Regression] ICE on valid |and -O3: Segmentation fault |code at -O2 and -O3: | |Segmentation fault Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-596496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:08:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3268 invoked by alias); 7 Mar 2018 08:08: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 2431 invoked by uid 48); 7 Mar 2018 08:08:32 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 08:08: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: 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: 8.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: 2018-03/txt/msg01084.txt.bz2 Content-length: 144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 --- Comment #2 from Marek Polacek --- Started with r258124. >>From gcc-bugs-return-596497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:18:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11136 invoked by alias); 7 Mar 2018 08:18: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 9341 invoked by uid 48); 7 Mar 2018 08:18:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r Date: Wed, 07 Mar 2018 08: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: 7.0.1 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01085.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79937 --- Comment #18 from Jakub Jelinek --- struct Y { static Y bar (Y y) { return y; } int i; int n =3D bar (Y{2,i}).m + bar {Y{2,i,i}).n; int m =3D i; }; is rejected, so I can't find a counter-example where PLACEHOLDER_EXPRs for different objects would be intermixed in the same CONSTRUCTOR (assuming the= re must be a CONSTRUCTOR). >>From gcc-bugs-return-596498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:33:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87585 invoked by alias); 7 Mar 2018 08:33: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 87545 invoked by uid 48); 7 Mar 2018 08:33:25 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol Date: Wed, 07 Mar 2018 08:33: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: 8.0 X-Bugzilla-Keywords: lto, openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 2018-03/txt/msg01086.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84592 --- Comment #8 from Tom de Vries --- (In reply to Tom de Vries from comment #7) > Created attachment 43571 [details] > Tentative patch >=20 > Works on nvptx for the examples from comment 0, comment 3 and comment 5. Tested libgomp on x86_64 with nvptx accelerator, no issues found. Now doing bootstrap and reg-test on x86_64. >>From gcc-bugs-return-596499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:33:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88318 invoked by alias); 7 Mar 2018 08:33: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 88285 invoked by uid 48); 7 Mar 2018 08:33:49 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol Date: Wed, 07 Mar 2018 08:33: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: 8.0 X-Bugzilla-Keywords: lto, openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 2018-03/txt/msg01087.txt.bz2 Content-length: 265 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84592 --- Comment #9 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > Looks like a duplicate of PR71536 Actually, this is not fixed by the patch, so likely another issue. >>From gcc-bugs-return-596500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:52:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25220 invoked by alias); 7 Mar 2018 08:52: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 25167 invoked by uid 48); 7 Mar 2018 08:52:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84739] [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Wed, 07 Mar 2018 08: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: 8.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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg01088.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #4 from Jakub Jelinek --- Created attachment 43582 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43582&action=3Dedit gcc8-pr84739.patch Untested fix. With different gimple_call_fntype the ICE doesn't reproduce, because if there is a mismatch between func's DECL_ARGUMENTS and the actual arguments, the current code already rejects it as tail recursion. In the p= ast, there used to be if (func =3D=3D current_function_decl) condition and so wh= at we picked DECL_ARGUMENTS from didn't really matter, but now with the recursive_call_p check it does. >>From gcc-bugs-return-596501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:54:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28667 invoked by alias); 7 Mar 2018 08:54: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 28581 invoked by uid 48); 7 Mar 2018 08:54:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84565] [8 Regression] ICE in extract_insn, at recog.c:2304 on aarch64 Date: Wed, 07 Mar 2018 08: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_file_loc 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: 2018-03/txt/msg01089.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84565 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-02/msg01484.ht | |ml Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org >>From gcc-bugs-return-596502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 08:58:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72057 invoked by alias); 7 Mar 2018 08:58: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 71778 invoked by uid 48); 7 Mar 2018 08:57:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 08:58: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: 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: 8.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: 2018-03/txt/msg01090.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- We are calling update_dep_bb on a in-freelist SSA_NAME. >>From gcc-bugs-return-596503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:02:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121584 invoked by alias); 7 Mar 2018 09:02: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 120001 invoked by uid 48); 7 Mar 2018 09:02:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 09: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: unknown X-Bugzilla-Keywords: 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: 8.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: 2018-03/txt/msg01091.txt.bz2 Content-length: 878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 --- Comment #4 from Jakub Jelinek --- The SSA_NAME has been freed in: #1 0x0000000001291cfd in release_ssa_name_fn (fn=3D0x7fffefd9b000, var=3D) at ../../gcc/tree-ssanames.c:579 #2 0x00000000010b76eb in release_ssa_name (name=3D) at ../../gcc/tree-ssanames.h:141 #3 0x00000000010b8590 in remove_phi_node (gsi=3D0x7fffffffdb50, release_lhs_p=3Dtrue) at ../../gcc/tree-phinodes.c:449 #4 0x0000000001221501 in vn_eliminate (inserted_exprs=3D0x2b51008) at ../../gcc/tree-ssa-sccvn.c:5928 #5 0x00000000011e94a2 in (anonymous namespace)::pass_pre::execute (this=3D0x2ae9720, fun=3D0x7fffefd9b000) at ../../gcc/tree-ssa-pre.c:4173 #6 0x0000000000e735c5 in execute_one_pass (pass=3D) at ../../gcc/passes.c:2497 >>From gcc-bugs-return-596504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:10:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95125 invoked by alias); 7 Mar 2018 09:10: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 95097 invoked by uid 48); 7 Mar 2018 09:10:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 09:10: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.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status version 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: 2018-03/txt/msg01092.txt.bz2 Content-length: 563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|NEW |ASSIGNED Version|unknown |8.0 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #5 from Richard Biener --- Mine. >>From gcc-bugs-return-596505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:11:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96016 invoked by alias); 7 Mar 2018 09: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 95961 invoked by uid 48); 7 Mar 2018 09:11:01 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1 Date: Wed, 07 Mar 2018 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01093.txt.bz2 Content-length: 1246 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84550 --- Comment #14 from Jakub Jelinek --- In addition to reordering basic blocks in the compiled function, in order to reduce number of taken branches, partitions hot and cold basic blocks into separate sections of the assembly and '.o' files, to improve paging and cache locality performance. is what we say about -freorder-blocks-and-partition in the documentation, w= hen functions are normally placed in .text section rather than anything differe= nt, the cold basic blocks go into .text.cold subsection and the linker merges a= ll those cold subsections from all objects into one part of the resulting .text section, so unlikely used code from all the functions is adjacent and hot c= ode from all of them elsewhere too. The cold partition could end up either bel= ow or above the hot partition, it is purely up to the linker to decide that. As written above, the real entrypoint to the function can be found in DWARF= by checking DW_AT_entry_pc if it exists, or if it doesn't, as the base address= of the function which is the lowest address of the first range if it has DW_AT_ranges, or if it has DW_AT_{low,high}_pc as the DW_AT_low_pc. >>From gcc-bugs-return-596506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:16:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128136 invoked by alias); 7 Mar 2018 09:15: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 114549 invoked by uid 55); 7 Mar 2018 09:14:34 -0000 From: "denisc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84209] [avr] Don't split SP in split2 Date: Wed, 07 Mar 2018 09: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: denisc 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01094.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84209 --- Comment #3 from denisc at gcc dot gnu.org --- Author: denisc Date: Wed Mar 7 09:13:12 2018 New Revision: 258315 URL: https://gcc.gnu.org/viewcvs?rev=3D258315&root=3Dgcc&view=3Drev Log: Backport from mainline 2018-02-07 Georg-Johann Lay PR target/84209 * config/avr/avr.h (GENERAL_REGNO_P, GENERAL_REG_P): New macros. * config/avr/avr.md: Only post-reload split REG-REG moves if either register is GENERAL_REG_P. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/avr/avr.h branches/gcc-7-branch/gcc/config/avr/avr.md >>From gcc-bugs-return-596507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:17:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129629 invoked by alias); 7 Mar 2018 09:16: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 128443 invoked by uid 48); 7 Mar 2018 09:16:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84739] [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Wed, 07 Mar 2018 09: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: 8.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: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01095.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >>From gcc-bugs-return-596509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:17:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129980 invoked by alias); 7 Mar 2018 09:17: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 129757 invoked by uid 48); 7 Mar 2018 09:17:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84741] [7/8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:13893 Date: Wed, 07 Mar 2018 09: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: 8.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget priority 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: 2018-03/txt/msg01098.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84741 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* Priority|P3 |P2 Target Milestone|--- |7.4 >>From gcc-bugs-return-596508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:17:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129753 invoked by alias); 7 Mar 2018 09:17: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 128324 invoked by uid 48); 7 Mar 2018 09:16:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84736] When compiling with -g -O2 internal compiler error: in force_type_die, at dwarf2out.c:25111 Date: Wed, 07 Mar 2018 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection, needs-reduction 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: keywords cf_known_to_work 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: 2018-03/txt/msg01097.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84736 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection, | |needs-reduction Known to work| |7.3.0 Known to fail| |7.2.0 --- Comment #1 from Richard Biener --- Confirmed with GCC 7.2, but fixed with GCC 7.3. needs reduction / bisectio= n to see if sth was really fixed or the issue just has gone latent. >>From gcc-bugs-return-596510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:17:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130155 invoked by alias); 7 Mar 2018 09: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 129729 invoked by uid 48); 7 Mar 2018 09:17:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84740] [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Wed, 07 Mar 2018 09:17: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.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: P1 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01096.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Target Milestone|--- |8.0 >>From gcc-bugs-return-596511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:19:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17068 invoked by alias); 7 Mar 2018 09:19: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 3608 invoked by uid 55); 7 Mar 2018 09:17:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Date: Wed, 07 Mar 2018 09:19: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.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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01099.txt.bz2 Content-length: 1089 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84723 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Mar 7 09:16:07 2018 New Revision: 258316 URL: https://gcc.gnu.org/viewcvs?rev=3D258316&root=3Dgcc&view=3Drev Log: PR middle-end/84723 * multiple_target.c: Include tree-inline.h and intl.h. (expand_target_clones): Diagnose and fail if node->definition and !tree_versionable_function_p (node->decl). * gcc.target/i386/pr84723-1.c: New test. * gcc.target/i386/pr84723-2.c: New test. * gcc.target/i386/pr84723-3.c: New test. * gcc.target/i386/pr84723-4.c: New test. * gcc.target/i386/pr84723-5.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr84723-1.c trunk/gcc/testsuite/gcc.target/i386/pr84723-2.c trunk/gcc/testsuite/gcc.target/i386/pr84723-3.c trunk/gcc/testsuite/gcc.target/i386/pr84723-4.c trunk/gcc/testsuite/gcc.target/i386/pr84723-5.c Modified: trunk/gcc/ChangeLog trunk/gcc/multiple_target.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:21:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31718 invoked by alias); 7 Mar 2018 09:21: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 31239 invoked by uid 55); 7 Mar 2018 09:20:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84704] [8 Regression] internal compiler error: gimplification failed Date: Wed, 07 Mar 2018 09:21: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01100.txt.bz2 Content-length: 602 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84704 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Wed Mar 7 09:19:36 2018 New Revision: 258317 URL: https://gcc.gnu.org/viewcvs?rev=3D258317&root=3Dgcc&view=3Drev Log: PR c++/84704 * gimple-expr.c (create_tmp_var_raw): Set DECL_NAMELESS flag on tmp_var. * tree-pretty-print.c (dump_decl_name): For TDF_COMPARE_DEBUG, don't print names of DECL_NAMELESS DECL_IGNORED_P decls. Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-expr.c trunk/gcc/tree-pretty-print.c >>From gcc-bugs-return-596513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:25:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37752 invoked by alias); 7 Mar 2018 09: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 36519 invoked by uid 48); 7 Mar 2018 09:25:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84743] default widths for parallel reassociation now hurt rather than help Date: Wed, 07 Mar 2018 09:25: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: acsawdey 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: 2018-03/txt/msg01101.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84743 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- That sounds odd... can you try analyzing at least one case (520.omnetpp_r?)? Does reassoc width still help SPEC CPU 2006 (which is what I suppose you used for gcc7 testing?) >>From gcc-bugs-return-596514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:43:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113183 invoked by alias); 7 Mar 2018 09:43: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 113120 invoked by uid 55); 7 Mar 2018 09:43:55 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type Date: Wed, 07 Mar 2018 09:43: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: 7.2.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01102.txt.bz2 Content-length: 1195 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83954 --- Comment #16 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:43:23 2018 New Revision: 258319 URL: https://gcc.gnu.org/viewcvs?rev=3D258319&root=3Dgcc&view=3Drev Log: Backport r257183 2018-03-07 Martin Liska Backport from mainline 2018-01-30 Jan Hubicka PR lto/83954 * lto-symtab.c (warn_type_compatibility_p): Silence false positive for type match warning on arrays of pointers. 2018-03-07 Martin Liska Backport from mainline 2018-01-30 Jan Hubicka PR lto/83954 * gcc.dg/lto/pr83954.h: New testcase. * gcc.dg/lto/pr83954_0.c: New testcase. * gcc.dg/lto/pr83954_1.c: New testcase. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr83954.h branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr83954_0.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr83954_1.c Modified: branches/gcc-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto-symtab.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:44:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114414 invoked by alias); 7 Mar 2018 09:44: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 114365 invoked by uid 55); 7 Mar 2018 09:44:20 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type Date: Wed, 07 Mar 2018 09:44: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: 7.2.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01103.txt.bz2 Content-length: 684 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83954 --- Comment #17 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:43:49 2018 New Revision: 258320 URL: https://gcc.gnu.org/viewcvs?rev=3D258320&root=3Dgcc&view=3Drev Log: Backport r257343 2018-03-07 Martin Liska Backport from mainline 2018-02-02 Eric Botcazou PR lto/83954 * lto-symtab.c (warn_type_compatibility_p): Do not recurse into the component type of array types with non-aliased component. Modified: branches/gcc-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto-symtab.c >>From gcc-bugs-return-596516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:44:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115489 invoked by alias); 7 Mar 2018 09:44: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 115387 invoked by uid 55); 7 Mar 2018 09:44:37 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Wed, 07 Mar 2018 09:44: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: 7.1.1 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01104.txt.bz2 Content-length: 882 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 --- Comment #28 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:44:03 2018 New Revision: 258321 URL: https://gcc.gnu.org/viewcvs?rev=3D258321&root=3Dgcc&view=3Drev Log: Backport r257412 2018-03-07 Martin Liska Backport from mainline 2018-01-30 Jan Hubicka PR lto/81004 * lto.c: Include builtins.h (register_resolution): Merge resolutions in case trees was merged across units. (lto_maybe_register_decl): Break out from ... (lto_read_decls): ... here. (unify_scc): Also register decls here. (read_cgraph_and_symbols): Sanity check that all resolutions was read. Modified: branches/gcc-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto.c >>From gcc-bugs-return-596518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:46:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120364 invoked by alias); 7 Mar 2018 09:46: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 120315 invoked by uid 55); 7 Mar 2018 09:46:34 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84229] A valid code rejected with -flto Date: Wed, 07 Mar 2018 09: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: 8.0.1 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2018-03/txt/msg01106.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84229 --- Comment #12 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:46:01 2018 New Revision: 258324 URL: https://gcc.gnu.org/viewcvs?rev=3D258324&root=3Dgcc&view=3Drev Log: Backport r257877 2018-03-07 Martin Liska Backport from mainline 2018-02-21 Jan Hubicka PR c/84229 * ipa-cp.c (determine_versionability): Do not version functions cal= ing va_arg_pack. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/ipa-cp.c >>From gcc-bugs-return-596517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:46:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119197 invoked by alias); 7 Mar 2018 09:46: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 119149 invoked by uid 55); 7 Mar 2018 09:46:16 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/81360] [8 Regression] ice in estimate_edge_growth, at ipa-inline.h:86 Date: Wed, 07 Mar 2018 09:46: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01105.txt.bz2 Content-length: 1431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81360 --- Comment #18 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:45:44 2018 New Revision: 258323 URL: https://gcc.gnu.org/viewcvs?rev=3D258323&root=3Dgcc&view=3Drev Log: Backport r257490 2018-03-07 Martin Liska Backport from mainline 2018-02-08 Jan Hubicka PR ipa/81360 * cgraph.h (symtab_node::output_to_lto_symbol_table_p): Declare * symtab.c: Include builtins.h (symtab_node::output_to_lto_symbol_table_p): Move here from lto-streamer-out.c:output_symbol_p. * lto-streamer-out.c (write_symbol): Turn early exit to assert. (output_symbol_p): Move all logic to symtab.c (produce_symtab): Update. 2018-03-07 Martin Liska Backport from mainline 2018-02-08 Jan Hubicka PR ipa/81360 * lto.c (unify_scc): Register prevailing trees, not trees to be fre= ed. (read_cgraph_and_symbols): Use symtab_node::output_to_lto_symbol_table_p. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/cgraph.h branches/gcc-6-branch/gcc/lto-streamer-out.c branches/gcc-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto.c branches/gcc-6-branch/gcc/symtab.c branches/gcc-6-branch/gcc/tree.c >>From gcc-bugs-return-596519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:47:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123470 invoked by alias); 7 Mar 2018 09: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 123429 invoked by uid 55); 7 Mar 2018 09:47:43 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82675] ICE in duplicate_loop_to_header_edge at gcc/cfgloopmanip.c:1207 Date: Wed, 07 Mar 2018 09:47: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: 8.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: marxin 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: 2018-03/txt/msg01107.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82675 --- Comment #7 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:47:11 2018 New Revision: 258327 URL: https://gcc.gnu.org/viewcvs?rev=3D258327&root=3Dgcc&view=3Drev Log: Backport r255818 2018-03-07 Martin Liska Backport from mainline 2017-12-19 Martin Liska PR rtl-optimization/82675 * loop-unroll.c (unroll_loop_constant_iterations): Allocate one more element in sbitmap. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/loop-unroll.c >>From gcc-bugs-return-596521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:49:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127874 invoked by alias); 7 Mar 2018 09:48: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 127702 invoked by uid 55); 7 Mar 2018 09:48:44 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries Date: Wed, 07 Mar 2018 09:48: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: unknown X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01109.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83879 --- Comment #9 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:48:02 2018 New Revision: 258329 URL: https://gcc.gnu.org/viewcvs?rev=3D258329&root=3Dgcc&view=3Drev Log: Backport r257383 2018-03-07 Martin Liska Backport from mainline 2018-02-05 Martin Liska PR gcov-profile/83879 * doc/gcov.texi: Document necessity of --dynamic-list-data when using dlopen functionality. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/doc/gcov.texi >>From gcc-bugs-return-596520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:48:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127770 invoked by alias); 7 Mar 2018 09:48: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 126022 invoked by uid 55); 7 Mar 2018 09:48:39 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct Date: Wed, 07 Mar 2018 09:48: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: 6.3.1 X-Bugzilla-Keywords: diagnostic, lto, patch 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01108.txt.bz2 Content-length: 1176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81440 --- Comment #11 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:47:46 2018 New Revision: 258328 URL: https://gcc.gnu.org/viewcvs?rev=3D258328&root=3Dgcc&view=3Drev Log: Backport r256989 2018-03-07 Martin Liska Backport from mainline 2018-01-23 Martin Liska PR lto/81440 * lto-symtab.c (lto_symtab_merge): Handle and do not warn about trailing arrays at the end of a struct. 2018-03-07 Martin Liska Backport from mainline 2018-01-23 Martin Liska PR lto/81440 * gcc.dg/lto/pr81440.h: New test. * gcc.dg/lto/pr81440_0.c: New test. * gcc.dg/lto/pr81440_1.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440.h branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440_0.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr81440_1.c Modified: branches/gcc-6-branch/gcc/lto/ChangeLog branches/gcc-6-branch/gcc/lto/lto-symtab.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:49:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2287 invoked by alias); 7 Mar 2018 09:49: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 1931 invoked by uid 55); 7 Mar 2018 09:49:46 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84137] Typo in gcov online documentation Date: Wed, 07 Mar 2018 09:49: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: 7.2.1 X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01110.txt.bz2 Content-length: 587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84137 --- Comment #5 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:48:44 2018 New Revision: 258330 URL: https://gcc.gnu.org/viewcvs?rev=3D258330&root=3Dgcc&view=3Drev Log: Backport r257384 2018-03-07 Martin Liska Backport from mainline 2018-02-05 Martin Liska PR gcov-profile/84137 * doc/gcov.texi: Fix typo in documentation. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/doc/gcov.texi >>From gcc-bugs-return-596523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:49:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2861 invoked by alias); 7 Mar 2018 09:49: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 2616 invoked by uid 55); 7 Mar 2018 09:49:51 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/80589] Typing mistakes in two messages Date: Wed, 07 Mar 2018 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01111.txt.bz2 Content-length: 630 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80589 --- Comment #13 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:49:11 2018 New Revision: 258331 URL: https://gcc.gnu.org/viewcvs?rev=3D258331&root=3Dgcc&view=3Drev Log: Backport r257803 2018-03-07 Martin Liska Backport from mainline 2018-02-19 Martin Liska PR other/80589 * doc/invoke.texi: Fix typo. * params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/doc/invoke.texi >>From gcc-bugs-return-596525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:50:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6074 invoked by alias); 7 Mar 2018 09:50: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 5951 invoked by uid 55); 7 Mar 2018 09:50:22 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/79747] Missing documentation for -malign-{jumps,label,loops,functions}= and strange value range limitation Date: Wed, 07 Mar 2018 09: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: 7.0 X-Bugzilla-Keywords: documentation 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: 8.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: 2018-03/txt/msg01113.txt.bz2 Content-length: 1420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79747 --- Comment #6 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:49:47 2018 New Revision: 258332 URL: https://gcc.gnu.org/viewcvs?rev=3D258332&root=3Dgcc&view=3Drev Log: Backport r257842 2018-03-07 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * final.c (shorten_branches): Build align_tab array with one more element. * opts.c (finish_options): Add alignment option limit check. (MAX_CODE_ALIGN): Likewise. (MAX_CODE_ALIGN_VALUE): Likewise. * doc/invoke.texi: Document maximum allowed option value for all -falign-* options. 2018-03-07 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * gcc.target/i386/pr84310.c: New test. * gcc.target/i386/pr84310-2.c: Likewise. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr84310-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr84310.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/doc/invoke.texi branches/gcc-6-branch/gcc/final.c branches/gcc-6-branch/gcc/opts.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:50:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6014 invoked by alias); 7 Mar 2018 09:50: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 5936 invoked by uid 55); 7 Mar 2018 09:50:21 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84310] -falign-{labels,loops,jumps} with value >= 32768+1 cause a segfault Date: Wed, 07 Mar 2018 09:50: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: 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: 8.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: 2018-03/txt/msg01112.txt.bz2 Content-length: 1420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84310 --- Comment #5 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Mar 7 09:49:47 2018 New Revision: 258332 URL: https://gcc.gnu.org/viewcvs?rev=3D258332&root=3Dgcc&view=3Drev Log: Backport r257842 2018-03-07 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * final.c (shorten_branches): Build align_tab array with one more element. * opts.c (finish_options): Add alignment option limit check. (MAX_CODE_ALIGN): Likewise. (MAX_CODE_ALIGN_VALUE): Likewise. * doc/invoke.texi: Document maximum allowed option value for all -falign-* options. 2018-03-07 Martin Liska Backport from mainline 2018-02-20 Martin Liska PR c/84310 PR target/79747 * gcc.target/i386/pr84310.c: New test. * gcc.target/i386/pr84310-2.c: Likewise. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr84310-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr84310.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/doc/invoke.texi branches/gcc-6-branch/gcc/final.c branches/gcc-6-branch/gcc/opts.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:50:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7732 invoked by alias); 7 Mar 2018 09:50: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 7676 invoked by uid 48); 7 Mar 2018 09:50:50 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84310] -falign-{labels,loops,jumps} with value >= 32768+1 cause a segfault Date: Wed, 07 Mar 2018 09:50: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01114.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84310 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:51:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10980 invoked by alias); 7 Mar 2018 09:51: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 10946 invoked by uid 48); 7 Mar 2018 09:51:34 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82675] ICE in duplicate_loop_to_header_edge at gcc/cfgloopmanip.c:1207 Date: Wed, 07 Mar 2018 09:51: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-03/txt/msg01118.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82675 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:51:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11768 invoked by alias); 7 Mar 2018 09:51: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 11714 invoked by uid 48); 7 Mar 2018 09:51:45 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84229] A valid code rejected with -flto Date: Wed, 07 Mar 2018 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: 8.0.1 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2018-03/txt/msg01119.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84229 --- Comment #13 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:51:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12473 invoked by alias); 7 Mar 2018 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 12428 invoked by uid 48); 7 Mar 2018 09:51:52 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/81360] [8 Regression] ice in estimate_edge_growth, at ipa-inline.h:86 Date: Wed, 07 Mar 2018 09:51: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01120.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81360 --- Comment #19 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:51:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9164 invoked by alias); 7 Mar 2018 09:51: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 9133 invoked by uid 48); 7 Mar 2018 09:51:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84137] Typo in gcov online documentation Date: Wed, 07 Mar 2018 09:51: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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-03/txt/msg01116.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84137 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:51:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8466 invoked by alias); 7 Mar 2018 09:51: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 8441 invoked by uid 48); 7 Mar 2018 09:50:59 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/80589] Typing mistakes in two messages Date: Wed, 07 Mar 2018 09:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-03/txt/msg01115.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80589 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:51:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9939 invoked by alias); 7 Mar 2018 09:51: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 9811 invoked by uid 48); 7 Mar 2018 09:51:15 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries Date: Wed, 07 Mar 2018 09:51: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-03/txt/msg01117.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83879 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:52:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14204 invoked by alias); 7 Mar 2018 09: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 14060 invoked by uid 48); 7 Mar 2018 09:52:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81716] Bogus -Wlto warning with forward-declared pointers Date: Wed, 07 Mar 2018 09:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2018-03/txt/msg01124.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81716 Bug 81716 depends on bug 83954, which changed state. Bug 83954 Summary: [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning = for array of pointer to incomplete type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83954 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:52:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14101 invoked by alias); 7 Mar 2018 09:52: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 14001 invoked by uid 48); 7 Mar 2018 09:52:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type Date: Wed, 07 Mar 2018 09:52: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: 7.2.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01122.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83954 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #18 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:52:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16437 invoked by alias); 7 Mar 2018 09:52: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 16400 invoked by uid 48); 7 Mar 2018 09:52:51 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct Date: Wed, 07 Mar 2018 09:52: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: 6.3.1 X-Bugzilla-Keywords: diagnostic, lto, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-03/txt/msg01125.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81440 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #12 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:52:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14128 invoked by alias); 7 Mar 2018 09: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 14039 invoked by uid 48); 7 Mar 2018 09:52:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81440] -Wlto-type-mismatch warning with flexible array in struct Date: Wed, 07 Mar 2018 09:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: diagnostic, lto, patch 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 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: 2018-03/txt/msg01123.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81440 Bug 81440 depends on bug 83954, which changed state. Bug 83954 Summary: [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning = for array of pointer to incomplete type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83954 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-596533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:52:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13305 invoked by alias); 7 Mar 2018 09:52: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 13248 invoked by uid 48); 7 Mar 2018 09:52:00 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Wed, 07 Mar 2018 09:52: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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.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: 2018-03/txt/msg01121.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #29 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:53:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17352 invoked by alias); 7 Mar 2018 09:53: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 17295 invoked by uid 48); 7 Mar 2018 09:53:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/79747] Missing documentation for -malign-{jumps,label,loops,functions}= and strange value range limitation Date: Wed, 07 Mar 2018 09: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: 7.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01126.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79747 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:56:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38121 invoked by alias); 7 Mar 2018 09:56: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 38055 invoked by uid 48); 7 Mar 2018 09:56:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84741] [7/8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:13893 Date: Wed, 07 Mar 2018 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01127.txt.bz2 Content-length: 2170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84741 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.or= g, | |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- I don't think this is a regression, the __RTL stuff has been introduced in = GCC 7. And, there are infinite number of ways to get ICEs with __RTL or __GIMP= LE by just adding invalid IL, __RTL and __GIMPLE are just meant for testing the compiler. The reason this ICEs is that if we call run_rtl_passes we bypass the initialization done at expand time, in particular prepare_function_start which among other things does: if (flag_stack_usage_info) { cfun->su =3D ggc_cleared_alloc (); cfun->su->static_stack_size =3D -1; } and so cfun->su is uninitialized. Note, if I replace in the testcase __RTL (startwith ("vregs")) with just __= RTL, it ICEs exactly in prepare_function_start on the assertion that=20 gcc_assert (!get_last_insn ()); Note prepare_function_start initializes a bunch of other global vars: cse_not_expected =3D ! optimize; /* Caller save not needed yet. */ caller_save_needed =3D 0; /* We haven't done register allocation yet. */ reg_renumber =3D 0; /* Indicate that we have not instantiated virtual registers yet. */ virtuals_instantiated =3D 0; /* Indicate that we want CONCATs now. */ generating_concat_p =3D 1; /* Indicate we have no need of a frame pointer yet. */ frame_pointer_needed =3D 0; If we don't start with expand pass, I guess we want !generating_concat_p, b= ut the others really depend on what exact pass it starts with. I'm afraid the= RTL passes has lots of other state that I don't really see how run_rtl_passes w= ould make it work. E.g. reload_completed, epilogue_completed, regstack_complete= d, ... All those start initially clear (or as set above), and at some point a= re changed after some pass. >>From gcc-bugs-return-596540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 09:59:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89416 invoked by alias); 7 Mar 2018 09:59: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 89374 invoked by uid 48); 7 Mar 2018 09:59:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84741] [7/8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:13893 Date: Wed, 07 Mar 2018 09:59: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01128.txt.bz2 Content-length: 289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84741 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P5 >>From gcc-bugs-return-596541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 10:16:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39214 invoked by alias); 7 Mar 2018 10:16: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 38517 invoked by uid 48); 7 Mar 2018 10:16:38 -0000 From: "development@faf-ltd.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Wed, 07 Mar 2018 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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: development@faf-ltd.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: 2018-03/txt/msg01129.txt.bz2 Content-length: 1489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #7 from Peter VARGA --- This is the original version: #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include Before I found now finally a solution I had to sort out the order - it was = not really that trivial and very annoying. This is now how it works and - as it should be - the order of the include f= iles in the project does NOT matter anymore. BUT, it is very important that /usr/include is last in the list, otherwise = it won't compile: -nostdinc -I /FaF/curl/include -I /usr/include/mysql -I /FaF/lib64/gcc/x86_64-suse-linux/7.3.0/include-fixed -I /FaF/include/c++/7.3 -I /FaF/include/c++/7.3/x86_64-suse-linux/ -I /FaF/lib64/gcc/x86_64-suse-linux/7.3.0/include -I /FaF/glibc/include/ -I /usr/include >>From gcc-bugs-return-596542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 10:17:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45203 invoked by alias); 7 Mar 2018 10:17: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 45120 invoked by uid 48); 7 Mar 2018 10:17:42 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84736] When compiling with -g -O2 internal compiler error: in force_type_die, at dwarf2out.c:25111 Date: Wed, 07 Mar 2018 10:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: ice-on-valid-code, needs-bisection, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2018-03/txt/msg01130.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84736 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |marxin at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Martin Li=C5=A1ka --- Fixed in gcc-7-branch@254761 thus dup. *** This bug has been marked as a duplicate of bug 82155 *** >>From gcc-bugs-return-596543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 10:17:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45340 invoked by alias); 7 Mar 2018 10:17: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 45157 invoked by uid 48); 7 Mar 2018 10:17:43 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/82155] [7 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:21655 Date: Wed, 07 Mar 2018 10:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 7.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: 2018-03/txt/msg01131.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82155 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kuba.skowron at gmail dot = com --- Comment #10 from Martin Li=C5=A1ka --- *** Bug 84736 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-596544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 10:18:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49144 invoked by alias); 7 Mar 2018 10:18: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 48841 invoked by uid 48); 7 Mar 2018 10:18:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 10: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: 8.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01132.txt.bz2 Content-length: 949 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 --- Comment #6 from Richard Biener --- The issue is PRE inserted a PHI with a SSA name argument that is not availa= ble there. The reason is that constant =3D fully_constant_expression (expr); ... if (constant->kind !=3D CONSTANT) { ... unsigned value_id =3D get_expr_value_id (constant); constant =3D find_leader_in_sets (value_id, set1, s= et2, AVAIL_OUT (pred)); is wrong in using the ANTIC sets to find a leader. See the original fix I pasted into PR84670. This fix regresses some testcase(s) though (gcc.dg/tree-ssa/pr35287.c at least). Trying to recover with sth more clev= er regressed sth else. As the other fix (for the assert) fixed all testcases I had I didn't pursue this further. Looking again. >>From gcc-bugs-return-596545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 10:40:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91921 invoked by alias); 7 Mar 2018 10:40: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 91871 invoked by uid 55); 7 Mar 2018 10:40:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84565] [8 Regression] ICE in extract_insn, at recog.c:2304 on aarch64 Date: Wed, 07 Mar 2018 10: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01133.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84565 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Mar 7 10:39:32 2018 New Revision: 258333 URL: https://gcc.gnu.org/viewcvs?rev=3D258333&root=3Dgcc&view=3Drev Log: PR fortran/84565 * config/aarch64/predicates.md (aarch64_simd_reg_or_zero): Use aarch64_simd_or_scalar_imm_zero rather than aarch64_simd_imm_zero. * gfortran.dg/pr84565.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr84565.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/predicates.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 10:43:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95501 invoked by alias); 7 Mar 2018 10:43: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 95465 invoked by uid 48); 7 Mar 2018 10:43:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275 Date: Wed, 07 Mar 2018 10:43: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.0 X-Bugzilla-Keywords: 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01135.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84723 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-596546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 10:43:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94816 invoked by alias); 7 Mar 2018 10:43: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 94767 invoked by uid 48); 7 Mar 2018 10:43:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84565] [8 Regression] ICE in extract_insn, at recog.c:2304 on aarch64 Date: Wed, 07 Mar 2018 10: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01134.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84565 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-596548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 11:01:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36433 invoked by alias); 7 Mar 2018 11:01: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 25948 invoked by uid 48); 7 Mar 2018 11:01:34 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf) Date: Wed, 07 Mar 2018 11:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris 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.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: 2018-03/txt/msg01136.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83206 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org --- Comment #21 from Tamar Christina --- Since the bug seems to be fixed, anything keeping this ticket open? >>From gcc-bugs-return-596549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 11:11:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33478 invoked by alias); 7 Mar 2018 11:11: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 33432 invoked by uid 48); 7 Mar 2018 11:11:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84740] [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Wed, 07 Mar 2018 11: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: 8.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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01137.txt.bz2 Content-length: 1469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Assignee|marxin at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Untested fix: --- gcc/tree-switch-conversion.c.jj 2018-01-09 08:58:15.000000000 +0100 +++ gcc/tree-switch-conversion.c 2018-03-07 12:03:42.228246408 +0100 @@ -1563,7 +1563,8 @@ process_switch (gswitch *swtch) gather_default_values (info.default_case_nonstandard ? gimple_switch_label (swtch, 1) : gimple_switch_default_label (swtch), &info); - build_constructors (swtch, &info); + if (info.phi_count) + build_constructors (swtch, &info); build_arrays (swtch, &info); /* Build the static arrays and assignments.= =20=20 */ gen_inbound_check (swtch, &info); /* Build the bounds check. */ I think it is better to do this rather than if (info.phi_count) return "no non-virtual phis"; before create_temp_arrays, because this way we optimize = the switch into if, while otherwise we don't. Most of the functions will not really do much, e.g. allocate 0 elts arrays, etc., but only build_construct= ors relies on info->phi_count > 0. >>From gcc-bugs-return-596550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 11:22:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59765 invoked by alias); 7 Mar 2018 11:22: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 59716 invoked by uid 48); 7 Mar 2018 11:22:30 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84740] [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Wed, 07 Mar 2018 11:22: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.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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01138.txt.bz2 Content-length: 260 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 --- Comment #4 from Jakub Jelinek --- Created attachment 43583 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43583&action=3Dedit gcc8-pr84740.patch Full untested patch. >>From gcc-bugs-return-596551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 11:26:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81945 invoked by alias); 7 Mar 2018 11:26: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 81890 invoked by uid 48); 7 Mar 2018 11:26:21 -0000 From: "stefan at reservoir dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84747] New: alias analysis reports may-conflict for references to disjoint address spaces Date: Wed, 07 Mar 2018 11:26: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stefan at reservoir 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: 2018-03/txt/msg01139.txt.bz2 Content-length: 2158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84747 Bug ID: 84747 Summary: alias analysis reports may-conflict for references to disjoint address spaces Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: stefan at reservoir dot com Target Milestone: --- Created attachment 43584 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43584&action=3Dedit patch to improve alias analysis for disjoint address spaces For an out-of-tree target that supports address spaces the aliaser does not report that references to distinct non-overlapping address spaces don=E2=80= =99t conflict. The following program shows this failure when compiled with gcc 7= .3 and =E2=80=98=E2=80=93O=E2=80=99: typedef int v4si __attribute__((__vector_size__(16))); v4si foo (__seg_gs v4si* ap, v4si* gp) { *gp +=3D (v4si){1,1,1,1}; *ap =3D (v4si){1,2,3,4}; return *gp; } To wit, the store =E2=80=98*ap =3D=E2=80=99 should not kill the available v= alue of =E2=80=98*gp +=3D=E2=80=99 of the preceding line, hence no reload of =E2=80=98*gp=E2=80=99 should be need= ed for the return. The attached patch eliminates the load for the return, both in tree-ssa-ali= as.c (ME) and alias.c (BE). The latter is included for completeness. This target also supports some references to a special address space with s= ome side effects that cannot be described by the IR. We use intrinsics to perfo= rm these operations. These intrinsics should not kill references to the generic address space. To accomplish this, the attached patch also provides target hooks to leave it to the target specific code to decide whether these intrinsics conflict with other references. These hooks are not yet document= ed since I wasn=E2=80=99t sure in which section they should be documented. Finally, the patch includes a warning for conversions between pointers to non-overlapping address spaces that are not known to be null pointers, as s= uch conversions are ill defined. >>From gcc-bugs-return-596552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 11:28:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83385 invoked by alias); 7 Mar 2018 11:28: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 83335 invoked by uid 48); 7 Mar 2018 11:28:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Wed, 07 Mar 2018 11:28: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.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01140.txt.bz2 Content-length: 163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 --- Comment #7 from Richard Biener --- This is also latent on the GCC 7 branch. >>From gcc-bugs-return-596553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 12:04:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69101 invoked by alias); 7 Mar 2018 12:04: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 69073 invoked by uid 48); 7 Mar 2018 12:04:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84747] alias analysis reports may-conflict for references to disjoint address spaces Date: Wed, 07 Mar 2018 12:04: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: 7.3.0 X-Bugzilla-Keywords: alias, 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: keywords bug_status cf_reconfirmed_on component everconfirmed 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: 2018-03/txt/msg01141.txt.bz2 Content-length: 943 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84747 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |alias, missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 Component|c |middle-end Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Richard Biener --- Note that patches to gcc should be posted to gcc-patches@gcc.gnu.org Note that to contribute patches you (and/or your empolyer) need to assign copyright to the FSF, see https://gcc.gnu.org/contribute.html Confirmed, GCC doesn't use address-space info for disambiguation. >>From gcc-bugs-return-596554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 12:11:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96967 invoked by alias); 7 Mar 2018 12:11: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 96938 invoked by uid 48); 7 Mar 2018 12:11:38 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59798] [C++11] ICE befriending an inheriting constructor template specialization Date: Wed, 07 Mar 2018 12: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: 4.9.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: --- 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: 2018-03/txt/msg01142.txt.bz2 Content-length: 2483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59798 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- The ICE is now: 59798.C:4:8: internal compiler error: in deduce_inheriting_ctor, at cp/method.c:1909 B b(0); ^ 0x97582e deduce_inheriting_ctor(tree_node*) /home/marek/src/gcc/gcc/cp/method.c:1909 0x81692e build_over_call /home/marek/src/gcc/gcc/cp/call.c:7678 0x81f04a build_new_method_call_1 /home/marek/src/gcc/gcc/cp/call.c:9289 0x81f62e build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int) /home/marek/src/gcc/gcc/cp/call.c:9364 0x81c95c build_special_member_call(tree_node*, tree_node*, vec**, tree_node*, int, int) /home/marek/src/gcc/gcc/cp/call.c:8892 0x93573d expand_default_init /home/marek/src/gcc/gcc/cp/init.c:1892 0x935d60 expand_aggr_init_1 /home/marek/src/gcc/gcc/cp/init.c:2007 0x934a6a build_aggr_init(tree_node*, tree_node*, int, int) /home/marek/src/gcc/gcc/cp/init.c:1747 0x8c942b build_aggr_init_full_exprs /home/marek/src/gcc/gcc/cp/decl.c:6228 0x8ca267 check_initializer /home/marek/src/gcc/gcc/cp/decl.c:6377 0x8cdaaa cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) /home/marek/src/gcc/gcc/cp/decl.c:7078 0x9c0f77 cp_parser_init_declarator /home/marek/src/gcc/gcc/cp/parser.c:19723 0x9b4527 cp_parser_simple_declaration /home/marek/src/gcc/gcc/cp/parser.c:13057 0x9b4090 cp_parser_block_declaration /home/marek/src/gcc/gcc/cp/parser.c:12882 0x9b3e12 cp_parser_declaration /home/marek/src/gcc/gcc/cp/parser.c:12780 0x9b396b cp_parser_declaration_seq_opt /home/marek/src/gcc/gcc/cp/parser.c:12656 0x9a21cf cp_parser_translation_unit /home/marek/src/gcc/gcc/cp/parser.c:4561 0x9f43d7 c_parse_file() /home/marek/src/gcc/gcc/cp/parser.c:38995 0xb81b40 c_common_parse_file() /home/marek/src/gcc/gcc/c-family/c-opts.c:1132 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-596555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 12:12:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104122 invoked by alias); 7 Mar 2018 12:12: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 103694 invoked by uid 48); 7 Mar 2018 12:12:55 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84734] [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE Date: Wed, 07 Mar 2018 12:12: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 8.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: 2018-03/txt/msg01143.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84734 --- Comment #2 from Dominique d'Humieres --- The following code integer :: B(huge(1_8)+3_8,2_8) integer(8) :: var1(2), var2, var3 var1 =3D shape(B,kind=3D8) var2 =3D size(B,kind=3D8) var3 =3D size(B,dim=3D1,kind=3D8) end gives the same ICE without -fdefault-integer-8. New range between revisions r257969 (2018-02-25, OK) and r258030 (2018-02-2= 7, ICE). >>From gcc-bugs-return-596556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 12:32:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37296 invoked by alias); 7 Mar 2018 12:32: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 37229 invoked by uid 48); 7 Mar 2018 12:32:49 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84748] New: [8 Regression] wrong code with u128 at aarch64 at -O and and above Date: Wed, 07 Mar 2018 12:32: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 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: 2018-03/txt/msg01144.txt.bz2 Content-length: 2441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84748 Bug ID: 84748 Summary: [8 Regression] wrong code with u128 at aarch64 at -O and and above Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 43585 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43585&action=3Dedit reduced testcase Output: $ aarch64-unknown-linux-gnu-gcc -O testcase.c -static $ ./a.out=20 qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ aarch64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-lin= ux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-258314-checking-yes-rtl-= df-extra-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/8.0.1/lto-wra= pper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --with-sysroot=3D/usr/aarch64-unknown-linux-gnu --build=3Dx86_64-pc-linux-g= nu --host=3Dx86_64-pc-linux-gnu --target=3Daarch64-unknown-linux-gnu --with-ld=3D/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=3D/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-258314-checking-yes-rtl-df-extra-a= arch64 Thread model: posix gcc version 8.0.1 20180307 (experimental) (GCC)=20 This patch: +++ testcase.s 2018-03-07 13:30:25.248052580 +0100 @@ -27,6 +27,7 @@ ldr x2, [x19, #:lo12:b] ldr x1, [x20, 8] adds x0, x0, x2 + adc x1, x4, x1 adrp x2, d ldr w2, [x2, #:lo12:d] sub w2, w2, #81920 @@ -36,7 +37,6 @@ str w2, [x3, #:lo12:c] and x2, x2, 1 mov x3, 0 - adc x1, x4, x1 bl __udivti3 str x0, [x19, #:lo12:b] str x1, [x20, 8] fixes the -O1 assembly; the "adc" is probably scheduled later by some pass, even though it crosses modification of the carry flag. >>From gcc-bugs-return-596557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 12:43:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62359 invoked by alias); 7 Mar 2018 12:43: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 62342 invoked by uid 48); 7 Mar 2018 12:43:41 -0000 From: "okannen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84699] discarded value expression of volatile class type shall materialize a temporary Date: Wed, 07 Mar 2018 12:43: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.3.1 X-Bugzilla-Keywords: accepts-invalid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: okannen 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: 2018-03/txt/msg01145.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84699 --- Comment #1 from Olivier Kannengieser --- A link to an answer to a question on stack overflow that details what should happen: https://stackoverflow.com/a/29873914/5632316 >>From gcc-bugs-return-596558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 12:50:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54482 invoked by alias); 7 Mar 2018 12: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 54435 invoked by uid 48); 7 Mar 2018 12:50:03 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Wed, 07 Mar 2018 12:50: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.3.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01146.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 --- Comment #8 from Jonathan Wakely --- You need to recompile gcc telling it to use the new glibc. When GCC is built it creates fixed dependencies on the C library. You can't just point it to a new libc and expect it to work. A new C library needs a = new compiler as well. So build GCC (see https://gcc.gnu.org/wiki/InstallingGCC for a starting poi= nt) and add --with-native-system-header-dir=3D/FaF/glibc/include/ to the config= ure options. >>From gcc-bugs-return-596559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 13:01:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130203 invoked by alias); 7 Mar 2018 13:01: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 130127 invoked by uid 48); 7 Mar 2018 13:01:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84748] [8 Regression] wrong code with u128 at aarch64 at -O and and above Date: Wed, 07 Mar 2018 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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01147.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84748 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Target Milestone|--- |8.0 >>From gcc-bugs-return-596560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 13:12:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111305 invoked by alias); 7 Mar 2018 13:12: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 110635 invoked by uid 48); 7 Mar 2018 13:12:46 -0000 From: "arnd at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Wed, 07 Mar 2018 13:12: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: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: arnd at linaro dot 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: 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: 2018-03/txt/msg01148.txt.bz2 Content-length: 1597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 --- Comment #5 from Arnd Bergmann --- Created attachment 43586 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43586&action=3Dedit drivers/gpu/drm/drm_property.c, preprocessed I found another case that appears to be related but not the same, attaching another (non-reduced) file for reference. The code that triggered a warning this time is: strncpy(property->name, name, DRM_PROP_NAME_LEN); property->name[DRM_PROP_NAME_LEN-1] =3D '\0'; but unlike the first one, this only happens with -fsanitize=3Dkernel-addres= s but not with -fsanitize-coverage=3Dtrace-pc: $ x86_64-linux-gcc-8.0.1 -fno-strict-aliasing -O2 -Wall -S drm_property.i= =20=20 -fsanitize=3Dkernel-address /git/arm-soc/drivers/gpu/drm/drm_property.c: In function 'drm_property_crea= te': /git/arm-soc/include/linux/string.h:254:9: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /git/arm-soc/drivers/gpu/drm/drm_property.c: In function 'drm_property_add_enum': /git/arm-soc/include/linux/string.h:254:9: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /git/arm-soc/include/linux/string.h:254:9: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>From gcc-bugs-return-596561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 13:22:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110069 invoked by alias); 7 Mar 2018 13:22: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 104594 invoked by uid 48); 7 Mar 2018 13:22:40 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/84592] [openacc,openmp] lto1: ICE in input_varpool_node, at lto-cgraph.c:1424: for CSWTCH symbol Date: Wed, 07 Mar 2018 13:22: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: 8.0 X-Bugzilla-Keywords: lto, openacc, openmp, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 2018-03/txt/msg01149.txt.bz2 Content-length: 414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84592 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #10 from Tom de Vries --- https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00320.html >>From gcc-bugs-return-596562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 13:31:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69820 invoked by alias); 7 Mar 2018 13:31: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 69756 invoked by uid 48); 7 Mar 2018 13:31:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/63572] [6/7/8 Regression] ICF breaks user debugging experience Date: Wed, 07 Mar 2018 13:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-03/txt/msg01150.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63572 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.5 |--- >>From gcc-bugs-return-596563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 13:37:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71809 invoked by alias); 7 Mar 2018 13:37: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 69596 invoked by uid 48); 7 Mar 2018 13:37:17 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/84749] New: -w does not work with option property Warn Date: Wed, 07 Mar 2018 13:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 2018-03/txt/msg01151.txt.bz2 Content-length: 739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84749 Bug ID: 84749 Summary: -w does not work with option property Warn Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- As example, echo|i386-linux-gcc -mintel-syntax -w -xc -S - prints i386-linux-gcc: warning: '-mintel-syntax' and '-mno-intel-syntax' are deprecated; use '-masm=3Dintel' and '-masm=3Datt' instead while -w should shut up all warnings (there is no other way to turn off messages by Warn option properties either). >>From gcc-bugs-return-596564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 13:41:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31640 invoked by alias); 7 Mar 2018 13:41: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 31592 invoked by uid 48); 7 Mar 2018 13:41:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Wed, 07 Mar 2018 13:41: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: 8.0.1 X-Bugzilla-Keywords: diagnostic 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: --- 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: 2018-03/txt/msg01152.txt.bz2 Content-length: 832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 --- Comment #6 from Jakub Jelinek --- Short testcase for the latter, -O2 -Wall vs. -O2 -Wall -fsanitize=3Daddress: struct S { char p[32]; }; struct S * foo (char *q) { struct S *p =3D __builtin_malloc (sizeof (struct S)); __builtin_strncpy (p->p, q, 32); p->p[31] =3D '\0'; return p; } With -fsanitize=3D{,kernel-}address there is: __builtin_strncpy (_1, q_5(D), 32); _8 =3D &p_4->p[31]; ASAN_CHECK (7, _8, 1, 1); p_4->p[31] =3D 0; So, the -Wstringop-truncation would need to do the suggested alias search f= or the store rather than next statement it does now, and in addition to that w= ould need to ignore ASAN_CHECK, because those are guaranteed not to actually read the passed memory, just to check corresponding shadow memory. >>From gcc-bugs-return-596565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:01:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90722 invoked by alias); 7 Mar 2018 14:01: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 90609 invoked by uid 48); 7 Mar 2018 14:00:58 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84738] stack-overflow in regex_match Date: Wed, 07 Mar 2018 14:01: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: 7.2.0 X-Bugzilla-Keywords: 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 cc 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: 2018-03/txt/msg01153.txt.bz2 Content-length: 700 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84738 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |6.4.0, 7.3.0, 8.0 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, I see it for GCC 6,7,8. But maybe older versions are also affect= ed. >>From gcc-bugs-return-596566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:03:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93145 invoked by alias); 7 Mar 2018 14:03: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 93104 invoked by uid 48); 7 Mar 2018 14:03:29 -0000 From: "andrewm.roberts at sky dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf) Date: Wed, 07 Mar 2018 14:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrewm.roberts at sky 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: 8.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: 2018-03/txt/msg01154.txt.bz2 Content-length: 1937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83206 --- Comment #22 from Andrew Roberts --- The RPI Zero bug was fixed, I'm retesting with the latest snapshot (8.0.1 20180304) just to be sure it is ok. There are still a number of inconsisten= cies and things which could be improved. On Odroid-Xu4 (Cortex A15/A7 Big/little, Aarch32) ------------------------------------------------- /usr/local/gcc/bin/gcc -mfpu=3Dauto -O3 -o matrix matrix.c=20=20=20=20 cc1: error: -mfloat-abi=3Dhard: selected processor lacks an FPU It would be better if this error could let the user know they need to selec= t a CPU manually, rather than incorrectly state it lacks an FPU. This is going = to be confusing to people. /usr/local/gcc/bin/gcc -mcpu=3Dnative -mfpu=3Dauto -O3 -o matrix matrix.c Is fine. /usr/local/gcc/bin/gcc -march=3Dnative -Q --help=3Dtarget | grep "mcpu\|mfpu\|march" -march=3D armv7ve+vfpv3-d16 -mcpu=3D -mfpu=3D vfpv3-d16 /usr/local/gcc/bin/gcc -march=3Dnative -mcpu=3Dnative -Q --help=3Dtarget | = grep "mcpu\|mfpu\|march" -march=3D armv7ve+vfpv3-d16 -mcpu=3D cortex-a7 -mfpu=3D vfpv3-d16 This is still not detecting BIG/little CPU combinations (I had a separate PR about this [83207]). On ODROID-C2 (Cortex A53,AARCH64) ---------------------- /usr/local/gcc/bin/gcc -march=3Dnative -mcpu=3Dnative -Q --help=3Dtarget | = grep "mcpu\|mfpu\|march" -march=3DARCH armv8-a+crc -mcpu=3DCPU cortex-a53 The output is inconsistent with aarch32 output (=3DARCH, =3DCPU), I had als= o raised a PR about this [83193]. On RPI 3 (Cortex A53,AArch32) ----------------------------- No issues here that I can see. I'll update again tomorrow when the RPI Zero build has completed >>From gcc-bugs-return-596567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:07:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102597 invoked by alias); 7 Mar 2018 14:07: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 100712 invoked by uid 48); 7 Mar 2018 14:07:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Wed, 07 Mar 2018 14: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: 8.0 X-Bugzilla-Keywords: missed-optimization 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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01155.txt.bz2 Content-length: 720 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84737 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-03-07 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 --- Isn't that dup of 84149? Can you please tweak --param ipa-cp-eval-threshold= to value to 200, 300, 400? Can you please attach -fdump-ipa-cp-details file? >>From gcc-bugs-return-596568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:07:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126768 invoked by alias); 7 Mar 2018 14:07: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 124573 invoked by uid 48); 7 Mar 2018 14:07:35 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58908] ICE in process_init_constructor_array for std::vector Date: Wed, 07 Mar 2018 14: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: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 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: 2018-03/txt/msg01156.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58908 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed by r257720. >>From gcc-bugs-return-596569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:12:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16517 invoked by alias); 7 Mar 2018 14:12: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 14739 invoked by uid 48); 7 Mar 2018 14:12:17 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64035] [C++11] ICE in reshape_init_r when using initializer list aggregate initialization for default function parameters Date: Wed, 07 Mar 2018 14: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: 5.2.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: --- 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: 2018-03/txt/msg01157.txt.bz2 Content-length: 2417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64035 --- Comment #7 from Marek Polacek --- Still ICEs: $ ./cc1plus -quiet test1.cpp test1.cpp: In function =E2=80=98int main()=E2=80=99: test1.cpp:18:7: internal compiler error: in reshape_init_r, at cp/decl.c:60= 97 func(); ^ 0x8c8d7e reshape_init_r /home/marek/src/gcc/gcc/cp/decl.c:6097 0x8c810a reshape_init_class /home/marek/src/gcc/gcc/cp/decl.c:5879 0x8c8e2b reshape_init_r /home/marek/src/gcc/gcc/cp/decl.c:6110 0x8c90b3 reshape_init(tree_node*, tree_node*, int) /home/marek/src/gcc/gcc/cp/decl.c:6170 0x7ff6da implicit_conversion /home/marek/src/gcc/gcc/cp/call.c:1831 0x824b2f perform_implicit_conversion_flags(tree_node*, tree_node*, int, int) /home/marek/src/gcc/gcc/cp/call.c:10563 0xb077ad convert_for_initialization(tree_node*, tree_node*, tree_node*, int, impl_conv_rhs, tree_node*, int, int) /home/marek/src/gcc/gcc/cp/typeck.c:8980 0x81559e convert_default_arg(tree_node*, tree_node*, tree_node*, int, int) /home/marek/src/gcc/gcc/cp/call.c:7355 0x81820e build_over_call /home/marek/src/gcc/gcc/cp/call.c:7960 0x808f59 build_new_function_call(tree_node*, vec**, int) /home/marek/src/gcc/gcc/cp/call.c:4317 0xa9b767 finish_call_expr(tree_node*, vec**, b= ool, bool, int) /home/marek/src/gcc/gcc/cp/semantics.c:2500 0x9a80e8 cp_parser_postfix_expression /home/marek/src/gcc/gcc/cp/parser.c:7243 0x9aa988 cp_parser_unary_expression /home/marek/src/gcc/gcc/cp/parser.c:8322 0x9abaa4 cp_parser_cast_expression /home/marek/src/gcc/gcc/cp/parser.c:9090 0x9abba1 cp_parser_binary_expression /home/marek/src/gcc/gcc/cp/parser.c:9191 0x9ac97e cp_parser_assignment_expression /home/marek/src/gcc/gcc/cp/parser.c:9486 0x9acd1b cp_parser_expression /home/marek/src/gcc/gcc/cp/parser.c:9655 0x9aff06 cp_parser_expression_statement /home/marek/src/gcc/gcc/cp/parser.c:11131 0x9af813 cp_parser_statement /home/marek/src/gcc/gcc/cp/parser.c:10935 0x9b0565 cp_parser_statement_seq_opt /home/marek/src/gcc/gcc/cp/parser.c:11274 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-596570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:17:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62312 invoked by alias); 7 Mar 2018 14:17: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 62271 invoked by uid 48); 7 Mar 2018 14:17:24 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/84750] New: Both the driver and cc1 warn for Target Warn option properties Date: Wed, 07 Mar 2018 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 2018-03/txt/msg01158.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84750 Bug ID: 84750 Summary: Both the driver and cc1 warn for Target Warn option properties Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- Try rs6000 with -mstring for example: $ powerpc-linux-gcc -Wall -W -O2 -S 0.c -mstring=20=20=20 powerpc-linux-gcc: warning: '-mstring' is deprecated cc1: warning: '-mstring' is deprecated Or on another target: $ arc-elf-gcc -Wall -W -O2 -S 0.c -mcrc arc-elf-gcc: warning: '-mcrc' is deprecated cc1: warning: '-mcrc' is deprecated >>From gcc-bugs-return-596571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:20:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57395 invoked by alias); 7 Mar 2018 14:20: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 55570 invoked by uid 48); 7 Mar 2018 14:20:05 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61228] noexcept(expression) causes internal compiler error Date: Wed, 07 Mar 2018 14: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: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 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: 2018-03/txt/msg01159.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61228 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #1 from Marek Polacek --- Fixed by r254022. >>From gcc-bugs-return-596572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:32:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86287 invoked by alias); 7 Mar 2018 14:32: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 86249 invoked by uid 48); 7 Mar 2018 14:32:35 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64751] internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486 Date: Wed, 07 Mar 2018 14: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: 4.8.2 X-Bugzilla-Keywords: ice-on-valid-code 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: 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: 2018-03/txt/msg01160.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64751 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #5 from Marek Polacek --- All active branches seem to reject this and don't ICE. >>From gcc-bugs-return-596573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:37:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104209 invoked by alias); 7 Mar 2018 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 104097 invoked by uid 48); 7 Mar 2018 14:36:59 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67724] internal compiler error in stl_vector.h Date: Wed, 07 Mar 2018 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: 4.9.3 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 2018-03/txt/msg01161.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67724 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Marek Polacek --- The testcase contains binary data. GCC 4.9 is no longer supported. I'll c= lose this, please reopen if you still see the bug. >>From gcc-bugs-return-596574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:41:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74878 invoked by alias); 7 Mar 2018 14:41: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 71341 invoked by uid 48); 7 Mar 2018 14:41:47 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68180] [ICE] at cp/constexpr.c:2768 in initializing __vector in a loop Date: Wed, 07 Mar 2018 14: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: 6.0 X-Bugzilla-Keywords: easyhack, ice-on-valid-code 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: 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: 2018-03/txt/msg01162.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68180 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Testcase is now rejected with error: modification of =E2=80=98(float [4])v=E2=80=99 is not a constant-exp= ression constexpr float32x4_t v =3D fill(1.f); since r236630. ICE is gone. Closing. >>From gcc-bugs-return-596576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:43:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110514 invoked by alias); 7 Mar 2018 14:43: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 108926 invoked by uid 48); 7 Mar 2018 14:43:39 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70938] [5 only] internal compiler error: in tsubst_copy, at cp/pt.c:13008 Date: Wed, 07 Mar 2018 14:43: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: 5.3.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2018-03/txt/msg01164.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70938 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Marek Polacek --- GCC 5 is not supported anymore, closing. >>From gcc-bugs-return-596575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:43:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92303 invoked by alias); 7 Mar 2018 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 90042 invoked by uid 48); 7 Mar 2018 14:43:04 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68451] internal compiler error: Segmentation fault when using decltype with friend inside a class template Date: Wed, 07 Mar 2018 14:43: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.9.1 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: --- 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: 2018-03/txt/msg01163.txt.bz2 Content-length: 2637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68451 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- Still ICEs: $ ./cc1plus -quiet 68451.C 68451.C: In instantiation of =E2=80=98struct C=E2=80=99: 68451.C:21:12: required from here 68451.C:12:7: internal compiler error: Segmentation fault A a; ^ 0x1230d5b crash_signal /home/marek/src/gcc/gcc/toplev.c:325 0xa2c870 instantiate_class_template_1 /home/marek/src/gcc/gcc/cp/pt.c:10926 0xa2cd6b instantiate_class_template(tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:11055 0xae51f4 complete_type(tree_node*) /home/marek/src/gcc/gcc/cp/typeck.c:136 0x8c5cf7 start_decl_1(tree_node*, bool) /home/marek/src/gcc/gcc/cp/decl.c:5241 0x8c5af9 start_decl(cp_declarator const*, cp_decl_specifier_seq*, int, tree_node*, tree_node*, tree_node**) /home/marek/src/gcc/gcc/cp/decl.c:5204 0x9c0aa6 cp_parser_init_declarator /home/marek/src/gcc/gcc/cp/parser.c:19598 0x9b4527 cp_parser_simple_declaration /home/marek/src/gcc/gcc/cp/parser.c:13057 0x9b4090 cp_parser_block_declaration /home/marek/src/gcc/gcc/cp/parser.c:12882 0x9b3480 cp_parser_declaration_statement /home/marek/src/gcc/gcc/cp/parser.c:12476 0x9af7d6 cp_parser_statement /home/marek/src/gcc/gcc/cp/parser.c:10925 0x9b0565 cp_parser_statement_seq_opt /home/marek/src/gcc/gcc/cp/parser.c:11274 0x9b045b cp_parser_compound_statement /home/marek/src/gcc/gcc/cp/parser.c:11228 0x9c4e18 cp_parser_function_body /home/marek/src/gcc/gcc/cp/parser.c:21776 0x9c50db cp_parser_ctor_initializer_opt_and_function_body /home/marek/src/gcc/gcc/cp/parser.c:21813 0x9ced83 cp_parser_function_definition_after_declarator /home/marek/src/gcc/gcc/cp/parser.c:26818 0x9ceba9 cp_parser_function_definition_from_specifiers_and_declarator /home/marek/src/gcc/gcc/cp/parser.c:26734 0x9c07c8 cp_parser_init_declarator /home/marek/src/gcc/gcc/cp/parser.c:19502 0x9b4527 cp_parser_simple_declaration /home/marek/src/gcc/gcc/cp/parser.c:13057 0x9b4090 cp_parser_block_declaration /home/marek/src/gcc/gcc/cp/parser.c:12882 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-596577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:45:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72398 invoked by alias); 7 Mar 2018 14:45: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 70686 invoked by uid 48); 7 Mar 2018 14:45:49 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80452] [DR 1579] incorrect value category deduced for return value Date: Wed, 07 Mar 2018 14: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: 6.3.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01165.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80452 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #4 from Martin Li=C5=A1ka --- As the code snippet is also rejected in GCC 7, do you plan to backport that? >>From gcc-bugs-return-596578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:48:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29486 invoked by alias); 7 Mar 2018 14:48: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 25904 invoked by uid 48); 7 Mar 2018 14:48:43 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/77869] ICE on a code piece Date: Wed, 07 Mar 2018 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: 6.2.1 X-Bugzilla-Keywords: ice-on-valid-code 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: 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: 2018-03/txt/msg01166.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77869 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from Marek Polacek --- Fixed by r255780. >>From gcc-bugs-return-596579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:49:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94325 invoked by alias); 7 Mar 2018 14: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 92754 invoked by uid 48); 7 Mar 2018 14:49:27 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84748] [8 Regression] wrong code with u128 at aarch64 at -O and and above Date: Wed, 07 Mar 2018 14:49: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work 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: 2018-03/txt/msg01167.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84748 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 CC| |ktkachov at gcc dot gnu.org Known to work| |7.2.1 Ever confirmed|0 |1 Known to fail| |8.0 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. >>From gcc-bugs-return-596580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:51:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34544 invoked by alias); 7 Mar 2018 14:51: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 34494 invoked by uid 48); 7 Mar 2018 14:51:53 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79271] Internal compiler error (ICE) in 'tsubst_copy' when combining constexpr array and higher order functions Date: Wed, 07 Mar 2018 14: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: 7.0.1 X-Bugzilla-Keywords: ice-on-valid-code 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: 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: 2018-03/txt/msg01168.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79271 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from Marek Polacek --- Fixed by r251433. Not backportable. >>From gcc-bugs-return-596581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:53:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38840 invoked by alias); 7 Mar 2018 14:53: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 38801 invoked by uid 48); 7 Mar 2018 14:53:22 -0000 From: "jens.maurer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84699] discarded value expression of volatile class type shall materialize a temporary Date: Wed, 07 Mar 2018 14: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: 7.3.1 X-Bugzilla-Keywords: accepts-invalid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jens.maurer at gmx 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: 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: 2018-03/txt/msg01169.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84699 Jens Maurer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jens.maurer at gmx dot net --- Comment #2 from Jens Maurer --- This is core issue 1054. >>From gcc-bugs-return-596582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 14:59:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39735 invoked by alias); 7 Mar 2018 14:59: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 38648 invoked by uid 48); 7 Mar 2018 14:59:18 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84748] [8 Regression] wrong code with u128 at aarch64 at -O and and above Date: Wed, 07 Mar 2018 14:59: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01170.txt.bz2 Content-length: 670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84748 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org --- Comment #2 from ktkachov at gcc dot gnu.org --- I see the problem. Testing a patch. Combine ends up moving the CC-using instruction over a *compare_cstore_insn pattern because *compare_cstore_insn is not marked as clobbering the CC reg, though it does so during post-reload splitting. >>From gcc-bugs-return-596583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 15:02:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58014 invoked by alias); 7 Mar 2018 15:02: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 56430 invoked by uid 48); 7 Mar 2018 15:02:22 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/78420] [6/7/8 Regression] std::less is not a total order with -O2 enabled Date: Wed, 07 Mar 2018 15:02: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: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-03/txt/msg01171.txt.bz2 Content-length: 378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78420 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org >>From gcc-bugs-return-596584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 15:22:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69021 invoked by alias); 7 Mar 2018 15:22: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 66373 invoked by uid 48); 7 Mar 2018 15:22:50 -0000 From: "acsawdey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84743] default widths for parallel reassociation now hurt rather than help Date: Wed, 07 Mar 2018 15: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: acsawdey 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: 2018-03/txt/msg01172.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84743 --- Comment #3 from acsawdey at gcc dot gnu.org --- Yes I'm digging into this now and omnetpp is at the top of the list. I can = see if there is a difference between cpu2006 and 2017 as well. For gcc7 I used = 2006 to determine the widths. >>From gcc-bugs-return-596585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 15:23:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121189 invoked by alias); 7 Mar 2018 15:23: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 120513 invoked by uid 48); 7 Mar 2018 15:23:55 -0000 From: "matthew.thompson at nasa dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59093] Segfault in gfc_trans_pointer_assignment Date: Wed, 07 Mar 2018 15:23: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: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: matthew.thompson at nasa dot gov X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 2018-03/txt/msg01173.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59093 --- Comment #14 from Matt Thompson --- Query: What version of GCC will fix this? It was reported fixed last year, = but GCC 7.3.0 still ICEs out. >>From gcc-bugs-return-596586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 15:26:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31262 invoked by alias); 7 Mar 2018 15:26: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 26275 invoked by uid 48); 7 Mar 2018 15:26:42 -0000 From: "matthew.thompson at nasa dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/77296] [F03] Compiler Error with allocatable string and associate Date: Wed, 07 Mar 2018 15:26: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: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: matthew.thompson at nasa dot gov 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: 2018-03/txt/msg01174.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77296 --- Comment #6 from Matt Thompson --- (In reply to Thomas Koenig from comment #5) > This has been fixed by Paul's patch, closing. >=20 > Thanks for the bug report! Will this patch appear in GCC 8? 7.4? I only ask because I had another bug = (bug 59093) which was marked FIXED in 2017 but still isn't fixed in 7.3. Is there a way to query which version bugs are fixed in? >>From gcc-bugs-return-596587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 15:55:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75242 invoked by alias); 7 Mar 2018 15: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 75153 invoked by uid 55); 7 Mar 2018 15:55:31 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84277] [8 Regression] A lot of new acats testsuite failures Date: Wed, 07 Mar 2018 15: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01175.txt.bz2 Content-length: 2047 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84277 --- Comment #13 from Eric Botcazou --- Author: ebotcazou Date: Wed Mar 7 15:54:59 2018 New Revision: 258338 URL: https://gcc.gnu.org/viewcvs?rev=3D258338&root=3Dgcc&view=3Drev Log: PR target/84277 * except.h (output_function_exception_table): Adjust prototype. * except.c (output_function_exception_table): Remove FNNAME paramet= er and add SECTION parameter. Ouput one part of the table at a time. * final.c (final_scan_insn_1) : Out= put the first part of the exception table and emit unwind directives. * config/i386/i386-protos.h (i386_pe_end_cold_function): Declare. (i386_pe_seh_cold_init): Likewise. * config/i386/cygming.h (ASM_DECLARE_COLD_FUNCTION_NAME): New macro. (ASM_DECLARE_COLD_FUNCTION_SIZE): Likewise. * config/i386/i386.c (x86_expand_epilogue): Fix wording in comment. (ix86_output_call_insn): Emit a nop in one more case for SEH. * config/i386/winnt.c: Include except.h. (struct seh_frame_state): Add reg_offset, after_prologue and in_cold_section fields. (i386_pe_seh_end_prologue): Set seh->after_prologue. (i386_pe_seh_cold_init): New function. (i386_pe_seh_fini): Add COLD parameter and bail out if it is not eq= ual to seh->in_cold_section. (seh_emit_push): Record the offset of the push. (seh_emit_save): Record the offet of the save. (i386_pe_seh_unwind_emit): Deal with NOTE_INSN_SWITCH_TEXT_SECTIONS. Test seh->after_prologue to disregard the epilogue. (i386_pe_end_function): Pass FALSE to i386_pe_seh_fini. (i386_pe_end_cold_function): New function. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/cygming.h trunk/gcc/config/i386/i386-protos.h trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/winnt.c trunk/gcc/except.c trunk/gcc/except.h trunk/gcc/final.c >>From gcc-bugs-return-596588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 15:57:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77168 invoked by alias); 7 Mar 2018 15:57: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 77116 invoked by uid 48); 7 Mar 2018 15:57:30 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84277] [8 Regression] A lot of new acats testsuite failures Date: Wed, 07 Mar 2018 15: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01176.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84277 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Eric Botcazou --- Results for 8.x should be on par with those for 7.3.x now. >>From gcc-bugs-return-596589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 17:07:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53134 invoked by alias); 7 Mar 2018 17:07: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 50668 invoked by uid 48); 7 Mar 2018 17:07:33 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80452] [DR 1579] incorrect value category deduced for return value Date: Wed, 07 Mar 2018 17: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: 6.3.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01177.txt.bz2 Content-length: 326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80452 --- Comment #5 from Jason Merrill --- (In reply to Martin Li=C5=A1ka from comment #4) > As the code snippet is also rejected in GCC 7, do you plan to backport th= at? I wasn't planning to, since it isn't a regression, but I could be convinced. >>From gcc-bugs-return-596590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 17:36:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54385 invoked by alias); 7 Mar 2018 17: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 54348 invoked by uid 48); 7 Mar 2018 17:36:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80598] [7/8 regression] -Wunused triggers for functions used in uninstantiated templates Date: Wed, 07 Mar 2018 17:36: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.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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.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: 2018-03/txt/msg01178.txt.bz2 Content-length: 2143 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80598 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- Started with r245643. I wonder if we couldn't do something like following, still set TREE_USED on where we've previously called mark_used but not really do the rest. --- gcc/cp/semantics.c.jj 2018-03-06 21:40:35.717360176 +0100 +++ gcc/cp/semantics.c 2018-03-07 18:31:35.782132830 +0100 @@ -3740,10 +3740,15 @@ finish_id_expression (tree id_expression But only mark it if it's a complete postfix-expression; in a c= all, ADL might select a different function, and we'll call mark_use= d in build_over_call. */ - if (done - && !really_overloaded_fn (decl) - && !mark_used (first_fn)) - return error_mark_node; + if (!really_overloaded_fn (decl)) + { + if (done && !mark_used (first_fn)) + return error_mark_node; + /* Otherwise in templates mark first_fn as potentially used + for the benefit of -Wunused, see PR80598. */ + else if (!done && processing_template_decl) + TREE_USED (first_fn) =3D 1; + } if (!template_arg_p && TREE_CODE (first_fn) =3D=3D FUNCTION_DECL --- gcc/testsuite/g++.dg/warn/Wunused-function4.C.jj 2018-03-07 18:34:30.463176743 +0100 +++ gcc/testsuite/g++.dg/warn/Wunused-function4.C 2018-03-07 18:33:20.484159148 +0100 @@ -0,0 +1,21 @@ +// PR c++/80598 +// { dg-do compile } +// { dg-options "-Wunused-function" } + +static void +foo () // { dg-bogus "defined but not used" } +{ +} + +static void +bar () // { dg-warning "defined but not used" } +{ +} + +template +int +baz (T x) +{ + foo (); + return 0; +} >>From gcc-bugs-return-596591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 17:39:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56838 invoked by alias); 7 Mar 2018 17:39: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 56348 invoked by uid 48); 7 Mar 2018 17:39:45 -0000 From: "willschm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84751] New: ICE with debug build of gcc GIMPLE pass: store-merging or IPA pass: cp Date: Wed, 07 Mar 2018 17:39: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: willschm 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 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: 2018-03/txt/msg01179.txt.bz2 Content-length: 5628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84751 Bug ID: 84751 Summary: ICE with debug build of gcc GIMPLE pass: store-merging or IPA pass: cp Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: willschm at gcc dot gnu.org Target Milestone: --- Created attachment 43587 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43587&action=3Dedit testcase This was noticed during investigation into pr82982 on powerpc64-*-linux-gnu= * , but believed to be a separate issue. With a 'debug' build of gcc, where $CPU_COUNT is any value, and the assorted CFLAGS values are set like in the following.=20 make -j $CPU_COUNT CFLAGS=3D"-O0 -g3 -fno-inline" CXXFLAGS=3D"-O0 -g3 -fno-= inline" CFLAGS_FOR_BUILD=3D"-O0 -g3 -fno-inline" CFLAGS_FOR_TARGET=3D"-O0 -g3 -fno-= inline" CXXFLAGS_FOR_BUILD=3D"-O0 -g3 -fno-inline" CXXFLAGS_FOR_TARGET=3D"-O0 -g3 -fno-inline"=20 the resulting gcc will ICE when building the testcase with -O2 or higher.=20 # driver with -O2 ~/gcc/generic.noprereqs.noconfig.debug> ./gcc/cc1 ../pr82982.c -O2 km Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> Assembling functions: kmduring GIMPLE pass: store-merging ../pr82982.c: In function =E2=80=98km=E2=80=99: ../pr82982.c:4:1: internal compiler error: Segmentation fault km (void) ^~ 0x10f2da87 crash_signal /home/willschm/gcc/trunk.svn/gcc/toplev.c:325 0x11f76638 trim_filename(char const*) /home/willschm/gcc/trunk.svn/gcc/diagnostic.c:1023 0x11f78517 fancy_abort(char const*, int, char const*) /home/willschm/gcc/trunk.svn/gcc/diagnostic.c:1509 0x114b56df inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) /home/willschm/gcc/trunk.svn/gcc/tree.c:7425 0x10f82493 iterative_hash_expr /home/willschm/gcc/trunk.svn/gcc/tree.h:4934 0x10f89467 tree_operand_hash::hash(tree_node* const&) /home/willschm/gcc/trunk.svn/gcc/tree-hash-traits.h:34 0x11d73dbb hash /home/willschm/gcc/trunk.svn/gcc/hash-map-traits.h:49 0x11d7497b get /home/willschm/gcc/trunk.svn/gcc/hash-map.h:161 0x11d84fab process_store /home/willschm/gcc/trunk.svn/gcc/gimple-ssa-store-merging.c:4171 0x11d85697 execute /home/willschm/gcc/trunk.svn/gcc/gimple-ssa-store-merging.c:4279 Please submit a full bug report, with preprocessed source if appropriate. # gcc with -O2 /home/willschm/gcc/install/gcc-mainline-pr82982/bin/gcc ~/gcc/pr82982.c -c = -O2 during GIMPLE pass: store-merging /home/willschm/gcc/pr82982.c: In function =E2=80=98km=E2=80=99: /home/willschm/gcc/pr82982.c:4:1: internal compiler error: Segmentation fau= lt km (void) ^~ 0x10f76343 crash_signal /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/toplev.c:325 0x11fd5d98 internal_error(char const*, ...) /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/diagnostic.c:14= 33 0x11fd5e3f fancy_abort(char const*, int, char const*) /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/diagnostic.c:15= 00 0x114fd4cb inchash::add_expr(tree_node const*, inchash::hash&, unsigned int) /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/tree.c:7425 0x10fcad2f iterative_hash_expr /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/tree.h:4934 0x10fd1d03 tree_operand_hash::hash(tree_node* const&) =20=20=20=20=20=20=20 /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/tree-hash-traits.h:34 0x11da7caf hash =20=20=20=20=20=20=20 /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/hash-map-traits.h:49 0x11da886f get /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/hash-map.h:161 0x11db8e9f process_store =20=20=20=20=20=20=20 /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/gimple-ssa-store-mergin= g.c:4171 0x11db958b execute =20=20=20=20=20=20=20 /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/gimple-ssa-store-mergin= g.c:4279 Please submit a full bug report, # gcc with -O3 # looks like the failure shows up during IPA pass: cp with -O3. /home/willschm/gcc/install/gcc-mainline-pr82982/bin/gcc ~/gcc/pr82982.c -c = -O3 during IPA pass: cp /home/willschm/gcc/pr82982.c:31:1: internal compiler error: Segmentation fa= ult } ^ 0x10f76343 crash_signal /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/toplev.c:325 0x103de144 tree_check(tree_node*, char const*, int, char const*, tree_code) /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/tree.h:3131 0x10daaa6f opts_for_fn /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/tree.h:5319 0x10dbec43 cgraph_node::optimize_for_size_p() /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/cgraph.h:3152 0x11e526bf ipcp_cloning_candidate_p /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/ipa-cp.c:727 0x11e52ab7 initialize_node_lattices /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/ipa-cp.c:1195 0x11e5fd3f ipcp_propagate_stage /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/ipa-cp.c:3302 0x11e600db ipcp_driver /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/ipa-cp.c:5044 0x11e601c3 execute /home/willschm/gcc/gcc-mainline-pr82982/gcc.git/gcc/ipa-cp.c:5138 Please submit a full bug report, >>From gcc-bugs-return-596592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 17:48:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 791 invoked by alias); 7 Mar 2018 17:48: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 563 invoked by uid 48); 7 Mar 2018 17:48:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84747] alias analysis reports may-conflict for references to disjoint address spaces Date: Wed, 07 Mar 2018 17:48: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: 7.3.0 X-Bugzilla-Keywords: alias, missed-optimization X-Bugzilla-Severity: enhancement 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: --- 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: 2018-03/txt/msg01180.txt.bz2 Content-length: 811 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84747 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- On some targets where the address spaces are really separate, one kind of memory and another kind of memory, I can see why assuming non-aliasing is f= ine. But exactly on x86_64 I don't see how that could be safe, %fs/%gs simply are the given addresses plus the segment base. You can access the same memory = both with %gs:ptr1 and ptr2 where ptr2 is ptr1 + gs_segment_base, e.g. glibc uses for= TLS heavily both kinds of accesses. >>From gcc-bugs-return-596593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 18:03:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60177 invoked by alias); 7 Mar 2018 18: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 60123 invoked by uid 48); 7 Mar 2018 18:03:38 -0000 From: "stefan at reservoir dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84747] alias analysis reports may-conflict for references to disjoint address spaces Date: Wed, 07 Mar 2018 18:03: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: 7.3.0 X-Bugzilla-Keywords: alias, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: stefan at reservoir 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: 2018-03/txt/msg01181.txt.bz2 Content-length: 288 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84747 --- Comment #3 from Stefan M Freudenberger --- In this case I would have expected that TARGET_ADDR_SPACE_SUBSET_P will ret= urn TRUE, as appropriate. Granted, it would render my example invalid for x86. >>From gcc-bugs-return-596594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 18:10:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14163 invoked by alias); 7 Mar 2018 18:10: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 12714 invoked by uid 48); 7 Mar 2018 18:10:56 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84745] internal compiler error: Segmentation fault (main_block_label()) Date: Wed, 07 Mar 2018 18: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: priority 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: 2018-03/txt/msg01182.txt.bz2 Content-length: 942 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84745 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 CC| |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Confirmed with trunk, gcc7 and gcc 6, and all the way back to at least 4.8.3 (using -std=3Dc++11). Program received signal SIGSEGV, Segmentation fault. main_block_label (label=3Dlabel@entry=3D0x7ffff18d5100) at ../../src/gcc/tree-cfg.c:1496 1496 tree main_label =3D label_for_bb[bb->index].label; (gdb) p bb $1 =3D >>From gcc-bugs-return-596595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 18:25:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111293 invoked by alias); 7 Mar 2018 18:25: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 111262 invoked by uid 48); 7 Mar 2018 18:25:52 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow()) Date: Wed, 07 Mar 2018 18: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm 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: priority 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: 2018-03/txt/msg01183.txt.bz2 Content-length: 1835 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84733 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 CC| |dmalcolm at gcc dot gnu.or= g, | |nathan at gcc dot gnu.org Summary|internal compiler error: |[8 Regression] internal |Segmentation fault |compiler error: |(check_local_shadow()) |Segmentation fault | |(check_local_shadow()) Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Confirmed with trunk. gcc 7 and 6 show the output quoted above for 5.5.0, with: "confused by earlier errors, bailing out" The trunk ICE is here: Program received signal SIGSEGV, Segmentation fault. check_local_shadow (decl=3Ddecl@entry=3D0x7ffff19d5b48) at ../../src/gcc/cp/name-lookup.c:2682 2682 if (scope->kind =3D=3D sk_class (gdb) p scope $1 =3D (cp_binding_level *) 0x0 The segfault started somewhere between r248121 (unaffected) and r248123 (affected), probably r248123, so CCing Nathan. Prior to that, the: "confused by earlier errors, bailing out" comes from this assertion failing in pop_local_binding: 405 gcc_assert (binding->type =3D=3D decl); masked in release builds by the "confused by earlier errors, bailing out" post-error-ICE-handler. This failure started somewhere between r180695 (unaffected) and r180713 (affected). >>From gcc-bugs-return-596596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 18:29:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113703 invoked by alias); 7 Mar 2018 18:29: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 113694 invoked by uid 48); 7 Mar 2018 18:29:41 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84209] [avr] Don't split SP in split2 Date: Wed, 07 Mar 2018 18:29: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.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl 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: 7.4 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: 2018-03/txt/msg01184.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84209 Georg-Johann Lay changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.4 --- Comment #4 from Georg-Johann Lay --- Fixed in v7.4+ >>From gcc-bugs-return-596597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 18:50:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66683 invoked by alias); 7 Mar 2018 18:50: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 66202 invoked by uid 48); 7 Mar 2018 18:50:27 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59093] Segfault in gfc_trans_pointer_assignment Date: Wed, 07 Mar 2018 18: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: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 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: 2018-03/txt/msg01185.txt.bz2 Content-length: 786 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59093 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #15 from kargl at gcc dot gnu.org --- (In reply to Matt Thompson from comment #14) > Query: What version of GCC will fix this? It was reported fixed last year, > but GCC 7.3.0 still ICEs out. If you follow the links, you find https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34640#c35 that is a fairly large intrusive patch. I suspect that Paul did not backport to the 7-branch because of this. So, the fix will be in 8.0 (or 8.1 can't remember what the releasing scheme is). >>From gcc-bugs-return-596598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 18:59:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73559 invoked by alias); 7 Mar 2018 18:59: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 73521 invoked by uid 48); 7 Mar 2018 18:58:59 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66128] ICE for some intrinsics with zero sized array parameter Date: Wed, 07 Mar 2018 18:59: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01186.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot = gnu.org --- Comment #16 from Thomas Koenig --- I'll take a look at what's left (maxval for strings, at least) and fix what is necessary to fix. >>From gcc-bugs-return-596599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:00:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74695 invoked by alias); 7 Mar 2018 19:00: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 74549 invoked by uid 48); 7 Mar 2018 19:00:00 -0000 From: "sudi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer Date: Wed, 07 Mar 2018 19: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sudi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01187.txt.bz2 Content-length: 648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 --- Comment #17 from sudi at gcc dot gnu.org --- I looked up what other targets were doing and one thing found to be interes= ting was that a lot of them are defining the target hook TARGET_BUILTIN_SETJMP_FRAME_VALUE. In AArch64 case I am suggesting to defin= e it to return the hard frame pointer. That seems to solve the issue with both t= he attached test case and the test that Wilco mentioned. Does this look like it solves "mid-end versus back-end : who fixes this iss= ue" problem? I am still pretty new to knowing how the stack should actually look. So cal= ling for some help! Sudi >>From gcc-bugs-return-596600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:03:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87551 invoked by alias); 7 Mar 2018 19:03: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 87508 invoked by uid 48); 7 Mar 2018 19:03:44 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66128] ICE for some intrinsics with zero sized array parameter Date: Wed, 07 Mar 2018 19:03: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01188.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66128 --- Comment #17 from Thomas Koenig --- Here's a problem with maxval: $ cat maxval_parameter_2.f90 ! { dg-do run } program main integer, dimension(0,3), parameter :: i =3D 0 integer, dimension(0,3) :: j =3D 0 print *,maxval(i,dim=3D1) print *,maxval(j,dim=3D1) end program main $ gfortran maxval_parameter_2.f90 $ ./a.out -2147483648 -2147483648 -2147483648 -2147483648 The run-time result is correct, the simplified version isn't. >>From gcc-bugs-return-596601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:06:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92777 invoked by alias); 7 Mar 2018 19:06: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 92751 invoked by uid 48); 7 Mar 2018 19:06:31 -0000 From: "reichelt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84752] New: [8 Regression] ICE with constexpr array referenced in lambda Date: Wed, 07 Mar 2018 19: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: reichelt 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: 2018-03/txt/msg01189.txt.bz2 Content-length: 2645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84752 Bug ID: 84752 Summary: [8 Regression] ICE with constexpr array referenced in lambda Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org Target Milestone: --- The following valid code snippet triggers an ICE on trunk: =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 void foo() { constexpr int x[1] =3D {}; [&x]{ return (bool)x; }; } =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 bug.cc: In lambda function: bug.cc:4:22: internal compiler error: in build_address, at cp/typeck.c:5744 [&x]{ return (bool)x; }; ^ 0x66a78b build_address(tree_node*) ../../gcc/gcc/tree.h:3332 0x9dcaca cp_build_addr_expr_1 ../../gcc/gcc/cp/typeck.c:5974 0x9ddede cp_build_addr_expr(tree_node*, int) ../../gcc/gcc/cp/typeck.c:6020 0x9ddede decay_conversion(tree_node*, int, bool) ../../gcc/gcc/cp/typeck.c:2082 0x8236df convert_like_real ../../gcc/gcc/cp/call.c:7087 0x823045 convert_like_real ../../gcc/gcc/cp/call.c:6912 0x82cbe2 perform_direct_initialization_if_possible(tree_node*, tree_node*, bool, int) ../../gcc/gcc/cp/call.c:10665 0x9e3b36 build_static_cast_1 ../../gcc/gcc/cp/typeck.c:7035 0x9e7dc7 cp_build_c_cast(tree_node*, tree_node*, int) ../../gcc/gcc/cp/typeck.c:7796 0x9e807a build_c_cast(unsigned int, tree_node*, cp_expr) ../../gcc/gcc/cp/typeck.c:7704 0x915d21 cp_parser_cast_expression ../../gcc/gcc/cp/parser.c:9079 0x91628a cp_parser_binary_expression ../../gcc/gcc/cp/parser.c:9191 0x917ac4 cp_parser_assignment_expression ../../gcc/gcc/cp/parser.c:9486 0x9181d8 cp_parser_expression ../../gcc/gcc/cp/parser.c:9655 0x920a26 cp_parser_jump_statement ../../gcc/gcc/cp/parser.c:12415 0x920a26 cp_parser_statement ../../gcc/gcc/cp/parser.c:10829 0x9217f0 cp_parser_statement_seq_opt ../../gcc/gcc/cp/parser.c:11274 0x9222c7 cp_parser_lambda_body ../../gcc/gcc/cp/parser.c:10685 0x9222c7 cp_parser_lambda_expression ../../gcc/gcc/cp/parser.c:10186 0x9222c7 cp_parser_primary_expression ../../gcc/gcc/cp/parser.c:5261 Please submit a full bug report, [etc.] The regression was introduced between 2017-09-26 and 2017-10-07. >>From gcc-bugs-return-596602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:09:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94684 invoked by alias); 7 Mar 2018 19:09: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 94641 invoked by uid 48); 7 Mar 2018 19:09:48 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow()) Date: Wed, 07 Mar 2018 19: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan 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: 2018-03/txt/msg01190.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84733 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot g= nu.org >>From gcc-bugs-return-596603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:15:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109583 invoked by alias); 7 Mar 2018 19:15: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 109456 invoked by uid 48); 7 Mar 2018 19:15:29 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 Date: Wed, 07 Mar 2018 19:15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01191.txt.bz2 Content-length: 1810 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84149 Martin Jambor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #4 from Martin Jambor --- In my (more recent) checkout of trunk, the estimated benefit is even lower, only 270. Raising devirtualization hint to compensate seems excessive, I need: diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index ee41a8d55b7..09ba92ef14d 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -2612,6 +2612,25 @@ devirtualization_time_bonus (struct cgraph_node *nod= e, res +=3D 7 / ((int)speculative + 1); } + if (res) + /* Devirtualization is likely more important in recursive callers bec= ause + those cannot be entirely inlined themselves. */ + for (cgraph_edge *e =3D node->callees; e; e =3D e->next_callee) + { + enum availability avail; + cgraph_node *callee =3D e->callee->function_symbol (&avail); + if (e->caller =3D=3D callee + && avail >=3D AVAIL_AVAILABLE) + { + res =3D 8 * res; + + if (dump_file && (dump_flags & TDF_DETAILS)) + fprintf (dump_file, "Recursive devirtualization bohus %i\n", + res); + break; + } + } + return res; } Which is excessive (but it may make sense to boost IPA-CP bonuses for self-recursive functions a bit since those cannot be dealt with completely by inlining). Nevertless I already have a prototype patch which can explain to IPA-CP that only there is only one remaining value in the contexts for which we did not clone and replace it there too. >>From gcc-bugs-return-596604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:18:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112815 invoked by alias); 7 Mar 2018 19:18: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 112774 invoked by uid 48); 7 Mar 2018 19:18:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84752] [8 Regression] ICE with constexpr array referenced in lambda Date: Wed, 07 Mar 2018 19: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: 8.0 X-Bugzilla-Keywords: 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg01192.txt.bz2 Content-length: 743 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84752 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-07 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r253266. >>From gcc-bugs-return-596605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:23:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116650 invoked by alias); 7 Mar 2018 19:23: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 116594 invoked by uid 48); 7 Mar 2018 19:23:07 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 Date: Wed, 07 Mar 2018 19:23: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01193.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84149 --- Comment #5 from Martin Jambor --- Created attachment 43588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43588&action=3Dedit Prototype patch I have to leave the office now but this is the (only very very lightly test= ed) prototype patch that fixes the regression as described above. It still nee= ds a bit of care before submitting, however. >>From gcc-bugs-return-596606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:31:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56907 invoked by alias); 7 Mar 2018 19: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 56872 invoked by uid 55); 7 Mar 2018 19:31:20 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy Date: Wed, 07 Mar 2018 19: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: 8.0.1 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01194.txt.bz2 Content-length: 1108 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84468 --- Comment #17 from Martin Sebor --- Author: msebor Date: Wed Mar 7 19:30:31 2018 New Revision: 258339 URL: https://gcc.gnu.org/viewcvs?rev=3D258339&root=3Dgcc&view=3Drev Log: PR tree-optimization/84468 - bogus -Wstringop-truncation despite assignment after conditional strncpy gcc/ChangeLog: PR tree-optimization/84468 * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Consider successor basic block when looking for nul assignment. gcc/testsuite/ChangeLog: PR tree-optimization/84468 * g++.dg/warn/Wstringop-truncation-2.C: New test. * gcc.dg/Wstringop-truncation.c: New test. * gcc.dg/Wstringop-truncation-2.c: New test. Added: trunk/gcc/testsuite/g++.dg/warn/Wstringop-truncation-2.C trunk/gcc/testsuite/gcc.dg/Wstringop-truncation-2.c trunk/gcc/testsuite/gcc.dg/Wstringop-truncation.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/warn/Wstringop-truncation-1.C trunk/gcc/tree-ssa-strlen.c >>From gcc-bugs-return-596607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:32:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63091 invoked by alias); 7 Mar 2018 19:32: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 62837 invoked by uid 48); 7 Mar 2018 19:32:49 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy Date: Wed, 07 Mar 2018 19:32: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.0.1 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01195.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84468 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Martin Sebor --- Fixed with r258339 on trunk. For GCC 9 I'll look into something more sophisticated. >>From gcc-bugs-return-596608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 19:41:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76192 invoked by alias); 7 Mar 2018 19: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 76169 invoked by uid 48); 7 Mar 2018 19:41:32 -0000 From: "arthur.j.odwyer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59704] Wrong overload chosen, compiler errornously thinks non-constant zero expression is implicitly castable to null pointer Date: Wed, 07 Mar 2018 19: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: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arthur.j.odwyer 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: 2018-03/txt/msg01196.txt.bz2 Content-length: 893 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59704 Arthur O'Dwyer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.j.odwyer at gmail d= ot com --- Comment #2 from Arthur O'Dwyer --- Here is another example: https://wandbox.org/permlink/UYsLyMaLcBb6sjJa GCC incorrectly considers `int()` to be a null pointer constant. Notice that GCC correctly handles `int{}` with curly braces; it gets confus= ed only about `int()` with parens. #include void foo(const char *) {} template decltype(foo(T())) red(T) { puts("yes"); } void red(...) { puts("no"); } int main() { foo(int()); // should not compile red(1); // should print "no", not "yes" } >>From gcc-bugs-return-596609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 20:00:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66914 invoked by alias); 7 Mar 2018 20:00: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 66829 invoked by uid 48); 7 Mar 2018 20:00:37 -0000 From: "pthaugen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Wed, 07 Mar 2018 20:00: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01197.txt.bz2 Content-length: 231 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84737 --- Comment #2 from Pat Haugen --- Created attachment 43589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43589&action=3Dedit ipa-cp dump >>From gcc-bugs-return-596610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 20:01:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68138 invoked by alias); 7 Mar 2018 20:01: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 68077 invoked by uid 48); 7 Mar 2018 20:01:39 -0000 From: "pthaugen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Wed, 07 Mar 2018 20: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01198.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84737 --- Comment #3 from Pat Haugen --- (In reply to Martin Li=C5=A1ka from comment #1) > Isn't that dup of 84149? Can you please tweak --param ipa-cp-eval-thresho= ld > to value to 200, 300, 400? Can you please attach -fdump-ipa-cp-details fi= le? I tried the param with the 3 different values and none made any difference = to execution time. >>From gcc-bugs-return-596611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 20:05:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70646 invoked by alias); 7 Mar 2018 20:05: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 70619 invoked by uid 48); 7 Mar 2018 20:05:01 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84744] cannot use glibc 2.27 with gcc 7.3 Date: Wed, 07 Mar 2018 20: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson 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: 2018-03/txt/msg01199.txt.bz2 Content-length: 1132 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84744 Jim Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilson at gcc dot gnu.org --- Comment #9 from Jim Wilson --- Building and using glibc is complicated. It is best to refer to a FAQ if y= ou haven't done this before. You can find some info on the glibc wiki about t= his here: https://sourceware.org/glibc/wiki/Testing/Builds You probably want item 5. It is a little simpler if you build a gcc that is set up to use your glibc build, which requires building a complete toolchain from scratch. If you w= ant to learn how to do this, it is best to look at someone else's scripts showi= ng how to do it. Every linux distro has scripts for this. I like to use crosstools-ng. You can find some info on how to build a toolchain here: https://crosstool-ng.github.io/docs/toolchain-construction/ and look at the scripts if you want the details of how this works. >>From gcc-bugs-return-596612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 20:27:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42932 invoked by alias); 7 Mar 2018 20:27: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 42906 invoked by uid 55); 7 Mar 2018 20:27:43 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82411] const is not always read-only Date: Wed, 07 Mar 2018 20:27: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: segher 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01200.txt.bz2 Content-length: 1162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82411 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Wed Mar 7 20:27:11 2018 New Revision: 258340 URL: https://gcc.gnu.org/viewcvs?rev=3D258340&root=3Dgcc&view=3Drev Log: rs6000: -mreadonly-in-sdata (PR82411) This adds a new option -mreadonly-in-sdata (on by default) that controls whether readonly data can be put in sdata. (For EABI this does nothing, readonly data is put in sdata2 as usual). PR target/82411 * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Don't put readonly data in sdata, if that is disabled. * config/rs6000/sysv4.opt (mreadonly-in-sdata): New option. * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mreadonly-in-sdata option. gcc/testsuite/ PR target/82411 * gcc.target/powerpc/ppc-sdata-2.c: Skip if -mno-readonly-in-sdata. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c trunk/gcc/config/rs6000/sysv4.opt trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/powerpc/ppc-sdata-2.c >>From gcc-bugs-return-596613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 20:29:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46391 invoked by alias); 7 Mar 2018 20:29: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 44067 invoked by uid 48); 7 Mar 2018 20:29:20 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82411] const is not always read-only Date: Wed, 07 Mar 2018 20:29: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: segher 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: 2018-03/txt/msg01201.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82411 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #7 from Segher Boessenkool --- Done on trunk; backports pending. >>From gcc-bugs-return-596614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 21:19:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112659 invoked by alias); 7 Mar 2018 21:19: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 112646 invoked by uid 48); 7 Mar 2018 21:19:11 -0000 From: "noloader at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] New: GCC does not fold xxswapd followed by vperm Date: Wed, 07 Mar 2018 21:19: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: noloader 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: 2018-03/txt/msg01202.txt.bz2 Content-length: 2860 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 Bug ID: 84753 Summary: GCC does not fold xxswapd followed by vperm Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: noloader at gmail dot com Target Milestone: --- I'm working on GCC112 from the compile farm. It is ppc64-le machine. It has both GCC 4.8.5 and GCC 7.2.0 installed. The issue is present on both. We are trying to recover missing 1 to 2 cpb performance when using Power8 S= HA built-ins. Part of the code to load a message into the message schedule loo= ks like so: uint8_t msg[64] =3D {...}; __vector unsigned char mask =3D {3,2,1,0, 7,6,5,4, 11,10,9,8, 15,14,13,1= 2}; __vector unsigned int t =3D vec_vsx_ld(0, msg); t =3D vec_perm(t, t, mask); When I compile at -O3 and disassemble it, I see: 100008bc: 99 26 20 7c lxvd2x vs33,0,r4 ... 100008d0: 57 0a 21 f0 xxswapd vs33,vs33 100008d8: 2b 08 21 10 vperm v1,v1,v1,v0 Calling xxswapd followed by vperm seems to be a lot like calling shuffle_ep= i32 followed by shuffle_epi8 on an x86 machine. It feels like the two permutes should be folded into one. On x86 I would manually fold the two shuffles. On PPC I cannot because xxsw= apd is generated as part of the load, and then I call vperm. I have not figured= out how to avoid the xxswapd. (I even tried to issue my own xxswapd to cancel o= ut the one being generated by the compiler). ********** Here's a minimal case, but the optimizer is removing the code of interest. = The real code suffers it, and it can be found at https://github.com/noloader/SHA-Intrinsics/blob/master/sha256-p8.cxx . $ cat test.cxx #include #if defined(__ALTIVEC__) # include # undef vector # undef pixel # undef bool #endif typedef __vector unsigned char uint8x16_p8; typedef __vector unsigned int uint32x4_p8; // Unaligned load template static inline uint32x4_p8 VectorLoad32x4u(const T* data, int offset) { return vec_vsx_ld(offset, (uint32_t*)data); } // Unaligned store template static inline void VectorStore32x4u(const uint32x4_p8 val, T* data, int offset) { vec_vsx_st(val, offset, (uint32_t*)data); } static inline uint32x4_p8 VectorPermute32x4(const uint32x4_p8 val, const uint8x16_p8 mask) { return (uint32x4_p8)vec_perm(val, val, mask); } int main(int argc, char* argv[]) { uint8_t M[64]; uint32_t W[64]; uint8_t* m =3D M; uint32_t* w =3D W; const uint8x16_p8 mask =3D {3,2,1,0, 7,6,5,4, 11,10,9,8, 15,14,13,12}; for (unsigned int i=3D0; i<16; i+=3D4, m+=3D4, w+=3D4) VectorStore32x4u(VectorPermute32x4(VectorLoad32x4u(m, 0), mask), w, 0); return 0; } >>From gcc-bugs-return-596615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 21:46:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53728 invoked by alias); 7 Mar 2018 21:46: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 53614 invoked by uid 48); 7 Mar 2018 21:45:54 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm Date: Wed, 07 Mar 2018 21:46: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: 2018-03/txt/msg01203.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |wschmidt at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Bill Schmidt --- GCC 4.8.5 is out of service. This is fixed in all in-service versions of G= CC (6.4 and later). >>From gcc-bugs-return-596616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 21:52:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57505 invoked by alias); 7 Mar 2018 21:52: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 57467 invoked by uid 48); 7 Mar 2018 21:52:28 -0000 From: "noloader at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm Date: Wed, 07 Mar 2018 21:52: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: noloader at gmail 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: 2018-03/txt/msg01204.txt.bz2 Content-length: 330 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 --- Comment #2 from Jeffrey Walton --- (In reply to Bill Schmidt from comment #1) > GCC 4.8.5 is out of service. This is fixed in all in-service versions of > GCC (6.4 and later). Interesting. I'm seeing it in GCC 7.2.0. Are you certain of this? >>From gcc-bugs-return-596617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 21:55:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99495 invoked by alias); 7 Mar 2018 21:55: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 99421 invoked by uid 48); 7 Mar 2018 21:55:40 -0000 From: "noloader at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm Date: Wed, 07 Mar 2018 21: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: noloader at gmail 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: 2018-03/txt/msg01205.txt.bz2 Content-length: 3928 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 --- Comment #3 from Jeffrey Walton --- (In reply to Jeffrey Walton from comment #2) > (In reply to Bill Schmidt from comment #1) > > GCC 4.8.5 is out of service. This is fixed in all in-service versions = of > > GCC (6.4 and later). >=20 > Interesting. I'm seeing it in GCC 7.2.0. Are you certain of this? Here's an example to make sure we are on the same page. $ /opt/cfarm/gcc-latest/bin/g++ --version g++ (GCC) 7.2.0 $ /opt/cfarm/gcc-latest/bin/g++ -g3 -O3 -Wall -DTEST_MAIN -mcpu=3Dpower8 sha256-p8.cxx -o sha256-p8.exe $ objdump --disassemble sha256-p8.exe | c++filt 0000000010000880 : 10000880: 03 10 40 3c lis r2,4099 10000884: 00 81 42 38 addi r2,r2,-32512 10000888: f0 ff c1 fb std r30,-16(r1) 1000088c: f8 ff e1 fb std r31,-8(r1) 10000890: fe ff 22 3d addis r9,r2,-2 10000894: 10 00 c4 3b addi r30,r4,16 10000898: 70 8e 29 39 addi r9,r9,-29072 1000089c: 10 00 e3 3b addi r31,r3,16 100008a0: 20 00 84 39 addi r12,r4,32 100008a4: 20 00 63 39 addi r11,r3,32 100008a8: 99 4e 00 7c lxvd2x vs32,0,r9 100008ac: 30 00 a3 38 addi r5,r3,48 100008b0: 40 00 23 39 addi r9,r3,64 100008b4: c4 ff c0 38 li r6,-60 100008b8: c0 ff e0 38 li r7,-64 100008bc: 99 26 20 7c lxvd2x vs33,0,r4 100008c0: 30 00 84 38 addi r4,r4,48 100008c4: f8 ff 00 39 li r8,-8 100008c8: e4 ff 40 39 li r10,-28 100008cc: 57 02 00 f0 xxswapd vs32,vs32 100008d0: 57 0a 21 f0 xxswapd vs33,vs33 100008d4: 97 05 00 f0 xxlnand vs32,vs32,vs32 100008d8: 2b 08 21 10 vperm v1,v1,v1,v0 100008dc: 57 0a 21 f0 xxswapd vs33,vs33 100008e0: 99 1f 20 7c stxvd2x vs33,0,r3 100008e4: 18 00 60 38 li r3,24 100008e8: a6 03 69 7c mtctr r3 100008ec: 99 f6 20 7c lxvd2x vs33,0,r30 100008f0: 57 0a 21 f0 xxswapd vs33,vs33 100008f4: 2b 08 21 10 vperm v1,v1,v1,v0 100008f8: 57 0a 21 f0 xxswapd vs33,vs33 100008fc: 99 ff 20 7c stxvd2x vs33,0,r31 10000900: 99 66 20 7c lxvd2x vs33,0,r12 10000904: 57 0a 21 f0 xxswapd vs33,vs33 10000908: 2b 08 21 10 vperm v1,v1,v1,v0 1000090c: 57 0a 21 f0 xxswapd vs33,vs33 10000910: 99 5f 20 7c stxvd2x vs33,0,r11 10000914: 99 26 20 7c lxvd2x vs33,0,r4 10000918: 57 0a 21 f0 xxswapd vs33,vs33 1000091c: 2b 08 01 10 vperm v0,v1,v1,v0 10000920: 57 02 00 f0 xxswapd vs32,vs32 10000924: 99 2f 00 7c stxvd2x vs32,0,r5 10000928: 00 00 00 60 nop 1000092c: 00 00 42 60 ori r2,r2,0 10000930: 99 36 09 7c lxvd2x vs32,r9,r6 10000934: 99 3e 89 7d lxvd2x vs44,r9,r7 10000938: 99 56 a9 7d lxvd2x vs45,r9,r10 1000093c: 99 46 29 7c lxvd2x vs33,r9,r8 10000940: 82 06 00 10 vshasigmaw v0,v0,0,0 10000944: 82 7e 21 10 vshasigmaw v1,v1,0,15 10000948: 80 60 00 10 vadduwm v0,v0,v12 1000094c: 80 68 00 10 vadduwm v0,v0,v13 10000950: 80 08 00 10 vadduwm v0,v0,v1 10000954: 99 4f 00 7c stxvd2x vs32,0,r9 10000958: 08 00 29 39 addi r9,r9,8 1000095c: d4 ff 00 42 bdnz 10000930 10000960: f0 ff c1 eb ld r30,-16(r1) 10000964: f8 ff e1 eb ld r31,-8(r1) 10000968: 20 00 80 4e blr 1000096c: 00 00 00 00 .long 0x0 10000970: 00 09 00 00 .long 0x900 10000974: 00 02 00 00 attn 10000978: 00 00 00 60 nop 1000097c: 00 00 42 60 ori r2,r2,0 >>From gcc-bugs-return-596618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 23:03:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53496 invoked by alias); 7 Mar 2018 23:03: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 52497 invoked by uid 48); 7 Mar 2018 23:03:00 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83456] -Wrestrict false positive on a non-overlapping memcpy in an inline function Date: Wed, 07 Mar 2018 23:03: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.0 X-Bugzilla-Keywords: diagnostic, patch 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: --- 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: 2018-03/txt/msg01206.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83456 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org --- Comment #4 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00358.html >>From gcc-bugs-return-596619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 07 23:07:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46806 invoked by alias); 7 Mar 2018 23:07: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 46717 invoked by uid 48); 7 Mar 2018 23:07:29 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83712] [6/7/8 Regression] "Unable to find a register to spill" when compiling for thumb1 Date: Wed, 07 Mar 2018 23:07: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01207.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83712 --- Comment #6 from Vladimir Makarov --- I've decided to fix it in RA because it could help to fix analogous bugs wh= en existing hard reg splitting code fails. This particular bug is more complic= ated because it happens for non-small reg class. It requires a lot of changes in LRA and changing its sub-pass flow. I've been working on this PR for some time and now I can say that it will probably fixed on this week. >>From gcc-bugs-return-596620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 00:08:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14258 invoked by alias); 8 Mar 2018 00:08: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 14214 invoked by uid 48); 8 Mar 2018 00:08:02 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm Date: Thu, 08 Mar 2018 00:08: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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_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: 2018-03/txt/msg01208.txt.bz2 Content-length: 1787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #4 from Bill Schmidt --- OK, I see. We optimize swapped vperm in most cases as part of a general swap-optimization algorithm. However, this algorithm is defeated when ther= e is a mix of loads/stores accompanied by swaps and loads/stores that are not accompanied by swaps. The "big-endian" loads that are used with vshasigmaw= and friends are the problem here. (This problem goes away with Power9, but doe= sn't help you here.) There is a slight possibility we can address this in GCC 8, but it is unlik= ely, as the code base is closed except for regression fixes. In any case, a solution would still keep some swap instructions in place, and thus would n= ot be ideal. (I.e., we can fold a swap and a vperm when the result of the swa= p is not used elsewhere, but other swaps associated with loads and stores will s= till be present.) So I don't think we should go this route. The best performance will be achieved by writing this loop entirely using inline asm code, with all data loaded/stored using lxvd2x and stxvd2x (no swaps), thus in "big-endian element order" (element 0 in the high-order position of the register). Because of the big-endian nature of vshasigmaw, this is always going to be the best approach. I am still poking the bushes for a reference implementation; I thought of another person to ask while writing this note. Will let you know what I fi= nd out. >>From gcc-bugs-return-596621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 00:09:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15730 invoked by alias); 8 Mar 2018 00:09: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 15679 invoked by uid 48); 8 Mar 2018 00:09:39 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm Date: Thu, 08 Mar 2018 00: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: 2018-03/txt/msg01209.txt.bz2 Content-length: 147 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 --- Comment #5 from Bill Schmidt --- s/this loop/this function >>From gcc-bugs-return-596622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 00:43:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78523 invoked by alias); 8 Mar 2018 00:43: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 78435 invoked by uid 55); 8 Mar 2018 00:43:13 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64124] [F95] Valid constant expr rejected Date: Thu, 08 Mar 2018 00:43: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl 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: 2018-03/txt/msg01210.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64124 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Mar 8 00:42:41 2018 New Revision: 258347 URL: https://gcc.gnu.org/viewcvs?rev=3D258347&root=3Dgcc&view=3Drev Log: 2018-03-07 Steven G. Kargl PR fortran/64124 PR fortran/70409 * decl.c (gfc_match_char_spec): Try to reduce a charlen to a consta= nt. 2018-03-07 Steven G. Kargl PR fortran/64124 PR fortran/70409 * gfortran.dg/pr64124.f90: New tests. * gfortran.dg/pr70409.f90: New tests. Added: trunk/gcc/testsuite/gfortran.dg/pr64124.f90 trunk/gcc/testsuite/gfortran.dg/pr70409.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 00:43:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78569 invoked by alias); 8 Mar 2018 00:43: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 78438 invoked by uid 55); 8 Mar 2018 00:43:13 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/70409] Silent truncation of character parameters with len=huge() Date: Thu, 08 Mar 2018 00:43: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl 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: 2018-03/txt/msg01211.txt.bz2 Content-length: 826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70409 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Mar 8 00:42:41 2018 New Revision: 258347 URL: https://gcc.gnu.org/viewcvs?rev=3D258347&root=3Dgcc&view=3Drev Log: 2018-03-07 Steven G. Kargl PR fortran/64124 PR fortran/70409 * decl.c (gfc_match_char_spec): Try to reduce a charlen to a consta= nt. 2018-03-07 Steven G. Kargl PR fortran/64124 PR fortran/70409 * gfortran.dg/pr64124.f90: New tests. * gfortran.dg/pr70409.f90: New tests. Added: trunk/gcc/testsuite/gfortran.dg/pr64124.f90 trunk/gcc/testsuite/gfortran.dg/pr70409.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 00:46:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82217 invoked by alias); 8 Mar 2018 00:46: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 82187 invoked by uid 48); 8 Mar 2018 00:46:28 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84754] New: missing -Wrestrict on a possible strcpy overlap with constant offset Date: Thu, 08 Mar 2018 00:46: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: 8.0 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: 2018-03/txt/msg01212.txt.bz2 Content-length: 1928 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84754 Bug ID: 84754 Summary: missing -Wrestrict on a possible strcpy overlap with constant offset Product: gcc Version: 8.0 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: --- -Wrestrict triggers for a strcpy call from a string of unknown length and unknown offset but not the same call with a constant offset, even though the latter seems more likely to overlap than the former (the smaller the offset= the more likely the cooy is to overlap). In any case, unlike for memcpy, for string functions -Wrestrict is specifically meant to warn even for possible overlaps (i.e., when copying into the same array) so this is a bug, not jus= t a missing feature or design choice. $ cat z.c && gcc -O2 -S -Wall -fdump-tree-wrestrict=3D/dev/stdout z.c char a[32]; void f (int i) { __builtin_strcpy (a, a + i); // -Wrestrict (good) } void g (void) { __builtin_strcpy (a, a + 1); // missing -Wrestrict } ;; Function f (f, funcdef_no=3D0, decl_uid=3D1959, cgraph_uid=3D0, symbol_o= rder=3D1) z.c: In function =E2=80=98f=E2=80=99: z.c:5:3: warning: =E2=80=98__builtin_strcpy=E2=80=99 accessing 1 byte at of= fsets 0 and [0, 32] may overlap 1 byte at offset 0 [-Wrestrict] __builtin_strcpy (a, a + i); // -Wrestrict (good) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ f (int i) { sizetype _1; const char * _2; [local count: 1073741825]: _1 =3D (sizetype) i_3(D); _2 =3D &a + _1; __builtin_strcpy (&a, _2); return; } ;; Function g (g, funcdef_no=3D1, decl_uid=3D1962, cgraph_uid=3D1, symbol_o= rder=3D2) g () { [local count: 1073741825]: __builtin_strcpy (&a, &MEM[(void *)&a + 1B]); return; } >>From gcc-bugs-return-596625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 00:56:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50630 invoked by alias); 8 Mar 2018 00:56: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 50596 invoked by uid 55); 8 Mar 2018 00:56:39 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83519] missing -Wrestrict on an overlapping strcpy to a non-member array Date: Thu, 08 Mar 2018 00: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: 8.0 X-Bugzilla-Keywords: diagnostic 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01213.txt.bz2 Content-length: 525 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83519 --- Comment #1 from Martin Sebor --- Author: msebor Date: Thu Mar 8 00:56:07 2018 New Revision: 258348 URL: https://gcc.gnu.org/viewcvs?rev=3D258348&root=3Dgcc&view=3Drev Log: PR tree-optimization/83519 - missing -Wrestrict on an overlapping strcpy to= a non-member array gcc/testsuite/ChangeLog: * gcc.dg/Wrestrict-13.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wrestrict-13.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 00:57:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52540 invoked by alias); 8 Mar 2018 00:57: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 51470 invoked by uid 48); 8 Mar 2018 00:57:08 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/83519] missing -Wrestrict on an overlapping strcpy to a non-member array Date: Thu, 08 Mar 2018 00: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: 8.0 X-Bugzilla-Keywords: diagnostic 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: 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: 2018-03/txt/msg01214.txt.bz2 Content-length: 730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83519 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Martin Sebor --- This was fixed by r256180: r256180 | prathamesh3492 | 2018-01-03 11:07:32 -0500 (Wed, 03 Jan 2018) | 9 lines 2018-01-03 Prathamesh Kulkarni PR tree-optimization/83501 * tree-ssa-strlen.c (get_string_cst): New. (handle_char_store): Call get_string_cst. >>From gcc-bugs-return-596627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:03:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122911 invoked by alias); 8 Mar 2018 01:03: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 122853 invoked by uid 48); 8 Mar 2018 01:03:31 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/81269] wrong color highlighting in -Wrestrict warnings Date: Thu, 08 Mar 2018 01:03: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: 2018-03/txt/msg01215.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81269 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Martin Sebor --- The -Wrestrict patch for sprintf wasn't approved for GCC 8 so this is not really an issue at the moment. Resolving as invalid based on comment #2. >>From gcc-bugs-return-596628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:22:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62449 invoked by alias); 8 Mar 2018 01:22: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 62371 invoked by uid 48); 8 Mar 2018 01:22:22 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/60256] No -Wuninitialized warning for strcpy copying to self Date: Thu, 08 Mar 2018 01:22: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.9.0 X-Bugzilla-Keywords: diagnostic 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: 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: 2018-03/txt/msg01216.txt.bz2 Content-length: 1097 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60256 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|7.0 |7.3.0, 8.0 --- Comment #10 from Martin Sebor --- GCC 8 issues a -Wrestrict warning for the test case in comment #0 but still= no -Wuninitialized. I agree that issuing -Wuninitialized will be difficult because (as noted in comment #5) the call is folded too early to tell wheth= er the argument is valid (either initialized or assigned to) prior to the call= .=20 The only way I can think of is to delay the folding until it is known and t= hat has not been a popular idea in the past. $ cat pr60256.c && gcc -O2 -S -Wall pr60256.c #include void f(void) { char* s; strcpy(s, s); } pr60256.c: In function =E2=80=98f=E2=80=99: pr60256.c:4:3: warning: =E2=80=98strcpy=E2=80=99 source argument is the sam= e as destination [-Wrestrict] strcpy(s, s); ^~~~~~~~~~~~ >>From gcc-bugs-return-596629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:24:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64669 invoked by alias); 8 Mar 2018 01:24: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 64428 invoked by uid 48); 8 Mar 2018 01:24:36 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/60256] No -Wuninitialized warning for strcpy copying to self Date: Thu, 08 Mar 2018 01:24: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.9.0 X-Bugzilla-Keywords: diagnostic 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: 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: 2018-03/txt/msg01217.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60256 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D83456 --- Comment #11 from Martin Sebor --- I should mention that even the -Wrestrict warning runs into problems this e= arly -- see bug 83456. >>From gcc-bugs-return-596630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:25:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66027 invoked by alias); 8 Mar 2018 01:25: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 65946 invoked by uid 48); 8 Mar 2018 01:25:38 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49278] ICE (segfault) when combining DATA with default initialization Date: Thu, 08 Mar 2018 01:25: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: 4.6.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de 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: 2018-03/txt/msg01218.txt.bz2 Content-length: 649 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49278 J=C3=BCrgen Reuter changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juergen.reuter at desy dot= de --- Comment #15 from J=C3=BCrgen Reuter --- I just stumbled over this again while reading c.l.f. This still is ICEing w= ith 8.0.1. If it is inconsistent code as the c.l.f. discussion and the J3 answe= r to the interpretation request point out, this should be caught with an excepti= on. >>From gcc-bugs-return-596631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:31:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96784 invoked by alias); 8 Mar 2018 01:31: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 96650 invoked by uid 48); 8 Mar 2018 01:31:14 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/49278] ICE (segfault) when combining DATA with default initialization Date: Thu, 08 Mar 2018 01: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: 4.6.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de 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: 2018-03/txt/msg01219.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49278 --- Comment #16 from J=C3=BCrgen Reuter --- In addition to what Tobias remarked, NAG now gives a clear error message: NAG Fortran Compiler Release 6.1(Tozai) Build 6138 Error: data.f90, line 13: Object TRLKOLD of type ACTIVE is default-initiali= sed, therefore subobject TRLKOLD%V is not permitted in a DATA statement Intel in v18.0.1 still does not give a compilation or runtime error. >>From gcc-bugs-return-596632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:46:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119935 invoked by alias); 8 Mar 2018 01:46: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 119913 invoked by uid 48); 8 Mar 2018 01:46:02 -0000 From: "lux1075 at naver dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84755] New: GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS Date: Thu, 08 Mar 2018 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: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lux1075 at naver 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: 2018-03/txt/msg01220.txt.bz2 Content-length: 4268 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84755 Bug ID: 84755 Summary: GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: lux1075 at naver dot com Target Milestone: --- Created attachment 43590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43590&action=3Dedit make all-target-libgcc error log Hello, gcc I have an compile error when building GCC 4.6.0 My host env is Ubuntu 16.04 64bit LTS (kernel was installed 4.13.0-36-gener= ic) and gcc-4.8.5 =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=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 4.8.5-4ubu= ntu2' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=3Dc,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/usr --program-suffix=3D-4.8 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --with-gxx-include-dir=3D/usr/include/c++/4.8 --libdir=3D/usr/lib --enable-= nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --enable-gnu-unique-object --disable-libmudfl= ap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-= home --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.= jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 4.8.5 (Ubuntu 4.8.5-4ubuntu2) =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=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D I downloaded, compiled and installed : M4(1.4.18), GMP(5.0.3), MPFR(3.0.1), MPC(0.9), PPL(0.11.2), CLoog-PPL(0.15.11), BinUtils(2.21.1a) Before GCC-4.6.0 Configuring, I patched 3 files : (attached file) - gcc-4.6.0-branch_update-1.patch - gcc-4.6.0-pure64_specs-1.patch - gcc-4.6.0-jslim.patch I GCC-4.6.0 configured like this: AR=3Dar LDFLAGS=3D"-Wl,-rpath,/home/jslim/toolchain/cross-tools/lib" ../gcc-4.6.0/configure --prefix=3D/home/jslim/toolchain/cross-tools --build=3Dx86_64-cross-linux-gnu --host=3Dx86_64-cross-linux-gnu --target=3Dx86_64-unknown-linux-gnu --with-sysroot=3D/home/jslim/toolchain --with-local-prefix=3D/home/jslim/toolchain/tools --disable-nls --disable-s= hared --with-mpfr=3D/home/jslim/toolchain/cross-tools --with-gmp=3D/home/jslim/toolchain/cross-tools --with-ppl=3D/home/jslim/toolchain/cross-tools --with-cloog=3D/home/jslim/toolchain/cross-tools --without-headers --with-n= ewlib --disable-decimal-float --disable-libgomp --disable-libmudflap --disable-li= bssp --disable-threads --enable-languages=3Dc --disable-multilib * I attached "config.log" file GCC-4.6.0 Configuring done, and I followed make steps like this: make all-gcc // This step seemed fine. (attached "compile_all-gcc.log" file) make all-target-libgcc // This step failed. I attached "compile_all-target-libgcc.log" file Please help me. I hope let me know what was fault and how to do. Thanks. PS. this bug reporting can attachment only one file. So, I attached "compile_all-target-libgcc.log" file only. If you want more files(config.lo= g, patch files ...), plz request for me. >>From gcc-bugs-return-596634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:50:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17858 invoked by alias); 8 Mar 2018 01:50: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 7785 invoked by uid 48); 8 Mar 2018 01:50:36 -0000 From: "lux1075 at naver dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84755] GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS Date: Thu, 08 Mar 2018 01:50: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.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lux1075 at naver 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: 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: 2018-03/txt/msg01222.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84755 --- Comment #2 from June,Lim --- Created attachment 43592 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43592&action=3Dedit GCC-4.6.0 configure log >>From gcc-bugs-return-596633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 01:50:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38752 invoked by alias); 8 Mar 2018 01:50: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 25126 invoked by uid 48); 8 Mar 2018 01:49:58 -0000 From: "lux1075 at naver dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84755] GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS Date: Thu, 08 Mar 2018 01:50: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.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lux1075 at naver 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: 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: 2018-03/txt/msg01221.txt.bz2 Content-length: 231 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84755 --- Comment #1 from June,Lim --- Created attachment 43591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43591&action=3Dedit make all-gcc log >>From gcc-bugs-return-596635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:02:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29284 invoked by alias); 8 Mar 2018 03:02: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 13608 invoked by uid 48); 8 Mar 2018 03:02:19 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/34452] Multiply-by-constant pessimation Date: Thu, 08 Mar 2018 03: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: 4.2.2 X-Bugzilla-Keywords: missed-optimization 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 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: 2018-03/txt/msg01223.txt.bz2 Content-length: 889 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34452 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=3D30354, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D28417 --- Comment #5 from Eric Gallager --- (In reply to Bernhard Reutner-Fischer from comment #4) > Is this realted to PR30354 and/or PR28417 ? Possibly, let's find out by putting them under "See Also" and seeing if any= one confirms. >>From gcc-bugs-return-596636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:14:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6194 invoked by alias); 8 Mar 2018 03:14: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 6121 invoked by uid 48); 8 Mar 2018 03:14:06 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/34516] trivial sentinels Date: Thu, 08 Mar 2018 03: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: 4.2.1 X-Bugzilla-Keywords: 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: 2018-03/txt/msg01224.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34516 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) > And why don't you submit it???? I'm assuming it has something to do with this bug being filed around the ti= me of the GPL3 transition... >>From gcc-bugs-return-596637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:17:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34962 invoked by alias); 8 Mar 2018 03:17: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 34800 invoked by uid 48); 8 Mar 2018 03:17:09 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/28508] Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target Date: Thu, 08 Mar 2018 03: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: 4.2.0 X-Bugzilla-Keywords: 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: 2018-03/txt/msg01225.txt.bz2 Content-length: 649 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28508 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |egallager at gcc dot gnu.o= rg Resolution|--- |FIXED --- Comment #9 from Eric Gallager --- (In reply to Debian GCC Maintainers from comment #8) > please mark it as closed, if it is not a candidate for a backport. >=20 > Matthias OK. >>From gcc-bugs-return-596638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:20:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38720 invoked by alias); 8 Mar 2018 03:20: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 38665 invoked by uid 48); 8 Mar 2018 03:20:48 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/35365] dlopen fails because of missing _Jv_RegisterClasses under HP-UX 11.11 Date: Thu, 08 Mar 2018 03:20: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: 2018-03/txt/msg01226.txt.bz2 Content-length: 625 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D35365 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |egallager at gcc dot gnu.o= rg Resolution|--- |INVALID --- Comment #1 from Eric Gallager --- _Jv_RegisterClasses is a Java thing, and Java has been removed from newer versions of GCC, so I'm going to close this. >>From gcc-bugs-return-596639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:26:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41895 invoked by alias); 8 Mar 2018 03:26: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 41729 invoked by uid 48); 8 Mar 2018 03:25:59 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/20802] mmix-knuth-mmixware testsuite failure: gcc.dg/builtin-apply4.c execution Date: Thu, 08 Mar 2018 03: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: 4.0.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc cf_known_to_work see_also 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: 2018-03/txt/msg01227.txt.bz2 Content-length: 3402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D20802 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg Known to work| |4.1.0 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D20076 Known to fail| |3.4.0, 4.2.0, 4.3.0 --- Comment #8 from Eric Gallager --- (In reply to Rob from comment #7) > I tried this on i686-pc-linux-gnu using gcc-3.4 (from Debian), gcc-4.1 (f= rom > Debian), gcc version 4.2.0 20070501 (prerelease) (from SVN), and gcc vers= ion > 4.3.0 20070607 (experimental) (from SVN): >=20 > I modified as follows: >=20 > /* PR tree-optimization/20076 */ > /* { dg-options "-O2" } */ > /* { dg-do run } */ >=20 > extern void abort (void); >=20 > double > foo (int arg) > { > printf("foo1 - arg =3D %u \n", arg); > if (arg !=3D 116) > abort(); > printf("foo2 - arg =3D %u \n", arg); > return arg + 1; > } >=20 > inline double > bar (int arg) > { > printf("bar1 - arg =3D %u \n", arg); > foo (arg); > printf("bar2 - arg =3D %u \n", arg); > __builtin_return (__builtin_apply ((void (*) ()) foo, __builtin_apply_a= rgs > (), 128)); > __builtin_return (__builtin_apply ((void (*) ()) foo, __builtin_apply_a= rgs > (), 32)); > __builtin_return (__builtin_apply ((void (*) ()) foo, __builtin_apply_a= rgs > (), 16)); > printf("bar3 - arg =3D %u \n", arg); > } >=20 > int > main (int argc, char **argv) > { > printf("main1 - pre bar\n"); > if (bar (116) !=3D 117.0) { > printf("main2 - post bar - abort\n"); > abort (); > } > printf("main2 - post bar - no abort\n"); > return 0; > } >=20 >=20 > The printf statments are the only changes, everything else is the same as > 4.3.0. >=20 > Here is what the .exe's print for each version of gcc: >=20 > # ./builtin-apply4_gcc3.4.exe > main1 - pre bar > bar1 - arg =3D 116=20 > foo1 - arg =3D 116=20 > foo2 - arg =3D 116=20 > bar2 - arg =3D 116=20 > foo1 - arg =3D 1=20 > Aborted >=20 > # ./builtin-apply4_gcc4.1.exe > main1 - pre bar > bar1 - arg =3D 116=20 > foo1 - arg =3D 116=20 > foo2 - arg =3D 116=20 > bar2 - arg =3D 116=20 > foo1 - arg =3D 116=20 > foo2 - arg =3D 116=20 > main2 - post bar - no abort >=20 > # ./builtin-apply4_gcc4.2.exe > main1 - pre bar > bar1 - arg =3D 116=20 > foo1 - arg =3D 116=20 > foo2 - arg =3D 116=20 > bar2 - arg =3D 116=20 > foo1 - arg =3D 116=20 > foo2 - arg =3D 116=20 > main2 - post bar - abort > Aborted >=20 > # ./builtin-apply4_4.3.exe > main1 - pre bar > bar1 - arg =3D 116=20 > foo1 - arg =3D 116=20 > foo2 - arg =3D 116=20 > bar2 - arg =3D 116=20 > foo1 - arg =3D 116=20 > foo2 - arg =3D 116=20 > main2 - post bar - abort > Aborted >=20 >=20 > GCC 3.4 prints "foo1 - arg =3D 1" - which is way off. >=20 > GCC 4.1 prints "main2 - post bar - no abort" - which means it is OK >=20 > The others are incorrect. I do not have 4.0.0 to confirm this report but = you > might says it was fixed in 4.1 - only to re-occur in later versions :( . >=20 > I'd change the known to fail field but I don't have permission. I changed it for you. >>From gcc-bugs-return-596640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:27:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43281 invoked by alias); 8 Mar 2018 03:27: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 43214 invoked by uid 48); 8 Mar 2018 03:27:42 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/35614] libgomp info documentation file is in the wrong category Date: Thu, 08 Mar 2018 03:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 4.3.0 X-Bugzilla-Keywords: documentation, easyhack, patch X-Bugzilla-Severity: trivial 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: keywords 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: 2018-03/txt/msg01228.txt.bz2 Content-length: 705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D35614 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation, easyhack, | |patch CC| |egallager at gcc dot gnu.o= rg --- Comment #4 from Eric Gallager --- (In reply to Sahak Petrosyan from comment #3) > I posted the patch to the mailing list: > http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01639.html Adding "patch" keyword (among others) >>From gcc-bugs-return-596641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:32:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68803 invoked by alias); 8 Mar 2018 03:32: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 68759 invoked by uid 48); 8 Mar 2018 03:32:51 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26061] error and warning count Date: Thu, 08 Mar 2018 03:32: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: 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01229.txt.bz2 Content-length: 1453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26061 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.or= g, | |egallager at gcc dot gnu.o= rg --- Comment #21 from Eric Gallager --- (In reply to Kevin Andr=C3=A9 from comment #20) > (In reply to comment #19) >=20 > > I really don't want to make it default off as it's really useful. I hop= e to fix > > the patch and make it default on for gcc 4.4 at least. >=20 > I agree. What's the status for getting it into 4.4? >=20 > People complain that changing GCC's output will break tools that parse th= at > output. I can understand why they're complaining, but IMHO this reveals a > more fundamental problem. The current diagnostic output tries to serve two > purposes: being readable for humans and being parseable by tools. And I > think those two should be separated. Why not have the default output be > human-friendly, and introduce a separate option, say > "-fparseable-diagnostics" to switch to an easily parseable output format? clang has had an error and warning count for a really long time now and too= ls work with it. gcc 7 added -fdiagnostics-parseable-fixits but fixits are only part of diagnostics. >>From gcc-bugs-return-596642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:35:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73482 invoked by alias); 8 Mar 2018 03:35: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 73430 invoked by uid 48); 8 Mar 2018 03:35:43 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/21547] GMP/MPFR shared libraries not in LD_LIBRARY_PATH: failure to build libgfortran Date: Thu, 08 Mar 2018 03:35: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: 4.0.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: --- 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: 2018-03/txt/msg01230.txt.bz2 Content-length: 574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D21547 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=3D44425 --- Comment #10 from Eric Gallager --- Possibly related to bug 44425 >>From gcc-bugs-return-596643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 03:49:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83905 invoked by alias); 8 Mar 2018 03:49: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 83653 invoked by uid 48); 8 Mar 2018 03:49:33 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/84749] -w does not work with option property Warn Date: Thu, 08 Mar 2018 03:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic 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 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: 2018-03/txt/msg01231.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84749 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-08 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- I recently noticed this too. For instance, here -w suppresses -Wreturn-type but doesn't suppress the warning about -Wmudflap being no longer supported: $ grep -B1 "Warn(" /src/gcc/svn/gcc/c-family/c.opt | head -n2 Wmudflap C ObjC C++ ObjC++ Ignore Warn(switch %qs is no longer supported) $ echo "f() { }" | gcc -S -Wall -Wextra -Wmudflap -Wreturn-type -w -xc - xgcc: warning: switch =E2=80=98-Wmudflap=E2=80=99 is no longer supported >>From gcc-bugs-return-596644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 04:01:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127340 invoked by alias); 8 Mar 2018 04:01: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 127266 invoked by uid 48); 8 Mar 2018 04:00:56 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/44035] internals documentation cannot be fixed without new GFDL license grants Date: Thu, 08 Mar 2018 04:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: blocker 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 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: 2018-03/txt/msg01232.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44035 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=3D44032 --- Comment #4 from Eric Gallager --- Does this really need to have "blocker" importance? It has gone several yea= rs without actually blocking any releases. >>From gcc-bugs-return-596645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 04:21:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11286 invoked by alias); 8 Mar 2018 04:21: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 11256 invoked by uid 48); 8 Mar 2018 04:21:16 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84742] internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Date: Thu, 08 Mar 2018 04:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code 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 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: 2018-03/txt/msg01233.txt.bz2 Content-length: 1528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84742 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-08 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- I have reproduced it (intermittently) with revisions as recent as r258160, = but only with ASLR enabled. The valgrind errors for sparseset_bit_p are expect= ed and go away --with-enable-valgrind-annotations. I don't see any other erro= rs in my report and I can't reproduce it without ASLR or under GDB so there is= n't much to go on. $ /opt/notnfs/gcc-bisect/obj/gcc/cc1plus.258160 -quiet -O3 -fpermissive -fno-toplevel-reorder -std=3Dc++14 -o/dev/null t.C during RTL pass: reload t.C: In function =E2=80=98void a()=E2=80=99: t.C:10:1: internal compiler error: in process_alt_operands, at lra-constraints.c:2112 } ^ 0x1013ddb process_alt_operands ../../gcc/lra-constraints.c:2112 0x10187ca curr_insn_transform ../../gcc/lra-constraints.c:3860 0x101c13f lra_constraints(bool) ../../gcc/lra-constraints.c:4877 0x1004f6f lra(_IO_FILE*) ../../gcc/lra.c:2419 0xfac579 do_reload ../../gcc/ira.c:5465 0xfaca6c execute ../../gcc/ira.c:5649 >>From gcc-bugs-return-596646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 04:27:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41187 invoked by alias); 8 Mar 2018 04:27: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 41103 invoked by uid 48); 8 Mar 2018 04:27:21 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84698] ICE when using noexcept(noexcept()) declaration on global friend function of template class Date: Thu, 08 Mar 2018 04: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: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code 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 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: 2018-03/txt/msg01234.txt.bz2 Content-length: 1624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84698 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-08 CC| |jason at gcc dot gnu.org, | |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Confirmed. Bisection points to r209907 (gcc 4.10.0): r209907 | jason | 2014-04-29 14:04:50 -0400 (Tue, 29 Apr 2014) | 27 lines DR 1351 Represent the unevaluated exception specification of an implicitly declared or deleted function with a simple placeholder, not a list of functions. Before then GCC errors out with: pr84698.C: In instantiation of =E2=80=98struct X=E2=80=99: pr84698.C:15:14: required from here pr84698.C:7:14: error: declaration of =E2=80=98template void swap(X&, X&) noexcept ()=E2=80=99 has a= different exception specifier friend void swap(X& a, X& b) noexcept(noexcept(a.swap(b= ))); ^ pr84698.C:11:13: error: from previous declaration =E2=80=98template void swap(X&, X&) noexcept (noexcept (a.swap(b)))=E2=80= =99 inline void swap(X& a, X& b) noexcept(noexcept(a.swap(b)= )) { ^ >>From gcc-bugs-return-596647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 04:32:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127680 invoked by alias); 8 Mar 2018 04:32: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 117026 invoked by uid 48); 8 Mar 2018 04:32:47 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84680] [6/7/8 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90) Date: Thu, 08 Mar 2018 04:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code, ra 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 cf_reconfirmed_on cc cf_known_to_work short_desc 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: 2018-03/txt/msg01235.txt.bz2 Content-length: 1515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84680 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-08 CC| |msebor at gcc dot gnu.org Known to work| |4.8.4 Summary|internal compiler error: |[6/7/8 Regression] internal |Max. number of generated |compiler error: Max. number |reload insns per insn is |of generated reload insns |achieved (90) |per insn is achieved (90) Ever confirmed|0 |1 Known to fail| |4.9.3, 5.3.0, 6.1.0, 7.3.0, | |8.0 --- Comment #1 from Martin Sebor --- Confirmed. Bisection points to: r201915 (gcc 4.9.0): r201915 | kyukhin | 2013-08-22 02:06:03 -0400 (Thu, 22 Aug 2013) | 135 lines * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512F_SET): New. ... Before that, GCC would fail with: pr84680.C: In function =E2=80=98void a()=E2=80=99: pr84680.C:4:56: error: impossible constraint in =E2=80=98asm=E2=80=99 asm volatile("" : "=3Dvp" (b) : "0" (__builtin_alloca)); ^ >>From gcc-bugs-return-596648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 04:35:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69761 invoked by alias); 8 Mar 2018 04:35: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 69709 invoked by uid 48); 8 Mar 2018 04:35:25 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84679] [6/7/8 Regression] internal compiler error: in lra_eliminate_reg_if_possible, at lra-eliminations.c:1382 Date: Thu, 08 Mar 2018 04:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code 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 cf_reconfirmed_on cc cf_known_to_work short_desc 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: 2018-03/txt/msg01236.txt.bz2 Content-length: 2965 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84679 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-08 CC| |msebor at gcc dot gnu.org Known to work| |4.9.4 Summary|internal compiler error: in |[6/7/8 Regression] internal |lra_eliminate_reg_if_possib |compiler error: in |le, at |lra_eliminate_reg_if_possib |lra-eliminations.c:1382 |le, at | |lra-eliminations.c:1382 Ever confirmed|0 |1 Known to fail| |5.3.0, 6.4.0, 7.3.0, 8.0 --- Comment #1 from Martin Sebor --- Confirmed. Bisection points to r211475 (gcc 4.10.0): r211475 | rsandifo | 2014-06-11 12:59:17 -0400 (Wed, 11 Jun 2014) | 34 lines gcc/ * common.md: New file. * doc/md.texi: Update description of generic, machine-independent constraints. * config/s390/constraints.md (e): Delete. * Makefile.in (md_file): Include common.md. * config/m32c/t-m32c (md_file): Likewise. * genpreds.c (general_mem): New array. (generic_constraint_letters): Remove constraints now defined by common.md. (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem. Allow the first character to be '<' or '>' as well. * genoutput.c (general_mem): New array. (indep_constraints): Remove constraints now defined by common.md. (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem. Remove special handling of 'm'. * ira-costs.c (record_reg_classes): Remove special handling of constraints now defined by common.md. * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise. * ira-lives.c (single_reg_class): Likewise. (ira_implicitly_set_insn_hard_regs): Likewise. * lra-constraints.c (reg_class_from_constraints): Likewise. (process_alt_operands, process_address, curr_insn_transform): Likew= ise. * postreload.c (reload_cse_simplify_operands): Likewise. * reload.c (push_secondary_reload, scratch_reload_class) (find_reloads, alternative_allows_const_pool_ref): Likewise. * reload1.c (maybe_fix_stack_asms): Likewise. * targhooks.c (default_secondary_reload): Likewise. * stmt.c (parse_output_constraint): Likewise. * recog.c (preprocess_constraints): Likewise. (constrain_operands, peep2_find_free_register): Likewise. (asm_operand_ok): Likewise, but add a comment saying why 'o' must be handled specially. >>From gcc-bugs-return-596649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 04:39:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85903 invoked by alias); 8 Mar 2018 04:39: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 78896 invoked by uid 48); 8 Mar 2018 04:39:52 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84677] [6/7/8 Regression] internal compiler error: in extract_constrain_insn, at recog.c:2205 Date: Thu, 08 Mar 2018 04:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code 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 cf_known_to_work keywords cf_reconfirmed_on cc everconfirmed 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: 2018-03/txt/msg01237.txt.bz2 Content-length: 1632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84677 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |5.4.0 Keywords| |ice-on-valid-code Last reconfirmed| |2018-03-08 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Summary|internal compiler error: in |[6/7/8 Regression] internal |extract_constrain_insn, at |compiler error: in |recog.c:2205 |extract_constrain_insn, at | |recog.c:2205 Known to fail| |6.4.0, 7.3.0, 8.0 --- Comment #2 from Martin Sebor --- Confirmed. My bisection also points to r229470 (gcc 6.0.0): r229470 | law | 2015-10-27 21:05:53 -0400 (Tue, 27 Oct 2015) | 184 lines [PATCH 7/9] ENABLE_CHECKING refactoring: middle-end, LTO FE gcc/lto/ChangeLog: 2015-10-27 Mikhail Maltsev * lto.c (unify_scc): Use flag_checking and remove ENABLE_CHECKING conditionals. (lto_fixup_state): Likewise. (do_whole_program_analysis): Use symtab_node::checking_verify_symtab_nodes and remove ENABLE_CHECKING conditionals. ... Before that GCC accepted the code so I'm assuming it's ice-on-valid-code. >>From gcc-bugs-return-596650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 05:41:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52117 invoked by alias); 8 Mar 2018 05:41: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 52042 invoked by uid 48); 8 Mar 2018 05:41:48 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961 Date: Thu, 08 Mar 2018 05:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01238.txt.bz2 Content-length: 555 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84582 Bug 84582 depends on bug 84596, which changed state. Bug 84596 Summary: [8 Regression] internal compiler error: unexpected expre= ssion '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84596 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |ASSIGNED Resolution|FIXED |--- >>From gcc-bugs-return-596651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 05:41:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52127 invoked by alias); 8 Mar 2018 05:41: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 52009 invoked by uid 48); 8 Mar 2018 05:41:47 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84596] [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression) Date: Thu, 08 Mar 2018 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: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01239.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84596 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 |P3 Status|RESOLVED |ASSIGNED Resolution|FIXED |--- --- Comment #7 from Alexandre Oliva --- Vegard, this PR is already resolved, I suggest filing a new PR for the bug = you detected with the testcase in comment 6, and linking back to this one there, for reference. >>From gcc-bugs-return-596652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 05:52:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59826 invoked by alias); 8 Mar 2018 05:52: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 59773 invoked by uid 48); 8 Mar 2018 05:52:10 -0000 From: "andrewm.roberts at sky dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf) Date: Thu, 08 Mar 2018 05:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrewm.roberts at sky 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: 8.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: 2018-03/txt/msg01240.txt.bz2 Content-length: 1714 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83206 --- Comment #23 from Andrew Roberts --- RPI Zero still looks ok with latest snapshot.=20 /usr/local/gcc/bin/gcc -mfpu=3Dauto -O3 -o matrix matrix.c cc1: error: -mfloat-abi=3Dhard: selected processor lacks an FPU /usr/local/gcc/bin/gcc -mcpu=3Dnative -mfpu=3Dauto -O3 -o matrix matrix.c Is ok. /usr/local/gcc/bin/gcc -march=3Dnative -mcpu=3Dnative -Q --help=3Dtarget | = grep "mcpu\|mfpu\|march" -march=3D armv6zk+fp -mcpu=3D arm1176jzf-s -mfpu=3D vfp /usr/local/gcc/bin/gcc -v Using built-in specs. COLLECT_GCC=3D/usr/local/gcc/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/local/gcc-8.0.0/libexec/gcc/armv6l-unknown-linux= -gnueabihf/8.0.1/lto-wrapper Target: armv6l-unknown-linux-gnueabihf Configured with: ../gcc-8.0.0/configure --prefix=3D/usr/local/gcc-8.0.0 --program-suffix=3D --disable-werror --enable-shared --enable-threads=3Dpos= ix --enable-checking=3Drelease --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=3Dgnu --enable-plugin --enable-gnu-indirect-function --enable-lto --with-isl --enable-languages=3Dc,c++,fortran,lto --disable-libgcj --enable-clocale=3D= gnu --disable-libstdcxx-pch --enable-install-libiberty --disable-multilib --disable-libssp --enable-default-pie --enable-default-ssp --host=3Darmv6l-unknown-linux-gnueabihf --build=3Darmv6l-unknown-linux-gnue= abihf --with-arch=3Darmv6 --with-float=3Dhard --with-fpu=3Dvfp --disable-bootstrap Thread model: posix gcc version 8.0.1 20180304 (experimental) (GCC) >>From gcc-bugs-return-596653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 06:51:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83861 invoked by alias); 8 Mar 2018 06:51: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 83787 invoked by uid 48); 8 Mar 2018 06:51:47 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/77296] [F03] Compiler Error with allocatable string and associate Date: Thu, 08 Mar 2018 06:51: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: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus 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: 8.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: 2018-03/txt/msg01241.txt.bz2 Content-length: 901 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77296 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 --- Comment #7 from janus at gcc dot gnu.org --- (In reply to Matt Thompson from comment #6) > (In reply to Thomas Koenig from comment #5) > > This has been fixed by Paul's patch, closing. > >=20 > > Thanks for the bug report! >=20 > Will this patch appear in GCC 8? Yes, it has been committed to trunk, so it will be included in the next maj= or release, which is GCC 8. > 7.4? Probably not, since it has not been backported to the 7-branch (which usual= ly is only done for regressions). > Is there a way to query which version bugs are fixed in? That's what the "target milestone" field is for. I just updated that. >>From gcc-bugs-return-596654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 06:54:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111829 invoked by alias); 8 Mar 2018 06:54: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 108891 invoked by uid 48); 8 Mar 2018 06:54:02 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/34640] ICE when assigning item of a derived-component to a pointer Date: Thu, 08 Mar 2018 06:54: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: 4.3.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus 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: 8.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: 2018-03/txt/msg01242.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D34640 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-596655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 06:56:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121788 invoked by alias); 8 Mar 2018 06:56: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 121677 invoked by uid 48); 8 Mar 2018 06:56:24 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84755] GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS Date: Thu, 08 Mar 2018 06: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: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: 2018-03/txt/msg01243.txt.bz2 Content-length: 418 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84755 --- Comment #3 from Marc Glisse --- gcc 4.6 and 4.8 branches are old and not supported anymore. Besides, trying 4.6.0 (with unidentified patches!) instead of 4.6.N with the largest possi= ble N is just asking for trouble (the problem may already be fixed in 4.6.N). Google also has plenty of hits for your error, some may be relevant. >>From gcc-bugs-return-596656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 06:57:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123721 invoked by alias); 8 Mar 2018 06:57: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 123616 invoked by uid 55); 8 Mar 2018 06:57:31 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84739] [6/7/8 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Thu, 08 Mar 2018 06: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: 8.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: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01244.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Mar 8 06:56:59 2018 New Revision: 258351 URL: https://gcc.gnu.org/viewcvs?rev=3D258351&root=3Dgcc&view=3Drev Log: PR tree-optimization/84739 * tree-tailcall.c (find_tail_calls): Check call arguments against DECL_ARGUMENTS (current_function_decl) rather than DECL_ARGUMENTS (func) when checking for tail recursion. * gcc.dg/pr84739.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr84739.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-tailcall.c >>From gcc-bugs-return-596657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 06:59:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127789 invoked by alias); 8 Mar 2018 06:59: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 127456 invoked by uid 48); 8 Mar 2018 06:59:31 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84739] [6/7 Regression] ICE in get_value_for_expr, at tree-ssa-ccp.c:649 Date: Thu, 08 Mar 2018 06:59: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.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: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-03/txt/msg01245.txt.bz2 Content-length: 543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84739 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7/8 Regression] ICE in |[6/7 Regression] ICE in |get_value_for_expr, at |get_value_for_expr, at |tree-ssa-ccp.c:649 |tree-ssa-ccp.c:649 --- Comment #6 from Jakub Jelinek --- Fixed on the trunk so far. >>From gcc-bugs-return-596658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 07:17:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103004 invoked by alias); 8 Mar 2018 07:17: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 102928 invoked by uid 48); 8 Mar 2018 07:17:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84751] ICE with debug build of gcc GIMPLE pass: store-merging or IPA pass: cp Date: Thu, 08 Mar 2018 07: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-03/txt/msg01246.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84751 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- What configure flags for that specially configured gcc? Can you in a debugger pt whatever tree_operand_hash::hash is called on? I certainly can't reproduce this with a cross to powerpc64-linux, even under valgrind it is clear. >>From gcc-bugs-return-596659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 07:22:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109469 invoked by alias); 8 Mar 2018 07:22: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 109373 invoked by uid 48); 8 Mar 2018 07:22:06 -0000 From: "b7.10110111 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84756] New: Multiplication done twice just to get upper and lower parts of product Date: Thu, 08 Mar 2018 07: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: b7.10110111 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: 2018-03/txt/msg01247.txt.bz2 Content-length: 1652 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84756 Bug ID: 84756 Summary: Multiplication done twice just to get upper and lower parts of product Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: b7.10110111 at gmail dot com Target Milestone: --- Consider the following C code valid for both x86 and amd64 targets: #ifdef __SIZEOF_INT128__ typedef __uint128_t Longer; #else typedef unsigned long long Longer; #endif typedef unsigned long Shorter; Shorter mul(Shorter a, Shorter b, Shorter* upper) { *upper=3D(Longer)a*b >> 8*sizeof(Shorter); return (Longer)a*b; } Longer lmul(Shorter a, Shorter b) { return (Longer)a*b; } =46rom lmul function I get the expected good assembly: lmul: mov eax, DWORD PTR [esp+8] mul DWORD PTR [esp+4] ret But for mul gcc generates two multiplications instead of one: mul: push ebx mov ecx, DWORD PTR [esp+8] mov ebx, DWORD PTR [esp+12] mov eax, ecx mul ebx mov eax, DWORD PTR [esp+16] mov DWORD PTR [eax], edx mov eax, ecx imul eax, ebx pop ebx ret Here 'mul ebx' is used to get the upper part of the result, and `imul eax, = ebx` is supposed to ge the lower part, although it has already been present right after `mul ebx` in eax register. Similar problem happens when I use -m64 option for gcc to get amd64 code. >>From gcc-bugs-return-596660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 07:30:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41181 invoked by alias); 8 Mar 2018 07:30: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 40752 invoked by uid 55); 8 Mar 2018 07:30:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84740] [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Thu, 08 Mar 2018 07:30: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.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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01248.txt.bz2 Content-length: 626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Mar 8 07:29:42 2018 New Revision: 258354 URL: https://gcc.gnu.org/viewcvs?rev=3D258354&root=3Dgcc&view=3Drev Log: PR tree-optimization/84740 * tree-switch-conversion.c (process_switch): Call build_constructors only if info.phi_count is non-zero. * gcc.dg/torture/pr84740.c: New test. Added: trunk/gcc/testsuite/gcc.dg/torture/pr84740.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-switch-conversion.c >>From gcc-bugs-return-596661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 07:32:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45587 invoked by alias); 8 Mar 2018 07:32: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 43494 invoked by uid 48); 8 Mar 2018 07:32:30 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84740] [8 Regression] ICE in build_constructors, at tree-switch-conversion.c:965 Date: Thu, 08 Mar 2018 07:32: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.0 X-Bugzilla-Keywords: 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01249.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84740 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-596662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 07:47:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127628 invoked by alias); 8 Mar 2018 07:47: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 127577 invoked by uid 48); 8 Mar 2018 07:47:45 -0000 From: "b7.10110111 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84757] New: Useless MOVs and PUSHes to store results of MUL Date: Thu, 08 Mar 2018 07:47: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: b7.10110111 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: 2018-03/txt/msg01250.txt.bz2 Content-length: 1397 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84757 Bug ID: 84757 Summary: Useless MOVs and PUSHes to store results of MUL Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: b7.10110111 at gmail dot com Target Milestone: --- Consider the following C code: #ifdef __SIZEOF_INT128__ typedef __uint128_t Longer; #else typedef unsigned long long Longer; #endif typedef unsigned long Shorter; Shorter mulSmarter(Shorter a, Shorter b, Shorter* upper) { const Longer ab=3D(Longer)a*b; *upper=3Dab >> 8*sizeof(Shorter); return ab; } On amd64 with -m64 option I get identical assembly on both gcc 7.x and 6.3.= But on x86 (or amd64 with -m32) assembly is different, and on gcc 7.x is less efficient. See to compare: # gcc 6.3 mulSmarter: mov eax, DWORD PTR [esp+8] mul DWORD PTR [esp+4] mov ecx, edx mov edx, DWORD PTR [esp+12] mov DWORD PTR [edx], ecx ret # gcc 7.3 mulSmarter: push esi push ebx mov eax, DWORD PTR [esp+16] mul DWORD PTR [esp+12] mov esi, edx mov edx, DWORD PTR [esp+20] mov ebx, eax mov eax, ebx mov DWORD PTR [edx], esi pop ebx pop esi ret The gcc 6.3 version is already not perfect, but it's much better than that = of 7.3. >>From gcc-bugs-return-596663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 07:58:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33829 invoked by alias); 8 Mar 2018 07:58: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 32971 invoked by uid 48); 8 Mar 2018 07:58:10 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84682] [6/7/8 Regression] internal compiler error: Segmentation fault (process_address_1) Date: Thu, 08 Mar 2018 07:58: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva 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: 6.5 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: 2018-03/txt/msg01251.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84682 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |aoliva at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot g= nu.org --- Comment #4 from Alexandre Oliva --- Mine >>From gcc-bugs-return-596664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:28:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102413 invoked by alias); 8 Mar 2018 08:28: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 102296 invoked by uid 55); 8 Mar 2018 08:28:28 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84408] [8 regression] gcc.dg/plugin/poly-int-07_plugin.c compilation times out with -g Date: Thu, 08 Mar 2018 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva 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: 8.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: 2018-03/txt/msg01252.txt.bz2 Content-length: 2058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84408 --- Comment #12 from Alexandre Oliva --- Author: aoliva Date: Thu Mar 8 08:27:56 2018 New Revision: 258355 URL: https://gcc.gnu.org/viewcvs?rev=3D258355&root=3Dgcc&view=3Drev Log: [LVU] reset view at function entry, omit views at line zero Location views might be associated with locations that lack line number information (line number zero), but since we omit .loc directives that would have been issued with line number zero, we also omit the symbolic view numbers that would have been issued at such points. Resetting views at function entry points address some of these issues, and alleviate the huge chains of symbolic views that have burdened assemblers since we disabled -ginternal-reset-location-views by default, but other problems of undefined views remain when it's not the whole function that lacks line number info, just parts of it. So, when we encounter a request to output a view that may have been referenced, but we decide to omit the .loc because the line is zero, we will now omit the view as well, i.e., we will internally regard that view as zero-numbered. for gcc/ChangeLog PR debug/84404 PR debug/84408 * dwarf2out.c (struct dw_line_info_table): Update comments for view =3D=3D -1. (FORCE_RESET_NEXT_VIEW): New. (FORCE_RESETTING_VIEW_P): New. (RESETTING_VIEW_P): Check for -1 too. (ZERO_VIEW_P): Likewise. (new_line_info_table): Force-reset next view. (dwarf2out_begin_function): Likewise. (dwarf2out_source_line): Simplify zero_view_p initialization. Test FORCE_RESETTING_VIEW_P and RESETTING_VIEW_P instead of view directly. Omit view when omitting .loc at line 0. for gcc/testsuite/ChangeLog PR debug/84404 PR debug/84408 * gcc.dg/graphite/pr84404.c: New. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr84404.c Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:28:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102423 invoked by alias); 8 Mar 2018 08:28: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 102278 invoked by uid 55); 8 Mar 2018 08:28:28 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84404] Several "leb128 operand is an undefined symbol" in go testsuite with latest debug improvements Date: Thu, 08 Mar 2018 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva 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: 2018-03/txt/msg01253.txt.bz2 Content-length: 2057 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84404 --- Comment #8 from Alexandre Oliva --- Author: aoliva Date: Thu Mar 8 08:27:56 2018 New Revision: 258355 URL: https://gcc.gnu.org/viewcvs?rev=3D258355&root=3Dgcc&view=3Drev Log: [LVU] reset view at function entry, omit views at line zero Location views might be associated with locations that lack line number information (line number zero), but since we omit .loc directives that would have been issued with line number zero, we also omit the symbolic view numbers that would have been issued at such points. Resetting views at function entry points address some of these issues, and alleviate the huge chains of symbolic views that have burdened assemblers since we disabled -ginternal-reset-location-views by default, but other problems of undefined views remain when it's not the whole function that lacks line number info, just parts of it. So, when we encounter a request to output a view that may have been referenced, but we decide to omit the .loc because the line is zero, we will now omit the view as well, i.e., we will internally regard that view as zero-numbered. for gcc/ChangeLog PR debug/84404 PR debug/84408 * dwarf2out.c (struct dw_line_info_table): Update comments for view =3D=3D -1. (FORCE_RESET_NEXT_VIEW): New. (FORCE_RESETTING_VIEW_P): New. (RESETTING_VIEW_P): Check for -1 too. (ZERO_VIEW_P): Likewise. (new_line_info_table): Force-reset next view. (dwarf2out_begin_function): Likewise. (dwarf2out_source_line): Simplify zero_view_p initialization. Test FORCE_RESETTING_VIEW_P and RESETTING_VIEW_P instead of view directly. Omit view when omitting .loc at line 0. for gcc/testsuite/ChangeLog PR debug/84404 PR debug/84408 * gcc.dg/graphite/pr84404.c: New. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr84404.c Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:35:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108355 invoked by alias); 8 Mar 2018 08:35: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 108241 invoked by uid 48); 8 Mar 2018 08:34:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80452] [DR 1579] incorrect value category deduced for return value Date: Thu, 08 Mar 2018 08:35: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.3.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01254.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80452 --- Comment #6 from Martin Li=C5=A1ka --- Created attachment 43593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43593&action=3Dedit Reduced test-case from chromium Well, I've got following reduced test-case. It comes from chromium project = and my question is how can user easily modify source code to make older GCC releases happy :) ? >>From gcc-bugs-return-596667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:36:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116142 invoked by alias); 8 Mar 2018 08:36: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 116032 invoked by uid 48); 8 Mar 2018 08:36:00 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84682] [6/7/8 Regression] internal compiler error: Segmentation fault (process_address_1) Date: Thu, 08 Mar 2018 08:36: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva 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: 6.5 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: 2018-03/txt/msg01255.txt.bz2 Content-length: 263 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84682 --- Comment #5 from Alexandre Oliva --- Created attachment 43594 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43594&action=3Dedit candidate patch Here's what I'm testing >>From gcc-bugs-return-596668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:38:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9340 invoked by alias); 8 Mar 2018 08:38: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 9274 invoked by uid 48); 8 Mar 2018 08:38:19 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Thu, 08 Mar 2018 08:38: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: 8.0.1 X-Bugzilla-Keywords: diagnostic 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01256.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 --- Comment #7 from Martin Li=C5=A1ka --- > So, the -Wstringop-truncation would need to do the suggested alias search > for the store rather than next statement it does now, and in addition to > that would need to ignore ASAN_CHECK, because those are guaranteed not to > actually read the passed memory, just to check corresponding shadow memor= y. Which is probably similar to what was seen in PR84307, am I right? >>From gcc-bugs-return-596670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:39:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11189 invoked by alias); 8 Mar 2018 08:39: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 11101 invoked by uid 48); 8 Mar 2018 08:39:24 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Thu, 08 Mar 2018 08:39: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon 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.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: 2018-03/txt/msg01258.txt.bz2 Content-length: 4159 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #30 from Christophe Lyon --- (In reply to Martin Li=C5=A1ka from comment #29) > Should be fixed on all active branches. Actually the backport to gcc-6-branch introduced a regression. On arm, I'm seeing: lto1: fatal error: missing resolution data for _ZTV4base compilation terminated. lto-wrapper: fatal error: /aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/gcc/te= stsuite/g++2/../../xg++ returned 1 exit status compilation terminated. /aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/arm-none-linux-gnueabihf/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status compiler exited with status 1 FAIL: g++.dg/lto/20081125 cp_lto_20081125_0.o-cp_lto_20081125_1.o link, -fl= to -flto-partition=3D1to1 UNRESOLVED: g++.dg/lto/20081125 cp_lto_20081125_0.o-cp_lto_20081125_1.o exe= cute -flto -flto-partition=3D1to1 Similar regressions on: g++.dg/lto/20081125 cp_lto_20081125_0.o-cp_lto_20081125_1.o link, -flto -flto-partition=3D1to1 g++.dg/lto/20090311 cp_lto_20090311_0.o-cp_lto_20090311_1.o link, -O0 -= flto -flto-partition=3Dnone -fuse-linker-plugin g++.dg/lto/20090311 cp_lto_20090311_0.o-cp_lto_20090311_1.o link, -O0 -= flto -fuse-linker-plugin -fno-fat-lto-objects=20 g++.dg/lto/20091210-1 cp_lto_20091210-1_0.o-cp_lto_20091210-1_1.o link,= -O0 -flto -flto-partition=3Dnone -fuse-linker-plugin g++.dg/lto/20091210-1 cp_lto_20091210-1_0.o-cp_lto_20091210-1_1.o link,= -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects=20 g++.dg/torture/pr67600.C -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) On aarch64, one of the testcases now produces an ICE: /aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/gcc/testsuite/= g++3/../../xg++ -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/gcc/testsuit= e/g++3/../../ cp_lto_20091210-1_0.o cp_lto_20091210-1_1.o g++_tg.o -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -nostdinc++ -I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/aarch64-none= -elf/libstdc++-v3/include/aarch64-none-elf -I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/aarch64-none= -elf/libstdc++-v3/include -I/libstdc++-v3/libsupc++ -I/libstdc++-v3/include/backward -I/libstdc++-v3/testsuite/util -fmessage-length=3D0 -O0 -flto -flto-partition=3Dnone -fuse-linker-plugin -specs=3Daem-ve.specs -L/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/aarch64-none= -elf/./libstdc++-v3/src/.libs -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/aarch64-none= -elf/./libstdc++-v3/src/.libs -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -o g++-dg-lto-20091210-1-01.exe lto1: internal compiler error: in register_resolution, at lto/lto.c:840 0x5dd465 register_resolution /gcc/lto/lto.c:840 0x5ddf57 lto_read_decls /gcc/lto/lto.c:1792 0x5dff11 lto_file_finalize /gcc/lto/lto.c:2064 0x5dff11 lto_create_files_from_ids /gcc/lto/lto.c:2074 0x5dff11 lto_file_read /gcc/lto/lto.c:2115 0x5dff11 read_cgraph_and_symbols /gcc/lto/lto.c:2825 0x5dff11 lto_main() /gcc/lto/lto.c:3337 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: /aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/gcc/testsuite/= g++3/../../xg++ returned 1 exit status compilation terminated. /aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/aarch64-none-elf/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status compiler exited with status 1 FAIL: g++.dg/lto/20091210-1 cp_lto_20091210-1_0.o-cp_lto_20091210-1_1.o lin= k, -O0 -flto -flto-partition=3Dnone -fuse-linker-plugin (internal compiler err= or) >>From gcc-bugs-return-596669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:39:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10286 invoked by alias); 8 Mar 2018 08:39: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 10219 invoked by uid 48); 8 Mar 2018 08:38:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Date: Thu, 08 Mar 2018 08:39: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: 8.0.1 X-Bugzilla-Keywords: diagnostic 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01257.txt.bz2 Content-length: 1042 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84732 --- Comment #8 from Martin Li=C5=A1ka --- (In reply to Jakub Jelinek from comment #4) > (In reply to Martin Li=C5=A1ka from comment #2) > > I guess it somehow confuses VRP, Martin can you please take a look? Note > > that __builtin___sanitizer_cov_trace_pc is pure function, can't modify > > memory in original program. >=20 > No, __builtin___sanitizer_cov_trace_pc is certainly not pure and can't > really be, otherwise would optimize them all away (nothing uses their void > return value), > so the problem is that it invalidates all recorded string lengths, at lea= st > those that escape (but in this testcase it is a global variable). > As __sanitizer_cov_trace_pc is a user-supplied function, I don't really > think we can assume anything on it (e.g. that it will not change any glob= al > or escaped local variables, it can change them and most likely will do at > least some of them, otherwise it would be useless). I see, I was probably too eager :) >>From gcc-bugs-return-596671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:47:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17173 invoked by alias); 8 Mar 2018 08: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 17046 invoked by uid 48); 8 Mar 2018 08:47:26 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Thu, 08 Mar 2018 08: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: 8.0 X-Bugzilla-Keywords: missed-optimization 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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01259.txt.bz2 Content-length: 301 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84737 --- Comment #4 from Martin Li=C5=A1ka --- Thank you, may I please ask you for the IPA CP dump file for not affected revision (r256887). Do I understand the numbers right that version with .resid_.constprop.1 is slower? >>From gcc-bugs-return-596672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:49:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20928 invoked by alias); 8 Mar 2018 08:49: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 20885 invoked by uid 48); 8 Mar 2018 08:49:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84751] ICE with debug build of gcc GIMPLE pass: store-merging or IPA pass: cp Date: Thu, 08 Mar 2018 08:49: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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 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: 2018-03/txt/msg01260.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84751 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |powerpc64-linux Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-03-08 Ever confirmed|0 |1 >>From gcc-bugs-return-596673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:51:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25261 invoked by alias); 8 Mar 2018 08:51: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 25191 invoked by uid 48); 8 Mar 2018 08:51:28 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84756] Multiplication done twice just to get upper and lower parts of product Date: Thu, 08 Mar 2018 08: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal 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: 2018-03/txt/msg01261.txt.bz2 Content-length: 609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84756 --- Comment #1 from Marc Glisse --- We immediately narrow "return (Longer)a*b;" to "return a*b;" which makes it hard to CSE later. If you can, it would be better to write the code as: Longer mul =3D (Longer)a*b; ... use mul twice ... Not sure what the best place would be for this optimization. Somewhere in R= TL when we don't care about signed/unsigned? Earlier in value numbering, check= ing for each mult if a widening version is already available? Other, say like we check if cos and sin are called on the same argument? >>From gcc-bugs-return-596674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:52:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29846 invoked by alias); 8 Mar 2018 08:52: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 29442 invoked by uid 48); 8 Mar 2018 08:52:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84755] GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS Date: Thu, 08 Mar 2018 08:52: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.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 2018-03/txt/msg01262.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84755 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #4 from Richard Biener --- As said, both compilers in question are no longer supported. >>From gcc-bugs-return-596675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:53:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31322 invoked by alias); 8 Mar 2018 08:53: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 31253 invoked by uid 55); 8 Mar 2018 08:53:11 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/82457] libgcov fork and exec hooks not always used Date: Thu, 08 Mar 2018 08:53: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: 5.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-03/txt/msg01263.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82457 --- Comment #12 from Martin Li=C5=A1ka --- Author: marxin Date: Thu Mar 8 08:52:39 2018 New Revision: 258356 URL: https://gcc.gnu.org/viewcvs?rev=3D258356&root=3Dgcc&view=3Drev Log: Backport r254137 2018-03-08 Martin Liska Backport from mainline 2017-10-27 Martin Liska PR gcov-profile/82457 * doc/invoke.texi: Document that one needs a non-strict ISO mode for fork-like functions to be properly instrumented. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/doc/invoke.texi >>From gcc-bugs-return-596676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:55:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49169 invoked by alias); 8 Mar 2018 08:55: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 49134 invoked by uid 48); 8 Mar 2018 08:55:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84757] [7/8 Regression] Useless MOVs and PUSHes to store results of MUL Date: Thu, 08 Mar 2018 08: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: 7.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget priority bug_status keywords cf_reconfirmed_on everconfirmed short_desc 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: 2018-03/txt/msg01264.txt.bz2 Content-length: 928 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84757 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |i?86-*-* Priority|P3 |P2 Status|UNCONFIRMED |NEW Keywords| |missed-optimization Last reconfirmed| |2018-03-08 Ever confirmed|0 |1 Summary|Useless MOVs and PUSHes to |[7/8 Regression] Useless |store results of MUL |MOVs and PUSHes to store | |results of MUL Target Milestone|--- |7.4 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-596678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:56:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57687 invoked by alias); 8 Mar 2018 08:56: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 53391 invoked by uid 55); 8 Mar 2018 08:56:52 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/82352] [7 Regression] comdat-local function called by void h::i() outside its comdat Date: Thu, 08 Mar 2018 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01266.txt.bz2 Content-length: 904 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82352 --- Comment #11 from Martin Li=C5=A1ka --- Author: marxin Date: Thu Mar 8 08:56:20 2018 New Revision: 258358 URL: https://gcc.gnu.org/viewcvs?rev=3D258358&root=3Dgcc&view=3Drev Log: Backport r256226 2018-03-08 Martin Liska Backport from mainline 2018-01-04 Martin Liska PR ipa/82352 * ipa-icf.c (sem_function::merge): Do not cross comdat boundary. 2018-03-08 Martin Liska Backport from mainline 2018-01-04 Martin Liska PR ipa/82352 * g++.dg/ipa/pr82352.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/ipa/pr82352.C Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/ipa-icf.c branches/gcc-6-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:56:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52070 invoked by alias); 8 Mar 2018 08:56: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 51842 invoked by uid 55); 8 Mar 2018 08:56:36 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/82633] Document GCOV and function removal (-fkeep-inline-functions, -fkeep-static-functions) Date: Thu, 08 Mar 2018 08:56: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: unknown X-Bugzilla-Keywords: documentation 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: 8.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: 2018-03/txt/msg01265.txt.bz2 Content-length: 863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82633 --- Comment #13 from Martin Li=C5=A1ka --- Author: marxin Date: Thu Mar 8 08:55:59 2018 New Revision: 258357 URL: https://gcc.gnu.org/viewcvs?rev=3D258357&root=3Dgcc&view=3Drev Log: Backport r254257 2018-03-08 Martin Liska Backport from mainline 2017-10-31 Martin Liska PR gcov-profile/82633 * doc/gcov.texi: Document -fkeep-{static,inline}-functions and their interaction with GCOV infrastructure. * configure.ac: Add -fkeep-{inline,static}-functions to coverage_flags. * configure: Regenerate. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/configure branches/gcc-6-branch/gcc/configure.ac branches/gcc-6-branch/gcc/doc/gcov.texi >>From gcc-bugs-return-596679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:57:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90664 invoked by alias); 8 Mar 2018 08:57: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 86169 invoked by uid 55); 8 Mar 2018 08:57:27 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/77844] [5 Regression] Compilation of simple C++ example exhaust memory Date: Thu, 08 Mar 2018 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.9.4 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01267.txt.bz2 Content-length: 1485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77844 --- Comment #13 from Martin Li=C5=A1ka --- Author: marxin Date: Thu Mar 8 08:56:45 2018 New Revision: 258359 URL: https://gcc.gnu.org/viewcvs?rev=3D258359&root=3Dgcc&view=3Drev Log: Backport r243662 2018-03-08 Martin Liska Backport from mainline 2016-12-14 Jakub Jelinek PR debug/77844 * valtrack.c: Include rtl-iter.h. (struct rtx_subst_pair): Add insn field. (propagate_for_debug_subst): If pair->to contains at least 2 regs, create a DEBUG_INSN with a debug temp before pair->insn and replace from with the debug temp instead of pair->to. (propagate_for_debug): Initialize p.insn. * combine.c (insn_uid_check): New inline function. (INSN_COST, LOG_LINKS): Use it instead of INSN_UID. (find_single_use, combine_instructions, cant_combine_insn_p, try_combine): Use NONDEBUG_INSN_P instead of INSN_P. 2018-03-08 Martin Liska Backport from mainline 2016-12-14 Jakub Jelinek PR debug/77844 * g++.dg/opt/pr77844.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr77844.C Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/combine.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/valtrack.c >>From gcc-bugs-return-596681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:57:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98427 invoked by alias); 8 Mar 2018 08:57: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 95397 invoked by uid 48); 8 Mar 2018 08:57:44 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/82457] libgcov fork and exec hooks not always used Date: Thu, 08 Mar 2018 08:57: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: 5.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-03/txt/msg01269.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82457 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:57:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93825 invoked by alias); 8 Mar 2018 08:57: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 91438 invoked by uid 48); 8 Mar 2018 08:57:34 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/82633] Document GCOV and function removal (-fkeep-inline-functions, -fkeep-static-functions) Date: Thu, 08 Mar 2018 08:57: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: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01268.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82633 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Martin Li=C5=A1ka --- Should be fixed on all active branches. >>From gcc-bugs-return-596683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:59:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104083 invoked by alias); 8 Mar 2018 08:59: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 101975 invoked by uid 48); 8 Mar 2018 08:59:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/82107] [6 Regression] O2 optimisation on amd64 leads to error Date: Thu, 08 Mar 2018 08:59: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: 6.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01271.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82107 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Li=C5=A1ka --- Fixed on GCC-6 branch. >>From gcc-bugs-return-596682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 08:59:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101181 invoked by alias); 8 Mar 2018 08:59: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 101114 invoked by uid 48); 8 Mar 2018 08:59:16 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84569] [6 Regression] g++ -g -O3 consumes all memory Date: Thu, 08 Mar 2018 08:59: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.4.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.6 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: 2018-03/txt/msg01270.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84569 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin Li=C5=A1ka --- Fixed on GCC-6 branch. >>From gcc-bugs-return-596684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:06:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18115 invoked by alias); 8 Mar 2018 09: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 17990 invoked by uid 55); 8 Mar 2018 09:06:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84735] [8 Regression] Describe recent gcov data file format changes in gcov-io.h Date: Thu, 08 Mar 2018 09:06: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: 8.0 X-Bugzilla-Keywords: 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: 8.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: 2018-03/txt/msg01272.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84735 --- Comment #1 from Martin Li=C5=A1ka --- Author: marxin Date: Thu Mar 8 09:05:26 2018 New Revision: 258360 URL: https://gcc.gnu.org/viewcvs?rev=3D258360&root=3Dgcc&view=3Drev Log: Document gcov-io (PR gcov-profile/84735). 2018-03-08 Martin Liska PR gcov-profile/84735 * doc/gcov.texi: Document usage of profile files. * gcov-io.h: Document changes in the format. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/gcov.texi trunk/gcc/gcov-io.h >>From gcc-bugs-return-596685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:06:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18799 invoked by alias); 8 Mar 2018 09:06: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 18159 invoked by uid 48); 8 Mar 2018 09:06:23 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84735] [8 Regression] Describe recent gcov data file format changes in gcov-io.h Date: Thu, 08 Mar 2018 09:06: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01273.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84735 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Martin Li=C5=A1ka --- Fixed. >>From gcc-bugs-return-596686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:07:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20028 invoked by alias); 8 Mar 2018 09:07: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 19630 invoked by uid 48); 8 Mar 2018 09:06:44 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84404] Several "leb128 operand is an undefined symbol" in go testsuite with latest debug improvements Date: Thu, 08 Mar 2018 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva 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: 2018-03/txt/msg01274.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84404 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Alexandre Oliva --- Fixed >>From gcc-bugs-return-596688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:26:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107226 invoked by alias); 8 Mar 2018 09: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 105122 invoked by uid 48); 8 Mar 2018 09:24:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Thu, 08 Mar 2018 09: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: 8.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01276.txt.bz2 Content-length: 2029 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Known to work| |8.0 Target Milestone|8.0 |7.4 Summary|[8 Regression] ICE on valid |[7 Regression] ICE on valid |code at -O2 and -O3: |code at -O2 and -O3: |Segmentation fault |Segmentation fault Priority|P2 |P1 Known to work|8.0 | Target Milestone|7.4 |8.0 Summary|[7 Regression] ICE on valid |[8 Regression] ICE on valid |code at -O2 and -O3: |code at -O2 and -O3: |Segmentation fault |Segmentation fault --- Comment #8 from Richard Biener --- Fixed on trunk, I'm eventually going to backport a variant of this. --- Comment #9 from Richard Biener --- Author: rguenth Date: Thu Mar 8 09:23:44 2018 New Revision: 258361 URL: https://gcc.gnu.org/viewcvs?rev=3D258361&root=3Dgcc&view=3Drev Log: 2018-03-08 Richard Biener PR tree-optimization/84746 * tree-ssa-pre.c (find_leader_in_sets): Deal with SET1 being NULL. (phi_translate): Pass in destination ANTIC_OUT set. (phi_translate_1): Likewise. For a simplified result lookup a leader in ANTIC_OUT and AVAIL_OUT, not the ANTIC_IN sets. (phi_translate_set): Adjust. (do_pre_regular_insertion): Likewise. (do_pre_partial_partial_insertion): Likewise. * gcc.dg/torture/pr84746.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr84746.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-pre.c >>From gcc-bugs-return-596687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:26:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107012 invoked by alias); 8 Mar 2018 09:26: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 105124 invoked by uid 55); 8 Mar 2018 09:24:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [8 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Thu, 08 Mar 2018 09: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: 8.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01275.txt.bz2 Content-length: 2029 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Known to work| |8.0 Target Milestone|8.0 |7.4 Summary|[8 Regression] ICE on valid |[7 Regression] ICE on valid |code at -O2 and -O3: |code at -O2 and -O3: |Segmentation fault |Segmentation fault Priority|P2 |P1 Known to work|8.0 | Target Milestone|7.4 |8.0 Summary|[7 Regression] ICE on valid |[8 Regression] ICE on valid |code at -O2 and -O3: |code at -O2 and -O3: |Segmentation fault |Segmentation fault --- Comment #8 from Richard Biener --- Fixed on trunk, I'm eventually going to backport a variant of this. --- Comment #9 from Richard Biener --- Author: rguenth Date: Thu Mar 8 09:23:44 2018 New Revision: 258361 URL: https://gcc.gnu.org/viewcvs?rev=3D258361&root=3Dgcc&view=3Drev Log: 2018-03-08 Richard Biener PR tree-optimization/84746 * tree-ssa-pre.c (find_leader_in_sets): Deal with SET1 being NULL. (phi_translate): Pass in destination ANTIC_OUT set. (phi_translate_1): Likewise. For a simplified result lookup a leader in ANTIC_OUT and AVAIL_OUT, not the ANTIC_IN sets. (phi_translate_set): Adjust. (do_pre_regular_insertion): Likewise. (do_pre_partial_partial_insertion): Likewise. * gcc.dg/torture/pr84746.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr84746.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-pre.c >>From gcc-bugs-return-596689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:35:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11482 invoked by alias); 8 Mar 2018 09:35: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 11312 invoked by uid 55); 8 Mar 2018 09:35:03 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Thu, 08 Mar 2018 09:35: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz 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.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: 2018-03/txt/msg01277.txt.bz2 Content-length: 142 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 --- Comment #31 from Jan Hubicka --- I will take a look. Honza >>From gcc-bugs-return-596690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:42:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21269 invoked by alias); 8 Mar 2018 09:42: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 21192 invoked by uid 48); 8 Mar 2018 09:42:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84724] [7/8 Regression] internal compiler error: in single_succ_edge, at basic-block.h:339 with a declaration of __builtin_trap Date: Thu, 08 Mar 2018 09: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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.4 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: 2018-03/txt/msg01278.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84724 --- Comment #4 from Jakub Jelinek --- Created attachment 43595 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43595&action=3Dedit gcc8-pr84724.patch Untested fix. >>From gcc-bugs-return-596691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:49:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47792 invoked by alias); 8 Mar 2018 09:49: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 47689 invoked by uid 48); 8 Mar 2018 09:49:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Thu, 08 Mar 2018 09:49: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01279.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #32 from Martin Li=C5=A1ka --- Reopened. >>From gcc-bugs-return-596692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 09:54:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91267 invoked by alias); 8 Mar 2018 09: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 91185 invoked by uid 48); 8 Mar 2018 09:54:10 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Thu, 08 Mar 2018 09:54: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01280.txt.bz2 Content-length: 2727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 --- Comment #33 from Martin Li=C5=A1ka --- Can't reproduce the ICE on aarch64. There's my resolution file: cat -- -lm.res 2 20091210-1_0.o 20 213 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZN5Base1D2Ev 206 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTV5Base1 216 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZN5Base1D1Ev 261 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZN4Base1fEv 265 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZThn8_N4Base1fEv 268 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZN4BaseD2Ev 246 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTV4Base 270 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZN4BaseD1Ev 273 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZN4BaseD0Ev 275 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZN5Base1D0Ev 299 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTS5Base1 312 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTI5Base1 326 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTS5Base2 328 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTI5Base2 336 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTS4Base 362 a66530621f3cf044 PREVAILING_DEF_IRONLY _ZTI4Base 181 a66530621f3cf044 RESOLVED_DYN __gxx_personality_v0 323 a66530621f3cf044 RESOLVED_DYN _ZTVN10__cxxabiv117__class_type_infoE 368 a66530621f3cf044 RESOLVED_DYN _ZTVN10__cxxabiv121__vmi_class_type_infoE 284 a66530621f3cf044 RESOLVED_DYN _ZdlPvm 20091210-1_1.o 25 213 e10871a982460b97 PREEMPTED_IR _ZN5Base1D2Ev 206 e10871a982460b97 PREEMPTED_IR _ZTV5Base1 216 e10871a982460b97 PREEMPTED_IR _ZN5Base1D1Ev 279 e10871a982460b97 PREVAILING_DEF_IRONLY _ZN3Foo1gEv 282 e10871a982460b97 PREEMPTED_IR _ZN5Base1D0Ev 285 e10871a982460b97 PREVAILING_DEF main 291 e10871a982460b97 PREEMPTED_IR _ZN4BaseD2Ev 293 e10871a982460b97 PREEMPTED_IR _ZN4BaseD1Ev 296 e10871a982460b97 PREVAILING_DEF_IRONLY _ZN3FooD2Ev 264 e10871a982460b97 PREVAILING_DEF_IRONLY _ZTV3Foo 298 e10871a982460b97 PREVAILING_DEF_IRONLY _ZN3FooD1Ev 300 e10871a982460b97 PREVAILING_DEF_IRONLY _ZN3FooD0Ev 302 e10871a982460b97 PREEMPTED_IR _ZN4BaseD0Ev 332 e10871a982460b97 PREEMPTED_IR _ZTS5Base1 345 e10871a982460b97 PREEMPTED_IR _ZTI5Base1 364 e10871a982460b97 PREVAILING_DEF_IRONLY _ZTS3Foo 380 e10871a982460b97 PREVAILING_DEF_IRONLY _ZTI3Foo 181 e10871a982460b97 RESOLVED_DYN __gxx_personality_v0 253 e10871a982460b97 RESOLVED_IR _ZTV4Base 356 e10871a982460b97 RESOLVED_DYN _ZTVN10__cxxabiv117__class_type_infoE 386 e10871a982460b97 RESOLVED_DYN _ZTVN10__cxxabiv120__si_class_type_infoE 404 e10871a982460b97 RESOLVED_IR _ZTI4Base 306 e10871a982460b97 RESOLVED_IR _ZN4Base1fEv 308 e10871a982460b97 RESOLVED_IR _ZThn8_N4Base1fEv 317 e10871a982460b97 RESOLVED_DYN _ZdlPvm Can you please Christophe attach yours and take a look why the ICE is triggered? Thanks. >>From gcc-bugs-return-596693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:13:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5781 invoked by alias); 8 Mar 2018 10:13: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 5467 invoked by uid 48); 8 Mar 2018 10:13:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84076] [6/7/8 Regression] Warning about objects through POD mistakenly claims the object is a pointer Date: Thu, 08 Mar 2018 10: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: 7.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 6.5 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: 2018-03/txt/msg01281.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84076 --- Comment #6 from Jakub Jelinek --- Created attachment 43596 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43596&action=3Dedit gcc8-pr84076.patch Untested fix. >>From gcc-bugs-return-596694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:15:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15110 invoked by alias); 8 Mar 2018 10: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 14923 invoked by uid 48); 8 Mar 2018 10:15:55 -0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7/8 Regression] Code size increase for ARM compared to gcc-5.3.0 Date: Thu, 08 Mar 2018 10: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01282.txt.bz2 Content-length: 2179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 Aldy Hernandez changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gn= u.org --- Comment #30 from Aldy Hernandez --- Created attachment 43597 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43597&action=3Dedit untested patch implementing suggestion in comment 26 The attached untested patch attempts to implement the suggestion in comment= 26 of replacing the out-of-loop pre-inc with post-inc values. Richi, is this more or less what you had in mind? Assuming this: LOOP: # p_8 =3D PHI ... p_19 =3D p_8 + 4294967295; goto LOOP: The patch replaces: p_22 =3D p_8 + 4294967294; MEM[(char *)p_19 + 4294967295B] =3D 45; into: p_22 =3D p_19 + 4294967295; *p_22 =3D 45; This allows the backend to use auto-dec in two places: strb r1, [r4, #-1]! ... strblt r3, [r4, #-1]! ...reducing the byte count from 116 to 104, but just shy of the 96 needed to eliminate the regression. I will discuss the missing bytes in a follow-up comment, as they are unrelated to this IV adjustment patch. It is worth noting that x86 also benefits from a reduction of 3 bytes with = this patch, as we remove 2 lea instructions: one within the loop, and one before returning. Thus, I believe this is a regression across the board, or at le= ast in multiple architectures. A few comments... While I see the benefit of hijacking insert_backedge_copies() for this, I am not a big fan of changing the IL after the last tree dump (*t.optimized), as the modified IL would only be visible in *r.expand. Could we perhaps move = this to another spot? Say after the last forwprop pass, or perhaps right before expand? Or perhaps have a *t.final dump right before expand? As mentioned, this is only a proof of concept. I made the test rather restrictive. I suppose we could relax the conditions and generalize it a b= it.=20 There are comments throughout showing what I had in mind. >>From gcc-bugs-return-596695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:18:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20811 invoked by alias); 8 Mar 2018 10:18: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 20774 invoked by uid 48); 8 Mar 2018 10:18:54 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84758] New: Wrong coverage for quite simple CFG Date: Thu, 08 Mar 2018 10:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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 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: 2018-03/txt/msg01283.txt.bz2 Content-length: 1703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84758 Bug ID: 84758 Summary: Wrong coverage for quite simple CFG Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Following isolated test-case is wrong: $ cat gcovbug2.c int x, y; static void foo (int a, int b) { { if (a =3D=3D 1 || a =3D=3D 2) { x =3D 4; if (b =3D=3D 3) x =3D 6; } else x =3D 15; } } int main (void) { foo (2, 3); return 0; } $ gcc --coverage gcovbug2.c && ./a.out && gcov gcovbug2.c && cat gcovbug2.c.gcov File 'gcovbug2.c' Lines executed:90.00% of 10 Creating 'gcovbug2.c.gcov' -: 0:Source:gcovbug2.c -: 0:Graph:gcovbug2.gcno -: 0:Data:gcovbug2.gcda -: 0:Runs:1 -: 0:Programs:1 -: 1:int x, y; -: 2: -: 3:static void 1: 4:foo (int a, int b) -: 5:{ -: 6: { 1: 7: if (a =3D=3D 1 || a =3D=3D 2) -: 8: { 1: 9: x =3D 4; 2: 10: if (b =3D=3D 3) <---- this line is wrong 1: 11: x =3D 6; -: 12: } -: 13: else #####: 14: x =3D 15; -: 15: } 1: 16:} -: 17: -: 18:int 1: 19:main (void) -: 20:{ 1: 21: foo (2, 3); 1: 22: return 0; -: 23:} >>From gcc-bugs-return-596696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:21:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23153 invoked by alias); 8 Mar 2018 10:21: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 23096 invoked by uid 48); 8 Mar 2018 10:21:44 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84758] Wrong coverage for quite simple CFG Date: Thu, 08 Mar 2018 10:21: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: unknown X-Bugzilla-Keywords: 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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01284.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84758 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-596697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:32:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10051 invoked by alias); 8 Mar 2018 10:32: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 5040 invoked by uid 55); 8 Mar 2018 10:32:25 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7/8 Regression] Code size increase for x86/ARM/others compared to gcc-5.3.0 Date: Thu, 08 Mar 2018 10: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01285.txt.bz2 Content-length: 3394 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 --- Comment #31 from rguenther at suse dot de --- On Thu, 8 Mar 2018, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 >=20 > Aldy Hernandez changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot = gnu.org >=20 > --- Comment #30 from Aldy Hernandez --- > Created attachment 43597 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43597&action=3Dedit > untested patch implementing suggestion in comment 26 >=20 > The attached untested patch attempts to implement the suggestion in comme= nt 26 > of replacing the out-of-loop pre-inc with post-inc values. >=20 > Richi, is this more or less what you had in mind? Yes. > Assuming this: >=20 > LOOP: > # p_8 =3D PHI > ... > p_19 =3D p_8 + 4294967295; > goto LOOP: >=20 > The patch replaces: > p_22 =3D p_8 + 4294967294; > MEM[(char *)p_19 + 4294967295B] =3D 45; > into: > p_22 =3D p_19 + 4294967295; > *p_22 =3D 45; >=20 > This allows the backend to use auto-dec in two places: >=20 > strb r1, [r4, #-1]! > ... > strblt r3, [r4, #-1]! >=20 > ...reducing the byte count from 116 to 104, but just shy of the 96 needed= to > eliminate the regression. I will discuss the missing bytes in a follow-up > comment, as they are unrelated to this IV adjustment patch. >=20 > It is worth noting that x86 also benefits from a reduction of 3 bytes wit= h this > patch, as we remove 2 lea instructions: one within the loop, and one befo= re > returning. Thus, I believe this is a regression across the board, or at = least > in multiple architectures. >=20 > A few comments... >=20 > While I see the benefit of hijacking insert_backedge_copies() for this, I= am > not a big fan of changing the IL after the last tree dump (*t.optimized),= as > the modified IL would only be visible in *r.expand. Could we perhaps mov= e this > to another spot? Say after the last forwprop pass, or perhaps right befo= re > expand? Or perhaps have a *t.final dump right before expand? I don't see a big problem here - but yes, for example doing it during uncprop would be possible as well (moving all of insert_backedge_copies then). I'd not do this at this point though. > As mentioned, this is only a proof of concept. I made the test rather > restrictive. I suppose we could relax the conditions and generalize it a= bit.=20 > There are comments throughout showing what I had in mind. I'd have not restricted the out-of-loop IV use to IV +- CST but instead did the transform + LOOP: + # p_8 =3D PHI + ... + p_INC =3D p_8 - 1; + goto LOOP; + ... p_8 uses ... to + LOOP: + # p_8 =3D PHI + ... + p_INC =3D p_8 - 1; + goto LOOP; newtem_12 =3D p_INC + 1; // undo IV increment ... p_8 out-of-loop p_8 uses replaced with newtem_12 ... so it would always work if we can undo the IV increment. The disadvantage might be that we then rely on RTL optimizations to combine the original out-of-loop constant add with the newtem computation but I guess that's not too much to ask ;) k >>From gcc-bugs-return-596698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:34:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49289 invoked by alias); 8 Mar 2018 10:34: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 49057 invoked by uid 48); 8 Mar 2018 10:34:11 -0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7/8 Regression] Code size increase for x86/ARM/others compared to gcc-5.3.0 Date: Thu, 08 Mar 2018 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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01286.txt.bz2 Content-length: 1365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 --- Comment #32 from Aldy Hernandez --- As mentioned in the previous comment, the proposed patch brings down the co= unt from 116 to 108 on ARM, but is shy of the desired 96. The missing bytes can be attributed to forwprop folding this (IL expanded f= or illustration): if (ui_7 / 10 !=3D 0) into: if (ui_7 > 9) More specifically, changing this: # ui_7 =3D PHI ... ui_21 =3D ui_7 / 10; if (ui_21 !=3D 0) into: # ui_7 =3D PHI ... ui_21 =3D ui_7 / 10; if (ui_7 > 9) Inhibiting this optimization brings down the byte count to 92 which is even lower than our 96 boogie man, so perhaps worth pursuing. (Assumes my propo= sed patch is also applied.) I'm no expert, but isn't a EQ/NE with 0 preferable than a <> with a non-zero? If so, should we restrict the folding somewhat, or clean this up after the fact? For reference, the folding (in forwprop) is due to this match.pd pattern: /* X / C1 op C2 into a simple range test. */ ...though eliminating it causes another pattern to pick up the slack and do= the same: /* Transform: * (X / Y) =3D=3D 0 -> X < Y if X, Y are unsigned. * (X / Y) !=3D 0 -> X >=3D Y, if X, Y are unsigned. */ Eliminating both patterns "fixes" the problem. Suggestions welcome :). >>From gcc-bugs-return-596699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:37:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74849 invoked by alias); 8 Mar 2018 10:37: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 74733 invoked by uid 48); 8 Mar 2018 10:37:47 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7/8 Regression] Code size increase for x86/ARM/others compared to gcc-5.3.0 Date: Thu, 08 Mar 2018 10: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01287.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 --- Comment #33 from Segher Boessenkool --- The "> 9" transform reduces path length. But foe -Os that is often not a good idea. >>From gcc-bugs-return-596700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:46:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86659 invoked by alias); 8 Mar 2018 10:46: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 86589 invoked by uid 48); 8 Mar 2018 10:46:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84456] [8 regression] gcc.dg/guality/pr49888.c fail Date: Thu, 08 Mar 2018 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc 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: 2018-03/txt/msg01288.txt.bz2 Content-length: 3286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84456 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-08 CC| |jakub at gcc dot gnu.org Component|testsuite |debug Ever confirmed|0 |1 --- Comment #4 from Jakub Jelinek --- In gcc 7 as well as with -gvariable-location-views in trunk, the 6 problema= tic tests are UNSUPPORTED, due to: Breakpoint 1, f (p=3Dp@entry=3D0x7fffffffd844) at /usr/src/gcc-7/gcc/testsuite/gcc.dg/guality/pr49888.c:18 18 v =3D 0; /* { dg-final { gdb-test 18 "!c" "1" } } */ pr49888.gdb:3: Error in sourced command file: value has been optimized out UNSUPPORTED: gcc.dg/guality/pr49888.c -O1 line 18 !c =3D=3D 1 etc. On the trunk without location views, it is a FAIL instead: Breakpoint 1, f (p=3Dp@entry=3D0x7fffffffd7d4) at /usr/src/gcc/gcc/testsuite/gcc.dg/guality/pr49888.c:18 18 v =3D 0; /* { dg-final { gdb-test 18 "!c" "1" } } */ $1 =3D 0 $2 =3D 1 A debugging session is active. Inferior 1 [process 11689] will be killed. 0 !=3D 1 FAIL: gcc.dg/guality/pr49888.c -O1 line 18 !c =3D=3D 1 The *.final dump is still correct, on the trunk: 1: NOTE_INSN_DELETED 25: NOTE_INSN_VAR_LOCATION{loc di:DI} ! p var 4: NOTE_INSN_BASIC_BLOCK 2 17: NOTE_INSN_PROLOGUE_END 3: NOTE_INSN_FUNCTION_BEG 21: NOTE_INSN_BEGIN_STMT 26: NOTE_INSN_VAR_LOCATION{loc [di:DI]} ! c var 22: NOTE_INSN_BEGIN_STMT 23: NOTE_INSN_BEGIN_STMT 11: [di:DI]=3D0x1 REG_DEAD di:DI 27: NOTE_INSN_VAR_LOCATION{loc (nil)} ! c var 24: NOTE_INSN_BEGIN_STMT 13: [`v']=3D0 18: NOTE_INSN_EPILOGUE_BEG 19: simple_return 20: barrier 16: NOTE_INSN_DELETED and in 7.3 similarly with the NOTE_INSN_BEGIN_STMT deleted. 1: NOTE_INSN_DELETED 17: NOTE_INSN_VAR_LOCATION{loc di:DI} ! p var 4: NOTE_INSN_BASIC_BLOCK 2 13: NOTE_INSN_PROLOGUE_END 3: NOTE_INSN_FUNCTION_BEG 18: NOTE_INSN_VAR_LOCATION{loc [di:DI]} ! c var 8: [di:DI]=3D0x1 REG_DEAD di:DI 19: NOTE_INSN_VAR_LOCATION{loc (nil)} 9: [`v']=3D0 14: NOTE_INSN_EPILOGUE_BEG 15: simple_return 16: barrier 12: NOTE_INSN_DELETED The bug is that the trunk without -gvariable-location-views makes: .uleb128 0x2 # (DIE (0xb4) DW_TAG_variable) .ascii "c\0" # DW_AT_name .byte 0x1 # DW_AT_decl_file (pr49888.c) .byte 0xa # DW_AT_decl_line .byte 0x7 # DW_AT_decl_column .long 0x41 # DW_AT_type .uleb128 0x2 # DW_AT_location .byte 0x75 # DW_OP_breg5 .sleb128 0 out of it rather than the expected: .uleb128 0x9 # (DIE (0xaf) DW_TAG_variable) .ascii "c\0" # DW_AT_name .byte 0x1 # DW_AT_decl_file (pr49888.c) .byte 0xa # DW_AT_decl_line .long 0x40 # DW_AT_type .long .LLST0 # DW_AT_location that e.g. GCC 7 emits. >>From gcc-bugs-return-596701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:47:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88496 invoked by alias); 8 Mar 2018 10:47: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 88374 invoked by uid 55); 8 Mar 2018 10:47:20 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7/8 Regression] Code size increase for x86/ARM/others compared to gcc-5.3.0 Date: Thu, 08 Mar 2018 10: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01289.txt.bz2 Content-length: 3137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 --- Comment #34 from rguenther at suse dot de --- On Thu, 8 Mar 2018, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 >=20 > --- Comment #32 from Aldy Hernandez --- > As mentioned in the previous comment, the proposed patch brings down the = count > from 116 to 108 on ARM, but is shy of the desired 96. >=20 > The missing bytes can be attributed to forwprop folding this (IL expanded= for > illustration): >=20 > if (ui_7 / 10 !=3D 0) >=20 > into: >=20 > if (ui_7 > 9) >=20 > More specifically, changing this: >=20 > # ui_7 =3D PHI > ... > ui_21 =3D ui_7 / 10; > if (ui_21 !=3D 0) >=20 > into: >=20 > # ui_7 =3D PHI > ... > ui_21 =3D ui_7 / 10; > if (ui_7 > 9) >=20 > Inhibiting this optimization brings down the byte count to 92 which is ev= en > lower than our 96 boogie man, so perhaps worth pursuing. (Assumes my pro= posed > patch is also applied.) I'm no expert, but isn't a EQ/NE with 0 preferab= le > than a <> with a non-zero? >=20 > If so, should we restrict the folding somewhat, or clean this up after the > fact? >=20 > For reference, the folding (in forwprop) is due to this match.pd pattern: >=20 > /* X / C1 op C2 into a simple range test. */ >=20 > ...though eliminating it causes another pattern to pick up the slack and = do the > same: >=20 > /* Transform: > * (X / Y) =3D=3D 0 -> X < Y if X, Y are unsigned. > * (X / Y) !=3D 0 -> X >=3D Y, if X, Y are unsigned. > */ >=20 > Eliminating both patterns "fixes" the problem. >=20 > Suggestions welcome :). In other places where this happened we add single_use () checks to the patterns. The :s isn't really effective for patterns that simplify into "simple" expressions. A patch doing that to the two patterns in question would be OK I think. Sth like Index: gcc/match.pd =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/match.pd (revision 258359) +++ gcc/match.pd (working copy) @@ -1290,11 +1290,12 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) /* X / C1 op C2 into a simple range test. */ (for cmp (simple_comparison) (simplify - (cmp (trunc_div:s @0 INTEGER_CST@1) INTEGER_CST@2) + (cmp (trunc_div:s@3 @0 INTEGER_CST@1) INTEGER_CST@2) (if (INTEGRAL_TYPE_P (TREE_TYPE (@0)) && integer_nonzerop (@1) && !TREE_OVERFLOW (@1) - && !TREE_OVERFLOW (@2)) + && !TREE_OVERFLOW (@2) + && single_use (@3)) (with { tree lo, hi; bool neg_overflow; enum tree_code code =3D fold_div_compare (cmp, @1, @2, &lo, &hi, &neg_overflow); } tough there is at least one constant simplification result where we shouldn't apply this restriction so moving the single_use check to multiple places below or factoring things a bit would be appropriate. Similar for the other pattern then. >>From gcc-bugs-return-596702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:49:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41700 invoked by alias); 8 Mar 2018 10:49: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 41583 invoked by uid 55); 8 Mar 2018 10:49:34 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/70359] [6/7/8 Regression] Code size increase for x86/ARM/others compared to gcc-5.3.0 Date: Thu, 08 Mar 2018 10:49: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01290.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 --- Comment #35 from rguenther at suse dot de --- On Thu, 8 Mar 2018, segher at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70359 >=20 > --- Comment #33 from Segher Boessenkool --- > The "> 9" transform reduces path length. But foe -Os that is often not a > good idea. Hm, indeed - the > 9 might be notably faster. So it's not a clear win to disable the folding here. >>From gcc-bugs-return-596703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 10:49:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42444 invoked by alias); 8 Mar 2018 10:49: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 42368 invoked by uid 48); 8 Mar 2018 10:49:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84746] [7 Regression] ICE on valid code at -O2 and -O3: Segmentation fault Date: Thu, 08 Mar 2018 10: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: 8.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: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01291.txt.bz2 Content-length: 751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84746 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Known to work| |8.0 Target Milestone|8.0 |7.4 Summary|[8 Regression] ICE on valid |[7 Regression] ICE on valid |code at -O2 and -O3: |code at -O2 and -O3: |Segmentation fault |Segmentation fault --- Comment #10 from Richard Biener --- Fixed on trunk, I'm eventually going to backport a variant of this. >>From gcc-bugs-return-596704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:06:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123421 invoked by alias); 8 Mar 2018 11:06: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 123238 invoked by uid 48); 8 Mar 2018 11:06:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/84758] Wrong coverage for quite simple CFG Date: Thu, 08 Mar 2018 11:06: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: unknown X-Bugzilla-Keywords: 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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2018-03/txt/msg01292.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84758 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0 |9.0 >>From gcc-bugs-return-596705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:20:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31967 invoked by alias); 8 Mar 2018 11:20: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 31885 invoked by uid 48); 8 Mar 2018 11:20:52 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 11: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: 8.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01293.txt.bz2 Content-length: 1713 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #14 from Martin Li=C5=A1ka --- (In reply to Richard Biener from comment #13) > So you can loses the TREE_ADDRESSABLE restriction somewhat in requiring at > most one decl to be TREE_ADDRESSABLE - that's the one you need to keep, t= he > others may become aliases. Given TREE_ADDRESSABLE isn't reliable for > !TREE_STATIC vars > we can't merge any exported decls that way. Consider >=20 > const int foo1; > const int foo2; >=20 > int *bar(); // in other TU, returns address of foo1 >=20 > int main () > { > if (bar() !=3D &foo2) > ...; > } >=20 > not sure if we want to do hand-waving saying that we can't possibly have > points-to sets mentioning those without seeing the function IL. Well, > might be similarly hand-waving as the reference aliasing issue. >=20 > So we could drop the TREE_STATIC restriction if TREE_ADDRESSABLE is relia= ble > within the current TU. Note that this issue happens only with -fmerge-all-constants. And we have caveat in documentation that using the option, pointer comparison can be broken: Languages like C or C++ require each variable, including multiple instances of the same variable in recursive calls, to have distinct locations, so using this option results in non-conforming behavior. Thus: $ cat test.c const int foo1 =3D 3; const int foo2 =3D 3; const int * __attribute__((noinline)) bar() { return &foo1; } int main () { if ((bar() - &foo2) =3D=3D 0) __builtin_abort (); return 0; } $ gcc test.c -O2 -fno-ipa-icf -fmerge-all-constants && ./a.out=20 Aborted (core dumped) That said, would be Richi your comment in c#12 a sufficient fix? >>From gcc-bugs-return-596706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:21:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32421 invoked by alias); 8 Mar 2018 11:21: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 31949 invoked by uid 48); 8 Mar 2018 11:20:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84552] [6/7/8 Regression] Compile time hog w/ -O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon Date: Thu, 08 Mar 2018 11: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: 8.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01294.txt.bz2 Content-length: 1017 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84552 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 |P2 Target Milestone|8.0 |6.5 Summary|[8 Regression] Compile time |[6/7/8 Regression] Compile |hog w/ -O2 |time hog w/ -O2 |-floop-nest-optimize |-floop-nest-optimize |-fno-tree-copy-prop |-fno-tree-copy-prop |-fno-tree-fre |-fno-tree-fre |-fno-tree-loop-ivcanon |-fno-tree-loop-ivcanon --- Comment #3 from Richard Biener --- So this is really a latent issue and not dependent on -floop-nest-optimize.= It materializes during unrolling where we perform SCEV analysis on not up-to-d= ate SSA form when analyzing. >>From gcc-bugs-return-596707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:28:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39526 invoked by alias); 8 Mar 2018 11:28: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 39453 invoked by uid 48); 8 Mar 2018 11:28:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 11:28: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01295.txt.bz2 Content-length: 2238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #15 from Jakub Jelinek --- (In reply to Martin Li=C5=A1ka from comment #14) > (In reply to Richard Biener from comment #13) > > So you can loses the TREE_ADDRESSABLE restriction somewhat in requiring= at > > most one decl to be TREE_ADDRESSABLE - that's the one you need to keep,= the > > others may become aliases. Given TREE_ADDRESSABLE isn't reliable for > > !TREE_STATIC vars > > we can't merge any exported decls that way. Consider > >=20 > > const int foo1; > > const int foo2; > >=20 > > int *bar(); // in other TU, returns address of foo1 > >=20 > > int main () > > { > > if (bar() !=3D &foo2) > > ...; > > } > >=20 > > not sure if we want to do hand-waving saying that we can't possibly have > > points-to sets mentioning those without seeing the function IL. Well, > > might be similarly hand-waving as the reference aliasing issue. > >=20 > > So we could drop the TREE_STATIC restriction if TREE_ADDRESSABLE is rel= iable > > within the current TU. >=20 > Note that this issue happens only with -fmerge-all-constants. And we have > caveat > in documentation that using the option, pointer comparison can be broken: >=20 > Languages like C or C++ require each variable, > including multiple instances of the same variable in recursive > calls, to have distinct locations, so using this option results in > non-conforming behavior. >=20 > Thus: >=20 > $ cat test.c > const int foo1 =3D 3; > const int foo2 =3D 3; >=20 > const int * > __attribute__((noinline)) > bar() > { > return &foo1; > } >=20 > int main () > { > if ((bar() - &foo2) =3D=3D 0) > __builtin_abort (); >=20 > return 0; > } >=20 > $ gcc test.c -O2 -fno-ipa-icf -fmerge-all-constants && ./a.out=20 > Aborted (core dumped) Sure, the caveat of -fmerge-all-constants is that different constants can be merged. But that doesn't imply that the #c0 failure is fine, the testcase doesn't really care if kTestCases constant arrays from the two functions are merged together or not, if not, they will be separate, if yes, they will be the sa= me, but if it doesn't try to compare them in any way, it should make zero difference on the behavior. >>From gcc-bugs-return-596708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:30:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40983 invoked by alias); 8 Mar 2018 11:30: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 40805 invoked by uid 48); 8 Mar 2018 11:29:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 11:30: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01296.txt.bz2 Content-length: 2212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #16 from Richard Biener --- (In reply to Martin Li=C5=A1ka from comment #14) > (In reply to Richard Biener from comment #13) > > So you can loses the TREE_ADDRESSABLE restriction somewhat in requiring= at > > most one decl to be TREE_ADDRESSABLE - that's the one you need to keep,= the > > others may become aliases. Given TREE_ADDRESSABLE isn't reliable for > > !TREE_STATIC vars > > we can't merge any exported decls that way. Consider > >=20 > > const int foo1; > > const int foo2; > >=20 > > int *bar(); // in other TU, returns address of foo1 > >=20 > > int main () > > { > > if (bar() !=3D &foo2) > > ...; > > } > >=20 > > not sure if we want to do hand-waving saying that we can't possibly have > > points-to sets mentioning those without seeing the function IL. Well, > > might be similarly hand-waving as the reference aliasing issue. > >=20 > > So we could drop the TREE_STATIC restriction if TREE_ADDRESSABLE is rel= iable > > within the current TU. >=20 > Note that this issue happens only with -fmerge-all-constants. And we have > caveat > in documentation that using the option, pointer comparison can be broken: >=20 > Languages like C or C++ require each variable, > including multiple instances of the same variable in recursive > calls, to have distinct locations, so using this option results in > non-conforming behavior. >=20 > Thus: >=20 > $ cat test.c > const int foo1 =3D 3; > const int foo2 =3D 3; >=20 > const int * > __attribute__((noinline)) > bar() > { > return &foo1; > } >=20 > int main () > { > if ((bar() - &foo2) =3D=3D 0) > __builtin_abort (); >=20 > return 0; > } >=20 > $ gcc test.c -O2 -fno-ipa-icf -fmerge-all-constants && ./a.out=20 > Aborted (core dumped) >=20 > That said, would be Richi your comment in c#12 a sufficient fix? Hum, isn't the bug INVALID then? Shouldn't we restrict -fmerge-all-constan= ts to not address-taken variables to not make the option useless? The suggested fix in c#12 is a band-aid only. What's the impact of not merging TREE_ADDRESSABLE decls into other decls? I presume -fmerge-all-constants pre-dates ICF? >>From gcc-bugs-return-596709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:34:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47121 invoked by alias); 8 Mar 2018 11:34: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 47039 invoked by uid 48); 8 Mar 2018 11:34:18 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 11:34: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01297.txt.bz2 Content-length: 780 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #17 from Jakub Jelinek --- (In reply to Richard Biener from comment #16) > Hum, isn't the bug INVALID then? Shouldn't we restrict -fmerge-all-const= ants No. > to not address-taken variables to not make the option useless? -fmerge-all-constants is an extension where the addresses of the constant variables may be the same even if without the option they would need to be guaranteed to be different. That is the whole point of the option, many pe= ople just don't care about it and care more about .rodata size, so they have an option to tell the compiler about it. > I presume -fmerge-all-constants pre-dates ICF? Yes, by far. -fmerge-all-constants is from 2001, ICF from 2014. >>From gcc-bugs-return-596710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:36:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74481 invoked by alias); 8 Mar 2018 11:36: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 74458 invoked by uid 48); 8 Mar 2018 11:36:12 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84742] internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Date: Thu, 08 Mar 2018 11:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg01298.txt.bz2 Content-length: 388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84742 --- Comment #2 from Vegard Nossum --- Created attachment 43598 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43598&action=3Dedit ASAN output I compiled gcc itself using -fstack-protector-all -fsanitize=3Daddress and = it occasionally gives me the "heap-use-after-free" error (log attached). >>From gcc-bugs-return-596711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:44:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80031 invoked by alias); 8 Mar 2018 11:44: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 79997 invoked by uid 48); 8 Mar 2018 11:44:07 -0000 From: "b7.10110111 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/54183] Generate __udivmoddi4 instead of __udivdi3 plus __umoddi3 Date: Thu, 08 Mar 2018 11:44: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: 4.8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: b7.10110111 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: 2018-03/txt/msg01299.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54183 Ruslan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b7.10110111 at gmail dot c= om --- Comment #1 from Ruslan --- This seems to be fixed in GCC 7: see https://godbolt.org/g/Mz3Qi6 for examp= le. >>From gcc-bugs-return-596712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:52:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10246 invoked by alias); 8 Mar 2018 11:52: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 10198 invoked by uid 48); 8 Mar 2018 11:52:53 -0000 From: "b7.10110111 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84759] New: Calculation of quotient and remainder with constant denominator uses __umoddi3+__udivdi3 instead of __udivmoddi4 Date: Thu, 08 Mar 2018 11:52: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: b7.10110111 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: 2018-03/txt/msg01300.txt.bz2 Content-length: 2425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84759 Bug ID: 84759 Summary: Calculation of quotient and remainder with constant denominator uses __umoddi3+__udivdi3 instead of __udivmoddi4 Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: b7.10110111 at gmail dot com Target Milestone: --- Starting from GCC 7, code calculating both quotient and remainder of a loong division calls a single __udivmodti4. But this only happens for general val= ues of denominator, while for specific constants for some reason GCC still generates calls to __umodti3 and __udivti3. See the following code (the pic= ture is the same for x86 and amd64 targets): #ifdef __SIZEOF_INT128__ typedef __uint128_t Longer; #else typedef unsigned long long Longer; #endif typedef unsigned long Shorter; Shorter divmod(Longer numerator, Shorter denominator, Shorter* remainder) { *remainder =3D numerator%denominator; return numerator/denominator; } Shorter divmodConst(Longer numerator, Shorter* remainder) { const Shorter denominator =3D 100; *remainder =3D numerator%denominator; return numerator/denominator; } Here divmod is optimized, while divmodConst appears not optimized: divmod: sub esp, 28 xor edx, edx mov eax, DWORD PTR [esp+40] lea ecx, [esp+8] sub esp, 12 push ecx push edx push eax push DWORD PTR [esp+60] push DWORD PTR [esp+60] call __udivmoddi4 mov edx, DWORD PTR [esp+76] mov ecx, DWORD PTR [esp+40] mov DWORD PTR [edx], ecx add esp, 60 ret divmodConst: push edi push esi sub esp, 4 mov esi, DWORD PTR [esp+16] mov edi, DWORD PTR [esp+20] push 0 push 100 push edi push esi call __umoddi3 add esp, 16 mov edx, DWORD PTR [esp+24] mov DWORD PTR [edx], eax push 0 push 100 push edi push esi call __udivdi3 add esp, 20 pop esi pop edi ret >>From gcc-bugs-return-596713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:55:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21550 invoked by alias); 8 Mar 2018 11: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 21478 invoked by uid 48); 8 Mar 2018 11:55:47 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84742] internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Date: Thu, 08 Mar 2018 11:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg01301.txt.bz2 Content-length: 524 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84742 --- Comment #3 from Vegard Nossum --- gcc/recog.c:2395 is: 2390 case '0': case '1': case '2': case '3': case '4': 2391 case '5': case '6': case '7': case '8': case '9': 2392 { 2393 char *end; 2394 op_alt[i].matches =3D strtoul (p, &end, 10); 2395 op_alt[op_alt[i].matches].matched =3D i; 2396 p =3D end; 2397 } 2398 continue; It's a bit weird because I don't see any digits in the constraints in the t= est case. >>From gcc-bugs-return-596714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 11:57:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24302 invoked by alias); 8 Mar 2018 11:57: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 24190 invoked by uid 48); 8 Mar 2018 11:57:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84456] [8 regression] gcc.dg/guality/pr49888.c fail Date: Thu, 08 Mar 2018 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01302.txt.bz2 Content-length: 2431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84456 --- Comment #5 from Jakub Jelinek --- So, the bug is that GCC 7's dw_loc_list tail: /* Try to avoid the overhead of a location list emitting a location expression instead, but only if we didn't have more than one location entry in the first place. If some entries were not representable, we don't want to pretend a single entry that was applies to the entire scope in which the variable is available. */ if (list && loc_list->first->next) gen_llsym (list); has been replaced with: /* Try to avoid the overhead of a location list emitting a location expression instead, but only if we didn't have more than one location entry in the first place. If some entries were not representable, we don't want to pretend a single entry that was applies to the entire scope in which the variable is available. */ maybe_gen_llsym (list); where maybe_gen_llsym has: if (!list || (!list->dw_loc_next && !loc_list_has_views (list))) return; gen_llsym (list); That is not really equivalent; it is equivalent in the other spot, where it used to be: if (list && list->dw_loc_next) gen_llsym (list); and now is: maybe_gen_llsym (list); but in the first case, we were calling gen_llsym even when list && list->dw_loc_next =3D=3D NULL, intentionally so, that means we got some loc= ation note that would start the range and then another one that resets the range. The following patch fixes this for me: 2018-03-08 Jakub Jelinek PR debug/84456 * dwarf2out.c (dw_loc_list): If list && loc_list->first->next, call gen_llsym, otherwise call maybe_gen_llsym. --- gcc/dwarf2out.c.jj 2018-03-02 00:15:54.704780976 +0100 +++ gcc/dwarf2out.c 2018-03-08 12:54:01.794054675 +0100 @@ -17076,7 +17076,10 @@ dw_loc_list (var_loc_list *loc_list, tre representable, we don't want to pretend a single entry that was applies to the entire scope in which the variable is available. */ - maybe_gen_llsym (list); + if (list && loc_list->first->next) + gen_llsym (list); + else + maybe_gen_llsym (list); return list; } The maybe_gen_llsym will cover the case when -gvariable-location-views and list && list->dw_loc_next =3D=3D NULL && loc_list->first->next =3D=3D NULL = and the single entry list has some non-zero view. >>From gcc-bugs-return-596715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 12:06:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94205 invoked by alias); 8 Mar 2018 12:06: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 94096 invoked by uid 48); 8 Mar 2018 12:06:30 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/83193] Help for invalid -march= options from cc1 omits -march=native on x86-64, arm. aarch64, output also inconsistent Date: Thu, 08 Mar 2018 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 8.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: 2018-03/txt/msg01303.txt.bz2 Content-length: 525 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83193 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktkachov at gcc dot gnu.org --- Comment #14 from ktkachov at gcc dot gnu.org --- I'm testing a patch for issue 2b) from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83193#c6 .=20 Thanks for Andrew for the report and thanks Martin for the analysis! >>From gcc-bugs-return-596716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 12:18:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102228 invoked by alias); 8 Mar 2018 12:18: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 102190 invoked by uid 55); 8 Mar 2018 12:18:08 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84178] [7/8 Regression] ICE in release_bb_predicate Date: Thu, 08 Mar 2018 12: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: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01304.txt.bz2 Content-length: 3188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84178 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Thu Mar 8 12:17:36 2018 New Revision: 258363 URL: https://gcc.gnu.org/viewcvs?rev=3D258363&root=3Dgcc&view=3Drev Log: tree-if-conv.c: fix ICE seen with -fno-tree-forwprop (PR tree-optimization/84178) PR tree-optimization/84178 reports a couple of source files that ICE inside ifcvt when compiled with -03 -fno-tree-forwprop (trunk and gcc 7). Both cases involve problems with ifcvt's per-BB gimplified predicates. Testcase 1 fails this assertion within release_bb_predicate during cleanup: 283 if (flag_checking) 284 for (gimple_stmt_iterator i =3D gsi_start (stmts); 285 !gsi_end_p (i); gsi_next (&i)) 286 gcc_assert (! gimple_use_ops (gsi_stmt (i))); The testcase contains a division in the loop, which leads to if_convertible_loop_p returning false (due to gimple_could_trap_p being true for the division). This happens *after* the per-BB gimplified predicates have been created in predicate_bbs (loop). Hence tree_if_conversion bails out to "cleanup", but the gimplified predica= tes exist and make use of SSA names; for example this conjunction for two BB conditions: _4 =3D h4.1_112 !=3D 0; _175 =3D (signed char) _117; _176 =3D _175 >=3D 0; _174 =3D _4 & _176; is using SSA names. This assertion was added in r236498 (aka c3deca2519d97c55876869c57cf11ae1e5c6cf8b): 2016-05-20 Richard Biener * tree-if-conv.c (add_bb_predicate_gimplified_stmts): Use gimple_seq_add_seq_without_update. (release_bb_predicate): Assert we have no operands to free. (if_convertible_loop_p_1): Calculate post dominators later. Do not free BB predicates here. (combine_blocks): Do not recompute BB predicates. (version_loop_for_if_conversion): Save BB predicates around loop versioning. * gcc.dg/tree-ssa/ifc-cd.c: Adjust. The following patch fixes this by adding a call to gimple_seq_discard to release_bb_predicate. It also updates the assertion, so that instead of asserting the stmts have no imm uses, instead assert that they weren't added to a bb before discarding them (otherwise discarding them would be a bug). We know this is the case because insert_gimplified_predicates has: /* Once the sequence is code generated, set it to NULL. */ set_bb_predicate_gimplified_stmts (bb, NULL); but asserting it seems appropriate as a double-check. The patch doesn't address the 2nd issue within PR tree-optimization/84178. gcc/ChangeLog: PR tree-optimization/84178 * tree-if-conv.c (release_bb_predicate): Remove the the assertion that the stmts have NULL use_ops. Discard the statements, asserting that they haven't yet been added to a BB. gcc/testsuite/ChangeLog: PR tree-optimization/84178 * gcc.c-torture/compile/pr84178-1.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr84178-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-596717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 12:20:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103917 invoked by alias); 8 Mar 2018 12:20: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 103828 invoked by uid 55); 8 Mar 2018 12:20:41 -0000 From: "ramana.radhakrishnan at foss dot arm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer Date: Thu, 08 Mar 2018 12:20: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana.radhakrishnan at foss dot arm.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01305.txt.bz2 Content-length: 1128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 --- Comment #18 from ramana.radhakrishnan at foss dot arm.com --- On 07/03/2018 18:59, sudi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 >=20 > --- Comment #17 from sudi at gcc dot gnu.org --- > I looked up what other targets were doing and one thing found to be inter= esting > was that a lot of them are defining the target hook > TARGET_BUILTIN_SETJMP_FRAME_VALUE. In AArch64 case I am suggesting to def= ine it > to return the hard frame pointer. That seems to solve the issue with both= the > attached test case and the test that Wilco mentioned. >=20 > Does this look like it solves "mid-end versus back-end : who fixes this i= ssue" > problem? >=20 > I am still pretty new to knowing how the stack should actually look. So c= alling > for some help! >=20 > Sudi >=20 That looks sensible. Especially see the comment in arc/arc.c - that seems to mirror the decision we want in AArch64 as well. The logic / comment around this in the arc port seems quite reasonable to me and looks like what we can have on AArch64 as well. Ramana >>From gcc-bugs-return-596718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 12:22:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108169 invoked by alias); 8 Mar 2018 12: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 108130 invoked by uid 48); 8 Mar 2018 12:22:33 -0000 From: "vegard.nossum at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84742] internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Date: Thu, 08 Mar 2018 12:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vegard.nossum 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: 2018-03/txt/msg01306.txt.bz2 Content-length: 882 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84742 --- Comment #4 from Vegard Nossum --- So I think the problem is that this loop in lra_set_insn_recog_data() counts the number of commas and uses that as the number of alternatives: 1018 for (p =3D constraints[0]; *p; p++) 1019 nalt +=3D *p =3D=3D ','; And then later we can skip over the comma inside preprocess_constraints() because 'T' is not recognised in the switch and then it does: p +=3D CONSTRAINT_LEN (c, p); where CONSTRAINT_LEN for 'T' is 2: static inline size_t insn_constraint_len (char fc, const char *str ATTRIBUTE_UNUSED) { switch (fc) { case 'B': return 2; case 'T': return 2; case 'W': return 2; case 'Y': return 2; default: break; } return 1; } (so the real problematic bit of the constraint is this: "T,") >>From gcc-bugs-return-596719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 12:23:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41826 invoked by alias); 8 Mar 2018 12:23: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 35512 invoked by uid 48); 8 Mar 2018 12:23:33 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84178] [7/8 Regression] ICE in release_bb_predicate Date: Thu, 08 Mar 2018 12: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: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01307.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84178 --- Comment #7 from David Malcolm --- (In reply to David Malcolm from comment #6) > Author: dmalcolm > Date: Thu Mar 8 12:17:36 2018 > New Revision: 258363 This fixes the testcase in comment #0 on trunk. Not yet fixed for gcc-7-branch. The testcase in comment #2 still affects trunk and gcc-7-branch; candidate patch for that is here: https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00376.html >>From gcc-bugs-return-596720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 12:39:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37849 invoked by alias); 8 Mar 2018 12:39: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 37123 invoked by uid 48); 8 Mar 2018 12:39:22 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84759] Calculation of quotient and remainder with constant denominator uses __umoddi3+__udivdi3 instead of __udivmoddi4 Date: Thu, 08 Mar 2018 12: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.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: 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: 2018-03/txt/msg01308.txt.bz2 Content-length: 728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84759 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prathamesh3492 at gcc dot = gnu.org --- Comment #1 from prathamesh3492 at gcc dot gnu.org --- In the former case, the divmod transform takes place and we emit call to __udivmoddi4. However it does't trigger for divmodConst, because we avoid handling constants in the transform since expand_divmod has specialized expansions for few constants, which would otherwise have been missed. I sup= pose this could be somewhat improved. Thanks, Prathamesh >>From gcc-bugs-return-596721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 12:57:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31977 invoked by alias); 8 Mar 2018 12:57: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 31869 invoked by uid 55); 8 Mar 2018 12:57:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84178] [7/8 Regression] ICE in release_bb_predicate Date: Thu, 08 Mar 2018 12: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: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01309.txt.bz2 Content-length: 806 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84178 --- Comment #8 from Richard Biener --- Author: rguenth Date: Thu Mar 8 12:56:40 2018 New Revision: 258364 URL: https://gcc.gnu.org/viewcvs?rev=3D258364&root=3Dgcc&view=3Drev Log: 2018-03-08 Richard Biener PR tree-optimization/84178 * tree-if-conv.c (combine_blocks): Move insert_gimplified_predicates to caller. (version_loop_for_if_conversion): Delay update_ssa call. (tree_if_conversion): Delay update_ssa until after predicate insertion. * gcc.dg/torture/pr84178-2.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr84178-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-if-conv.c >>From gcc-bugs-return-596722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:03:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41644 invoked by alias); 8 Mar 2018 13: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 41547 invoked by uid 55); 8 Mar 2018 13:03:44 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Thu, 08 Mar 2018 13:03: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01310.txt.bz2 Content-length: 263 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 --- Comment #34 from Jan Hubicka --- Hi, I do not get any assertion at lto.c:840, so please also check if that still reproduce with current branch and let us know the backtrace. Honza >>From gcc-bugs-return-596723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:08:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45299 invoked by alias); 8 Mar 2018 13:08: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 45213 invoked by uid 55); 8 Mar 2018 13:08:04 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 13:08: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01311.txt.bz2 Content-length: 2547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #18 from rguenther at suse dot de --- On Thu, 8 Mar 2018, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 >=20 > --- Comment #17 from Jakub Jelinek --- > (In reply to Richard Biener from comment #16) > > Hum, isn't the bug INVALID then? Shouldn't we restrict -fmerge-all-con= stants >=20 > No. >=20 > > to not address-taken variables to not make the option useless? >=20 > -fmerge-all-constants is an extension where the addresses of the constant > variables may be the same even if without the option they would need to be > guaranteed to be different. That is the whole point of the option, many = people > just don't care about it and care more about .rodata size, so they have an > option to tell the compiler about it. That's not really an answer to the question ... But anyway, we have precedence in points-to-set editing which we do during RTL expansion to reflect variable coalescing. So ... a different approach for fixing would be if ICF would keep a) a global bitmap of all DECL_UID that took part in any merging operation b) a mapping of merged DECL_UID to prevailing DECL_UID (which is also the DECL_PT_UID of the merged ones) then during IPA ICF transform phase do FOR_EACH_DEFINED_FUNCTION (...) { FOR_EACH_SSA_NAME_FN (..., name) if (POINTER_TYPE_P (TREE_TYPE (name)) && SSA_NAME_PTR_INFO (name)) fixup_pt_set (&SSA_NAME_PTR_INFO (name)->pt); fixup_pt_set (fn->gimple_df->escaped); /* The above get's us to 99% I guess, at least catching the address compares. Below also gets us aliasing correct but as said we're giving leeway to the situation with readonly vars anyway, so ... */ FOR_EACH_BB_FN (...) for (each-stmt) if (is_gimple_call (...)) { fixup_pt_set (gimple_call_use_set (call)); fixup_pt_set (gimple_call_clobber_set (call)); } } and fixup_pt_set essentially doing EXECUTE_IF_AND_IN_BITMAP (pt->vars, bitmap-of-merged-decls, 0, i, bi) bitmap_set_bit (pt->vars, *merged_uid_to_pt_uid->get (i)); that would be a "real" fix, also allowing the forthcoming pointer comparison optimization using two pointers (and thus two points-to sets). > > I presume -fmerge-all-constants pre-dates ICF? >=20 > Yes, by far. -fmerge-all-constants is from 2001, ICF from 2014. >>From gcc-bugs-return-596724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:19:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106791 invoked by alias); 8 Mar 2018 13:19: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 104218 invoked by uid 48); 8 Mar 2018 13:19:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84742] internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Date: Thu, 08 Mar 2018 13:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-03/txt/msg01312.txt.bz2 Content-length: 1870 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84742 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jakub at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Target Milestone|--- |8.0 --- Comment #5 from Jakub Jelinek --- We have many loops that assume the constraints are sane and it is safe to s= kip all the CONSTRAINT_LEN characters, so I think it is desirable to catch this early. asm_operand_ok already has: len =3D CONSTRAINT_LEN (c, constraint); do constraint++; while (--len && *constraint); if (len) return 0; which catches multi-character constraints with '\0' in the middle of it, and rejects those during vregs pass that also removes them: if (asm_noperands (PATTERN (insn)) >=3D 0) { if (!check_asm_operands (PATTERN (insn))) { error_for_asm (insn, "impossible constraint in %"); /* For asm goto, instead of fixing up all the edges just clear the template and clear input operands (asm goto doesn't have any output operands). */ if (JUMP_P (insn)) { rtx asm_op =3D extract_asm_operands (PATTERN (insn)); ASM_OPERANDS_TEMPLATE (asm_op) =3D ggc_strdup (""); ASM_OPERANDS_INPUT_VEC (asm_op) =3D rtvec_alloc (0); ASM_OPERANDS_INPUT_CONSTRAINT_VEC (asm_op) =3D rtvec_alloc (0= ); } else delete_insn (insn); } } So I'm just adding a check for ',' inside such constraints too. >>From gcc-bugs-return-596725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:28:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31982 invoked by alias); 8 Mar 2018 13:28: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 31901 invoked by uid 48); 8 Mar 2018 13:28:52 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Thu, 08 Mar 2018 13: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01313.txt.bz2 Content-length: 1266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 --- Comment #35 from Christophe Lyon --- It took me a while to reproduce manually: there is an ICE at r258321, which= is fixed by the next backport (r258322), at which point there 6 failures on aarch64-none-elf: FAIL: g++.dg/lto/20081125 cp_lto_20081125_0.o-cp_lto_20081125_1.o link, -fl= to -flto-partition=3D1to1 FAIL: g++.dg/lto/20090311 cp_lto_20090311_0.o-cp_lto_20090311_1.o link, -O0 -flto -flto-partition=3Dnone -fuse-linker-plugin FAIL: g++.dg/lto/20090311 cp_lto_20090311_0.o-cp_lto_20090311_1.o link, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects=20 FAIL: g++.dg/lto/20091210-1 cp_lto_20091210-1_0.o-cp_lto_20091210-1_1.o lin= k, -O0 -flto -flto-partition=3Dnone -fuse-linker-plugin FAIL: g++.dg/lto/20091210-1 cp_lto_20091210-1_0.o-cp_lto_20091210-1_1.o lin= k, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects=20 FAIL: g++.dg/torture/pr67600.C -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) But my first manual attempt at r258359 had no failure, so the above ones a probably fixed between r258322 and r258359. My validation is triggered at every commit on the release branches, so sometimes this gives too much detail it seems :) >>From gcc-bugs-return-596726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:30:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33934 invoked by alias); 8 Mar 2018 13: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 33719 invoked by uid 48); 8 Mar 2018 13:30:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84742] internal compiler error: in process_alt_operands, at lra-constraints.c:2112 Date: Thu, 08 Mar 2018 13:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01314.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84742 --- Comment #6 from Jakub Jelinek --- Created attachment 43599 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43599&action=3Dedit gcc8-pr84742.patch Untested fix. >>From gcc-bugs-return-596727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:36:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72705 invoked by alias); 8 Mar 2018 13:36: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 72638 invoked by uid 48); 8 Mar 2018 13:36:52 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 13:36: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01315.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #19 from Martin Li=C5=A1ka --- Just having chat with Honza and he is curious why IPA passes should maintain points-to-sets info as it's rebuild in pass_build_alias quite soon in post = IPA passes? Another question is why the pass_rebuild_alias isn't the first one = and is sitting after CCP? Isn't also possible to release all points-to-sets before IPA passes? That c= an save some memory. >>From gcc-bugs-return-596728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:38:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78181 invoked by alias); 8 Mar 2018 13:38: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 78102 invoked by uid 48); 8 Mar 2018 13:38:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 13:38: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01316.txt.bz2 Content-length: 149 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #20 from Jakub Jelinek --- How would IPA-PTA work then? >>From gcc-bugs-return-596729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:42:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99025 invoked by alias); 8 Mar 2018 13:42: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 98954 invoked by uid 48); 8 Mar 2018 13:41:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 13:42: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01317.txt.bz2 Content-length: 314 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #21 from Martin Li=C5=A1ka --- (In reply to Jakub Jelinek from comment #20) > How would IPA-PTA work then? Not having experience how that works, but I would expect a complete rebuild. Similar to what the tree PTA does? >>From gcc-bugs-return-596730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:45:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110060 invoked by alias); 8 Mar 2018 13:45: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 109843 invoked by uid 48); 8 Mar 2018 13:45:30 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81004] [7 Regression] linking failed with -flto and static libboost_program_options Date: Thu, 08 Mar 2018 13:45: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: 7.1.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01318.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81004 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #36 from Martin Li=C5=A1ka --- That said it's fixed. >>From gcc-bugs-return-596731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:49:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112756 invoked by alias); 8 Mar 2018 13:49: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 112603 invoked by uid 48); 8 Mar 2018 13:48:47 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80452] [DR 1579] incorrect value category deduced for return value Date: Thu, 08 Mar 2018 13: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: 6.3.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01319.txt.bz2 Content-length: 144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80452 --- Comment #7 from Jonathan Wakely --- return std::move(cv); >>From gcc-bugs-return-596732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:50:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114212 invoked by alias); 8 Mar 2018 13:50: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 114159 invoked by uid 48); 8 Mar 2018 13:50:22 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 13:50: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01320.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #22 from Martin Li=C5=A1ka --- (In reply to Martin Li=C5=A1ka from comment #21) > (In reply to Jakub Jelinek from comment #20) > > How would IPA-PTA work then? >=20 > Not having experience how that works, but I would expect a complete rebui= ld. > Similar to what the tree PTA does? Note that the TREE PTA is just a TODO_rebuild_alias flag. Thus I would expe= ct IPA PTA is also a rebuild of PTA information. >>From gcc-bugs-return-596733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 13:54:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10023 invoked by alias); 8 Mar 2018 13:54: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 9965 invoked by uid 48); 8 Mar 2018 13:54:29 -0000 From: "rainer@emrich-ebersheim.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84277] [8 Regression] A lot of new acats testsuite failures Date: Thu, 08 Mar 2018 13: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rainer@emrich-ebersheim.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01321.txt.bz2 Content-length: 2375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84277 --- Comment #15 from Rainer Emrich --- Hi Eric, thanks for all your work. Unfortunately your changes introduced an ICE while building binutils 2.19.1: make[4]: Entering directory '/opt/devel/SCRATCH/tmp.5VoInHZZvv/gcc-8.0.0/binutils-2.29.1/opcodes' /bin/sh ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd -I./../i= ntl=20 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=3D= 262144 -g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo = -c -o i386-dis.lo /opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd -I./../in= tl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=3D= 262144 -g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo = -c /opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c -o i386-dis.o during RTL pass: final D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c: In function 'print_insn': D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c:13471= :1: internal compiler error: in i386_pe_seh_cold_init, at config/i386/winnt.c:9= 13 } ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[4]: *** [Makefile:1005: i386-dis.lo] Error 1 make[4]: Leaving directory '/opt/devel/SCRATCH/tmp.5VoInHZZvv/gcc-8.0.0/binutils-2.29.1/opcodes' I did not run the testsuite so far. I always bootstrap gcc, build all prerequisites with the just bootstrapped gcc and boostrap again using the bootstrapped gcc as bootstrap compiler. This process has uncovered several issues in the past, including this one. >>From gcc-bugs-return-596734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 14:08:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40510 invoked by alias); 8 Mar 2018 14:08: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 24271 invoked by uid 48); 8 Mar 2018 14:08:18 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84277] [8 Regression] A lot of new acats testsuite failures Date: Thu, 08 Mar 2018 14:08: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01322.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84277 --- Comment #16 from Eric Botcazou --- > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > make[4]: *** [Makefile:1005: i386-dis.lo] Error 1 > make[4]: Leaving directory > '/opt/devel/SCRATCH/tmp.5VoInHZZvv/gcc-8.0.0/binutils-2.29.1/opcodes' Then do as indicated and open a new bug report. >>From gcc-bugs-return-596735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 14:13:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 346 invoked by alias); 8 Mar 2018 14:13: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 113707 invoked by uid 48); 8 Mar 2018 14:13:44 -0000 From: "kelvin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84760] New: Finish implementation of __builtin_altivec_lvx_v1ti Date: Thu, 08 Mar 2018 14:13: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kelvin 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: 2018-03/txt/msg01323.txt.bz2 Content-length: 932 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84760 Bug ID: 84760 Summary: Finish implementation of __builtin_altivec_lvx_v1ti Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kelvin at gcc dot gnu.org Target Milestone: --- The gcc/config/rs6000/rs6000-builtin.def source file contains an entry that introduces the enumeration constant ALTIVEC_BUILTIN_LVX_V1TI and the built-= in function __builtin_atlivec_lvx_v1ti: BU_ALTIVEC_X (LVX_V1TI, "lvx_v1ti", MEM) The remainder of the implementation, which is required to define the protot= ype for this function and to connect the function with its implementation, is missing. This was an apparent oversight at the time that this definition w= as introduced. T >>From gcc-bugs-return-596736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 14:34:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117127 invoked by alias); 8 Mar 2018 14:34: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 117055 invoked by uid 55); 8 Mar 2018 14:34:03 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation. Date: Thu, 08 Mar 2018 14:34: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.0.1 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-03/txt/msg01324.txt.bz2 Content-length: 1149 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 --- Comment #23 from rguenther at suse dot de --- On Thu, 8 Mar 2018, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84658 >=20 > --- Comment #22 from Martin Li=C5=A1ka --- > (In reply to Martin Li=C5=A1ka from comment #21) > > (In reply to Jakub Jelinek from comment #20) > > > How would IPA-PTA work then? > >=20 > > Not having experience how that works, but I would expect a complete reb= uild. > > Similar to what the tree PTA does? >=20 > Note that the TREE PTA is just a TODO_rebuild_alias flag. Thus I would ex= pect > IPA PTA is also a rebuild of PTA information. IPA PTA rebuilds everything (and with -fipa-pta we should be fine). The=20 issue is the time between IPA ICF and the late pass_build_alias, we do the "invalid" folding in pass_ccp. And yes, we do want to do some scalar cleanup before running PTA. If we'd decide not to then the "proper" place would probably be pass_ipa_pta which then either would do local PTA or IPA PTA based on the flag. But that's too much for GCC 8 or 7. >>From gcc-bugs-return-596737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 14:35:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120082 invoked by alias); 8 Mar 2018 14:35: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 119982 invoked by uid 48); 8 Mar 2018 14:34:58 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84761] New: AddressSanitizer is not compatible with glibc 2.27 on x86 Date: Thu, 08 Mar 2018 14:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 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: 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: 2018-03/txt/msg01325.txt.bz2 Content-length: 3441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84761 Bug ID: 84761 Summary: AddressSanitizer is not compatible with glibc 2.27 on x86 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: vincent-gcc at vinc17 dot net CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxi= n at gcc dot gnu.org Target Milestone: --- After an upgrade to glibc 2.27 on a Debian/unstable machine, on a program t= hat does nothing, the AddressSanitizer segfaults with the 32-bit x86 ABI. I have the following gcc-snapshot script: #!/bin/sh LD_LIBRARY_PATH=3D/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH PATH=3D/usr/lib/gcc-snapshot/bin:$PATH rpath=3D"" OLD_IFS=3D"$IFS" IFS=3D: for i in $LD_RUN_PATH do rpath=3D"$rpath -Wl,-rpath -Wl,$i" done IFS=3D"$OLD_IFS" exec gcc -Wl,-rpath -Wl,/usr/lib/gcc-snapshot/lib \ -Wl,-rpath -Wl,/usr/lib/gcc-snapshot/lib32 \ -Wl,-rpath -Wl,/usr/lib/gcc-snapshot/libx32 $rpath "$@" cventin:~> gcc-snapshot --version gcc (Debian 20180216-1) 8.0.1 20180216 (experimental) [trunk revision 25772= 0] [...] cventin:~> cat tst.c int main (void) { return 0; } cventin:~> gcc-snapshot -m32 -fsanitize=3Daddress tst.c -o tst cventin:~> ./tst AddressSanitizer:DEADLYSIGNAL =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=3D25032=3D=3DERROR: AddressSanitizer: SEGV on unknown address 0xf7fa7e7= 0 (pc 0xf7fa7e84 bp 0xffbf40ac sp 0xffbf406c T16777215) =3D=3D25032=3D=3DThe signal is caused by a WRITE memory access. #0 0xf7fa7e83 in _dl_get_tls_static_info (/lib/ld-linux.so.2+0x11e83) #1 0xf7ac147d (/usr/lib/gcc-snapshot/lib32/libasan.so.5+0x10e47d) #2 0xf7aafd27 (/usr/lib/gcc-snapshot/lib32/libasan.so.5+0xfcd27) #3 0xf7fa591a (/lib/ld-linux.so.2+0xf91a) #4 0xf7f96cb9 (/lib/ld-linux.so.2+0xcb9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/lib/ld-linux.so.2+0x11e83) in _dl_get_tls_static_info =3D=3D25032=3D=3DABORTING My original bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D892096 The explanations given by Aurelien Jarno: ------------------------------------------------------------ The AddressSanitizer is using glibc internal functions though dlsym(), and = such functions have the right to change in new major versions: =46rom libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc: | void *get_tls_static_info_ptr =3D dlsym(RTLD_NEXT, "_dl_get_tls_static_i= nfo"); And on the glibc side: | $ readelf -s /lib/ld-linux.so.2 | grep _dl_get_tls_static_info | 4: 00011e70 35 FUNC GLOBAL DEFAULT 12 _dl_get_tls_static_info@@GLIBC_PRIVATE This has been discussed for example there: https://www.sourceware.org/ml/libc-alpha/2018-02/msg00611.html The AddressSanitizer people should discuss for a public API so that it does= n't happen again. Otherwise it might break at every new glibc version. ------------------------------------------------------------ In the mean time, it should at least be made compatible with glibc 2.27. >>From gcc-bugs-return-596738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 14:42:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 602 invoked by alias); 8 Mar 2018 14:42: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 129173 invoked by uid 55); 8 Mar 2018 14:42:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84552] [6/7/8 Regression] Compile time hog w/ -O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon Date: Thu, 08 Mar 2018 14: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: 8.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2018-03/txt/msg01326.txt.bz2 Content-length: 709 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84552 --- Comment #4 from Richard Biener --- Author: rguenth Date: Thu Mar 8 14:41:39 2018 New Revision: 258365 URL: https://gcc.gnu.org/viewcvs?rev=3D258365&root=3Dgcc&view=3Drev Log: 2018-03-08 Richard Biener PR middle-end/84552 * tree-scalar-evolution.c: Include tree-into-ssa.h. (follow_copies_to_constant): Do not follow SSA names registered for update. * gcc.dg/graphite/pr84552.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr84552.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-scalar-evolution.c >>From gcc-bugs-return-596739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 14:55:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124863 invoked by alias); 8 Mar 2018 14:55: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 122365 invoked by uid 48); 8 Mar 2018 14:55:38 -0000 From: "jorrit at jorrit dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84569] [6 Regression] g++ -g -O3 consumes all memory Date: Thu, 08 Mar 2018 14: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.4.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: jorrit at jorrit dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.6 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: 2018-03/txt/msg01327.txt.bz2 Content-length: 239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84569 --- Comment #5 from J=C3=B6 --- I can report that that indeed fixes the issue for us; the unit test now compiles fine with gcc revision 258359. Thanks a lot! >>From gcc-bugs-return-596740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 14:58:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56057 invoked by alias); 8 Mar 2018 14: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 51163 invoked by uid 48); 8 Mar 2018 14:58:19 -0000 From: "sirl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/84762] New: GCC for PowerPC32 violates the SysV ABI spec for small struct returns Date: Thu, 08 Mar 2018 14:58: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: 6.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sirl 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 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: 2018-03/txt/msg01328.txt.bz2 Content-length: 2049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84762 Bug ID: 84762 Summary: GCC for PowerPC32 violates the SysV ABI spec for small struct returns Product: gcc Version: 6.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sirl at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: powerpc-eabi For an example like: struct smallstruct { char a; char b; char c; }; struct smallstruct f(void) { struct smallstruct s =3D { 0x11, 0x22, 0x33 }; return s; } r3 should look like 0x11223300, but GCC returns 0x00112233 in r3 (with the = '00' part actually being undefined). The relevant part of the spec https://www.polyomino.org.uk/publications/2011/Power-Arch-32-bit-ABI-supp-1= .0-Embedded.pdf: Aggregates or unions whose size is less than or equal to eight bytes shall = be returned in r3 and r4, as if they were first stored in memory area and then= the low-addressed word were loaded in r3 and the high-addressed word were loaded into r4. Bits beyond the last member of the structure or union are not defi= ned. Or the older http://refspecs.linux-foundation.org/elf/elfspec_ppc.pdf says nearly the same (with an additional alignment clause): A structure or union whose size is less than or equal to 8 bytes shall be returned in r3 and r4, as if it were first stored in an 8-byte aligned memo= ry area and then the low-addressed word were loaded into r3 and the high-addre= ssed word into r4. Bits beyond the last member of the structure or union are not defined. This was discovered during parameter passing tests as a difference to a proprietary compiler. As it is probably too late in the game to change GCC, this is more a documentation request I guess. Eventually -msvr4-struct-return could be extended to -msvr4-struct-return=3D{sysv,gnu} with 'gnu' as the (compile-time configura= ble?) default. >>From gcc-bugs-return-596741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 15:51:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123379 invoked by alias); 8 Mar 2018 15:51: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 122211 invoked by uid 55); 8 Mar 2018 15:51:02 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84748] [8 Regression] wrong code with u128 at aarch64 at -O and and above Date: Thu, 08 Mar 2018 15: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01329.txt.bz2 Content-length: 1452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84748 --- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Mar 8 15:50:25 2018 New Revision: 258366 URL: https://gcc.gnu.org/viewcvs?rev=3D258366&root=3Dgcc&view=3Drev Log: [AArch64] PR target/84748: Mark *compare_cstore_insn as clobbering CC= reg In this wrong-code PR the combine pass ends up moving a CC-using instruction past a *compare_cstore_insn insn_and_split. After reload the *compare_cstore_insn splitter ends up generating a SUBS instruction that clobbers the condition flags, and things go bad. The solution is simple, the *compare_cstore_insn pattern should speci= fy that it clobbers the CC register so that combine (or any other pass) does not assume that it can move CC-usi= ng patterns across it. This patch does that and fixes the testcase. The testcase FAILs on GCC 8 only, but the buggy pattern is in GCC 6 onwards= , so we should backport this as a latent bug fix after it's had some time to bake in trunk. Bootstrapped and tested on aarch64-none-linux-gnu. PR target/84748 * config/aarch64/aarch64.md (*compare_cstore_insn): Mark patt= ern as clobbering CC_REGNUM. * gcc.c-torture/execute/pr84748.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr84748.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-596743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 15:52:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126291 invoked by alias); 8 Mar 2018 15: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 126222 invoked by uid 48); 8 Mar 2018 15:52:35 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84748] [6/7 Regression] wrong code with u128 at aarch64 at -O and and above Date: Thu, 08 Mar 2018 15: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2018-03/txt/msg01331.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84748 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Known to work| |6.4.1 Summary|[8 Regression] wrong code |[6/7 Regression] wrong code |with u128 at aarch64 at -O |with u128 at aarch64 at -O |and and above |and and above --- Comment #4 from ktkachov at gcc dot gnu.org --- Fixed on trunk. The testcase doesn't abort on the branches but the buggy pattern is there so the fix is worth backporting. I'll do it once it's bake= d on trunk for a bit >>From gcc-bugs-return-596742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 15:52:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125228 invoked by alias); 8 Mar 2018 15:52: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 125088 invoked by uid 48); 8 Mar 2018 15:52:06 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84760] Finish implementation of __builtin_altivec_lvx_v1ti Date: Thu, 08 Mar 2018 15: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kelvin 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: 2018-03/txt/msg01330.txt.bz2 Content-length: 263 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84760 --- Comment #1 from Bill Schmidt --- Hm. For this one I think I would recommend we just remove the partial implementation, provided that vec_ld already supports vector __int128. >>From gcc-bugs-return-596744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 15:54:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5581 invoked by alias); 8 Mar 2018 15:54: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 5502 invoked by uid 48); 8 Mar 2018 15:54:39 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm Date: Thu, 08 Mar 2018 15:54: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: 2018-03/txt/msg01332.txt.bz2 Content-length: 772 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-08 Ever confirmed|0 |1 --- Comment #6 from Bill Schmidt --- We should keep this issue open for a different problem, though. When swap optimization doesn't succeed on such a loop, we don't end up optimizing away the xxlnand associated with the vperm on Power8. Currently that is only do= ne as part of swap optimization. It's a minor savings but worth doing. >>From gcc-bugs-return-596745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 15:55:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25902 invoked by alias); 8 Mar 2018 15:55: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 24680 invoked by uid 48); 8 Mar 2018 15:55:50 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84753] GCC does not fold xxswapd followed by vperm Date: Thu, 08 Mar 2018 15: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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.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: 2018-03/txt/msg01333.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84753 Bill Schmidt changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-596746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 15:58:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32219 invoked by alias); 8 Mar 2018 15:58: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 32117 invoked by uid 48); 8 Mar 2018 15:58:28 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer Date: Thu, 08 Mar 2018 15:58: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01334.txt.bz2 Content-length: 3240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 --- Comment #19 from Wilco --- (In reply to sudi from comment #17) > I looked up what other targets were doing and one thing found to be > interesting was that a lot of them are defining the target hook > TARGET_BUILTIN_SETJMP_FRAME_VALUE. In AArch64 case I am suggesting to def= ine > it to return the hard frame pointer. That seems to solve the issue with b= oth > the attached test case and the test that Wilco mentioned. >=20 > Does this look like it solves "mid-end versus back-end : who fixes this > issue" problem? >=20 > I am still pretty new to knowing how the stack should actually look. So > calling for some help! This is not about stack layout but ensuring we don't corrupt the frame poin= ter or the stack pointer. Any changes to SP/FP are inherently extremely risky a= nd need to be done exactly right or lots of things will fail. There are too many issues to make a full list, but here are a few obvious o= nes: 1. The TARGET_BUILTIN_SETJMP_FRAME_VALUE only fixes the store of the frame pointer, however it does not fix the landing pad, I see code like this: str x29, [x3, #:lo12:.LANCHOR0] mov x0, sp stp x1, x0, [x2, 8] bl baz .p2align 2 .L7: sub x29, x29, #176 ldr w0, [x29, 172] mov sp, x29 So now the store is correct, but when returning at L2 we corrupt the frame pointer badly (and then the stack pointer as well)... This is basically the same as pr60003.c but with an alloca added. 2. We still need to force the frame pointer to be saved, TARGET_BUILTIN_SETJMP_FRAME_VALUE doesn't fix that. 3. __builtin_longjmp is still incorrect, like I showed in PR64242, it also fails on AArch64: #include #include void bug (jmp_buf buf) { jmp_buf buf2; memcpy (buf2, buf, sizeof (jmp_buf)); __builtin_longjmp (buf2, 1); } bug: stp x29, x30, [sp, -336]! mov x1, x0 mov x2, 312 mov x29, sp add x0, x29, 24 bl memcpy ldr x0, [x29, 32] ldr x29, [x29, 24] // oops ldr x1, [x29, 40] mov sp, x1 br x0 4. Trying to use setjmp and longjmp in the same function often gives this I= CE: during RTL pass: cse1 setjmp.c: In function =E2=80=98bug1=E2=80=99: setjmp.c:86:1: internal compiler error: in mark_jump_label_1, at jump.c:1151 } ^ 0xa598f7 mark_jump_label_1 /home/wdijkstr/gcc/gcc/jump.c:1151 0xa59a6b mark_jump_label_1 /home/wdijkstr/gcc/gcc/jump.c:1211 0xa59a6b mark_jump_label_1 /home/wdijkstr/gcc/gcc/jump.c:1211 0xa59e17 mark_all_labels /home/wdijkstr/gcc/gcc/jump.c:305 0xa59e17 rebuild_jump_labels_1 /home/wdijkstr/gcc/gcc/jump.c:74 0x128ce23 rest_of_handle_cse /home/wdijkstr/gcc/gcc/cse.c:7628 0x128ce23 execute /home/wdijkstr/gcc/gcc/cse.c:7662 5. Things get really interesting on ARM and Thumb-2 where there are multiple frame pointer registers. This shows again why it is wrong to change the sp/= fp in the longjmp - for it to work correctly it must be done in the landing pa= d in the function that has the setjmp. >>From gcc-bugs-return-596747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 15:59:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50526 invoked by alias); 8 Mar 2018 15:59: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 50503 invoked by uid 48); 8 Mar 2018 15:59:21 -0000 From: "rainer@emrich-ebersheim.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84763] New: [8 Regression] ICE in i386_pe_seh_cold_init Date: Thu, 08 Mar 2018 15:59: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rainer@emrich-ebersheim.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: 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: 2018-03/txt/msg01335.txt.bz2 Content-length: 2437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84763 Bug ID: 84763 Summary: [8 Regression] ICE in i386_pe_seh_cold_init Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rainer@emrich-ebersheim.de Target Milestone: --- Created attachment 43600 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D43600&action=3Dedit preprocessed source Building binutils 2.29.1 there's an ICE in i386_pe_seh_cold_init. make[2]: Entering directory '/opt/devel/SCRATCH/tmp/opcodes' /bin/sh ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd -I./../i= ntl=20 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=3D= 262144 -g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo = -c -o i386-dis.lo /opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I. -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes -I../bfd -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../include -I/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/../bfd -I./../in= tl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=3D= 262144 -g -O2 -D__USE_MINGW_ACCESS -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo = -c /opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c -o i386-dis.o during RTL pass: final D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c: In function 'print_insn': D:/opt/devel/gnu/src/gcc-mingw-w64/binutils-2.29.1/opcodes/i386-dis.c:13471= :1: internal compiler error: in i386_pe_seh_cold_init, at config/i386/winnt.c:9= 13 } ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [Makefile:1005: i386-dis.lo] Error 1 make[2]: Leaving directory '/opt/devel/SCRATCH/tmp/opcodes' Caused by r258338. >>From gcc-bugs-return-596748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 16:01:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54618 invoked by alias); 8 Mar 2018 16:01: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 54409 invoked by uid 48); 8 Mar 2018 16:01:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84763] [8 Regression] ICE in i386_pe_seh_cold_init Date: Thu, 08 Mar 2018 16:01: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.1 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: 8.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: 2018-03/txt/msg01336.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84763 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >>From gcc-bugs-return-596749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 16:06:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62631 invoked by alias); 8 Mar 2018 16:06: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 61944 invoked by uid 48); 8 Mar 2018 16:06:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67288] [6/7/8 regression] non optimal simple function (useless additional shift/remove/shift/add) Date: Thu, 08 Mar 2018 16: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: 4.9.3 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-03/txt/msg01337.txt.bz2 Content-length: 5286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67288 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek --- Started with my r204516 change aka https://gcc.gnu.org/ml/gcc-patches/2013-11/msg00768.html The changes in *.optimized dump look reasonable, fewer IVs: : + # RANGE [16, 4294967280] + _18 =3D _22 * 16; + # RANGE [0, 4294967295] + _9 =3D _18 + _6; + _3 =3D (void *) _9; : # PT =3D nonlocal=20 # ALIGN =3D 16, MISALIGN =3D 0 # addr_23 =3D PHI - # RANGE [0, 4294967295] NONZERO 0x0000000000fffffff - # i_24 =3D PHI __asm__ __volatile__("dcbf 0, %0" : : "r" addr_23 : "memory"); - # RANGE [0, 4294967295] NONZERO 0x0000000000fffffff - i_14 =3D i_24 + 1; # PT =3D nonlocal=20 # ALIGN =3D 16, MISALIGN =3D 0 addr_15 =3D addr_23 + 16; - if (i_14 !=3D _22) + if (addr_15 !=3D _3) The * 16 is present in GIMPLE, but the right shift by 4 / division by 16 is something added in the doloop pass later on, so this doesn't seem to be something that can be optimized in GIMPLE. On the trunk, we have in *.optimized: # RANGE [0, 268435455] NONZERO 268435455 _20 =3D size_12 >> 4; if (_20 !=3D 0) goto ; [89.00%] else goto ; [11.00%] [local count: 105119325]: # RANGE [16, 4294967280] _6 =3D _20 * 16; _4 =3D _1 + _6; _3 =3D (void *) _4; [local count: 955630224]: # PT =3D nonlocal null # ALIGN =3D 16, MISALIGN =3D 0 # addr_21 =3D PHI __asm__ __volatile__("dcbf 0, %0" : : "r" addr_21 : "memory"); # PT =3D nonlocal null # ALIGN =3D 16, MISALIGN =3D 0 addr_15 =3D addr_21 + 16; if (_3 !=3D addr_15) goto ; [89.00%] else goto ; [11.00%] To optimize this on RTL we'd need to have accurate value range info, otherw= ise optimizing (unsigned) (x << 4 + (cst << 4)) >> 4 into x + cst is not valid. Before *.combine we have: (insn 16 15 17 3 (set (reg:SI 135) (ashift:SI (reg:SI 128 [ _20 ]) (const_int 4 [0x4]))) 269 {ashlsi3} (expr_list:REG_DEAD (reg:SI 128 [ _20 ]) (nil))) (insn 17 16 42 3 (set (reg/f:SI 122 [ _3 ]) (plus:SI (reg:SI 135) (reg/v/f:SI 127 [ addr ]))) 72 {*addsi3} (expr_list:REG_DEAD (reg:SI 135) (nil))) (insn 42 17 43 3 (set (reg:SI 138) (minus:SI (reg/f:SI 122 [ _3 ]) (reg/v/f:SI 127 [ addr ]))) -1 (expr_list:REG_DEAD (reg/f:SI 122 [ _3 ]) (nil))) (insn 43 42 44 3 (set (reg:SI 139) (plus:SI (reg:SI 138) (const_int -16 [0xfffffffffffffff0]))) -1 (expr_list:REG_DEAD (reg:SI 138) (nil))) (insn 44 43 45 3 (set (reg:SI 140) (lshiftrt:SI (reg:SI 139) (const_int 4 [0x4]))) -1 (expr_list:REG_DEAD (reg:SI 139) (nil))) and only combine turns that into: (insn 42 17 43 3 (set (reg:SI 138) (ashift:SI (reg:SI 128 [ _20 ]) (const_int 4 [0x4]))) 269 {ashlsi3} (expr_list:REG_DEAD (reg:SI 128 [ _20 ]) (nil))) (insn 43 42 44 3 (set (reg:SI 139) (plus:SI (reg:SI 138) (const_int -16 [0xfffffffffffffff0]))) 72 {*addsi3} (expr_list:REG_DEAD (reg:SI 138) (nil))) (insn 44 43 45 3 (set (reg:SI 140) (lshiftrt:SI (reg:SI 139) (const_int 4 [0x4]))) 279 {lshrsi3} (expr_list:REG_DEAD (reg:SI 139) (nil))) (insn 45 44 21 3 (set (reg:SI 137) (plus:SI (reg:SI 140) (const_int 1 [0x1]))) 72 {*addsi3} (expr_list:REG_DEAD (reg:SI 140) (nil))) While reg:SI 128 is set only once and thus in theory we could in theory use= in RTL the corresponding GIMPLE value ranges for that SSA_NAME, the SSA_NAME f= or _20 is [0, 268435455] and thus only allows us to figure out that << 4 will = not shift away any bits out of it (i.e. that (r128 << 4) >> 4 is equal to r128.= We need to know that it can't be zero as well, which on GIMPLE is present in t= he value range of _6 - [16, 4294967280], but unfortunately that info is lost during TER, pseudo 135 doesn't really have REG_EXPR set. Maybe that would be fixable by some expander work. Then the question is if we actually can use GIMPLE VRP info during RTL optimizations, and whether all optimizations on RTL that would invalidate t= hat reset REG_EXPR or could in some other way signal that the VRP info can't be trusted. The combiner first optimizes: Trying 17 -> 42: 17: r122:SI=3Dr135:SI+r127:SI REG_DEAD r135:SI 42: r138:SI=3Dr122:SI-r127:SI REG_DEAD r122:SI Successfully matched this instruction: (set (reg:SI 138) (reg:SI 135)) and then: Trying 16 -> 42: 16: r135:SI=3Dr128:SI<<0x4 REG_DEAD r128:SI 42: r138:SI=3Dr135:SI REG_DEAD r135:SI Successfully matched this instruction: (set (reg:SI 138) (ashift:SI (reg:SI 128 [ _20 ]) (const_int 4 [0x4]))) so if we had VRP info on _6 aka (reg:SI 135 [ _6 ]) we'd need to signal tha= t it is the same on r138. And then have some way to query it and somewhere optimize. >>From gcc-bugs-return-596750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 16:14:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72640 invoked by alias); 8 Mar 2018 16:14: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 72550 invoked by uid 48); 8 Mar 2018 16:14:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer Date: Thu, 08 Mar 2018 16: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01338.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.o= rg --- Comment #20 from Jakub Jelinek --- You can use __builtin_setjmp and __builtin_longjmp in the same function, on= ly if they use a different buffer. Otherwise it is invalid. So, while we shouldn't ICE on invalid code, not sure why you are listing 4 here. CCing Eric for the other __builtin_setjmp related issues. >>From gcc-bugs-return-596751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 16:21:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121731 invoked by alias); 8 Mar 2018 16:21: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 121471 invoked by uid 48); 8 Mar 2018 16:21:31 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84763] [8 regression] ICE in i386_pe_seh_cold_init Date: Thu, 08 Mar 2018 16:21: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2018-03/txt/msg01339.txt.bz2 Content-length: 743 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84763 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-03-08 Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org Summary|[8 Regression] ICE in |[8 regression] ICE in |i386_pe_seh_cold_init |i386_pe_seh_cold_init Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- Thanks, I'm going to have a look. >>From gcc-bugs-return-596752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 16:33:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102685 invoked by alias); 8 Mar 2018 16:33:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97432 invoked by uid 48); 8 Mar 2018 16:33:06 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer Date: Thu, 08 Mar 2018 16: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: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-03/txt/msg01340.txt.bz2 Content-length: 781 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84521 --- Comment #21 from Eric Botcazou --- > You can use __builtin_setjmp and __builtin_longjmp in the same function, > only if they use a different buffer. Otherwise it is invalid. Yes, that's invalid. > CCing Eric for the other __builtin_setjmp related issues. I don't see anything special with Aarch64 that would make it impossible to support __builtin_setjmp/__builtin_longjmp properly. You can parameterize a lot of things in the back-end with TARGET_BUILTIN_SETJMP_FRAME_VALUE and various patterns like: save_stack_nonlocal restore_stack_nonlocal, nonlocal_goto_receiver, builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp See the documentation and existing ports. >>From gcc-bugs-return-596753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 08 16:41:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28050 invoked by alias); 8 Mar 2018 16:41: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 28039 invoked by uid 89); 8 Mar 2018 16:41:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?Yes, score=5.4 required=5.0 tests=AWL,BAYES_50,BODY_8BITS,GARBLED_BODY,GIT_PATCH_2,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,TBC,T_RP_MATCHES_RCVD,URIBL_GREY autolearn=no version=3.3.2 spammy=brands, 8:=c2=b9, 8:=c2=b6, saudi?= X-HELO: smtp35.ymlpsvr.com Received: from smtp35.ymlpsvr.com (HELO smtp35.ymlpsvr.com) (185.83.51.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Mar 2018 16:41:36 +0000 Date: Thu, 08 Mar 2018 16:41:00 -0000 To: gcc-bugs@gcc.gnu.org From: The Hotel Show Saudi Arabia Subject: The Hotel Show Saudi Arabia is Back! Message-ID: X-YMLPcode: zgbq+987+30583 MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-03/txt/msg01341.txt.bz2 Content-length: 10475 ---------------------------------------------------------------------------= ----- This email newsletter was sent to you in graphical HTML format. If you're seeing this version, your email program prefers plain text emails. You can read the original version online: http://ymlpsend3.com/zZdRJa ---------------------------------------------------------------------------= ----- REGISTRATION FOR THE HOTEL SHOW SAUDI ARABIA IS NOW OPEN ( http://dmg-events.msgfocus.com/c/1a30BT5lE2es7wT ) View in browser The Kingdom=E2=80=99s premier event for the hospitality and food industry is back in Jeddah from 10th =E2=80=93 12th April for three days of inspiration, innovation, education and networking opportunities. Yes, that=E2=80=99s right, registration for THE HOTEL SHOW SAUDI ARABIA 2018 ( http://dmg-events.msgfocus.com/c/1a30D5LfMNDmkyZ ) is now OPEN. REGISTER FOR FREE NOW! ( http://dmg-events.msgfocus.com/c/1a30DH6cRbkOr52 ) The show is the only business event in the Kingdom which is dedicated to the hospitality industry and promises a range of stunning features, CPD seminars along with a gathering of industry experts to share ideas, trends and insights. 100s of global brands will be on show, giving you the best opportunity to source the very latest cutting-edge supplies and products designed to create a truly unforgettable experience for your customers. Also, following the success of 2017=E2=80=99s live-cooking competition, the INTER-HOTEL CULINARY COMPETITION ( http://dmg-events.msgfocus.com/c/1a30Eir9Vz2gxB5 ) is returning bigger and better for 2018. A panel of highly experienced judges from the endorsing bodies; World Association of Chefs Societies and the Saudi Arabian Chefs Association will determine the winners after three-days of tasting various unique dishes. THE HOTEL SHOW SAUDI ARABIA is a must-attend on the list of industry events. As an Owner, Developer, Architect, Engineer, Procurement Manager, Distributor or Chef in the hospitality industry, you need to be there. REGISTER NOW! ( http://dmg-events.msgfocus.com/c/1a30ETM6ZWJIE78 ) يعود الحدث الرائد في المملكة لمجال الضيافة وخدمات تقديم الطعام في جدة في الفترة من 10 إلى 12 أبريل لمدة ثلاثة أيام من الإلهام والابتكار والتعليم وفرص التواصل. نعم، الأمر صحيح؛ أصبح باب التسجيل لحضور معرض الفنادق بالمملكة العربية السعودية ( http://dmg-events.msgfocus.com/c/1a30G6s18I8CR9e )2018مفتوحًا الآن. سجِّل بياناتك مجانًا الآن! ( http://dmg-events.msgfocus.com/c/1a30GHMYd5Q4XFh ) هذا المعرض هو حدث الأعمال الوحيد المخصص لمجال الضيافة في المملكة، ويعد بتقديم مجموعة من الفعاليات المذهلة، والندوات المعتمدة للتطوير المهني المستمر، إضافةً إلى تجمّع من خبراء المجال لتبادل الأفكار والاتجاهات والرؤى. وستشارك في المعرض المئات من العلامات التجارية العالمية؛ ما سيمنحك أفضل فرصة لاستعراض أحدث الإمدادات والمنتجات المتطورة التي تهدف إلى تزويد عملائك بتجربة لا تُنسى حقًا. علاوةً على ذلك، بعد نجاح دورة 2017 من مسابقة الطهي المباشر، ستعودمسابق= 7; الطهي بين الفنادق ( http://dmg-events.msgfocus.com/c/1a30Hj7Vhtxx4bk ) في شكل أكبر وأفضل لعام 2018. وسيحدَّد أسماء الفائزين بواسطة فريق من المحكمين ذوي الخبرة العالية من الهيئات المصادقة - الرابطة العالمية لجمعيات الطهاة وجمعية الطهاة السعوديين - بعد ثلاثة أيام من تذوق مختلف الأطباق الفريدة. معرض الفنادق بالمملكة العربية السعودية هو حدث لا غنى عن حضوره ضمن قائمة الأحداث المتخصصة في مجال الضيافة. وإذا كنت أحد المالكين أو المطوّرين أو المعماريين أو المهندسين أو مديري المشتريات أو الموزّعين أو الطهاة في مجال الضيافة، فإنه يتعين عليك حضور الفعاليات بكل تأكيد. سجِّل بياناتك الآن! ( http://dmg-events.msgfocus.com/c/1a30HUsSlReZaHn ) INDUSTRY SUPPORT SUPPORTED BY HOST VENUE ENDORSED BY ENDORSED BY ORGANISER CO - ORGANISER HOTEL PARTNER CULINARY PARTNER OFFICIAL TABLEWARE SPONSOR The Hotel Show Saudi Arabia dmg events Middle East, Asia & Africa T: +971 4 4380355 E: thehotelshowksa@dmgeventsme.com W: thehotelshowsaudiarabia.com ( http://dmg-events.msgfocus.com/c/1a30IvNPqeWrhdq ) ( http://www.dmg-eventsme.com/dmgdbms/UnSub.aspx?id=3Dexample@emailaddress.te= st,,12,Example Sf Contact Id,Example Sf Show Id,Example Sf Edition Id,Example Sf Campaignmember Id ) _____________________________ Unsubscribe / Change Profile: http://ymlpsend3.com/ugmwhmbhgsgmsbqmgyqwggub= uhw Powered by YourMailingListProvider