From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11041 invoked by alias); 23 Nov 2015 07:36:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11003 invoked by uid 48); 23 Nov 2015 07:36:11 -0000 From: "vvsed at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr Date: Mon, 23 Nov 2015 07: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: vvsed at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02351.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68484 --- Comment #2 from Vladimir Sedach --- It is not just about "long long". _mm_store_ps() is also wrong, while _mm_store_pd() / _mm_store_si128() are = OK: #include #include int main(int argc, const char *argv[]) { __attribute__((aligned(16))) int _x[4] =3D {0}; int * volatile x =3D _x; __m128i m =3D _mm_set1_epi32(1); _mm_storel_epi64((__m128i *)x, m); //wrong // _mm_storel_pi((__m64 *)x, *(__m128 *)&m); //ok _mm_store_ps((float *)x, *(__m128 *)&m); //wrong // _mm_store_pd((double *)x, *(__m128d *)&m); //ok // _mm_store_si128((__m128i *)x, *(__m128i *)&m); //ok fprintf(stdout, "%d %d \npress Enter", x[0], x[1]); getc(stdin); return 0; } >>From gcc-bugs-return-503426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 07:51:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59402 invoked by alias); 23 Nov 2015 07:51: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 59303 invoked by uid 48); 23 Nov 2015 07:51:00 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68488] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947 Date: Mon, 23 Nov 2015 07:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02353.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68488 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Markus Trippelsdorf --- dup. *** This bug has been marked as a duplicate of bug 68432 *** >>From gcc-bugs-return-503425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 07:51:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59387 invoked by alias); 23 Nov 2015 07:51: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 59332 invoked by uid 48); 23 Nov 2015 07:51:01 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68432] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947 Date: Mon, 23 Nov 2015 07: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02352.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68432 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #7 from Markus Trippelsdorf --- *** Bug 68488 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:01:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96689 invoked by alias); 23 Nov 2015 08:01: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 96645 invoked by uid 48); 23 Nov 2015 08:01:06 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr Date: Mon, 23 Nov 2015 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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical 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: 2015-11/txt/msg02354.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68484 --- Comment #3 from Marc Glisse --- (In reply to Vladimir Sedach from comment #2) > It is not just about "long long". It isn't about long long at all, it is about whether your code is valid. In your latest example, you are casting an int* to a float*, that's pretty much the definition of an aliasing violation. The types __m128 etc are documented as allowing aliasing, but I don't think that extends to other operands of the intrinsics. >>From gcc-bugs-return-503429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:33:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35518 invoked by alias); 23 Nov 2015 08:33: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 35326 invoked by uid 55); 23 Nov 2015 08:33:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/56956] [4.9 Regression] ftrapv traps on valid abs-like code Date: Mon, 23 Nov 2015 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: 4.7.2 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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02356.txt.bz2 Content-length: 1321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56956 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |5.3.0 Summary|[4.9/5 Regression] ftrapv |[4.9 Regression] ftrapv |traps on valid abs-like |traps on valid abs-like |code |code Known to fail| |5.2.0 --- Comment #12 from Richard Biener --- Author: rguenth Date: Mon Nov 23 08:32:28 2015 New Revision: 230736 URL: https://gcc.gnu.org/viewcvs?rev=3D230736&root=3Dgcc&view=3Drev Log: 2015-11-23 Richard Biener Backport from mainline 2015-10-29 Richard Biener PR middle-end/56956 * fold-const.c (fold_cond_expr_with_comparison): Do not fold unsigned conditonal negation to ABS_EXPR. * c-c++-common/ubsan/pr56956.c: New testcase. Added: branches/gcc-5-branch/gcc/testsuite/c-c++-common/ubsan/pr56956.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/fold-const.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:33:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35508 invoked by alias); 23 Nov 2015 08:33: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 35310 invoked by uid 48); 23 Nov 2015 08:33:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/56956] [4.9 Regression] ftrapv traps on valid abs-like code Date: Mon, 23 Nov 2015 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: 4.7.2 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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02355.txt.bz2 Content-length: 1321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56956 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |5.3.0 Summary|[4.9/5 Regression] ftrapv |[4.9 Regression] ftrapv |traps on valid abs-like |traps on valid abs-like |code |code Known to fail| |5.2.0 --- Comment #12 from Richard Biener --- Author: rguenth Date: Mon Nov 23 08:32:28 2015 New Revision: 230736 URL: https://gcc.gnu.org/viewcvs?rev=3D230736&root=3Dgcc&view=3Drev Log: 2015-11-23 Richard Biener Backport from mainline 2015-10-29 Richard Biener PR middle-end/56956 * fold-const.c (fold_cond_expr_with_comparison): Do not fold unsigned conditonal negation to ABS_EXPR. * c-c++-common/ubsan/pr56956.c: New testcase. Added: branches/gcc-5-branch/gcc/testsuite/c-c++-common/ubsan/pr56956.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/fold-const.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:36:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41236 invoked by alias); 23 Nov 2015 08:36: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 41183 invoked by uid 48); 23 Nov 2015 08:36:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68493] [6 Regression] [graphite] ICE in copy_loop_phi_args Date: Mon, 23 Nov 2015 08: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: 6.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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02357.txt.bz2 Content-length: 366 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68493 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spop at gcc dot gnu.org Target Milestone|--- |6.0 >>From gcc-bugs-return-503432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:37:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43494 invoked by alias); 23 Nov 2015 08: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 43456 invoked by uid 48); 23 Nov 2015 08:37:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Mon, 23 Nov 2015 08:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status component 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: 2015-11/txt/msg02359.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |i?86-*-* Status|NEW |ASSIGNED Component|middle-end |tree-optimization Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |6.0 --- Comment #2 from Richard Biener --- Mine. >>From gcc-bugs-return-503431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:37:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42788 invoked by alias); 23 Nov 2015 08:37: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 42722 invoked by uid 55); 23 Nov 2015 08:37:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68445] [6 Regression] ICE: internal compiler error: in operator[], at vec.h Date: Mon, 23 Nov 2015 08:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02358.txt.bz2 Content-length: 647 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68445 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Nov 23 08:36:59 2015 New Revision: 230737 URL: https://gcc.gnu.org/viewcvs?rev=3D230737&root=3Dgcc&view=3Drev Log: 2015-11-23 Richard Biener PR tree-optimization/68445 * tree-vect-slp.c (vect_create_mask_and_perm): Properly use two different strides. * gcc.dg/vect/pr68445.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/vect/pr68445.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c >>From gcc-bugs-return-503433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:38:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44400 invoked by alias); 23 Nov 2015 08:38: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 44231 invoked by uid 48); 23 Nov 2015 08:37:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68445] [6 Regression] ICE: internal compiler error: in operator[], at vec.h Date: Mon, 23 Nov 2015 08: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02360.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68445 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-503434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:40:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46352 invoked by alias); 23 Nov 2015 08:40: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 46299 invoked by uid 48); 23 Nov 2015 08:40:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Mon, 23 Nov 2015 08: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02361.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Fixed. >>From gcc-bugs-return-503435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:47:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94187 invoked by alias); 23 Nov 2015 08:47: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 94125 invoked by uid 48); 23 Nov 2015 08:47:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr Date: Mon, 23 Nov 2015 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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical 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 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: 2015-11/txt/msg02362.txt.bz2 Content-length: 2101 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68484 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-11-23 CC| |hjl.tools at gmail dot com Component|c++ |target Ever confirmed|0 |1 --- Comment #4 from Richard Biener --- As the summary mentions 'volatile' I'll also point to the implementation of= the intrinsics which have /* Store four SPFP values. The address must be 16-byte aligned. */ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_store_ps (float *__P, __m128 __A) { *(__v4sf *)__P =3D (__v4sf)__A; } so they are not using a volatile qualified type to access *__P which means the stores are not considered volatile by GCC. The arguments about strict-aliasing requirements still hold, only __m128 is declared as __may_alias__: /* The Intel API is flexible enough that we must allow aliasing with other vector types, and their scalar components. */ typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)); /* Internal data types for implementing the intrinsics. */ typedef float __v4sf __attribute__ ((__vector_size__ (16))); so the v4sf store has regular TBAA rules applied (and the __may_alias__ on the by value passed __A has no effect). -> target "bug", but I'd say an INVALID one. HJ, I remember the "master" copy of the intrinsics documentation is somewhe= re at Intel - what does that say to the two above issues? Thus all of this boils down to the question whether the intrinsics are implemented correctly (as documented). The volatile part of it would mean to either pessimize all users or that we can't implement the intrinsics as C functions. >>From gcc-bugs-return-503436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 08:53:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128932 invoked by alias); 23 Nov 2015 08: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 128894 invoked by uid 48); 23 Nov 2015 08:53:17 -0000 From: "sneves at dei dot uc.pt" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68495] Error when expanding nontype variadic argument in trailing return type Date: Mon, 23 Nov 2015 08: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: 5.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: sneves at dei dot uc.pt 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: 2015-11/txt/msg02363.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68495 --- Comment #1 from Samuel Neves --- Minimal example can be further reduced to=20 template struct int_seq {}; constexpr struct { constexpr int operator()(int x) const { return x + 1; } } f1 {}; template auto f2(F f, int_seq) -> int_seq { return {}; } int main() { f2(f1, int_seq<0>{}); } This suggests that the issue is with GCC not recognizing that `f::operator(= )` is constexpr; this information is seemingly lost somewhere along the way. >>From gcc-bugs-return-503437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:02:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42202 invoked by alias); 23 Nov 2015 09:02: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 42126 invoked by uid 48); 23 Nov 2015 09:02:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Mon, 23 Nov 2015 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.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: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on component blocked 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: 2015-11/txt/msg02364.txt.bz2 Content-length: 1645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |i?86-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-23 Component|other |target Blocks| |53947 Target Milestone|--- |5.3 Summary|gcc 5.2: suboptimal code |[5/6 Regression] gcc 5.2: |compared to 4.9 |suboptimal code compared to | |4.9 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Hum, on x86_64 I don't see either GCC 4.9 or GCC 5.2 vectorize the function= at all because they fail to analyze the evolution of the dataref for input[j] = as the initial j of the inner loop is not propagated as zero. With i?86 I can confirm your observation but I don't see it fixed on trunk. Note that this boils down to vector shift detection of permutes where (IIRC) some patterns were not properly guarded on SSE3 support previously and a wrong-code bug was fixed conservatively on the GCC 5 branch while missing support was only implemented on trunk. The failure to vectorize on x86_64 isn't a regression. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-503438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:11:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83713 invoked by alias); 23 Nov 2015 09: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 83609 invoked by uid 48); 23 Nov 2015 09:11:07 -0000 From: "ismail at i10z dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68496] New: [libgo] reflect test fails on Linux x86-64 Date: Mon, 23 Nov 2015 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ismail at i10z dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02365.txt.bz2 Content-length: 2456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68496 Bug ID: 68496 Summary: [libgo] reflect test fails on Linux x86-64 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: ismail at i10z dot com CC: cmang at google dot com Target Milestone: --- Getting: Aborted reflect.call.N13_reflect.Value =20=20=20=20=20=20=20 /havana/sources/gcc-trunk/build/x86_64-pc-linux-gnu/libgo/gotest32408/test/= value.go:450 reflect.Call.N13_reflect.Value =20=20=20=20=20=20=20 /havana/sources/gcc-trunk/build/x86_64-pc-linux-gnu/libgo/gotest32408/test/= value.go:300 reflect_test.TestCallWithStruct =20=20=20=20=20=20=20 /havana/sources/gcc-trunk/build/x86_64-pc-linux-gnu/libgo/gotest32408/test/= all_test.go:1492 testing.tRunner ../../../libgo/go/testing/testing.go:455 goroutine 16 [chan receive]: testing.RunTests ../../../libgo/go/testing/testing.go:561 testing.Run.pN9_testing.M ../../../libgo/go/testing/testing.go:493 main.main =20=20=20=20=20=20=20 /havana/sources/gcc-trunk/build/x86_64-pc-linux-gnu/libgo/gotest32408/test/= _testmain.go:146 created by main ../../../libgo/runtime/go-main.c:48 goroutine 18 [finalizer wait]: created by runtime_createfing ../../../libgo/runtime/mgc0.c:2577 goroutine 53 [sleep]: reflect_test.selectWatcher =20=20=20=20=20=20=20 /havana/sources/gcc-trunk/build/x86_64-pc-linux-gnu/libgo/gotest32408/test/= all_test.go:1383 created by reflect_test.$nested2 =20=20=20=20=20=20=20 /havana/sources/gcc-trunk/build/x86_64-pc-linux-gnu/libgo/gotest32408/test/= all_test.go:1113 FAIL: reflect =CE=BB ./gcc/gccgo -v Using built-in specs. COLLECT_GCC=3D./gcc/gccgo Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=3D/opt/gcc-trunk --enable-languages=3Dc,c++,fortran,go --enable-checking=3Drelease --enable-= ssp --disable-libssp --disable-libvtv --disable-libmpx --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=3Dnew --enable-linker-bu= ild-id --disable-plugin --enable-linux-futex --program-suffix=3D-6 --without-system-libunwind --with-tune=3Dcorei7-avx --with-build-config=3Dbootstrap-lto --disable-multilib --disable-werror --disable-nls --with-fpmath=3Dsse --enable-clocale=3Dgnu Thread model: posix gcc version 6.0.0 20151123 (experimental) (GCC) >>From gcc-bugs-return-503439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:11:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84271 invoked by alias); 23 Nov 2015 09:11: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 83873 invoked by uid 48); 23 Nov 2015 09:11:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68482] No vectorization for x86-64 Date: Mon, 23 Nov 2015 09: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02366.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68482 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #3 from Richard Biener --- Fixed. >>From gcc-bugs-return-503440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:11:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85143 invoked by alias); 23 Nov 2015 09:11: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 85113 invoked by uid 55); 23 Nov 2015 09:11:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68482] No vectorization for x86-64 Date: Mon, 23 Nov 2015 09: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02367.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68482 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Nov 23 09:11:00 2015 New Revision: 230740 URL: https://gcc.gnu.org/viewcvs?rev=3D230740&root=3Dgcc&view=3Drev Log: 2015-11-23 Richard Biener PR tree-optimization/68482 * gcc.dg/vect/pr68482.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/vect/pr68482.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:17:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9564 invoked by alias); 23 Nov 2015 09:17: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 9470 invoked by uid 48); 23 Nov 2015 09:17:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68479] Dynamic loading multiple shared libraries with identical static libstdc++ breaks streams Date: Mon, 23 Nov 2015 09:17: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2015-11/txt/msg02368.txt.bz2 Content-length: 743 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68479 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-23 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. I don't think this is intended to work when you re-export the libstdc++ symbols. Not sure if there is an easy way to make them hidden with --begin-group/--end-group and a linker flag. So you'd need to provide a version script to the link of x.so and y.so. >>From gcc-bugs-return-503442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:20:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12072 invoked by alias); 23 Nov 2015 09:20: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 12002 invoked by uid 48); 23 Nov 2015 09:20:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation Date: Mon, 23 Nov 2015 09: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: 5.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: --- 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: 2015-11/txt/msg02369.txt.bz2 Content-length: 628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68476 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |microblaze Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-11-23 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Waiting for at least a preprocessed source file and the compile output with= -v appended. >>From gcc-bugs-return-503444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:21:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13943 invoked by alias); 23 Nov 2015 09:21: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 13711 invoked by uid 48); 23 Nov 2015 09:21:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68474] [6 Regression] ICE: in get_no_error_domain, at tree-call-cdce.c:699 with -funsafe-math-optimizations Date: Mon, 23 Nov 2015 09: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02371.txt.bz2 Content-length: 370 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68474 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org Target Milestone|--- |6.0 >>From gcc-bugs-return-503445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:21:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15792 invoked by alias); 23 Nov 2015 09:21: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 15359 invoked by uid 48); 23 Nov 2015 09:21:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68473] [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error Date: Mon, 23 Nov 2015 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: 6.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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02372.txt.bz2 Content-length: 370 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68473 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org Target Milestone|--- |6.0 >>From gcc-bugs-return-503443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:21:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12953 invoked by alias); 23 Nov 2015 09:21: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 12885 invoked by uid 48); 23 Nov 2015 09:20:58 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Mon, 23 Nov 2015 09:21: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02370.txt.bz2 Content-length: 980 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #21 from Thomas Koenig --- > Hidden behind a -fexternal-blas-n switch might be an option. Including GP= Us > seems even a tad more tricky. We have a paper on GPU (small) matrix > multiplication, http://dbcsr.cp2k.org/_media/gpu_book_chapter_submitted.p= df Quite interesting what can be done with GPUs... > . BTW, another interesting project is the libxsmm library more aimed at > small (<128) matrices see : https://github.com/hfp/libxsmm . Not sure if > this info is useful in this context, but it might provide inspiration. I assume that for small matrices bordering on the silly (say, a matrix multiplication with dimensions of (1,2) and (2,1)) the inline code will be faster if the code is compiled with the right options, due to function call overhead. I also assume that libxsmm will become faster quite soon for bigger sizes. Do you have an idea where the crossover is? >>From gcc-bugs-return-503446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:22:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18321 invoked by alias); 23 Nov 2015 09:22: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 18060 invoked by uid 48); 23 Nov 2015 09:22:05 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68477] error: type variant differs by TYPE_STRING_FLAG. Date: Mon, 23 Nov 2015 09:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02373.txt.bz2 Content-length: 610 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68477 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-23 Ever confirmed|0 |1 --- Comment #1 from Markus Trippelsdorf --- Sorry, the second file isn't necessary at all: % gccgo -flto foo1.go go1: error: type variant differs by TYPE_STRING_FLAG. >>From gcc-bugs-return-503447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:23:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19506 invoked by alias); 23 Nov 2015 09:23: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 19421 invoked by uid 48); 23 Nov 2015 09:23:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/68470] [4.9/5/6 Regression] Internal Compiler Error observed by g++-4.9.2 and a few other versions (reported to Debian) Date: Mon, 23 Nov 2015 09: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: 4.9.2 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02374.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68470 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org, | |mliska at suse dot cz Target Milestone|--- |4.9.4 >>From gcc-bugs-return-503448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:26:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23069 invoked by alias); 23 Nov 2015 09: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 23023 invoked by uid 48); 23 Nov 2015 09:25:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/68463] Offloading fails when some objects are compiled with LTO and some without Date: Mon, 23 Nov 2015 09:26: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: 6.0 X-Bugzilla-Keywords: lto, openacc, openmp 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 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: 2015-11/txt/msg02375.txt.bz2 Content-length: 719 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68463 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto Component|other |driver --- Comment #1 from Richard Biener --- > Or maybe just print an error during linking that offloading doesn't suppo= rt > mixing LTO and non-LTO objects (even if some of them doesn't have offload= )? That's the worst solution - having non-LTO objects is the whole point of linker-plugin support. I presume the same issue exists for GCC 5. >>From gcc-bugs-return-503449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:31:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29096 invoked by alias); 23 Nov 2015 09:31: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 29065 invoked by uid 48); 23 Nov 2015 09:31:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68462] -fno-strict-aliasing not respected Date: Mon, 23 Nov 2015 09: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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02376.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68462 --- Comment #4 from Richard Biener --- With N_domains non-static GCC has to assume it has its address taken and th= us it thinks that the stores to ->next, .lol and .size can alias it. So the issue that -fno-strict-aliasing is not "respected" is that type-based aliasing only matters for memory accesses via pointers and GCC can independ= elty prove that N_domains is not pointed-to if it is static. >>From gcc-bugs-return-503450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:32:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31027 invoked by alias); 23 Nov 2015 09:32: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 30906 invoked by uid 48); 23 Nov 2015 09:32:26 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Mon, 23 Nov 2015 09:32: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02377.txt.bz2 Content-length: 758 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #22 from Joost VandeVondele --- (In reply to Thomas Koenig from comment #21) > I assume that for small matrices bordering on the silly > (say, a matrix multiplication with dimensions of (1,2) and (2,1)) > the inline code will be faster if the code is compiled with the > right options, due to function call overhead. I also assume that > libxsmm will become faster quite soon for bigger sizes. >=20 > Do you have an idea where the crossover is? I agree that inline should be faster, if the compiler is reasonably smart, = if the matrix dimensions are known at compile time (i.e. should be able to generate the same kernel). I haven't checked yet. >>From gcc-bugs-return-503451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:46:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19177 invoked by alias); 23 Nov 2015 09:46: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 18744 invoked by uid 55); 23 Nov 2015 09:46:11 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68460] ICE in init_stmt_vec_info_vec with -ftree-vectorize and -ftree-parallelize-loops Date: Mon, 23 Nov 2015 09: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: 6.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 2015-11/txt/msg02378.txt.bz2 Content-length: 722 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68460 --- Comment #2 from vries at gcc dot gnu.org --- Author: vries Date: Mon Nov 23 09:45:38 2015 New Revision: 230742 URL: https://gcc.gnu.org/viewcvs?rev=3D230742&root=3Dgcc&view=3Drev Log: Always call free_stmt_vec_info_vec in gather_scalar_reductions 2015-11-23 Tom de Vries PR tree-optimization/68460 * tree-parloops.c (gather_scalar_reductions): Also call free_stmt_vec_info_vec if simple_loop_info =3D=3D NULL. * gcc.dg/autopar/pr68460.c: New test. Added: trunk/gcc/testsuite/gcc.dg/autopar/pr68460.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-parloops.c >>From gcc-bugs-return-503452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 09:53:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60755 invoked by alias); 23 Nov 2015 09:53: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 60188 invoked by uid 48); 23 Nov 2015 09:53:17 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/66432] [4.9 Regression] libgomp.c/appendix-a/a.29.1.c -O2 -g: type mismatch between an SSA_NAME and its symbol Date: Mon, 23 Nov 2015 09:53: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code, patch 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02379.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66432 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|openmp | Summary|[4.9/5/6 Regression] |[4.9 Regression] |libgomp.c/appendix-a/a.29.1 |libgomp.c/appendix-a/a.29.1 |.c -O2 -g: type mismatch |.c -O2 -g: type mismatch |between an SSA_NAME and its |between an SSA_NAME and its |symbol |symbol --- Comment #11 from Jakub Jelinek --- Fixed for 5.3+ so far. >>From gcc-bugs-return-503453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:02:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92264 invoked by alias); 23 Nov 2015 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 92173 invoked by uid 55); 23 Nov 2015 10:02:23 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68327] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vect_is_simple_use, at tree-vect-stmts.c:8562 Date: Mon, 23 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02380.txt.bz2 Content-length: 805 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68327 --- Comment #4 from Ilya Enkovich --- Author: ienkovich Date: Mon Nov 23 10:01:51 2015 New Revision: 230743 URL: https://gcc.gnu.org/viewcvs?rev=3D230743&root=3Dgcc&view=3Drev Log: gcc/ PR tree-optimization/68327 * tree-vect-loop.c (vect_determine_vectorization_factor): Don't compute vectype for non-relevant mask producers. * gcc/tree-vect-stmts.c (vectorizable_comparison): Check stmt relevance earlier. gcc/testsuite/ PR tree-optimization/68327 * gcc.dg/pr68327.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr68327.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-stmts.c >>From gcc-bugs-return-503454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:03:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94688 invoked by alias); 23 Nov 2015 10:02: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 94611 invoked by uid 48); 23 Nov 2015 10:02:56 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68327] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vect_is_simple_use, at tree-vect-stmts.c:8562 Date: Mon, 23 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02381.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68327 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Ilya Enkovich --- Fixed >>From gcc-bugs-return-503455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:04:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98767 invoked by alias); 23 Nov 2015 10:04:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97762 invoked by uid 55); 23 Nov 2015 10:04:37 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68173] gcc takes a long time and a lot of memory with -O0 on source file with very large expression Date: Mon, 23 Nov 2015 10:04: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: 5.1.0 X-Bugzilla-Keywords: memory-hog, ra 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: 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: 2015-11/txt/msg02382.txt.bz2 Content-length: 1141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68173 --- Comment #14 from rguenther at suse dot de --- On Fri, 20 Nov 2015, vmakarov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68173 >=20 > --- Comment #13 from Vladimir Makarov --- > (In reply to Richard Biener from comment #12) > > callgrind points at bitmap_set_bit called via process_bb_lives -> > > mark_regno_dead. > > Maybe some code in that (the DCE code?) can be keyed on if (optimize). > >=20 > > in mark_regno_dead callgrind points to > >=20 > > bitmap_set_bit (bb_killed_pseudos, regno); > >=20 > > being the expensive one. >=20 > I've tried to implement bb_killed_pseudos and bb_gen_pseudos as=20 > sparsesets but it gave nothing in term of compiler speed. I think the=20 > major problem is in processing too many pseudos in -O0 mode which are=20 > about 1000 times more than in -O2 mode. Yeah, but without optimization we can't do sth about that (well, do more coalescing maybe, but as said coalescing is O(n^2) because of liveness - so we'd run into the very same issue there). >>From gcc-bugs-return-503456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:14:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117096 invoked by alias); 23 Nov 2015 10:14: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 117028 invoked by uid 48); 23 Nov 2015 10:14:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Mon, 23 Nov 2015 10: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: 5.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02383.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- On i?86 this regressed with r217509, aka part of VEC_RSHIFT_EXPR removal. Guess we'll need to have a look at the i?86 vec perm handling. >>From gcc-bugs-return-503457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:27:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130710 invoked by alias); 23 Nov 2015 10:27: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 129898 invoked by uid 48); 23 Nov 2015 10:27:27 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68432] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947 Date: Mon, 23 Nov 2015 10:27: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02384.txt.bz2 Content-length: 349 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68432 --- Comment #8 from rsandifo at gcc dot gnu.org --- I have a patch series that fixes the bug but I need to make sure that it works on other targets that use the "enabled" attribute, and run it through an all-target test. I'm hoping to post the patches tomorrow. >>From gcc-bugs-return-503458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:33:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11730 invoked by alias); 23 Nov 2015 10:33: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 11381 invoked by uid 48); 23 Nov 2015 10:33:10 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68455] [6 Regression] ICE: tree check: expected integer_cst, have plus_expr in decompose, at tree.h:5123 Date: Mon, 23 Nov 2015 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02385.txt.bz2 Content-length: 476 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68455 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #3 from Marek Polacek --- I'll have a look then. >>From gcc-bugs-return-503460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:34:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15009 invoked by alias); 23 Nov 2015 10:34: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 14948 invoked by uid 48); 23 Nov 2015 10:34:33 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63303] Pointer subtraction is broken when using -fsanitize=undefined Date: Mon, 23 Nov 2015 10: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.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw 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: 2015-11/txt/msg02387.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63303 --- Comment #14 from Florian Weimer --- (In reply to Szabolcs Nagy from comment #13) > if gcc treats p-q as (ssize_t)p-(ssize_t)q and makes > optimization decisions based on signed int range then > that's broken and leads to wrong code gen. Thanks for the test case. I think the remedy proposed so far (glibc should block allocations sized half of the address space and larger) is insufficie= nt. >>From gcc-bugs-return-503459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:34:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13968 invoked by alias); 23 Nov 2015 10:34: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 13919 invoked by uid 48); 23 Nov 2015 10:34:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Mon, 23 Nov 2015 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: 5.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02386.txt.bz2 Content-length: 1010 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 --- Comment #4 from Jakub Jelinek --- Ah, no, the problem is not on the backend side, but during veclower2 pass. Before that pass we after the replacement of v>> 64 or v>>32 shifts we have: vect_sum_15.12_58 =3D VEC_PERM_EXPR ; vect_sum_15.12_59 =3D vect_sum_15.12_58 + vect_sum_15.10_57; vect_sum_15.12_60 =3D VEC_PERM_EXPR ; vect_sum_15.12_61 =3D vect_sum_15.12_60 + vect_sum_15.12_59; but veclower2 for some reason decides to lower the latter VEC_PERM_EXPR int= o: _32 =3D BIT_FIELD_REF ; _17 =3D BIT_FIELD_REF ; _23 =3D BIT_FIELD_REF ; vect_sum_15.12_60 =3D {_32, _17, _23, 0}; The first VEC_PERM_EXPR is kept and generates efficient code. If I manually disable in the debugger the lowering, the code regression is gone. >>From gcc-bugs-return-503461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:41:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118999 invoked by alias); 23 Nov 2015 10: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 118006 invoked by uid 48); 23 Nov 2015 10:41:40 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67999] Wrong optimization of pointer comparisons Date: Mon, 23 Nov 2015 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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw 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: 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: 2015-11/txt/msg02388.txt.bz2 Content-length: 1245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67999 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D63303 --- Comment #26 from Florian Weimer --- (In reply to Florian Weimer from comment #12) > (In reply to Daniel Micay from comment #10) > > (In reply to Florian Weimer from comment #7) > > > If this is not a GCC bug and it is the responsibility of allocators n= ot to > > > produce huge objects, do we also have to make sure that no object cro= sses > > > the boundary between 0x7fff_ffff and 0x8000_0000? If pointers are tr= eated > > > as de-facto signed, this is where signed overflow would occur. > >=20 > > No, that's fine. >=20 > Is this based on your reading of the standard, the GCC sources, or both?= =20 > (It is unusual to see people making such definite statements about > middle-end/back-end behavior, that's why I have to ask.) As I suspect, the claim that this is fine seems to be incorrect, see bug 63= 303 comment 13. >>From gcc-bugs-return-503462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 10:58:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96400 invoked by alias); 23 Nov 2015 10:58: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 96183 invoked by uid 48); 23 Nov 2015 10:58:52 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68494] [ARM] Use vector multiply by lane Date: Mon, 23 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ramana 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 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: 2015-11/txt/msg02389.txt.bz2 Content-length: 641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68494 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-11-23 CC| |ramana at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Ramana Radhakrishnan --- NTAPS is undefined. What's the current output and what output do you expect ? >>From gcc-bugs-return-503463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 11:01:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101553 invoked by alias); 23 Nov 2015 11: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 101431 invoked by uid 48); 23 Nov 2015 11:01:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68128] A huge regression in Parboil v2.5 OpenMP CUTCP test (2.5 times lower performance) Date: Mon, 23 Nov 2015 11: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: 5.3.0 X-Bugzilla-Keywords: missed-optimization, openmp 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: 6.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: 2015-11/txt/msg02390.txt.bz2 Content-length: 1810 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68128 --- Comment #6 from Richard Biener --- .omp_data_i =3D &PARM_NOALIAS.0+64 PARM_NOALIAS.0+64 =3D &NONLOCAL PARM_NOALIAS.64+192 =3D &NONLOCAL ... _35 =3D *.omp_data_i pg_36 =3D _35 + UNKNOWN pg_63 =3D pg_36 .omp_data_i_12(D), points-to vars: { D.1985 } (nonlocal) pg_63 =3D { NONLOCAL } and we end up with : # iftmp.0_7 =3D PHI _47 =3D iftmp.0_7 + _46; *pg_63 =3D _47; i_49 =3D i_62 + 1; # PT =3D nonlocal pg_50 =3D pg_63 + 4; _51 =3D MEM[(struct .omp_data_s.1 &).omp_data_i_12(D) clique 1 base 1].gridspacing; dx_52 =3D _51 + dx_64; if (ib_28 >=3D i_49) goto ; else goto ; where we consider the load of gridspacing to alias *pg_63. That is because of the not implemented ??? in /* Mark "other" loads and stores as belonging to CLIQUE and with base zero. */ static bool visit_loadstore (gimple *, tree base, tree ref, void *clique_) { unsigned short clique =3D (uintptr_t)clique_; if (TREE_CODE (base) =3D=3D MEM_REF || TREE_CODE (base) =3D=3D TARGET_MEM_REF) { tree ptr =3D TREE_OPERAND (base, 0); if (TREE_CODE (ptr) =3D=3D SSA_NAME && ! SSA_NAME_IS_DEFAULT_DEF (ptr)) { /* ??? We need to make sure 'ptr' doesn't include any of the restrict tags we added bases for in its points-to set. */ return false; } which would need to look at ptr's points-to solution and intersect that with a bitmap we'd need to form out of the restrict tags used for the respective clique (we only use a single one at the moment, thus a single bit test is enough if you consider properly pt_anything for ptr). It's not a complicated fix I think so if you have time to play with it... >>From gcc-bugs-return-503464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 11:09:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118042 invoked by alias); 23 Nov 2015 11: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 117525 invoked by uid 48); 23 Nov 2015 11:09:42 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68497] New: ICE: in output_387_binary_op, at config/i386/i386.c:17689 with -fno-checking Date: Mon, 23 Nov 2015 11:09: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: 6.0 X-Bugzilla-Keywords: 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 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: 2015-11/txt/msg02391.txt.bz2 Content-length: 2423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68497 Bug ID: 68497 Summary: ICE: in output_387_binary_op, at config/i386/i386.c:17689 with -fno-checking Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Created attachment 36806 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36806&action=3Dedit reduced testcase Compiler output: $ gcc -fno-checking testcase.c=20 testcase.c: In function 'foo': testcase.c:5:1: internal compiler error: in output_387_binary_op, at config/i386/i386.c:17689 } ^ 0xecd4d6 output_387_binary_op(rtx_def*, rtx_def**) /repo/gcc-trunk/gcc/config/i386/i386.c:17689 0x85693b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /repo/gcc-trunk/gcc/final.c:2947 0x8584c2 final(rtx_insn*, _IO_FILE*, int) /repo/gcc-trunk/gcc/final.c:2044 0x858e69 rest_of_handle_final /repo/gcc-trunk/gcc/final.c:4435 0x858e69 execute /repo/gcc-trunk/gcc/final.c:4510 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ gcc -v=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-230738-checking-yes-rtl-= df-nographite/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-checking=3Dyes,rtl,df --without-cloog --without-ppl --without-isl --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-230738-checking-yes-rtl-df-nograph= ite Thread model: posix gcc version 6.0.0 20151123 (experimental) (GCC)=20 The failing assertion is: 17686: && (STACK_TOP_P (operands[1]) || STACK_TOP_P (operands[2]))) 17687: ; /* ok */ 17688: else 17689: gcc_checking_assert (is_sse); 17690: 17691: switch (GET_CODE (operands[3])) 17692: { The above if(flag_checking ... ) is false for -fno-checking, but gcc_checking_assert() doesn't care about -fno-checking. Tested revisions: r230738 - ICE >>From gcc-bugs-return-503465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 11:27:20 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27699 invoked by alias); 23 Nov 2015 11: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 27292 invoked by uid 48); 23 Nov 2015 11:27:15 -0000 From: "jwyatt at feralinteractive dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values Date: Mon, 23 Nov 2015 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: 5.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jwyatt at feralinteractive 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: 5.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: 2015-11/txt/msg02392.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67550 --- Comment #4 from Jason Wyatt --- It appears that while parsing the initialiser for the array, maybe_constant_init switches the var for a constructor. This constructor on= ly sets the m2 member variable. You can see the result in the gimple it produc= es: testValue =3D 1; var =3D {}; var.m2 =3D 2; var.m1 =3D testValue; array =3D {}; array[0].m2 =3D 2; >>From gcc-bugs-return-503466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 11:43:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62048 invoked by alias); 23 Nov 2015 11:43: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 62004 invoked by uid 48); 23 Nov 2015 11:43:27 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68465] pass_lim doesn't detect identical loop entry conditions Date: Mon, 23 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 2015-11/txt/msg02393.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68465 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Richard Biener --- I don't think that's LIMs job then. Iterating LIM won't help here w/o intermediate optimization. >>From gcc-bugs-return-503467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 11:45:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66953 invoked by alias); 23 Nov 2015 11:45: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 66885 invoked by uid 48); 23 Nov 2015 11:45:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug plugins/54959] current_pass == NULL during invocation of pass->gate within execute_ipa_summary_passes() Date: Mon, 23 Nov 2015 11:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: plugins X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2015-11/txt/msg02394.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54959 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Yeah, 'this' should be used instead of current_pass. >>From gcc-bugs-return-503468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 11:50:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73716 invoked by alias); 23 Nov 2015 11:50: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 73666 invoked by uid 48); 23 Nov 2015 11:50:01 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Mon, 23 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 6.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: 2015-11/txt/msg02395.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ienkovich at gcc dot gnu.o= rg --- Comment #3 from Ilya Enkovich --- Looks like a duplicate of PR68327. r230743 fixed 465.tonto build for me. >>From gcc-bugs-return-503469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 11:59:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89070 invoked by alias); 23 Nov 2015 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 88987 invoked by uid 48); 23 Nov 2015 11:58:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63303] Pointer subtraction is broken when using -fsanitize=undefined Date: Mon, 23 Nov 2015 11: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: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2015-11/txt/msg02396.txt.bz2 Content-length: 998 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63303 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-23 Ever confirmed|0 |1 --- Comment #15 from Richard Biener --- Note that in practice it needs exposal of the address constant to trigger t= he bogus optimization. Note that the IL from the frontend is indeed the one to blame here: char * p =3D (char *) mmap (2147479552B, 8192, 3, 50, -1, 0); char * q =3D 2147483647B; if ((int) (p + 4096) - (int) q > 0) { for correctness WRT undefined overflow we need to do the subtraction in unsigned arithmetic and then interpret the result as signed (for an eventual division by element size). Same issue in the C++ frontend btw. >>From gcc-bugs-return-503470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:01:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95378 invoked by alias); 23 Nov 2015 12:01: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 95292 invoked by uid 48); 23 Nov 2015 12:01:27 -0000 From: "winter-gcc@bfw-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65178] incorrect -Wmaybe-uninitialized when using nested loops Date: Mon, 23 Nov 2015 12: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: 5.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: winter-gcc@bfw-online.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: 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: 2015-11/txt/msg02397.txt.bz2 Content-length: 374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65178 Leon Winter changed: What |Removed |Added ---------------------------------------------------------------------------- Version|5.0 |5.2.1 --- Comment #4 from Leon Winter --- Bug still persists. >>From gcc-bugs-return-503471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:12:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113027 invoked by alias); 23 Nov 2015 12:12: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 112483 invoked by uid 48); 23 Nov 2015 12:12:02 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68498] New: Replace LOOPS_MAY_HAVE_MULTIPLE_LATCHES with LOOPS_HAVE_SINGLE_LATCH Date: Mon, 23 Nov 2015 12:12: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries 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: 2015-11/txt/msg02398.txt.bz2 Content-length: 2600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68498 Bug ID: 68498 Summary: Replace LOOPS_MAY_HAVE_MULTIPLE_LATCHES with LOOPS_HAVE_SINGLE_LATCH Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider apply_loop_flags: ... static void apply_loop_flags (unsigned flags) { if (flags & LOOPS_MAY_HAVE_MULTIPLE_LATCHES) { /* If the loops may have multiple latches, we cannot canonicalize them further (and most of the loop manipulation functions will not work). However, we avoid modifying cfg, which some passes may want. */ gcc_assert ((flags & ~(LOOPS_MAY_HAVE_MULTIPLE_LATCHES | LOOPS_HAVE_RECORDED_EXITS)) =3D=3D 0); loops_state_set (LOOPS_MAY_HAVE_MULTIPLE_LATCHES); } else disambiguate_loops_with_multiple_latches (); /* Create pre-headers. */ if (flags & LOOPS_HAVE_PREHEADERS) { int cp_flags =3D CP_SIMPLE_PREHEADERS; if (flags & LOOPS_HAVE_FALLTHRU_PREHEADERS) cp_flags |=3D CP_FALLTHRU_PREHEADERS; create_preheaders (cp_flags); } /* Force all latches to have only single successor. */ if (flags & LOOPS_HAVE_SIMPLE_LATCHES) force_single_succ_latches (); /* Mark irreducible loops. */ if (flags & LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS) mark_irreducible_loops (); if (flags & LOOPS_HAVE_RECORDED_EXITS) record_loop_exits (); } ... Most properties in there have a handling bit: if property, do something. The odd one out is LOOPS_MAY_HAVE_MULTIPLE_LATCHES, where we have if !prope= rty, do something. LOOPS_MAY_HAVE_MULTIPLE_LATCHES is not really a property, it's the absence = of LOOPS_MAY_HAVE_MULTIPLE_LATCHES that's a property, which we might call LOOPS_HAVE_SINGLE_LATCH). It would properly be better to replace uses of LOOPS_MAY_HAVE_MULTIPLE_LATC= HES with uses of LOOPS_HAVE_SINGLE_LATCH. We would get in apply_loop_flags: ... if (flags & LOOPS_HAVE_SINGLE_LATCH) disambiguate_loops_with_multiple_latches (); else { /* If the loops may have multiple latches, we cannot canonicalize them further (and most of the loop manipulation functions will not work). However, we avoid modifying cfg, which some passes may want. */ gcc_assert ((flags & ~(LOOPS_HAVE_RECORDED_EXITS)) =3D=3D 0); } ... >>From gcc-bugs-return-503474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:14:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119923 invoked by alias); 23 Nov 2015 12:14: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 119778 invoked by uid 55); 23 Nov 2015 12:14:41 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68317] [6 regression] ice in set_value_range, at tree-vrp.c:380 Date: Mon, 23 Nov 2015 12:14: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: jiwang 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.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: 2015-11/txt/msg02401.txt.bz2 Content-length: 800 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68317 --- Comment #11 from Jiong Wang --- Author: jiwang Date: Mon Nov 23 12:14:05 2015 New Revision: 230754 URL: https://gcc.gnu.org/viewcvs?rev=3D230754&root=3Dgcc&view=3Drev Log: [Patch] Drop constant overflow flag in adjust_range_with_scev when possible 2015-11-23 Richard Biener Jiong Wang gcc/ PR tree-optimization/68317 PR tree-optimization/68326 * tree-vrp.c (adjust_range_with_scev): Call drop_tree_overflow if the final min and max are not infinity. gcc/testsuite/ * gcc.dg/pr68317.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr68317.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c >>From gcc-bugs-return-503472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:14:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118976 invoked by alias); 23 Nov 2015 12:14: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 118939 invoked by uid 48); 23 Nov 2015 12:14:27 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68497] ICE: in output_387_binary_op, at config/i386/i386.c:17689 with -fno-checking Date: Mon, 23 Nov 2015 12: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: 6.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: miyuki at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: miyuki at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02399.txt.bz2 Content-length: 705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68497 Mikhail Maltsev changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-23 CC| |miyuki at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |miyuki at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Mikhail Maltsev --- Confirmed. I have a patch and I'll post it shortly (after regtest). >>From gcc-bugs-return-503473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:14:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119832 invoked by alias); 23 Nov 2015 12:14: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 119735 invoked by uid 55); 23 Nov 2015 12:14:40 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68326] ICE at -O3 on x86_64-linux-gnu in set_value_range, at tree-vrp.c:380 Date: Mon, 23 Nov 2015 12:14: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: jiwang at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02400.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68326 --- Comment #2 from Jiong Wang --- Author: jiwang Date: Mon Nov 23 12:14:05 2015 New Revision: 230754 URL: https://gcc.gnu.org/viewcvs?rev=3D230754&root=3Dgcc&view=3Drev Log: [Patch] Drop constant overflow flag in adjust_range_with_scev when possible 2015-11-23 Richard Biener Jiong Wang gcc/ PR tree-optimization/68317 PR tree-optimization/68326 * tree-vrp.c (adjust_range_with_scev): Call drop_tree_overflow if the final min and max are not infinity. gcc/testsuite/ * gcc.dg/pr68317.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr68317.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c >>From gcc-bugs-return-503475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:15:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122475 invoked by alias); 23 Nov 2015 12:15: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 122415 invoked by uid 48); 23 Nov 2015 12:15:18 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68317] [6 regression] ice in set_value_range, at tree-vrp.c:380 Date: Mon, 23 Nov 2015 12:15: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: jiwang 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: 6.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: 2015-11/txt/msg02402.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68317 Jiong Wang changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Jiong Wang --- Mark as fixed. >>From gcc-bugs-return-503476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:18:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130595 invoked by alias); 23 Nov 2015 12:18: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 130565 invoked by uid 48); 23 Nov 2015 12:18:14 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68499] New: Unclear STDC FP_CONTRACT behavior in non-standard modes Date: Mon, 23 Nov 2015 12:18: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor 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 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: 2015-11/txt/msg02403.txt.bz2 Content-length: 1514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68499 Bug ID: 68499 Summary: Unclear STDC FP_CONTRACT behavior in non-standard modes Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vincent-gcc at vinc17 dot net Target Milestone: --- Created attachment 36807 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36807&action=3Dedit example of C program based on the STDC FP_CONTRACT pragma The following applies to: gcc (Debian 20151030-1) 6.0.0 20151031 (experimental) [trunk revision 22961= 5] When I compile a C program like the attached one with #pragma STDC FP_CONTRACT OFF in a standard mode, the pragma is now taken into account as expected (see PR37845 / r204460). However, in a non-standard mode such as the default gnu= 99 (?), it is not taken into account (a FMA is generated for an operation like x*y+z), but one gets no warnings either. One should have one of the followi= ng behaviors in non-standard modes: 1. The pragma is taken into account. 2. The pragma is not taken into account, but one gets a warning (making it unknown in non-standard modes is OK). If possible, (1) is probably the best choice, at least in gnu99 and gnu11 modes, as the user may want to disable contraction for some floating-point algorithms while still being able to use specific GNU extensions. >>From gcc-bugs-return-503477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:20:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21331 invoked by alias); 23 Nov 2015 12:20: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 21269 invoked by uid 55); 23 Nov 2015 12:20:02 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63303] Pointer subtraction is broken when using -fsanitize=undefined Date: Mon, 23 Nov 2015 12: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall 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: 2015-11/txt/msg02404.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63303 --- Comment #16 from Alexander Cherepanov --- On 2015-11-23 14:58, rguenth at gcc dot gnu.org wrote: > Note that in practice it needs exposal of the address constant to trigger= the > bogus optimization. No. The program: #include #include #include #include int main() { // make sure our allocation will cross 0x80000000 boundary // but still will not violate limits of gcc size_t len =3D 0x7fffffff; char *p1 =3D malloc(len); char *volatile v =3D p1 + len; char *p2 =3D v; long l1 =3D (long)(uintptr_t)p1; long l2 =3D (long)(uintptr_t)p2; if (l2 < l1) { long z =3D p2 - p1; if (z < 0) printf("%ld\n", z); } } prints a positive number for me even though it guards against it. gcc=20 5.2 with -m32 -O2. >>From gcc-bugs-return-503479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:36:20 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31433 invoked by alias); 23 Nov 2015 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 29887 invoked by uid 48); 23 Nov 2015 12:36:16 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68500] New: Remove in_loop_pipeline usage Date: Mon, 23 Nov 2015 12:36: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries 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: 2015-11/txt/msg02406.txt.bz2 Content-length: 1080 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68500 Bug ID: 68500 Summary: Remove in_loop_pipeline usage Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider pass_slp_vectorize::execute ... pass_slp_vectorize::execute (function *fun) { basic_block bb; bool in_loop_pipeline =3D scev_initialized_p (); if (!in_loop_pipeline) { loop_optimizer_init (LOOPS_NORMAL); scev_initialize (); } ... if (!in_loop_pipeline) { scev_finalize (); loop_optimizer_finalize (); }=20 ... It uses an in_loop_pipeline variable, initialized using scev_initialized_p = to detect whether the pass is run in the loop pipeline, to allow different behaviour inside and outside the loop pipeline. We want a cleaner way to allow passes to run correctly inside and outside t= he loop pipeline. >>From gcc-bugs-return-503478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:36:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29520 invoked by alias); 23 Nov 2015 12: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 18633 invoked by uid 48); 23 Nov 2015 12:36:11 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68499] Unclear STDC FP_CONTRACT behavior in non-standard modes Date: Mon, 23 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02405.txt.bz2 Content-length: 308 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68499 --- Comment #1 from Vincent Lef=C3=A8vre --- Well, actually the pragma is ignored in all cases. The fix was to set the default to OFF in the standard modes. So, currently, one should get a warni= ng in non-standard modes. >>From gcc-bugs-return-503480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:37:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83676 invoked by alias); 23 Nov 2015 12:37: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 83603 invoked by uid 48); 23 Nov 2015 12:37:21 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr Date: Mon, 23 Nov 2015 12: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02407.txt.bz2 Content-length: 1768 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68484 --- Comment #5 from H.J. Lu --- (In reply to Richard Biener from comment #4) > As the summary mentions 'volatile' I'll also point to the implementation = of > the intrinsics which have >=20 > /* Store four SPFP values. The address must be 16-byte aligned. */ > extern __inline void __attribute__((__gnu_inline__, __always_inline__, > __artificial__)) > _mm_store_ps (float *__P, __m128 __A) > { > *(__v4sf *)__P =3D (__v4sf)__A; > } >=20 > so they are not using a volatile qualified type to access *__P which means > the stores are not considered volatile by GCC. >=20 > The arguments about strict-aliasing requirements still hold, only __m128 = is > declared as __may_alias__: >=20 > /* The Intel API is flexible enough that we must allow aliasing with other > vector types, and their scalar components. */ > typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)= ); >=20 > /* Internal data types for implementing the intrinsics. */ > typedef float __v4sf __attribute__ ((__vector_size__ (16))); >=20 > so the v4sf store has regular TBAA rules applied (and the __may_alias__ on > the by value passed __A has no effect). >=20 > -> target "bug", but I'd say an INVALID one. >=20 > HJ, I remember the "master" copy of the intrinsics documentation is > somewhere at Intel - what does that say to the two above issues? >=20 > Thus all of this boils down to the question whether the intrinsics are > implemented correctly (as documented). The volatile part of it would > mean to either pessimize all users or that we can't implement the > intrinsics as C functions. _mm_store_ps is documented in Intel SDM for movaps. It doesn't say anything about aliasing. >>From gcc-bugs-return-503482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:38:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116305 invoked by alias); 23 Nov 2015 12:38: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 113089 invoked by uid 48); 23 Nov 2015 12:38:43 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68500] Remove in_loop_pipeline usage Date: Mon, 23 Nov 2015 12:38: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries 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: 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: 2015-11/txt/msg02409.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68500 --- Comment #2 from vries at gcc dot gnu.org --- Created attachment 36809 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36809&action=3Dedit Tentative patch: Add PROP_scev >>From gcc-bugs-return-503481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:38:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88724 invoked by alias); 23 Nov 2015 12:38: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 85906 invoked by uid 48); 23 Nov 2015 12:38:14 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68500] Remove in_loop_pipeline usage Date: Mon, 23 Nov 2015 12:38: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries 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: 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: 2015-11/txt/msg02408.txt.bz2 Content-length: 286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68500 --- Comment #1 from vries at gcc dot gnu.org --- Created attachment 36808 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36808&action=3Dedit Tentative patch: "Don't reapply loops flags if unnecessary in loop_optimizer_init" >>From gcc-bugs-return-503483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:39:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124552 invoked by alias); 23 Nov 2015 12:39: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 124525 invoked by uid 48); 23 Nov 2015 12:39:21 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68500] Remove in_loop_pipeline usage Date: Mon, 23 Nov 2015 12:39: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries 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: 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: 2015-11/txt/msg02410.txt.bz2 Content-length: 251 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68500 --- Comment #3 from vries at gcc dot gnu.org --- Created attachment 36810 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36810&action=3Dedit Tentative patch: Add PROP_loops_normal_re_lcssa >>From gcc-bugs-return-503484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:39:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125361 invoked by alias); 23 Nov 2015 12: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 125302 invoked by uid 48); 23 Nov 2015 12:39:44 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/20785] Pragma STDC * (C99 FP) unimplemented Date: Mon, 23 Nov 2015 12:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vincent-gcc at vinc17 dot net 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02411.txt.bz2 Content-length: 783 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D20785 Vincent Lef=C3=A8vre changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vincent-gcc at vinc17 dot = net --- Comment #7 from Vincent Lef=C3=A8vre --- For the STDC FENV_ACCESS pragma specifically, there is PR34678. For the STDC FP_CONTRACT pragma, there is PR37845, which was fixed by r2044= 60, though things could be improved in the future as the pragma is actually ignored: it's just that the default is now OFF in standard modes to be C99/= C11 conforming. In the non-standard modes, one now misses the warning: PR68499. >>From gcc-bugs-return-503485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:40:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13918 invoked by alias); 23 Nov 2015 12:40:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10153 invoked by uid 48); 23 Nov 2015 12:40:55 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68500] Remove in_loop_pipeline usage Date: Mon, 23 Nov 2015 12:40: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries 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: 2015-11/txt/msg02412.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68500 --- Comment #4 from vries at gcc dot gnu.org --- First patch posted here: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02634.html Last two patches fyi-posted here: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02688.html >>From gcc-bugs-return-503486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 12:58:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116994 invoked by alias); 23 Nov 2015 12:58: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 116966 invoked by uid 55); 23 Nov 2015 12:58:45 -0000 From: "kyukhin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68001] [cilkplus] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:760 Date: Mon, 23 Nov 2015 12: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kyukhin 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: 2015-11/txt/msg02413.txt.bz2 Content-length: 891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68001 --- Comment #1 from Kirill Yukhin --- Author: kyukhin Date: Mon Nov 23 12:58:12 2015 New Revision: 230755 URL: https://gcc.gnu.org/viewcvs?rev=3D230755&root=3Dgcc&view=3Drev Log: PR c++/68001 gcc/c-family PR c++/68001 * c-gimplify.c (c_gimplify_expr): Stop the process if see an error. * cilk.c (recognize_spawn): Determine location in a more precise way. gcc/cp * cp-gimplify.c (cp_gimplify_expr): Stop the process if see an erro= r. gcc/testsuite * g++.dg/cilk-plus/CK/pr68001.cc: New test. Added: trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr68001.cc Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-gimplify.c trunk/gcc/c-family/cilk.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-gimplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:00:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120529 invoked by alias); 23 Nov 2015 13:00: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 120432 invoked by uid 48); 23 Nov 2015 13:00:23 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr Date: Mon, 23 Nov 2015 13: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: glisse 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: 2015-11/txt/msg02414.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68484 --- Comment #6 from Marc Glisse --- clang has: static __inline__ void __DEFAULT_FN_ATTRS _mm_storel_epi64(__m128i *__p, __m128i __a) { struct __mm_storel_epi64_struct { long long __u; } __attribute__((__packed__, __may_alias__)); ((struct __mm_storel_epi64_struct*)__p)->__u =3D __a[0]; } It doesn't prove anything, this is just a point of comparison. (I haven't checked, but I suspect that they have an implicit may_alias on a= ll vector types) >>From gcc-bugs-return-503488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:08:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109237 invoked by alias); 23 Nov 2015 13: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 108981 invoked by uid 55); 23 Nov 2015 13:08:51 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68499] Unclear STDC FP_CONTRACT behavior in non-standard modes Date: Mon, 23 Nov 2015 13: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02415.txt.bz2 Content-length: 214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68499 --- Comment #2 from joseph at codesourcery dot com --- Unknown pragmas are diagnosed with -Wunknown-pragmas (part of -Wall). >>From gcc-bugs-return-503489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:23:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32021 invoked by alias); 23 Nov 2015 13:23: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 31956 invoked by uid 48); 23 Nov 2015 13:23:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68221] libgomp reduction-11/12 failures Date: Mon, 23 Nov 2015 13:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: openmp 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: 6.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: 2015-11/txt/msg02416.txt.bz2 Content-length: 1111 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68221 --- Comment #5 from Richard Biener --- 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 230671) +++ gcc/tree-ssa-sccvn.c (working copy) @@ -750,8 +750,11 @@ copy_reference_ops_from_ref (tree ref, v case MEM_REF: /* The base address gets its own vn_reference_op_s structure. */ temp.op0 =3D TREE_OPERAND (ref, 1); - if (tree_fits_shwi_p (TREE_OPERAND (ref, 1))) - temp.off =3D tree_to_shwi (TREE_OPERAND (ref, 1)); + { + offset_int off =3D mem_ref_offset (ref); + if (wi::fits_shwi_p (off)) + temp.off =3D off.to_shwi (); + } temp.clique =3D MR_DEPENDENCE_CLIQUE (ref); temp.base =3D MR_DEPENDENCE_BASE (ref); temp.reverse =3D REF_REVERSE_STORAGE_ORDER (ref); >>From gcc-bugs-return-503490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:25:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104621 invoked by alias); 23 Nov 2015 13: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 104522 invoked by uid 48); 23 Nov 2015 13:25:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68221] libgomp reduction-11/12 failures Date: Mon, 23 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: openmp 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: 6.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: 2015-11/txt/msg02417.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68221 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-23 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-503491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:26:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105746 invoked by alias); 23 Nov 2015 13: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 105702 invoked by uid 48); 23 Nov 2015 13:26:23 -0000 From: "boger at us dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/66574] Time is provided in millisecond precision instead of nanoseconds as described in go documentation Date: Mon, 23 Nov 2015 13:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: boger at us dot ibm.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02418.txt.bz2 Content-length: 215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66574 --- Comment #6 from boger at us dot ibm.com --- (In reply to Ian Lance Taylor from comment #5) > Fixed on mainline. Can this be backported to the gcc 5 branch? >>From gcc-bugs-return-503492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:39:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26829 invoked by alias); 23 Nov 2015 13:39: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 26768 invoked by uid 48); 23 Nov 2015 13:39:29 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/68470] [4.9/5/6 Regression] Internal Compiler Error observed by g++-4.9.2 and a few other versions (reported to Debian) Date: Mon, 23 Nov 2015 13:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02419.txt.bz2 Content-length: 3671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68470 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #4 from Martin Li=C5=A1ka --- (In reply to Mikhail Maltsev from comment #3) > A bit simplified testcase: >=20 > void deallocate(void *); > void *a; >=20 > struct C { > virtual void m_fn1(); > }; >=20 > struct D { > C *m_fn2() { > if (a) > __builtin_abort(); > } > }; > D getd(); >=20 > struct vec_int { > int _M_start; > ~vec_int() { > if (_M_start) > deallocate(&_M_start); > } > }; > vec_int *b; >=20 > struct I { > virtual void m_fn3(); > }; >=20 > void I::m_fn3() { > if (a) > getd().m_fn2()->m_fn1(); > b->~vec_int(); > } >=20 > $ cc1plus -O2 test.cc - ICE after fnsplit > $ cc1plus -O2 test.cc -fno-checking - ICE in IPA-ICF (like in the original > bug report) > $ cc1plus -O2 test.cc -fno-devirtualize - OK > $ cc1plus -O2 test.cc --param partial-inlining-entry-probability=3D0 - OK >=20 > ISTM, this is some IPA-related issue: > D::m_fn2 and vec_int::~vec_int are inlined into I::m_fn3. > D::m_fn2 (D::operator-> in previous comments) does not return any value > (undefined behavior), so gimple_fold_call devirtualizes > getd().m_fn2()->m_fn1() into __builtin_unreachable during fwprop1. > fnsplit then tries to split I::m_fn3. This is how the function looks befo= re > fnsplit: >=20 > ;; Function virtual void I::m_fn3() (_ZN1I5m_fn3Ev, funcdef_no=3D4, > decl_uid=3D2299, cgraph_uid=3D4, symbol_order=3D6) >=20 > virtual void I::m_fn3() (struct I * const this) > { > struct C * D.2356; > void * a.0_3; > void * a.2_5; > struct vec_int * b.1_12; > int _14; > int * _15; >=20 > : > a.0_3 =3D a; > if (a.0_3 !=3D 0B) > goto ; > else > goto ; >=20 > : > getd (); > a.2_5 =3D a; > if (a.2_5 !=3D 0B) > goto ; > else > goto ; >=20 > : > __builtin_abort (); >=20 > : > __builtin_unreachable (); >=20 > : > b.1_12 =3D b; > _14 =3D b.1_12->_M_start; > if (_14 !=3D 0) > goto ; > else > goto ; >=20 > : > _15 =3D &b.1_12->_M_start; > deallocate (_15); >=20 > : > MEM[(struct &)b.1_12] =3D{v} {CLOBBER}; > return; >=20 > } >=20 > The splitting pass tries to do this: >=20 > Splitting function at: > Split point at BB 6 > header time: 19646 header size: 10 > split time: 2491 split size: 6 > bbs: 6, 7 > SSA names to pass:=20 > Introduced new external node (void __builtin_unreachable()/18). >=20 > ICE probably happens in this part: >=20 > virtual void I::m_fn3() (struct I * const this) > { > struct C * D.2356; > void * a.0_3; > void * a.2_5; >=20 > : > a.0_3 =3D a; > if (a.0_3 !=3D 0B) > goto ; > else > goto ; >=20 > : > getd (); > a.2_5 =3D a; > if (a.2_5 !=3D 0B) > goto ; > else > goto ; >=20 > : > __builtin_abort (); >=20 > : > __builtin_unreachable (); >=20 > : > I::_ZN1I5m_fn3Ev.part.1 (); > MEM[(struct &)_12] =3D{v} {CLOBBER}; > return; >=20 > } Hi. The problem is really in , which contains definition of 'b.1_12' that= is used in return_bb (). The return_bb is eventually merged with . I'm not sure about proper fix, I would expect that return_bb must be pruned= of all unused stmts (that would be moved to newly created function). Any ideas? Martin >>From gcc-bugs-return-503493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:41:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42471 invoked by alias); 23 Nov 2015 13:41: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 42435 invoked by uid 48); 23 Nov 2015 13:41:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Mon, 23 Nov 2015 13: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: 5.2.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: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg02420.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #5 from Jakub Jelinek --- Created attachment 36811 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36811&action=3Dedit gcc6-pr68483.patch Untested fix. >>From gcc-bugs-return-503495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:59:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10385 invoked by alias); 23 Nov 2015 13: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 10295 invoked by uid 48); 23 Nov 2015 13:59:54 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65908] [5 Regression] ICE: in expand_thunk, at cgraphunit.c:1700 Date: Mon, 23 Nov 2015 13: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: 5.1.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: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02422.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65908 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #17 from Martin Li=C5=A1ka --- Fixed in gcc-5-branch. >>From gcc-bugs-return-503494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 13:59:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8861 invoked by alias); 23 Nov 2015 13:59: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 6997 invoked by uid 55); 23 Nov 2015 13:59:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65908] [5 Regression] ICE: in expand_thunk, at cgraphunit.c:1700 Date: Mon, 23 Nov 2015 13: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: 5.1.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: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02421.txt.bz2 Content-length: 1356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65908 --- Comment #16 from Martin Li=C5=A1ka --- Author: marxin Date: Mon Nov 23 13:58:40 2015 New Revision: 230756 URL: https://gcc.gnu.org/viewcvs?rev=3D230756&root=3Dgcc&view=3Drev Log: PR ipa/65908 * ipa-icf.c (sem_item::target_supports_symbol_aliases): Remove construction of arg_types. (sem_function::sem_function): Likewise. (sem_function::~sem_function): Remove destruction of arg_types. (sem_function::compatible_parm_types_p): New function. (sem_function::equals_wpa): Reorg matching of return values and parameter types. (sem_function::equals_private): Reorg mathcing of argument types. (sem_function::parse_tree_args): Remove. (sem_function::param_used_p): New function. * ipa-icf.h (init_wpa): Do not call it. (parse_tree_args): Remove. (compatible_parm_types_p): Declare. (result_type): Remove. (arg_types): Remove. (param_used_p): Declare. * g++.dg/ipa/pr65908.C: New testcase. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/ipa/pr65908.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/ipa-icf.c branches/gcc-5-branch/gcc/ipa-icf.h branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:26:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128845 invoked by alias); 23 Nov 2015 14:26: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 128779 invoked by uid 48); 23 Nov 2015 14:26:54 -0000 From: "gang.chen.5i5j at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63326] whether a #pragma is a statement depends on the type of pragma Date: Mon, 23 Nov 2015 14: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: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gang.chen.5i5j at gmail dot com 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02423.txt.bz2 Content-length: 1145 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63326 --- Comment #19 from Chen Gang --- (In reply to Andrew Pinski from comment #18) > (In reply to Chen Gang from comment #17) > > I guess the diff below should be OK, I shall give a make check test. >=20 > I would rather have the C front-end behavior for C++ rather than the > opposite way around. Because _Pragma are considered statements. For me, this bug is related with the demands (language definition), and C n= eed not be part of C++. - For me, what cc1plus has done is OK: C++ looks that it always 'likes' mo= re new features, and want to let the users (C++ programmer) use the language freely and in common sense. - But for C, if one feature is in discussing, it should not be treated as a common features (C standard is more stricter than C++). So we need not care about this 'bug' quite much (In real world, C programmers need not use #pra= gma in this way). In our case (this cc1 'bug'), Instead of returning the 'anbisous' result (it may cause misunderstanding for C/C++ programmers more or less), cc1 need re= port error during compiling. >>From gcc-bugs-return-503498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:27:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5305 invoked by alias); 23 Nov 2015 14:27: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 5253 invoked by uid 48); 23 Nov 2015 14:27:54 -0000 From: "gang.chen.5i5j at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63326] whether a #pragma is a statement depends on the type of pragma Date: Mon, 23 Nov 2015 14: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: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gang.chen.5i5j at gmail dot com 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02425.txt.bz2 Content-length: 1145 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63326 --- Comment #20 from Chen Gang --- (In reply to Andrew Pinski from comment #18) > (In reply to Chen Gang from comment #17) > > I guess the diff below should be OK, I shall give a make check test. >=20 > I would rather have the C front-end behavior for C++ rather than the > opposite way around. Because _Pragma are considered statements. For me, this bug is related with the demands (language definition), and C n= eed not be part of C++. - For me, what cc1plus has done is OK: C++ looks that it always 'likes' mo= re new features, and want to let the users (C++ programmer) use the language freely and in common sense. - But for C, if one feature is in discussing, it should not be treated as a common features (C standard is more stricter than C++). So we need not care about this 'bug' quite much (In real world, C programmers need not use #pra= gma in this way). In our case (this cc1 'bug'), Instead of returning the 'anbisous' result (it may cause misunderstanding for C/C++ programmers more or less), cc1 need re= port error during compiling. >>From gcc-bugs-return-503497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:27:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4499 invoked by alias); 23 Nov 2015 14:27: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 4405 invoked by uid 48); 23 Nov 2015 14:27:40 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Mon, 23 Nov 2015 14:27: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: hjl.tools at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02424.txt.bz2 Content-length: 328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 --- Comment #4 from H.J. Lu --- (In reply to Ilya Enkovich from comment #3) > Looks like a duplicate of PR68327. r230743 fixed 465.tonto build for me. r230743 still fails for me. Can you show me your linking command line for 465.tonto build? >>From gcc-bugs-return-503499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:42:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77928 invoked by alias); 23 Nov 2015 14:42:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77895 invoked by uid 48); 23 Nov 2015 14:42:05 -0000 From: "vvsed at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr Date: Mon, 23 Nov 2015 14: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: vvsed at hotmail 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: 2015-11/txt/msg02426.txt.bz2 Content-length: 214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68484 --- Comment #7 from Vladimir Sedach --- The "store" pointer could be not only volatile, but also static or global w= ith same error. >>From gcc-bugs-return-503500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:43:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82314 invoked by alias); 23 Nov 2015 14:43: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 82190 invoked by uid 48); 23 Nov 2015 14:43:12 -0000 From: "afomin.mailbox at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68501] New: [6 Regression] sqrt builtin is not used anymore Date: Mon, 23 Nov 2015 14:43: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: afomin.mailbox 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 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: 2015-11/txt/msg02427.txt.bz2 Content-length: 2208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68501 Bug ID: 68501 Summary: [6 Regression] sqrt builtin is not used anymore Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: afomin.mailbox at gmail dot com CC: izamyatin at gmail dot com, rsandifo at redhat dot com, ysrumyan at gmail dot com Target Milestone: --- Target: x86_64-*-* Created attachment 36812 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36812&action=3Dedit A reproducer For the attached reproducer compiled with g++ -mavx -Ofast we do not use IA sqrt builtin since r230492 thus emitting more insns. r230491 .L8: vmovaps (%r14,%rax), %ymm0 addl $1, %r12d vmovups 0(%r13,%rax), %xmm1 vinsertf128 $0x1, 16(%r13,%rax), %ymm1, %ymm1 vmulps %ymm1, %ymm1, %ymm1 vmulps %ymm0, %ymm0, %ymm0 vaddps %ymm1, %ymm0, %ymm1 vrsqrtps %ymm1, %ymm2 vmulps %ymm1, %ymm2, %ymm0 vmulps %ymm2, %ymm0, %ymm0 vaddps %ymm4, %ymm0, %ymm0 vmulps %ymm3, %ymm2, %ymm2 vmulps %ymm2, %ymm0, %ymm0 vmovups %xmm0, (%r10,%rax) vextractf128 $0x1, %ymm0, 16(%r10,%rax) addq $32, %rax cmpl %r12d, %r9d ja .L8=20 r230492 .L8: .L8: vmovaps (%r14,%rax), %ymm0 addl $1, %r12d vmovups 0(%r13,%rax), %xmm1 vinsertf128 $0x1, 16(%r13,%rax), %ymm1, %ymm1 vmulps %ymm1, %ymm1, %ymm1 vmulps %ymm0, %ymm0, %ymm0 vaddps %ymm1, %ymm0, %ymm1 vcmpneqps %ymm1, %ymm2, %ymm5 vrsqrtps %ymm1, %ymm0 vandps %ymm5, %ymm0, %ymm0 vmulps %ymm1, %ymm0, %ymm1 vmulps %ymm0, %ymm1, %ymm0 vaddps %ymm4, %ymm0, %ymm0 vmulps %ymm3, %ymm1, %ymm1 vmulps %ymm1, %ymm0, %ymm0 vrcpps %ymm0, %ymm1 vmulps %ymm0, %ymm1, %ymm0 vmulps %ymm0, %ymm1, %ymm0 vaddps %ymm1, %ymm1, %ymm1 vsubps %ymm0, %ymm1, %ymm0 vmovups %xmm0, (%r10,%rax) vextractf128 $0x1, %ymm0, 16(%r10,%rax) addq $32, %rax cmpl %r12d, %r9d ja .L8 >>From gcc-bugs-return-503501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:43:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82715 invoked by alias); 23 Nov 2015 14: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 82300 invoked by uid 48); 23 Nov 2015 14:43:15 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68499] Unclear STDC FP_CONTRACT behavior in non-standard modes Date: Mon, 23 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: vincent-gcc at vinc17 dot net 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: 2015-11/txt/msg02428.txt.bz2 Content-length: 752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68499 Vincent Lef=C3=A8vre changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Vincent Lef=C3=A8vre --- Sorry, I forgot that I had an alias gcc=3D'gcc -Wall', so that I got a warn= ing for gcc, but not for gcc-snapshot. I've now changed by config to define suc= h an alias for each GCC command found in $PATH. I'm closing this bug since nothing has changed concerning the warnings comp= ared to old GCC versions. >>From gcc-bugs-return-503502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:47:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91579 invoked by alias); 23 Nov 2015 14:47: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 90371 invoked by uid 48); 23 Nov 2015 14:47:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66721] [6 regression] gcc.target/i386/pr61403.c FAILs Date: Mon, 23 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02429.txt.bz2 Content-length: 4494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66721 --- Comment #3 from Richard Biener --- So I have a "solution" that I hope to prettify a bit still. The basic issue is that SLP is "broken" in that it builds a tree of operations instead of a graph. That is, it un-CSEs all n in the testcase: for (i =3D 0; i < size; ++i) { float n =3D sqrt (in[i].x * in[i].x + in[i].y * in[i].y + in[i].z * in[i].z); out[i].x =3D in[i].x / n; out[i].y =3D in[i].y / n; out[i].z =3D in[i].z / n; } which results in bloat in the SLP tree and initial vectorized code and also cost which is good in this case. Usually with nicely vector-size aligned things later passes can CSE all the mess again and the generated code isn't so bad (so the costs are overly conservative). But in this case with an "interleaving size" of 3 we end up with three vectors containing 4 groups we'd want to CSE. sqrt { in[0].x * in[0].x + in[0].y * in[0].y + ..., in[0].x * .... in[0].x * ..., in[1].x * in[1].x + in[1].y * ... } sqrt { ... } sqrt { ... } this way we avoid the permutes on the stores of course, but the lack of CSE here makes the generated code worse (when you look at it with -fno-vect-cost-model, the cost-model rejects the code even though it might be profitable at a slightly larger theshold in practice). .L5: movups (%r8), %xmm8 addl $1, %r10d addq $48, %r8 addq $48, %rax movups -16(%r8), %xmm6 movups -32(%r8), %xmm7 movaps %xmm8, %xmm13 movdqa %xmm6, %xmm11 movdqa %xmm6, %xmm10 movaps %xmm6, %xmm1 movdqa %xmm7, %xmm9 movdqa %xmm7, %xmm0 movaps %xmm7, %xmm12 shufps $252, %xmm6, %xmm1 palignr $8, %xmm7, %xmm11 shufps $175, %xmm7, %xmm13 mulps %xmm1, %xmm1 movaps %xmm7, %xmm2 palignr $12, %xmm7, %xmm10 shufps $252, %xmm11, %xmm11 mulps %xmm11, %xmm11 shufps $240, %xmm7, %xmm12 shufps $252, %xmm10, %xmm10 mulps %xmm10, %xmm10 palignr $4, %xmm8, %xmm9 shufps $5, %xmm6, %xmm2 shufps $192, %xmm9, %xmm9 mulps %xmm9, %xmm9 palignr $8, %xmm8, %xmm0 shufps $192, %xmm0, %xmm0 mulps %xmm0, %xmm0 mulps %xmm13, %xmm13 addps %xmm10, %xmm11 mulps %xmm12, %xmm12 movaps %xmm8, %xmm10 shufps $192, %xmm8, %xmm10 mulps %xmm10, %xmm10 mulps %xmm2, %xmm2 addps %xmm11, %xmm1 addps %xmm13, %xmm12 addps %xmm10, %xmm9 movaps %xmm3, %xmm10 addps %xmm12, %xmm2 addps %xmm9, %xmm0 rsqrtps %xmm0, %xmm9 cmpneqps %xmm0, %xmm10 andps %xmm10, %xmm9 mulps %xmm9, %xmm0 movaps %xmm3, %xmm10 cmpneqps %xmm2, %xmm10 mulps %xmm0, %xmm9 mulps %xmm4, %xmm0 addps %xmm5, %xmm9 mulps %xmm9, %xmm0 rsqrtps %xmm2, %xmm9 andps %xmm10, %xmm9 mulps %xmm9, %xmm2 movaps %xmm3, %xmm10 cmpneqps %xmm1, %xmm10 mulps %xmm2, %xmm9 mulps %xmm4, %xmm2 addps %xmm5, %xmm9 mulps %xmm9, %xmm2 rsqrtps %xmm1, %xmm9 andps %xmm10, %xmm9 mulps %xmm9, %xmm1 mulps %xmm1, %xmm9 mulps %xmm4, %xmm1 addps %xmm5, %xmm9 mulps %xmm9, %xmm1 rcpps %xmm0, %xmm9 mulps %xmm9, %xmm0 mulps %xmm9, %xmm0 addps %xmm9, %xmm9 subps %xmm0, %xmm9 rcpps %xmm2, %xmm0 mulps %xmm9, %xmm8 mulps %xmm0, %xmm2 movups %xmm8, -48(%rax) mulps %xmm0, %xmm2 addps %xmm0, %xmm0 subps %xmm2, %xmm0 mulps %xmm7, %xmm0 movups %xmm0, -32(%rax) rcpps %xmm1, %xmm0 mulps %xmm0, %xmm1 mulps %xmm0, %xmm1 addps %xmm0, %xmm0 subps %xmm1, %xmm0 mulps %xmm6, %xmm0 movups %xmm0, -16(%rax) cmpl %r10d, %r9d ja .L5 of course it doesn't use any blend instruction. The testcase was to test interleaving of size 3 support which should better have used different operations to make SLP impossible (of course the testcase is also from real-world code which means it is a relevant regression). >>From gcc-bugs-return-503503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:56:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127167 invoked by alias); 23 Nov 2015 14:56: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 127113 invoked by uid 48); 23 Nov 2015 14:56:09 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/66574] Time is provided in millisecond precision instead of nanoseconds as described in go documentation Date: Mon, 23 Nov 2015 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02430.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66574 --- Comment #7 from Ian Lance Taylor --- I'm a little worried because I'm not 100% confident that clock_gettime is available in the standard library on all systems. I don't want to break GC= C 5 is that is the case. Admittedly I haven't seen any bug reports on mainline yet, but it's only been a few days. >>From gcc-bugs-return-503504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 14:56:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10282 invoked by alias); 23 Nov 2015 14:56: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 6494 invoked by uid 55); 23 Nov 2015 14:56:38 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68363] [4.9/5/6 Regression] ICE: in recog_memoized, at recog.h:167 with RTL checking with -mfix-cortex-a53-835769 @ aarch64 Date: Mon, 23 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02431.txt.bz2 Content-length: 691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68363 --- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Mon Nov 23 14:56:03 2015 New Revision: 230760 URL: https://gcc.gnu.org/viewcvs?rev=3D230760&root=3Dgcc&view=3Drev Log: [AArch64] PR target/68363 Check that argument is real INSN in aarch64_madd_needs_nop PR target/68363 * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Reject argumen= ts that are not INSN_P. * gcc.target/aarch64/pr68363_1.c: New test. Added: trunk/gcc/testsuite/gcc.target/aarch64/pr68363_1.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:18:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59671 invoked by alias); 23 Nov 2015 15:18: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 59613 invoked by uid 55); 23 Nov 2015 15:18:28 -0000 From: "nsz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68059] [arm] libgcc uses __write to report error Date: Mon, 23 Nov 2015 15:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nsz 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: 2015-11/txt/msg02432.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68059 --- Comment #3 from nsz at gcc dot gnu.org --- Author: nsz Date: Mon Nov 23 15:17:55 2015 New Revision: 230762 URL: https://gcc.gnu.org/viewcvs?rev=3D230762&root=3Dgcc&view=3Drev Log: [ARM] PR target/68059 libgcc should not use __write for printing fatal error libgcc/ PR target/68059 * config/arm/linux-atomic-64bit.c (__write): Rename to... (write): ...this and fix the return type. Modified: trunk/libgcc/ChangeLog trunk/libgcc/config/arm/linux-atomic-64bit.c >>From gcc-bugs-return-503506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:19:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66346 invoked by alias); 23 Nov 2015 15:19: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 65867 invoked by uid 48); 23 Nov 2015 15:19:04 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 6.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: 2015-11/txt/msg02433.txt.bz2 Content-length: 2030 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 --- Comment #5 from Ilya Enkovich --- (In reply to H.J. Lu from comment #4) > r230743 still fails for me. Can you show me your linking command line > for 465.tonto build? Here it is. Works OK for today's trunk (revision 230759). gfortran -Ofast -funroll-loops -flto -m64 -flto=3D16 -DSPEC_CPU2000_LP64=20 -march=3Dcore-avx2 -DSPEC_CPU_LP64 types.fppized.o system.fppize= d.o str.fppized.o int.fppized.o real.fppized.o intvec.fppized.o realvec.fppized= .o binmat.fppized.o cpxvec.fppized.o realmat.fppized.o parallel.fppized.o intmat.fppized.o buffer.fppized.o intvecvec.fppized.o strvec.fppized.o binvec.fppized.o unitnumber.fppized.o textfile.fppized.o opvector.fppized.o file.fppized.o cpxmat.fppized.o opmatrix.fppized.o archive.fppized.o diis.fppized.o reflection.fppized.o cif.fppized.o cpxmat3.fppized.o realmat3.fppized.o spacegroup.fppized.o slatershell.fppized.o slatershellvec.fppized.o interpolator.fppized.o slaterbasis.fppized.o shell1.fppized.o unitcell.fppized.o shell.fppized.o shellvec.fppized.o basis.fppized.o coppensorbital.fppized.o coppensorbitalvec.fppized.o coppensbasis.fppized.o atom.fppized.o reflectionvec.fppized.o rys.fppized.o cpxmat4.fppized.o gaussian.fppized.o gaussian2.fppized.o realmat4.fppized.o intmat3.fppized.o shell2.fppized.o atomvec.fppized.o crystal.fppized.o scfdata.fppized.o basisvec.fppized.o realmat5.fppized.o gaussian4.fppized.o shell4.fppized.o time.fppized.o colour.fppized.o colourfunction.fppized.o intvecmat3.fppized.o intvecintvechash.fppized.o marchingcube.fppized.o plotgrid.fppized.o isosurface.fppized.o realmat3vec.fppized.o cluster.fppiz= ed.o cpxmat5.fppized.o shellpair.fppized.o shellpairvec.fppized.o coppensbasisvec.fppized.o irrep.fppized.o irrepvec.fppized.o pointgroup.fppized.o slaterbasisvec.fppized.o shell1quartet.fppized.o roby.fppized.o dftgrid.fppized.o mol.fppized.o mol_main.fppized.o run_mol.fppized.o blas.o lapack.o -o tonto >>From gcc-bugs-return-503507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:21:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78942 invoked by alias); 23 Nov 2015 15:21: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 78840 invoked by uid 55); 23 Nov 2015 15:21:14 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68363] [4.9/5/6 Regression] ICE: in recog_memoized, at recog.h:167 with RTL checking with -mfix-cortex-a53-835769 @ aarch64 Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02434.txt.bz2 Content-length: 848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68363 --- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Mon Nov 23 15:20:42 2015 New Revision: 230763 URL: https://gcc.gnu.org/viewcvs?rev=3D230763&root=3Dgcc&view=3Drev Log: [AArch64] PR target/68363 Check that argument is real INSN in aarch64_madd_needs_nop Backport from mainline 2015-11-23 Kyrylo Tkachov PR target/68363 * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Reject argumen= ts that are not INSN_P. * gcc.target/aarch64/pr68363_1.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/aarch64/pr68363_1.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/aarch64/aarch64.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:22:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86827 invoked by alias); 23 Nov 2015 15:22:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86546 invoked by uid 55); 23 Nov 2015 15:22:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68465] pass_lim doesn't detect identical loop entry conditions Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02435.txt.bz2 Content-length: 736 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68465 --- Comment #2 from Richard Biener --- Author: rguenth Date: Mon Nov 23 15:21:32 2015 New Revision: 230764 URL: https://gcc.gnu.org/viewcvs?rev=3D230764&root=3Dgcc&view=3Drev Log: 2015-11-23 Richard Biener PR tree-optimization/68465 * tree-ssa-sccvn.c (sccvn_dom_walker::before_dom_children): Also record equalities from multiple predecessor blocks if only one non-backedge exists. * gcc.dg/tree-ssa/ssa-fre-52.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-52.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-sccvn.c >>From gcc-bugs-return-503509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:24:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94464 invoked by alias); 23 Nov 2015 15:24: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 94427 invoked by uid 48); 23 Nov 2015 15:24:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68465] pass_lim doesn't detect identical loop entry conditions Date: Mon, 23 Nov 2015 15:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02436.txt.bz2 Content-length: 197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68465 --- Comment #3 from Richard Biener --- Fixed the issue where this originally was observed in (oacc-kernel passes) >>From gcc-bugs-return-503510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:25:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96345 invoked by alias); 23 Nov 2015 15:25: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 96229 invoked by uid 48); 23 Nov 2015 15:25:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68498] Replace LOOPS_MAY_HAVE_MULTIPLE_LATCHES with LOOPS_HAVE_SINGLE_LATCH Date: Mon, 23 Nov 2015 15:25: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02437.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68498 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-23 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-503511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:26:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98674 invoked by alias); 23 Nov 2015 15:26: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 98628 invoked by uid 55); 23 Nov 2015 15:26:08 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68363] [4.9/5/6 Regression] ICE: in recog_memoized, at recog.h:167 with RTL checking with -mfix-cortex-a53-835769 @ aarch64 Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02438.txt.bz2 Content-length: 857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68363 --- Comment #4 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Mon Nov 23 15:25:36 2015 New Revision: 230765 URL: https://gcc.gnu.org/viewcvs?rev=3D230765&root=3Dgcc&view=3Drev Log: [AArch64] PR target/68363 Check that argument is real INSN in aarch64_madd_needs_nop Backport from mainline 2015-11-23 Kyrylo Tkachov PR target/68363 * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Reject argumen= ts that are not INSN_P. * gcc.target/aarch64/pr68363_1.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/aarch64/pr68363_1.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/aarch64/aarch64.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:26:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99473 invoked by alias); 23 Nov 2015 15:26: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 99442 invoked by uid 48); 23 Nov 2015 15:26:31 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68363] [4.9/5/6 Regression] ICE: in recog_memoized, at recog.h:167 with RTL checking with -mfix-cortex-a53-835769 @ aarch64 Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02439.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68363 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from ktkachov at gcc dot gnu.org --- Fixed on all active branches >>From gcc-bugs-return-503513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:27:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102480 invoked by alias); 23 Nov 2015 15:27: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 102407 invoked by uid 48); 23 Nov 2015 15:26:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68501] [6 Regression] sqrt builtin is not used anymore Date: Mon, 23 Nov 2015 15:27: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: 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2015-11/txt/msg02440.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68501 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-23 Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Yep, I also saw this. IIRC the recip pass is responsible for this. >>From gcc-bugs-return-503514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:29:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109070 invoked by alias); 23 Nov 2015 15:29: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 109014 invoked by uid 48); 23 Nov 2015 15:29:39 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68473] [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02441.txt.bz2 Content-length: 781 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68473 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-23 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Thanks for filing; I can reproduce. Failing assertion at line 340: 337 bool 338 layout_range::contains_point (int row, int column) const 339 { 340 gcc_assert (m_start.m_line <=3D m_finish.m_line); >>From gcc-bugs-return-503515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:40:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39565 invoked by alias); 23 Nov 2015 15:40: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 39393 invoked by uid 48); 23 Nov 2015 15:40:37 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68473] [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error Date: Mon, 23 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02442.txt.bz2 Content-length: 998 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68473 --- Comment #2 from David Malcolm --- It's attempting to print this source range: (gdb) p *range $8 =3D {m_start =3D {m_line =3D 13, m_column =3D 12}, m_finish =3D {m_line =3D 6, m_column =3D 26}, m_show_caret_p =3D true, m_caret =3D {m_line =3D 13, m_column =3D 12}} i.e. (after dealing with tabs): 0000000001111111111222222222233333333334444444444555555555566666666= 667 1234567890123456879012345687901234568790123456879012345687901234568= 790 1 /* { dg-options "-fdiagnostics-show-caret -mno-fp-ret-in-387" } */ 2 3 #include 4 5 #define TEST_EQ(FUNC) do { \ 6 if ((long)FUNC##l(xl,xl) !=3D (long)xl) \ ^FINISH 7 return; \ 8 } while (0) 9 10 void 11 foo (long double xl) 12 { 13 TEST_EQ (fmin); ^ START&CARET 14 } >>From gcc-bugs-return-503516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:42:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47249 invoked by alias); 23 Nov 2015 15:42: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 47197 invoked by uid 48); 23 Nov 2015 15:42:26 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68473] [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02443.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68473 --- Comment #3 from David Malcolm --- Oops; I think line 6 above should read: 6 if ((long)FUNC##l(xl,xl) !=3D (long)xl) \ ^FINISH >>From gcc-bugs-return-503517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:48:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96565 invoked by alias); 23 Nov 2015 15:48: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 96447 invoked by uid 48); 23 Nov 2015 15:48:11 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Mon, 23 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02444.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 --- Comment #6 from H.J. Lu --- (In reply to Ilya Enkovich from comment #5) > (In reply to H.J. Lu from comment #4) > > r230743 still fails for me. Can you show me your linking command line > > for 465.tonto build? >=20 > Here it is. Works OK for today's trunk (revision 230759). >=20 > gfortran -Ofast -funroll-loops -flto -m64 -flto=3D16 -DSPEC_CPU2000_LP64= =20 > -march=3Dcore-avx2 -DSPEC_CPU_LP64 types.fppized.o system.fppi= zed.o It is different from my bug report. Please use the same command line as mine. >>From gcc-bugs-return-503518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:53:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129507 invoked by alias); 23 Nov 2015 15:53: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 129011 invoked by uid 48); 23 Nov 2015 15:53:04 -0000 From: "izamyatin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68502] New: [6 Regression][i686] spec2000/179.art runfails after r222914 Date: Mon, 23 Nov 2015 15:53: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: izamyatin 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: 2015-11/txt/msg02445.txt.bz2 Content-length: 888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68502 Bug ID: 68502 Summary: [6 Regression][i686] spec2000/179.art runfails after r222914 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: izamyatin at gmail dot com Target Milestone: --- There is a segmentation fault during execution r222914 is: r222914 | rguenth | 2015-05-08 18:13:55 +0300 (Fri, 08 May 2015) | 15 lines Changed paths: M /trunk/gcc/ChangeLog M /trunk/gcc/testsuite/ChangeLog A /trunk/gcc/testsuite/gcc.dg/vect/slp-41.c M /trunk/gcc/tree-vect-data-refs.c M /trunk/gcc/tree-vect-stmts.c Options I used - -m32 -static -O3 -mfpmath=3Dsse -march=3Dcore-avx2 -m64 is ok >>From gcc-bugs-return-503519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:56:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4451 invoked by alias); 23 Nov 2015 15:56:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4398 invoked by uid 55); 23 Nov 2015 15:56:30 -0000 From: "rth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67089] [4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64 Date: Mon, 23 Nov 2015 15:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: rth 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02446.txt.bz2 Content-length: 856 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67089 --- Comment #5 from Richard Henderson --- Author: rth Date: Mon Nov 23 15:55:58 2015 New Revision: 230767 URL: https://gcc.gnu.org/viewcvs?rev=3D230767&root=3Dgcc&view=3Drev Log: Add uaddv4_optab and usubv4_optab PR target/67089 * optabs.def (uaddv4_optab, usubv4_optab): New. * internal-fn.c (expand_addsub_overflow): Use uaddv4_optab and usubv4_optab in the u +- u -> u case. * doc/md.texi (Standard Names): Document addv{m}4, subv{m}4, mulv{m}4, uaddv{m}4, usubv{m}4, umulv{m}4. * config/i386/i386.md (uaddv4, usubv4): New. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/i386.md trunk/gcc/doc/md.texi trunk/gcc/internal-fn.c trunk/gcc/optabs.def >>From gcc-bugs-return-503520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 15:57:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5352 invoked by alias); 23 Nov 2015 15: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 5311 invoked by uid 48); 23 Nov 2015 15:57:03 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68473] [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error Date: Mon, 23 Nov 2015 15:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02447.txt.bz2 Content-length: 1543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68473 --- Comment #4 from David Malcolm --- No, I was wrong again. The locus and start of the range are here: (gdb) call inform(line_table->location_adhoc_data_map.data[0x17].src_range.m_start, "m_start") pr68473-1.c:13:12: note: m_start TEST_EQ (fmin); /* { dg-error "x87 register return with x87 disabled" } = */ ^ pr68473-1.c:6:13: note: in definition of macro =E2=80=98TEST_EQ=E2=80=99 if ((long)FUNC##l(xl,xl) !=3D (long)xl) \ ^~~~ and the finish of the range is here: (gdb) call inform(line_table->location_adhoc_data_map.data[0x17].src_range.m_finish, "m_finish") pr68473-1.c:6:26: note: m_finish if ((long)FUNC##l(xl,xl) !=3D (long)xl) \ ^ pr68473-1.c:13:3: note: in expansion of macro =E2=80=98TEST_EQ=E2=80=99 TEST_EQ (fmin); /* { dg-error "x87 register return with x87 disabled" } = */ ^~~~~~~ via: Breakpoint 2, error (gmsgid=3D0x1897930 "x87 register return with x87 disab= led") at ../../src/gcc/diagnostic.c:1153 1153 rich_location richloc (line_table, input_location); (gdb) p /x input_location $2 =3D 0x80000017 (gdb) p line_table->location_adhoc_data_map.data[0x17] $3 =3D {locus =3D 2147442627, src_range =3D {m_start =3D 2147442627, m_fini= sh =3D 2147442633}, data =3D 0x0} (gdb) p /x line_table->location_adhoc_data_map.data[0x17].src_range.m_start $5 =3D 0x7fff5fc3 (gdb) p /x line_table->location_adhoc_data_map.data[0x17].src_range.m_finish $6 =3D 0x7fff5fc9 >>From gcc-bugs-return-503521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 16:27:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10385 invoked by alias); 23 Nov 2015 16: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 10308 invoked by uid 48); 23 Nov 2015 16:27:14 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66573] Unexpected change in static, branch-prediction cost from O1 to O2 in if-then-else. Date: Mon, 23 Nov 2015 16:27: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 2015-11/txt/msg02448.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66573 --- Comment #10 from Segher Boessenkool --- GCC thinks bar2 will be executed more often that bar1; the code it generates is perfectly fine for that. If you think GCC's heuristics for branch prediction are no good, could use some improvement, you'll have to come up with more evidence than just a single artificial testcase. Sorry. These things were tuned on real code. >>From gcc-bugs-return-503522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 16:45:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11038 invoked by alias); 23 Nov 2015 16:45: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 10992 invoked by uid 48); 23 Nov 2015 16:45:47 -0000 From: "vvsed at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr Date: Mon, 23 Nov 2015 16: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: vvsed at hotmail 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: 2015-11/txt/msg02449.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68484 --- Comment #8 from Vladimir Sedach --- Adding "static" to "volatile" "solves" the problem: static int * volatile x =3D _x; I'm using this trick to avoid aggressive optimization when measuring the ti= me of execution. The compiler does not skip calculations leading to saving the result in a loop. >>From gcc-bugs-return-503523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:11:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80911 invoked by alias); 23 Nov 2015 17:11: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 80835 invoked by uid 48); 23 Nov 2015 17:11:34 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67714] [6 Regression] signed char is zero-extended instead of sign-extended Date: Mon, 23 Nov 2015 17:11: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: 6.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: 6.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: 2015-11/txt/msg02450.txt.bz2 Content-length: 391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67714 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #5 from ktkachov at gcc dot gnu.org --- Changing to P1 as it is a wrong-code regression affecting arm >>From gcc-bugs-return-503524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:17:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118565 invoked by alias); 23 Nov 2015 17:17: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 118512 invoked by uid 48); 23 Nov 2015 17:17:33 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68279] ICE: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:836 Date: Mon, 23 Nov 2015 17:17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop 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: 2015-11/txt/msg02451.txt.bz2 Content-length: 1568 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68279 --- Comment #5 from Sebastian Pop --- After fixing the graphite fail, I get these warnings from the testcase in comment4: FAIL: gfortran.dg/graphite/pr68279.f90 -O (test for excess errors) Excess errors: /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:21:19: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:22:25: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:22:41: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:22:29: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:22:75: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:22:86: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:24:27: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:24:36: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:25:16: Warnin= g: Legacy Extension: REAL array index at (1) /work/spop/gcc/gcc/testsuite/gfortran.dg/graphite/pr68279.f90:25:34: Warnin= g: Legacy Extension: REAL array index at (1) Is there a flag I can set to avoid these warnings? Thanks! >>From gcc-bugs-return-503526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:19:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122773 invoked by alias); 23 Nov 2015 17:19: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 122710 invoked by uid 48); 23 Nov 2015 17:19:27 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68455] [6 Regression] ICE: tree check: expected integer_cst, have plus_expr in decompose, at tree.h:5123 Date: Mon, 23 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02453.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68455 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Marek Polacek --- Fixed. >>From gcc-bugs-return-503525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:19:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121929 invoked by alias); 23 Nov 2015 17:19: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 121896 invoked by uid 55); 23 Nov 2015 17:19:08 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68455] [6 Regression] ICE: tree check: expected integer_cst, have plus_expr in decompose, at tree.h:5123 Date: Mon, 23 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02452.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68455 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Mon Nov 23 17:18:36 2015 New Revision: 230768 URL: https://gcc.gnu.org/viewcvs?rev=3D230768&root=3Dgcc&view=3Drev Log: PR tree-optimization/68455 * tree-vrp.c (extract_range_from_binary_expr_1): Don't call extract_range_from_multiplicative_op_1 on symbolic ranges. * gcc.dg/tree-ssa/pr68455.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr68455.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c >>From gcc-bugs-return-503527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:21:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125353 invoked by alias); 23 Nov 2015 17:21: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 125297 invoked by uid 48); 23 Nov 2015 17:21:53 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68279] ICE: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:836 Date: Mon, 23 Nov 2015 17:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop 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: 2015-11/txt/msg02454.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68279 --- Comment #6 from Joost VandeVondele --- (In reply to Sebastian Pop from comment #5) > After fixing the graphite fail, I get these warnings from the testcase in thanks, these are due to reducing the testcase stripping variable definitio= ns. > Is there a flag I can set to avoid these warnings? gfortran -c -std=3Dlegacy t.f90 >>From gcc-bugs-return-503528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:32:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57232 invoked by alias); 23 Nov 2015 17:32: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 57144 invoked by uid 48); 23 Nov 2015 17:32:05 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68493] [6 Regression] [graphite] ICE in copy_loop_phi_args Date: Mon, 23 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02455.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68493 --- Comment #1 from Sebastian Pop --- Passes on ISL 0.14, fails with 0.15. This patch fixes it: we will bootstrap and commit. diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c index 30c3a21..2783ac4 100644 --- a/gcc/graphite-isl-ast-to-gimple.c +++ b/gcc/graphite-isl-ast-to-gimple.c @@ -2760,6 +2760,8 @@ translate_isl_ast_to_gimple::translate_pending_phi_no= des () fprintf (dump_file, "[codegen] to new-phi: "); print_gimple_stmt (dump_file, new_phi, 0, 0); } + if (codegen_error) + return; } } >>From gcc-bugs-return-503529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:44:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79577 invoked by alias); 23 Nov 2015 17: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 79519 invoked by uid 48); 23 Nov 2015 17:44:50 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68314] [6 Regression] Invalid read in build_pbb_minimal_scattering_polyhedrons (graphite-sese-to-poly.c:148) Date: Mon, 23 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02456.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68314 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |spop at gcc dot gnu= .org --- Comment #1 from Sebastian Pop --- Confirmed with ISL 0.15. I'm looking at it. >>From gcc-bugs-return-503530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:54:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104955 invoked by alias); 23 Nov 2015 17: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 101668 invoked by uid 48); 23 Nov 2015 17:54:18 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68473] [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error Date: Mon, 23 Nov 2015 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02457.txt.bz2 Content-length: 217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68473 --- Comment #5 from David Malcolm --- I've posted a candidate patch here: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02771.html >>From gcc-bugs-return-503531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 17:58:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84206 invoked by alias); 23 Nov 2015 17:58: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 77285 invoked by uid 48); 23 Nov 2015 17:58:46 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Mon, 23 Nov 2015 17:58: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02458.txt.bz2 Content-length: 1240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #23 from Jerry DeLisle --- (In reply to Thomas Koenig from comment #21) > > Hidden behind a -fexternal-blas-n switch might be an option. Including = GPUs > > seems even a tad more tricky. We have a paper on GPU (small) matrix > > multiplication, http://dbcsr.cp2k.org/_media/gpu_book_chapter_submitted= .pdf >=20 > Quite interesting what can be done with GPUs... >=20 Run of the mill graphics processing units have many floating point compute cores. 128 cores is not unusual, usually a lot more. These cores perform b= asic things like a + b * c on scalars. and other useful functions. Softwares like OpenCL will compile compute kernels which will run efficiently in parallel = on these GPU architectures. clBLAS is a runtime library which encapsulates this capability with a BLAS compatible API. Conceptually you initialize for particular matrices and hand of the work to the GPU. My low end laptop (300 dollar variety) is running an nbody 3D model with several thousand masses without even pressing the CPU as an example. MATMUL should be doable. The main GPU competitors are Nvidia, AMD. and Intel. OpenCL is supported on= all three. >>From gcc-bugs-return-503532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 18:01:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2053 invoked by alias); 23 Nov 2015 18:01: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 1978 invoked by uid 55); 23 Nov 2015 18:01:45 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/48298] [F03] User-Defined Derived-Type IO (DTIO) Date: Mon, 23 Nov 2015 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jvdelisle 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: 2015-11/txt/msg02459.txt.bz2 Content-length: 661 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48298 --- Comment #15 from Steve Kargl = --- On Sun, Nov 22, 2015 at 08:10:19PM +0000, jvdelisle at gcc dot gnu.org wrot= e: >=20 > Attached is an expanded test case. Could someone review and confirm this = is > valid. I need to work some code in interface.c to eliminate an error I am > getting and want to make sure the error is valid or not. >=20 I don't know DTIO, so can't be of much help. You amy want to post the example to comp.lang.fortran. You'll likely get more then enough opinions on the code. Posters in clf may even give you some difficult testcases. >>From gcc-bugs-return-503533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 18:07:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15493 invoked by alias); 23 Nov 2015 18: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 15458 invoked by uid 48); 23 Nov 2015 18:07:32 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55077] implement and enable by default -Wliteral-conversion Date: Mon, 23 Nov 2015 18: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: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dcb314 at hotmail 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: 2015-11/txt/msg02460.txt.bz2 Content-length: 933 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55077 --- Comment #6 from David Binderman --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #5) > Created attachment 33637 [details] > untested patch >=20 > Untested patch. Bonus points if we show the value before and after > conversion like clang does. I tried out the patch by building a test compiler and then building the current Linux kernel.=20 Trivial problem with doubled tokens (&& &&), but the main problem is that t= he patch doesn't fix the problem I described of double and float literals into integral types. Also, plenty of false positives for integer into smaller integral types, for example integer into short or integer into char.=20 For example, the patch warns for this reasonable code: charVariable =3D 0x80; As is, I would not use the patch, but maybe with some further work, it might be suitable for future use. >>From gcc-bugs-return-503534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 18:12:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28531 invoked by alias); 23 Nov 2015 18: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 28297 invoked by uid 48); 23 Nov 2015 18:12:16 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68496] [libgo] reflect test fails on Linux x86-64 Date: Mon, 23 Nov 2015 18:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02461.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68496 --- Comment #1 from Ian Lance Taylor --- I can not recreate this problem. It works fine for me. The stack trace is incomplete for some reason so I don't know what is going wrong. If you cd into x86_64-pc-linux-gnu/libgo, you can run make GOTESTFLAGS=3D"--keep" reflect/check Presumably that will fail. It will leave behind a gotestNNNN directory. In that directory you will find an a.out executable. Running that executable = runs the test (you may have to set LD_LIBRARY_PATH so that it finds libgo.so). = Try running that executable under gdb and see if you can get a better backtrace. >>From gcc-bugs-return-503535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 18:27:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64498 invoked by alias); 23 Nov 2015 18:27: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 64131 invoked by uid 48); 23 Nov 2015 18:27:09 -0000 From: "jwyatt at feralinteractive dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values Date: Mon, 23 Nov 2015 18: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: 5.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jwyatt at feralinteractive 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: 5.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: 2015-11/txt/msg02462.txt.bz2 Content-length: 821 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67550 --- Comment #5 from Jason Wyatt --- When parsing the initialisation of const TestStruct var: store_init_value ends up calling split_nonconstant_init, so that only the constant part of the initialisation of var is stored in DECL_INITIAL(t). Then when parsing the initialisation of the array, maybe_constant_init eventually calls through to decl_constant_value(t), i.e. constant_value_1(t, false, true). That then uses DECL_INITIAL(t) as if it were the whole initialisation, rather than just the constant part, hence all the non const= ant parts aren't initialised correctly. I've got no idea how this is supposed to work though, presumably at some po= int in the chain of calls it's supposed to realise this is not a constant? >>From gcc-bugs-return-503536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 18:34:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73750 invoked by alias); 23 Nov 2015 18:34: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 73641 invoked by uid 48); 23 Nov 2015 18:34:06 -0000 From: "ismail at i10z dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68496] [libgo] reflect test fails on Linux x86-64 Date: Mon, 23 Nov 2015 18:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ismail at i10z dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02463.txt.bz2 Content-length: 2047 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68496 --- Comment #2 from =C4=B0smail D=C3=B6nmez --- (In reply to Ian Lance Taylor from comment #1) > I can not recreate this problem. It works fine for me. >=20 > The stack trace is incomplete for some reason so I don't know what is goi= ng > wrong. >=20 > If you cd into x86_64-pc-linux-gnu/libgo, you can run > make GOTESTFLAGS=3D"--keep" reflect/check > Presumably that will fail. It will leave behind a gotestNNNN directory. = In > that directory you will find an a.out executable. Running that executable > runs the test (you may have to set LD_LIBRARY_PATH so that it finds > libgo.so). Try running that executable under gdb and see if you can get a > better backtrace. Try export MALLOC_CHECK_=3D2 before testing. Backtrace shows an invalid fre= e: (gdb) bt #0 0x00007f8d36c51d38 in __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x00007f8d36c5318a in __GI_abort () at abort.c:78 #2 0x00007f8d36c960b0 in malloc_printerr (action=3D, str=3D0x7f8d36d840fa "free(): invalid pointer", ptr=3D, ar_ptr=3D) at malloc.c:5004 #3 0x0000000000433298 in reflect.call.N13_reflect.Value (pointer=3Dpointer@entry=3D0xc2080c56a0, op=3D..., param=3D...) at value.go= :4 50 #4 0x00000000004328d4 in reflect.Call.N13_reflect.Value (pointer=3Dpointer@entry=3D0x7f8d33da0c40, in=3D...) at value.go:300 #5 0x000000000044ec3a in reflect_test.TestCallWithStruct (t=3D) at all_test.go:1492 #6 0x00007f8d37e6f71c in testing.tRunner (test=3D0xc20807a318, param=3D) at ../../../libgo/go/testing/testing.go:4 55 #7 testing.$thunk15 (__go_thunk_parameter=3D) at ../../../libgo/go/testing/testing.go:560 #8 0x00007f8d37d8fa9c in kickoff () at ../../../libgo/runtime/proc.c:235 #9 0x00007f8d3812a135 in __morestack () at ../../../libgcc/config/i386/morestack.S:544 #10 0x00007f8d36c62900 in ?? () from /lib64/libc.so.6 #11 0x0000000000000000 in ?? () >>From gcc-bugs-return-503537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:07:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92295 invoked by alias); 23 Nov 2015 19:07: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 92073 invoked by uid 48); 23 Nov 2015 19:07:18 -0000 From: "lvqcl.mail at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Mon, 23 Nov 2015 19: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lvqcl.mail at gmail dot com 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: 5.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: 2015-11/txt/msg02464.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 --- Comment #6 from lvqcl.mail at gmail dot com --- (In reply to Richard Biener from comment #2) > With i?86 I can confirm your observation but I don't see it fixed on trun= k. Sorry, the GCC 6.x compiler that I downloaded was built with --with-arch=3D= core2 option, so it implicitely enables ssse3. That's why I incorrectly thought t= hat the regression was fixed. >>From gcc-bugs-return-503538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:26:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24733 invoked by alias); 23 Nov 2015 19:26: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 23382 invoked by uid 55); 23 Nov 2015 19:26:06 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67808] LRA ICEs on simple double to long double conversion test case Date: Mon, 23 Nov 2015 19: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner 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: 2015-11/txt/msg02465.txt.bz2 Content-length: 1797 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67808 --- Comment #4 from Michael Meissner --- Author: meissner Date: Mon Nov 23 19:25:32 2015 New Revision: 230769 URL: https://gcc.gnu.org/viewcvs?rev=3D230769&root=3Dgcc&view=3Drev Log: [gcc] 2015-11-23 Michael Meissner Backport from mainline 2015-10-05 Michael Meissner Peter Bergner PR target/67808 * config/rs6000/rs6000.md (extenddftf2): In the expander, only allow registers, but provide insns for the combiner to create for loads from memory. Separate VSX code from non-VSX code. For non-VSX code, combine extenddftf2_fprs into extenddftf2 and rename externaldftf2_internal to externaldftf2_fprs. Reorder constraints so that registers come before memory operations. Drop support from converting DFmode to TFmode, if the DFmode value is in a GPR register. (extenddftf2_fprs): Likewise. (extenddftf2_internal): Likewise. (extenddftf2_vsx): Likewise. (extendsftf2): In the expander, only allow registers, but provide insns for the combiner to create for stores and loads. [gcc/testsuite] 2015-11-23 Michael Meissner 2015-10-05 Michael Meissner Peter Bergner PR target/67808 * gcc.target/powerpc/pr67808.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/powerpc/pr67808.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/rs6000/rs6000.md branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:32:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64361 invoked by alias); 23 Nov 2015 19:32: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 64291 invoked by uid 48); 23 Nov 2015 19:32:40 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68493] [6 Regression] [graphite] ICE in copy_loop_phi_args Date: Mon, 23 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02466.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68493 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Sebastian Pop --- fixed in r230772. >>From gcc-bugs-return-503540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:34:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90345 invoked by alias); 23 Nov 2015 19:34:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90202 invoked by uid 48); 23 Nov 2015 19:34:02 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68279] ICE: in create_pw_aff_from_tree, at graphite-sese-to-poly.c:836 Date: Mon, 23 Nov 2015 19:34: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop 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: 2015-11/txt/msg02467.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68279 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Sebastian Pop --- Fixed in r230771 >>From gcc-bugs-return-503541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:36:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94895 invoked by alias); 23 Nov 2015 19:36: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 94824 invoked by uid 48); 23 Nov 2015 19:36:42 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59828] Broken assembly on ppc* with two -mcpu= options Date: Mon, 23 Nov 2015 19: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: 4.8.2 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2015-11/txt/msg02468.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59828 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |segher at gcc dot gnu.org Resolution|--- |FIXED Target Milestone|5.3 |6.0 --- Comment #5 from Segher Boessenkool --- Fixed; no backport to 5 planned. >>From gcc-bugs-return-503542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:43:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118018 invoked by alias); 23 Nov 2015 19:43: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 117928 invoked by uid 48); 23 Nov 2015 19:43:05 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/59302] tsan: Unexpected mmap in InternalAllocator! Date: Mon, 23 Nov 2015 19:43: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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: 2015-11/txt/msg02469.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59302 Joost VandeVondele changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Joost VandeVondele --- I suppose this is fixed by now, haven't seen it again. >>From gcc-bugs-return-503543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:45:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122338 invoked by alias); 23 Nov 2015 19: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 122272 invoked by uid 48); 23 Nov 2015 19:45:39 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67071] GCC misses an optimization to load vector constants Date: Mon, 23 Nov 2015 19: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2015-11/txt/msg02470.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67071 David Edelsohn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |dje at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from David Edelsohn --- Fixed. >>From gcc-bugs-return-503544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 19:59:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21478 invoked by alias); 23 Nov 2015 19:59: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 21446 invoked by uid 48); 23 Nov 2015 19:59:27 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/36358] -mvrsave / -mno-vrsave ignored Date: Mon, 23 Nov 2015 19: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: 4.3.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 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: 2015-11/txt/msg02471.txt.bz2 Content-length: 547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D36358 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |segher at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Segher Boessenkool --- This is long fixed. Thanks for the report. >>From gcc-bugs-return-503545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:02:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30921 invoked by alias); 23 Nov 2015 20:02:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30861 invoked by uid 48); 23 Nov 2015 20:02:34 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68314] [6 Regression] Invalid read in build_pbb_minimal_scattering_polyhedrons (graphite-sese-to-poly.c:148) Date: Mon, 23 Nov 2015 20:02: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02472.txt.bz2 Content-length: 742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68314 --- Comment #2 from Sebastian Pop --- This patch exposes the problem without valgrind: diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 2054fad..b932dae 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -143,6 +143,9 @@ build_pbb_minimal_scattering_polyhedrons (isl_aff *static_sched, poly_bb_p pbb, /* False for loop dimension. */ sequence_and_loop_dims[i + j] =3D false; } + + gcc_assert (nb_sequence_dim > j); + /* Fake loops make things shifted by one. */ if (sequence_dims && sequence_dims[j] =3D=3D i) sequence_and_loop_dims[i + j] =3D true; >>From gcc-bugs-return-503546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:10:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41564 invoked by alias); 23 Nov 2015 20:10: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 41499 invoked by uid 48); 23 Nov 2015 20:10:12 -0000 From: "arnout at mind dot be" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation Date: Mon, 23 Nov 2015 20: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arnout at mind dot be 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: 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: 2015-11/txt/msg02473.txt.bz2 Content-length: 2661 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68476 --- Comment #2 from Arnout Vandecappelle --- Created attachment 36813 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36813&action=3Dedit Preprocessed source file that exposes the bug Attached preprocessed source file. Compilation output (with gcc 4.9.3; I also tried with 5.2.0 with the same result): $ ../../../../host/opt/ext-toolchain/bin/microblazeel-buildroot-linux-gnu-g++= .br_real -O1 -g -c -v btSoftBody.ii Using built-in specs. COLLECT_GCC=3D../../../../host/opt/ext-toolchain/bin/microblazeel-buildroot= -linux-gnu-g++.br_real Target: microblazeel-buildroot-linux-gnu Configured with: ./configure --prefix=3D/opt/br-microblaze-full-2015.08-647-gc356fb2/usr --sysconfdir=3D/opt/br-microblaze-full-2015.08-647-gc356fb2/etc --enable-st= atic --target=3Dmicroblazeel-buildroot-linux-gnu --with-sysroot=3D/opt/br-microblaze-full-2015.08-647-gc356fb2/usr/microblaz= eel-buildroot-linux-gnu/sysroot --disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --with-gmp=3D/opt/br-microblaze-full-2015.08-647-gc356fb2/usr --with-mpfr=3D/opt/br-microblaze-full-2015.08-647-gc356fb2/usr --with-pkgversion=3D'Buildroot 2015.11-git-00647-gc356fb2' --with-bugurl=3Dhttp://bugs.buildroot.net/ --disable-libquadmath --enable-t= ls --disable-libmudflap --enable-threads --with-mpc=3D/opt/br-microblaze-full-2015.08-647-gc356fb2/usr --without-isl --without-cloog --disable-decimal-float --enable-languages=3Dc,c++ --with-build-time-tools=3D/opt/br-microblaze-full-2015.08-647-gc356fb2/usr/= microblazeel-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix gcc version 4.9.3 (Buildroot 2015.11-git-00647-gc356fb2)=20 COLLECT_GCC_OPTIONS=3D'-O1' '-g' '-c' '-v' '-shared-libgcc' /gentoo/home2/arnout/br-out/bullet/host/opt/ext-toolchain/bin/../libexec/gc= c/microblazeel-buildroot-linux-gnu/4.9.3/cc1plus -fpreprocessed btSoftBody.ii -quiet -dumpbase btSoftBody.ii -auxbase btSoft= Body -g -O1 -version -o /tmp/ccHn1vcs.s GNU C++ (Buildroot 2015.11-git-00647-gc356fb2) version 4.9.3 (microblazeel-buildroot-linux-gnu) compiled by GNU C version 4.4.5, GMP version 6.0.0, MPFR version 3.= 1.3, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++ (Buildroot 2015.11-git-00647-gc356fb2) version 4.9.3 (microblazeel-buildroot-linux-gnu) compiled by GNU C version 4.4.5, GMP version 6.0.0, MPFR version 3.= 1.3, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: a3940dfdf166fdf4d5b4711c8bdc0b77 >>From gcc-bugs-return-503547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:16:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52329 invoked by alias); 23 Nov 2015 20:16: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 52291 invoked by uid 48); 23 Nov 2015 20:16:44 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/33236] -mminimal-toc register should be psedu-register Date: Mon, 23 Nov 2015 20:16: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.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: cf_reconfirmed_on 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: 2015-11/txt/msg02474.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D33236 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2007-08-30 21:15:01 |2015-11-23 CC| |segher at gcc dot gnu.org --- Comment #4 from Segher Boessenkool --- Still happens. >>From gcc-bugs-return-503548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:18:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54903 invoked by alias); 23 Nov 2015 20: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 54818 invoked by uid 48); 23 Nov 2015 20:18:55 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Mon, 23 Nov 2015 20:18: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02475.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #24 from Jerry DeLisle --- (In reply to Jerry DeLisle from comment #16) > For what its worth: >=20 > $ gfc pr51119.f90 -lblas -fno-external-blas -Ofast -march=3Dnative=20 > $ ./a.out=20 > Time, MATMUL: 21.2483196 21.254449646000001 1.5055670945599= 979 >=20 > Time, dgemm: 33.2441711 33.243087289000002 .96260614189671= 445 >=20 Running a sample matrix multiply program on this same platform using the default OpenCL (Mesa on Fedora 22) the machine is achieving: 64 x 64 2.76 Gflops 1000 x 1000 14.10 2000 x 2000 24.4 >>From gcc-bugs-return-503550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:22:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60166 invoked by alias); 23 Nov 2015 20:22: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 59955 invoked by uid 48); 23 Nov 2015 20:22:41 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 23 Nov 2015 20:22: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02477.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #7 from Jeffrey A. Law --- *** Bug 68328 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:22:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60012 invoked by alias); 23 Nov 2015 20:22: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 59902 invoked by uid 48); 23 Nov 2015 20:22:40 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 23 Nov 2015 20:22: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02476.txt.bz2 Content-length: 571 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68328 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |law at redhat dot com Resolution|--- |DUPLICATE --- Comment #10 from Jeffrey A. Law --- Same issue as 68194. *** This bug has been marked as a duplicate of bug 68194 *** >>From gcc-bugs-return-503551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:25:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64652 invoked by alias); 23 Nov 2015 20: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 64511 invoked by uid 48); 23 Nov 2015 20:25:24 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68185] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Mon, 23 Nov 2015 20:25: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02478.txt.bz2 Content-length: 570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68185 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |law at redhat dot com Resolution|--- |DUPLICATE --- Comment #4 from Jeffrey A. Law --- Same issue as 68194. *** This bug has been marked as a duplicate of bug 68194 *** >>From gcc-bugs-return-503552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 20:25:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64832 invoked by alias); 23 Nov 2015 20:25: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 64569 invoked by uid 48); 23 Nov 2015 20:25:25 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Mon, 23 Nov 2015 20:25: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02479.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #8 from Jeffrey A. Law --- *** Bug 68185 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:00:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58392 invoked by alias); 23 Nov 2015 21:00:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58301 invoked by uid 55); 23 Nov 2015 21:00:46 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/68438] [6 Regression] Conditional jump or move depends on uninitialised value in location_adhoc_data_eq (line-map.c:89) Date: Mon, 23 Nov 2015 21:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02480.txt.bz2 Content-length: 1079 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68438 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Mon Nov 23 21:00:13 2015 New Revision: 230775 URL: https://gcc.gnu.org/viewcvs?rev=3D230775&root=3Dgcc&view=3Drev Log: Fix PR objc/68438 (uninitialized source ranges) gcc/c/ChangeLog: PR objc/68438 * c-parser.c (c_parser_postfix_expression): Set up source ranges for various Objective-C constructs: Class.name syntax, @selector(), @protocol(), @encode(), and [] message syntax. gcc/testsuite/ChangeLog: PR objc/68438 * objc.dg/plugin: New subdirectory. * objc.dg/plugin/diagnostic-test-expressions-1.m: New test file. * objc.dg/plugin/plugin.exp: New file, based on gcc.dg/plugin/plugin.exp. Added: trunk/gcc/testsuite/objc.dg/plugin/ trunk/gcc/testsuite/objc.dg/plugin/diagnostic-test-expressions-1.m trunk/gcc/testsuite/objc.dg/plugin/plugin.exp Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:02:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60085 invoked by alias); 23 Nov 2015 21:02: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 60025 invoked by uid 48); 23 Nov 2015 21:02:23 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/68438] [6 Regression] Conditional jump or move depends on uninitialised value in location_adhoc_data_eq (line-map.c:89) Date: Mon, 23 Nov 2015 21:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02481.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68438 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from David Malcolm --- Should be fixed on trunk as of r230775. >>From gcc-bugs-return-503555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:18:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 978 invoked by alias); 23 Nov 2015 21:18: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 713 invoked by uid 55); 23 Nov 2015 21:18:18 -0000 From: "ian at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68496] [libgo] reflect test fails on Linux x86-64 Date: Mon, 23 Nov 2015 21:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02482.txt.bz2 Content-length: 819 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68496 --- Comment #3 from ian at gcc dot gnu.org --- Author: ian Date: Mon Nov 23 21:17:45 2015 New Revision: 230776 URL: https://gcc.gnu.org/viewcvs?rev=3D230776&root=3Dgcc&view=3Drev Log: PR go/68496 reflect: Allocate space for FFI functions returning a zero-sized type. The libffi library does not understand zero-sized types. We represent them as a struct with a single field of type void. If such a type is returned from a function, libffi will copy 1 byte of data. Allocate space for that byte, although we won't use it. Fixes https://gcc.gnu.org/PR68496. Reviewed-on: https://go-review.googlesource.com/17175 Modified: trunk/gcc/go/gofrontend/MERGE trunk/libgo/runtime/go-reflect-call.c >>From gcc-bugs-return-503556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:18:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2202 invoked by alias); 23 Nov 2015 21:18: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 1964 invoked by uid 55); 23 Nov 2015 21:18:37 -0000 From: "ian at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68496] [libgo] reflect test fails on Linux x86-64 Date: Mon, 23 Nov 2015 21:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02483.txt.bz2 Content-length: 801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68496 --- Comment #4 from ian at gcc dot gnu.org --- Author: ian Date: Mon Nov 23 21:18:03 2015 New Revision: 230777 URL: https://gcc.gnu.org/viewcvs?rev=3D230777&root=3Dgcc&view=3Drev Log: PR go/68496 reflect: Allocate space for FFI functions returning a zero-sized type. The libffi library does not understand zero-sized types. We represent them as a struct with a single field of type void. If such a type is returned from a function, libffi will copy 1 byte of data. Allocate space for that byte, although we won't use it. Fixes https://gcc.gnu.org/PR68496. Reviewed-on: https://go-review.googlesource.com/17175 Modified: branches/gcc-5-branch/libgo/runtime/go-reflect-call.c >>From gcc-bugs-return-503557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:19:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4465 invoked by alias); 23 Nov 2015 21: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 4400 invoked by uid 48); 23 Nov 2015 21:19:33 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68496] [libgo] reflect test fails on Linux x86-64 Date: Mon, 23 Nov 2015 21:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02484.txt.bz2 Content-length: 479 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68496 Ian Lance Taylor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Ian Lance Taylor --- Thanks for the tip. Should be fixed on mainline and GCC 5 branch. >>From gcc-bugs-return-503559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:36:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31388 invoked by alias); 23 Nov 2015 21:36: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 31328 invoked by uid 48); 23 Nov 2015 21:36:08 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68322] -Wodr warning on templates should list the instantiation Date: Mon, 23 Nov 2015 21: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor 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: 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: 2015-11/txt/msg02486.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68322 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #1 from Segher Boessenkool --- *** Bug 67677 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:36:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31374 invoked by alias); 23 Nov 2015 21:36: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 31297 invoked by uid 48); 23 Nov 2015 21:36:07 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67677] [6 Regression] r226005 causes "Conditional jump or move depends on uninitialised value(s)" Date: Mon, 23 Nov 2015 21: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: 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: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02485.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67677 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Segher Boessenkool --- This is the same as PR68332, which is easier to reproduce. *** This bug has been marked as a duplicate of bug 68322 *** >>From gcc-bugs-return-503560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:39:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37758 invoked by alias); 23 Nov 2015 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 37665 invoked by uid 48); 23 Nov 2015 21:39:08 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67677] [6 Regression] r226005 causes "Conditional jump or move depends on uninitialised value(s)" Date: Mon, 23 Nov 2015 21: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: 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: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02487.txt.bz2 Content-length: 188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67677 --- Comment #3 from Segher Boessenkool --- *** This bug has been marked as a duplicate of bug 68332 *** >>From gcc-bugs-return-503561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:39:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38056 invoked by alias); 23 Nov 2015 21:39: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 37699 invoked by uid 48); 23 Nov 2015 21:39:09 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68332] [6 Regression] ICE: in rs6000_is_valid_mask, at config/rs6000/rs6000.c:17052 with __sync_and_and_fetch() @ powerpc Date: Mon, 23 Nov 2015 21: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 6.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: 2015-11/txt/msg02488.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68332 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #3 from Segher Boessenkool --- *** Bug 67677 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:41:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44202 invoked by alias); 23 Nov 2015 21: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 44164 invoked by uid 48); 23 Nov 2015 21:41:42 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68322] -Wodr warning on templates should list the instantiation Date: Mon, 23 Nov 2015 21:41: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor 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: 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: 2015-11/txt/msg02489.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68322 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #2 from Segher Boessenkool --- Please ignore that "dup" notice, I cannot type. >>From gcc-bugs-return-503563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 21:49:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65328 invoked by alias); 23 Nov 2015 21:49: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 65273 invoked by uid 48); 23 Nov 2015 21:49:48 -0000 From: "dd0t at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68479] Dynamic loading multiple shared libraries with identical static libstdc++ breaks streams Date: Mon, 23 Nov 2015 21:49: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dd0t at users dot sourceforge.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02490.txt.bz2 Content-length: 1003 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68479 --- Comment #2 from Stefan H. --- Interesting. So this breakage is expected behavior? I wasn't sure as there = were so many ways to load it differently that didn't seem to exhibit the problem= s. I assume the ones I listed (except linking libstdc++ dynamically everywhere to begin with) are equally forbidden? Or in other words: Never use -static-libstdc++ in combination with -shared = if you actually need C++ objects shared between the so's and hence cannot hide= or version the symbols? Would be very useful if libstdc++ could somehow make such conflicts more explicit when they occur (e.g. ideally making the dynamic linker fail or ev= en terminating the program outright). I naively assumed I would be fine as lon= g as I didn't start mixing libstdc++ versions and all I would incur was some duplicate code that simply wouldn't be used and did so until I starting sei= ng very strange runtime breakages. >>From gcc-bugs-return-503564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 22:11:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20565 invoked by alias); 23 Nov 2015 22:11:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20523 invoked by uid 48); 23 Nov 2015 22:11:48 -0000 From: "geir at cray dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68261] GCC needs to use optimized version of memcpy Date: Mon, 23 Nov 2015 22: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: geir at cray 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: 2015-11/txt/msg02491.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68261 --- Comment #4 from Geir Johansen --- (In reply to Andrew Pinski from comment #1) > Note glibc does provide a memcpy which is optimized for each target via > ifuncs. What version of glibc are you running. 2.11.3 >>From gcc-bugs-return-503565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 22:15:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23211 invoked by alias); 23 Nov 2015 22:15: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 23163 invoked by uid 48); 23 Nov 2015 22:15:06 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68261] GCC needs to use optimized version of memcpy Date: Mon, 23 Nov 2015 22: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02492.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68261 --- Comment #5 from Andrew Pinski --- (In reply to Geir Johansen from comment #4) > (In reply to Andrew Pinski from comment #1) > > Note glibc does provide a memcpy which is optimized for each target via > > ifuncs. What version of glibc are you running. >=20 > 2.11.3 That is a very old release which was released before most of the modern v2/= v3 were relased so no wonder you are having performance issues. >>From gcc-bugs-return-503566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 22:18:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27229 invoked by alias); 23 Nov 2015 22:18: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 27108 invoked by uid 48); 23 Nov 2015 22:18:38 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67984] [GRAPHITE] internal compiler error: isl_ctx freed, but some objects still reference it Date: Mon, 23 Nov 2015 22: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop 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 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: 2015-11/txt/msg02493.txt.bz2 Content-length: 1258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67984 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-11-23 CC| |spop at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Sebastian Pop --- I cannot reproduce the error on GCC 6.0 trunk. Also, please provide a reduced testcase, the attached testcase fails with: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:4= 3:0, from /usr/include/CL/cl_platform.h:441, from /usr/include/CL/cl.h:30, from /usr/include/CL/opencl.h:42, from dcttest.c:61: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h: In function =E2=80=98_mm256_mpsadbw_epu8=E2=80=99: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:46:12: error: can=E2= =80=99t convert a value of type =E2=80=98int=E2=80=99 to vector type =E2=80=98__vec= tor(4) long long int=E2=80=99 which has different size >>From gcc-bugs-return-503567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 22:33:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65371 invoked by alias); 23 Nov 2015 22: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 65331 invoked by uid 48); 23 Nov 2015 22:33:39 -0000 From: "michael.hudson at canonical dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/68503] New: [powerpc64le] miscompilation of composite literal Date: Mon, 23 Nov 2015 22:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02494.txt.bz2 Content-length: 2488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68503 Bug ID: 68503 Summary: [powerpc64le] miscompilation of composite literal Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: michael.hudson at canonical dot com CC: cmang at google dot com Target Milestone: --- Running commands like this on Ubuntu trusty ppc64le: $ go get github.com/juju/juju/... $ cd $GOPATH/src/github.com/juju/juju $ git checkout 1.25 $ git apply << EOF diff --git a/state/filesystem_test.go b/state/filesystem_test.go index a7113bc..e0b20dd 100644 --- a/state/filesystem_test.go +++ b/state/filesystem_test.go @@ -258,7 +258,7 @@ func (s *FilesystemStateSuite) TestFilesystemInfo(c *gc= .C) { // Explicitly set both MountPoint and ReadOnly to work around // bug #1517611 - filesystemAttachmentInfo :=3D state.FilesystemAttachmentInfo{MountP= oint: "/srv", ReadOnly: false} + filesystemAttachmentInfo :=3D state.FilesystemAttachmentInfo{MountP= oint: "/srv"} err =3D s.State.SetFilesystemAttachmentInfo(machineTag, filesystemT= ag, filesystemAttachmentInfo) c.Assert(err, jc.ErrorIsNil) s.assertFilesystemAttachmentInfo(c, machineTag, filesystemTag, filesystemAttachmentInfo) EOF $ go test -c -v ./state && ./state.test -gocheck.v -gocheck.f TestFilesystemInfo Leads to a failure along the lines of=20 ... obtained state.FilesystemAttachmentInfo =3D state.FilesystemAttachmentInfo{MountPoint:"", ReadOnly:true} ... expected state.FilesystemAttachmentInfo =3D state.FilesystemAttachmentInfo{MountPoint:"", ReadOnly:true} What's going on appears to be that the line "filesystemAttachmentInfo :=3D state.FilesystemAttachmentInfo{MountPoint: "/srv"}" is copying from the wro= ng place in .rodata (the part that should be a pointer to string data is actua= lly the string data "action-9", which is part of a composite literal in a diffe= rent file). This error appears to be present in the GIMPLE already. The bug does not manifest on ppc64le with a newer gccgo or on arm64 at all,= so it's probably been fixed by now -- but it also disappears if I delete seemi= ngly irrelevant code, so it would be nice to know how this was fixed, and that i= t's not just disappeared by luck. But only nice: we don't expect to use gccgo on ppc64le for much longer. >>From gcc-bugs-return-503568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 22:34:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86028 invoked by alias); 23 Nov 2015 22:34: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 85991 invoked by uid 48); 23 Nov 2015 22:34:44 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68460] ICE in init_stmt_vec_info_vec with -ftree-vectorize and -ftree-parallelize-loops Date: Mon, 23 Nov 2015 22:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 2015-11/txt/msg02495.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68460 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from vries at gcc dot gnu.org --- patch and test-case committed, marking resolved-fixed >>From gcc-bugs-return-503570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 23:25:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4213 invoked by alias); 23 Nov 2015 23:25: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 3790 invoked by uid 48); 23 Nov 2015 23:25:05 -0000 From: "geir at cray dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68261] GCC needs to use optimized version of memcpy Date: Mon, 23 Nov 2015 23: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: geir at cray 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: 2015-11/txt/msg02497.txt.bz2 Content-length: 630 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68261 --- Comment #6 from Geir Johansen --- (In reply to Andrew Pinski from comment #5) > (In reply to Geir Johansen from comment #4) > > (In reply to Andrew Pinski from comment #1) > > > Note glibc does provide a memcpy which is optimized for each target v= ia > > > ifuncs. What version of glibc are you running. > >=20 > > 2.11.3 >=20 > That is a very old release which was released before most of the modern > v2/v3 were relased so no wonder you are having performance issues. Okay, tried GLIBC 2.19 and that version appears to have addressed the issue. >>From gcc-bugs-return-503569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 23:25:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3797 invoked by alias); 23 Nov 2015 23:25: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 3583 invoked by uid 48); 23 Nov 2015 23:25:01 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68479] Dynamic loading multiple shared libraries with identical static libstdc++ breaks streams Date: Mon, 23 Nov 2015 23:25: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: 5.2.1 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: 2015-11/txt/msg02496.txt.bz2 Content-length: 262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68479 --- Comment #3 from Andrew Pinski --- I think there is another bug about this that was closed as invalid as you n= eed to use the version script to hide all of libstdc++ symbols. >>From gcc-bugs-return-503571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 23:29:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21170 invoked by alias); 23 Nov 2015 23:29: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 21107 invoked by uid 48); 23 Nov 2015 23:29:29 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68314] [6 Regression] Invalid read in build_pbb_minimal_scattering_polyhedrons (graphite-sese-to-poly.c:148) Date: Mon, 23 Nov 2015 23: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02498.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68314 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Sebastian Pop --- fixed in r230778 >>From gcc-bugs-return-503572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 23 23:59:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121534 invoked by alias); 23 Nov 2015 23: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 121493 invoked by uid 48); 23 Nov 2015 23:59:24 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68506] New: wrong code at -O3 on x86_64-linux-gnu Date: Mon, 23 Nov 2015 23:59: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: 6.0 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: 2015-11/txt/msg02499.txt.bz2 Content-length: 2380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68506 Bug ID: 68506 Summary: wrong code at -O3 on x86_64-linux-gnu Product: gcc Version: 6.0 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: --- The current gcc trunk miscompiles the following code on x86_64-linux-gnu at= -O3 in both 32-bit and 64-bit modes.=20 This is a regression from 5.2.x. It is likely to do with VRP as -fno-tree-vrp seems to fix the miscompilatio= n. It also seems difficult to further reduce the code.=20=20 $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-trunk/configure --prefix=3D/usr/local/gcc-trunk --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20151122 (experimental) [trunk revision 230719] (GCC) $ $ gcc-trunk -O2 small.c; ./a.out $ gcc-5.2 -O3 small.c; ./a.out $=20 $ gcc-trunk -O3 -fno-tree-vrp small.c $ ./a.out $ $ gcc-trunk -O3 small.c $ ./a.out Segmentation fault (core dumped) $ ------------------------------------------------ int a, b, m, n, o, p, s, u, i; char c, q, y; short d; unsigned char e; static int f, h; static short g, r, v; unsigned t; void __assert_fail (); int fn1 (int p1) {=20 return a ? p1 : p1 + a; } unsigned char fn2 (unsigned char p1, int p2) {=20 return p2 >=3D 2 ? p1 : p1 >> p2; } static short fn3 () {=20 int w, x =3D 0; for (; p < 31; p++) {=20 s =3D fn1 (c | ((1 && c) =3D=3D c)); t =3D fn2 (s, x); c =3D (unsigned) c > -(unsigned) ((o =3D (m =3D d =3D t) =3D=3D p) <= =3D 4UL) && n; v =3D -c; y =3D 1; for (; y; y++) e =3D v =3D=3D 1; d =3D 0; for (; h !=3D 2;) {=20 for (;;) {=20 if (!m) __assert_fail (); r =3D 7 - f; x =3D e =3D i | r; q =3D u * g; w =3D b =3D=3D q; if (w) break; } break; } } return x; } int main () {=20 fn3 (); return 0; } >>From gcc-bugs-return-503573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 00:23:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73796 invoked by alias); 24 Nov 2015 00:23: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 73753 invoked by uid 48); 24 Nov 2015 00:23:32 -0000 From: "daniel.santos at pobox dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68507] New: attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly Date: Tue, 24 Nov 2015 00: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.santos at pobox 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: 2015-11/txt/msg02500.txt.bz2 Content-length: 964 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68507 Bug ID: 68507 Summary: attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Created attachment 36814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36814&action=3Dedit simple test case When a function declared ms_abi calls a function not (and thus, implicitly sysv_abi on Linux) then the ms_abi function saves & restores xmm6-16 needle= ssly causing quite a lot of bloat in wine. I'm still on 4.9.3, so building (gentoo) 5.2.0 now to see if the bug is sti= ll there. When debian released the wine 1.8-rc1 today, all of the code was blo= ated like this too. >>From gcc-bugs-return-503574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 00:26:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78684 invoked by alias); 24 Nov 2015 00:26: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 78643 invoked by uid 48); 24 Nov 2015 00:26:53 -0000 From: "daniel.santos at pobox dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly Date: Tue, 24 Nov 2015 00: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.santos at pobox 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: 2015-11/txt/msg02501.txt.bz2 Content-length: 2088 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68507 --- Comment #1 from Daniel Santos --- Correction: xmm6-15, I can't type today. And here is the output on gcc 4.9.= 3: $ objdump -dSr test_case.o test_case.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 : 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: 57 push %rdi 5: 56 push %rsi 6: 48 81 ec a0 00 00 00 sub $0xa0,%rsp d: 0f 29 34 24 movaps %xmm6,(%rsp) 11: 0f 29 7c 24 10 movaps %xmm7,0x10(%rsp) 16: 44 0f 29 44 24 20 movaps %xmm8,0x20(%rsp) 1c: 44 0f 29 4d 80 movaps %xmm9,-0x80(%rbp) 21: 44 0f 29 55 90 movaps %xmm10,-0x70(%rbp) 26: 44 0f 29 5d a0 movaps %xmm11,-0x60(%rbp) 2b: 44 0f 29 65 b0 movaps %xmm12,-0x50(%rbp) 30: 44 0f 29 6d c0 movaps %xmm13,-0x40(%rbp) 35: 44 0f 29 75 d0 movaps %xmm14,-0x30(%rbp) 3a: 44 0f 29 7d e0 movaps %xmm15,-0x20(%rbp) 3f: e8 00 00 00 00 callq 44 40: R_X86_64_PC32 wool_sweaters-0x4 44: 0f 28 34 24 movaps (%rsp),%xmm6 48: 0f 28 7c 24 10 movaps 0x10(%rsp),%xmm7 4d: 44 0f 28 44 24 20 movaps 0x20(%rsp),%xmm8 53: 44 0f 28 4d 80 movaps -0x80(%rbp),%xmm9 58: 44 0f 28 55 90 movaps -0x70(%rbp),%xmm10 5d: 44 0f 28 5d a0 movaps -0x60(%rbp),%xmm11 62: 44 0f 28 65 b0 movaps -0x50(%rbp),%xmm12 67: 44 0f 28 6d c0 movaps -0x40(%rbp),%xmm13 6c: 44 0f 28 75 d0 movaps -0x30(%rbp),%xmm14 71: 44 0f 28 7d e0 movaps -0x20(%rbp),%xmm15 76: 48 81 c4 a0 00 00 00 add $0xa0,%rsp 7d: 5e pop %rsi 7e: 5f pop %rdi 7f: 5d pop %rbp 80: c3 retq >>From gcc-bugs-return-503575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 00:54:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102678 invoked by alias); 24 Nov 2015 00:54: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 102395 invoked by uid 48); 24 Nov 2015 00:54:52 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly Date: Tue, 24 Nov 2015 00: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: 4.9.3 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: 2015-11/txt/msg02502.txt.bz2 Content-length: 267 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68507 --- Comment #2 from Andrew Pinski --- I think there is an ABI difference with respect of xmm6-16 between sysv ABI= and windows ABIs. Can you provide why you think this is not a bug? >>From gcc-bugs-return-503576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 01:14:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130600 invoked by alias); 24 Nov 2015 01: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 130471 invoked by uid 48); 24 Nov 2015 01:14:19 -0000 From: "daniel.santos at pobox dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly Date: Tue, 24 Nov 2015 01: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.santos at pobox 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: 2015-11/txt/msg02503.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68507 --- Comment #3 from Daniel Santos --- (In reply to Andrew Pinski from comment #2) > I think there is an ABI difference with respect of xmm6-16 between sysv A= BI > and windows ABIs. Can you provide why you think this is not a bug? Ehem, uh no. I was recently informed that sysv_abi treats xmm registers as temp, but I need to read up on this topic. If this is really true then this= bug report would be invalid (but still very sad). >>From gcc-bugs-return-503577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 01:14:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 342 invoked by alias); 24 Nov 2015 01:14: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 130721 invoked by uid 48); 24 Nov 2015 01:14:24 -0000 From: "nenad at intrepid dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 01: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nenad at intrepid 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: 2015-11/txt/msg02504.txt.bz2 Content-length: 983 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #3 from Nenad Vukicevic --- We are getting a similar issue while linking a program with GCC and without '-flto' switch. We enable 'lto' when configuring languages, which in turn enables post ld processing inside collect2. This was done as part of the b= ug #61352 patch. As mentioned, Apple switched to LLVM based dsymtool (see tools/dsymutil on llvm) in newer Darwins, and we did not see failures on the older systems wh= ere I suspect some other version of dsymutil is used. Also, worth mentioning, = is that we do not get these warnings if we use Apple's LLVM based compiler, as Clang driver does not execute dsymutil on link only jobs: gcc -o t t.c (will execute dsymutil) gcc -o t t.o (will NOT execute dsymutil) On the other hand GCC always execute dsymutil. Looking at symbols that dsymutil complains it looks like they are complaini= ng on local symbols with the same name. >>From gcc-bugs-return-503578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 01:18:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4363 invoked by alias); 24 Nov 2015 01:18: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 4305 invoked by uid 48); 24 Nov 2015 01:18:26 -0000 From: "arthur.j.odwyer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/51494] Legal program rejection - capturing "this" when using static method inside lambda Date: Tue, 24 Nov 2015 01: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: 4.6.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: arthur.j.odwyer at gmail dot com 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: 4.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: 2015-11/txt/msg02505.txt.bz2 Content-length: 1279 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51494 Arthur O'Dwyer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.j.odwyer at gmail d= ot com --- Comment #11 from Arthur O'Dwyer --- Is there a workaround available for GCC 4.6.3? That is, I have some code that looks like class A { static A *unwrap(void *p); static void api_helper(void *p) { A *a =3D unwrap(p); ... } void init() { register_with_api(&api_helper); } }; where "api_helper" exists only to conform to the requirements of the extern= al API. To reduce the surface area of the class, I'd like to refactor this into something like class A { static A *unwrap(void *p); void init() { auto api_helper =3D [](void *a) { A *a =3D unwrap(p); ... }; register_with_api(api_helper); } }; but at the moment I'm hitting this bug in gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 because "api_helper" happens to also want to use some static members = of A. I understand if there's no workaround (beyond "upgrade to gcc 4.8"), but if there IS one, I'd like to know it! >>From gcc-bugs-return-503579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 01:23:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8373 invoked by alias); 24 Nov 2015 01:23: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 8310 invoked by uid 48); 24 Nov 2015 01:23:27 -0000 From: "kainjow at kainjow dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] New: Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Tue, 24 Nov 2015 01: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kainjow at kainjow 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: 2015-11/txt/msg02506.txt.bz2 Content-length: 1062 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 Bug ID: 68508 Summary: Internal compiler error with parentheses around return value in C++14 with ASan enabled Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kainjow at kainjow dot com Target Milestone: --- Using latest i386 ArchLinux with GCC 5.2, I am able to generate an internal compiler error with this code: class A { public: A() {} static const A& a() { static A _a =3D A(); return (_a); } virtual A& operator=3D (const A&) { return *this; } }; int main() { return 0; } Compile it with: g++ -std=3Dc++14 -fsanitize=3Dundefined test.cpp This will generate: test.cpp: In static member function =E2=80=98static const A& A::a()=E2=80= =99: test.cpp:7:19: internal compiler error: in check_return_expr, at cp/typeck.c:8682 return (_a); >>From gcc-bugs-return-503580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 02:38:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88645 invoked by alias); 24 Nov 2015 02:38: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 88621 invoked by uid 48); 24 Nov 2015 02:38:39 -0000 From: "daniel.santos at pobox dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly Date: Tue, 24 Nov 2015 02: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: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.santos at pobox 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: 2015-11/txt/msg02507.txt.bz2 Content-length: 1021 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68507 --- Comment #4 from Daniel Santos --- According to =C2=A7 3.2.1 "Registers and the Stack Frame" of the System V Application Binary Interface for AMD64 Registers %rbp, %rbx and %r12 through %r15 =E2=80=9Cbelong=E2=80=9D to the = calling function and the called function is required to preserve their values. In other words, a called function must preserve these registers=E2=80=99 values for its calle= r. Remaining registers =E2=80=9Cbelong=E2=80=9D to the called function.5 If a calling fu= nction wants to preserve such a register value across a function call, it must save the val= ue in its local stack frame. And for microsoft's "x64" calling convention (https://msdn.microsoft.com/en-us/library/9z1stfyw.aspx), the xmm registers= are considered non-volatile, so it would appear that this is the correct behavi= our, barring some extensive whole-program analysis that can guarantee that the x= mm registers are not destroyed. >>From gcc-bugs-return-503581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 02:42:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91377 invoked by alias); 24 Nov 2015 02:42: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 91342 invoked by uid 48); 24 Nov 2015 02:42:02 -0000 From: "daniel.santos at pobox dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly Date: Tue, 24 Nov 2015 02: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.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.santos at pobox 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: 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: 2015-11/txt/msg02508.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68507 Daniel Santos changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Daniel Santos --- closing >>From gcc-bugs-return-503582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 03:10:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14782 invoked by alias); 24 Nov 2015 03:09: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 14596 invoked by uid 48); 24 Nov 2015 03:09:55 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/52272] [4.9/5/6 regression] Performance regression of 410.bwaves on x86. Date: Tue, 24 Nov 2015 03: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: 4.7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: amker at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02509.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52272 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #29 from amker at gcc dot gnu.org --- I think this is fixed. >>From gcc-bugs-return-503583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 03:10:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14919 invoked by alias); 24 Nov 2015 03:10: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 14672 invoked by uid 48); 24 Nov 2015 03:09:57 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/50955] [4.7 Regression] IVopts incorrectly rewrite the address of a global memory access into a local form. Date: Tue, 24 Nov 2015 03:10: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: 4.7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 4.7.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: 2015-11/txt/msg02510.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50955 Bug 50955 depends on bug 52272, which changed state. Bug 52272 Summary: [4.9/5/6 regression] Performance regression of 410.bwave= s on x86. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52272 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-503584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 03:10:03 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15121 invoked by alias); 24 Nov 2015 03:10: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 14730 invoked by uid 48); 24 Nov 2015 03:09:58 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/52868] [4.7/4.8 Regression] 4.6 is faster on Atom Date: Tue, 24 Nov 2015 03:10: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02511.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52868 Bug 52868 depends on bug 52272, which changed state. Bug 52272 Summary: [4.9/5/6 regression] Performance regression of 410.bwave= s on x86. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52272 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-503585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 03:42:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128163 invoked by alias); 24 Nov 2015 03:42: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 128116 invoked by uid 48); 24 Nov 2015 03:42:22 -0000 From: "lucdanton at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68509] New: [6 regression][C++1z] ICE: in check_return_expr, at cp/typeck.c:8635 Date: Tue, 24 Nov 2015 03:42: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lucdanton at free dot 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: 2015-11/txt/msg02512.txt.bz2 Content-length: 3006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68509 Bug ID: 68509 Summary: [6 regression][C++1z] ICE: in check_return_expr, at cp/typeck.c:8635 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lucdanton at free dot fr Target Milestone: --- Testcase compiles fine in C++11 and C++14 modes, ICE is in C++1z mode only. $ g++-trunk --version g++-trunk (GCC) 6.0.0 20151124 (experimental) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ cat main.cpp constexpr auto foo(int i) { if(i =3D=3D 0) { return 0; } else { return 'a'; } } int main() { using X =3D decltype( foo(0) ); return X {}; } $ g++-trunk -std=3Dc++1z main.cpp main.cpp: In function 'constexpr auto foo(int)': main.cpp:6:16: internal compiler error: in check_return_expr, at cp/typeck.c:8635 return 'a'; ^~~ 0x66f5b3 check_return_expr(tree_node*, bool*) ../../gcc/gcc/cp/typeck.c:8635 0x68fa5e finish_return_stmt(tree_node*) ../../gcc/gcc/cp/semantics.c:867 0x6584e8 cp_parser_jump_statement ../../gcc/gcc/cp/parser.c:11414 0x6584e8 cp_parser_statement ../../gcc/gcc/cp/parser.c:10035 0x658bac cp_parser_statement_seq_opt ../../gcc/gcc/cp/parser.c:10426 0x658ce6 cp_parser_compound_statement ../../gcc/gcc/cp/parser.c:10380 0x65fb0c cp_parser_implicitly_scoped_statement ../../gcc/gcc/cp/parser.c:11520 0x658a01 cp_parser_selection_statement ../../gcc/gcc/cp/parser.c:10555 0x658a01 cp_parser_statement ../../gcc/gcc/cp/parser.c:10010 0x658bac cp_parser_statement_seq_opt ../../gcc/gcc/cp/parser.c:10426 0x658ce6 cp_parser_compound_statement ../../gcc/gcc/cp/parser.c:10380 0x658e3b cp_parser_function_body ../../gcc/gcc/cp/parser.c:20192 0x658e3b cp_parser_ctor_initializer_opt_and_function_body ../../gcc/gcc/cp/parser.c:20228 0x6599e8 cp_parser_function_definition_after_declarator ../../gcc/gcc/cp/parser.c:24836 0x65a93f cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/gcc/cp/parser.c:24748 0x65a93f cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:17972 0x65ac3d cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:11980 0x65b0d3 cp_parser_block_declaration ../../gcc/gcc/cp/parser.c:11854 0x662d35 cp_parser_declaration ../../gcc/gcc/cp/parser.c:11751 0x661328 cp_parser_declaration_seq_opt ../../gcc/gcc/cp/parser.c:11630 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-503586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 05:12:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6921 invoked by alias); 24 Nov 2015 05:12: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 6836 invoked by uid 48); 24 Nov 2015 05:12:08 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 05: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey 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 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: 2015-11/txt/msg02513.txt.bz2 Content-length: 2174 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu.org --- Comment #1 from Tom Tromey --- Created attachment 36815 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36815&action=3Dedit simple version in python This implements the basics of the checker using the gcc python plugin. A few notes on this: There didn't seem to be a great way to insert __context__ into the IR. I ended up making a const function with a special attribute. I used a func= tion to get it into the IR, const so that it would be optimized away later, and an attribute so we could recognize it. The attribute syntax in the test case doesn't work with gcc. The attributes on the function definitions can't appear at the end. I didn't handle the version of __context__ or the attribute that takes an explicit lock. For __context__ this can be done (varargs function maybe= ); but for the attribute I am not so sure, because I don't think the function parameters are in scope when the attribute is parsed. (Not sure, maybe there's some way.) The upstream sparse validation/context.c has a bug where _ca is declared returning void (though this is fixed in the version attached here). One further issue is that I chose to implement this relatively early in the pipeline. I did it after gimplification and after the cfg is built (these both make it simpler to implement); but before most optimizations are done. This is the uninitialized warning situation again, I think, where exactly when the pass is invoked will affect the results. It also brings up the question of what exactly the semantics are; for example whether code like this is valid: if (cond) lock(); blah; if (cond) unlock(); This plugin will warn about this code; but maybe it should not. Python might be too slow for your taste, but it was easy to write :) and I think the IR and syntax issues above are problems for any approach. >>From gcc-bugs-return-503587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 06:43:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21219 invoked by alias); 24 Nov 2015 06: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 21156 invoked by uid 55); 24 Nov 2015 06:43:53 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68381] [6 Regression] wrong code and quality regression with __builtin_mul_overflow() @ aarch64 Date: Tue, 24 Nov 2015 06:43: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: 6.0 X-Bugzilla-Keywords: missed-optimization, wrong-code 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: 6.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: 2015-11/txt/msg02514.txt.bz2 Content-length: 863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68381 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Tue Nov 24 06:43:20 2015 New Revision: 230786 URL: https://gcc.gnu.org/viewcvs?rev=3D230786&root=3Dgcc&view=3Drev Log: combine: Handle aborts in is_parallel_of_n_reg_sets (PR68381) Some users of is_parallel_of_n_reg_sets disregard the clobbers in a parallel after it has returned "yes, this is a parallel of N sets and maybe some clobbers". But combine uses a clobber of const0_rtx to indicate substitution failure, so this leads to disaster. Fix this by checking for such special clobbers in is_parallel_of_n_reg_sets. PR rtl-optimization/68381 * combine.c (is_parallel_of_n_reg_sets): Return false if the pattern is poisoned. Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c >>From gcc-bugs-return-503588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 06:44:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22154 invoked by alias); 24 Nov 2015 06:44: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 22114 invoked by uid 48); 24 Nov 2015 06:44:28 -0000 From: "inferrna at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67984] [GRAPHITE] internal compiler error: isl_ctx freed, but some objects still reference it Date: Tue, 24 Nov 2015 06: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: inferrna 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: attachments.isobsolete 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: 2015-11/txt/msg02515.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67984 inferrna changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #36523|0 |1 is obsolete| | --- Comment #3 from inferrna --- Created attachment 36816 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36816&action=3Dedit Same, without OpenCL >>From gcc-bugs-return-503589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 06:46:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24045 invoked by alias); 24 Nov 2015 06:46: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 23926 invoked by uid 48); 24 Nov 2015 06:46:25 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 06: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02516.txt.bz2 Content-length: 4484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #2 from Josh Triplett --- (In reply to Tom Tromey from comment #1) > Created attachment 36815 [details] > simple version in python >=20 > This implements the basics of the checker using the gcc python plugin. Awesome! > A few notes on this: >=20 > There didn't seem to be a great way to insert __context__ into the IR. > I ended up making a const function with a special attribute. I used a > function to > get it into the IR, const so that it would be optimized away later, and > an attribute so we could recognize it. That sounds completely sensible. > The attribute syntax in the test case doesn't work with gcc. The attribu= tes > on the function definitions can't appear at the end. Placing attributes at the end of the function definition works with Sparse,= and as far as I can tell with GCC as well. The Linux kernel uses trailing attributes on functions (both prototypes and definitions) fairly frequently, including with the context attribute. > I didn't handle the version of __context__ or the attribute that takes > an explicit lock. For __context__ this can be done (varargs function may= be); > but for the attribute I am not so sure, because I don't think the > function parameters are in scope when the attribute is parsed. (Not sure, > maybe there's some way.) As mentioned, Sparse doesn't currently pay attention to that argument eithe= r, for much the same reason. As a result, users of that argument currently do= n't always pass something sensible. I'd love to see a solution that makes it possible to detect things like "foo_lock(&foo); foo_unlock(&foo2);", but the first pass can just ignore those arguments (though it needs to parse and ig= nore them for compatibility). In general, it seems useful to have the ability to reference argument names= in attributes on a function. For instance, imagine using argument names rather than indexes for the printf attribute or another attribute like it. The context attribute, though, wants something more complex than that: the ability to provide expressions based on those arguments, such as arg->lock.= =20 That does seem like a tall order. > The upstream sparse validation/context.c has a bug where _ca is declared > returning void (though this is fixed in the version attached here). >=20 > One further issue is that I chose to implement this relatively early in > the pipeline. I did it after gimplification and after the cfg is built > (these both make it simpler to implement); but before most optimizations > are done. This is the uninitialized warning situation again, I think, > where exactly when the pass is invoked will affect the results. It also > brings up the question of what exactly the semantics are; for example > whether code like this is valid: >=20 > if (cond) > lock(); > blah; > if (cond) > unlock(); >=20 > This plugin will warn about this code; but maybe it should not. One of the reasons I wanted to see this in GCC, in addition to making it mo= re widely available, was to take advantage of GCC's better (or rather *existen= t*) optimization and simplification passes. While I don't necessarily think conditional locks like the above should work (it seems easy enough to rework that code into something more obvious that doesn't require the compiler to = know if blah can affect cond), I *do* think a GCC-based plugin has the potential= to infer more information without as many annotations. For instance, consider= a function which calls a function annotated as __must_hold, but only if passe= d a given flag. GCC could then know that the function only needs the lock *if* passed that flag (or if it can't tell until runtime). (Going too far in th= at direction leads to algebraic evaluators, but still...) So I suspect it may make sense to run this after inlining, specialization, dead-code elimination, and similar. > Python might be too slow for your taste, but it was easy to write :) and > I think the IR and syntax issues above are problems for any approach. I don't mind the use of Python, though I wonder how easily such a script co= uld work by default. Given this script, how do you invoke GCC and run it? How much stability does this interface provide? Could the Linux kernel ship su= ch a script and invoke it as part of the compile, given some dependency checks (= and likely a Kconfig option if it increases build time significantly)? >>From gcc-bugs-return-503590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 06:58:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83478 invoked by alias); 24 Nov 2015 06:58: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 83425 invoked by uid 48); 24 Nov 2015 06:58:13 -0000 From: "lucdanton at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68510] New: [concepts] ICE: in gimplify_var_or_parm_decl, at gimplify.c:1827 Date: Tue, 24 Nov 2015 06: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lucdanton at free dot 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 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: 2015-11/txt/msg02517.txt.bz2 Content-length: 914 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68510 Bug ID: 68510 Summary: [concepts] ICE: in gimplify_var_or_parm_decl, at gimplify.c:1827 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lucdanton at free dot fr Target Milestone: --- Created attachment 36817 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36817&action=3Dedit Reduced testcase Using g++-trunk (GCC) 6.0.0 20151124 (experimental). The testcase was mechanically reduced. An older snapshot used to be able to compile the orig= inal unreduced program, according to the reflog: commit c66cf0b787e892170f4981e8473aab601610a630 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229691 138bc75d-0d04-0410-961f-82ee72b054a4 >>From gcc-bugs-return-503591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 07:00:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91776 invoked by alias); 24 Nov 2015 07:00: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 91662 invoked by uid 48); 24 Nov 2015 07:00:16 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc++/68511] New: FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, line 51,59) Date: Tue, 24 Nov 2015 07:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 2015-11/txt/msg02518.txt.bz2 Content-length: 1146 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68511 Bug ID: 68511 Summary: FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, line 51,59) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc++ Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- obj-c++.log: ... src/gcc/testsuite/obj-c++.dg/property/dotsyntax-11.mm: In function '-[MySubClass testMe]': src/gcc/testsuite/obj-c++.dg/property/dotsyntax-11.mm:48:13: error: no 'cou= nt' getter found compiler exited with status 1 PASS: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, = line 48) FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, = line 51) FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, = line 56) FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, = line 59) PASS: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for excess errors) ... >>From gcc-bugs-return-503592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 07:02:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94107 invoked by alias); 24 Nov 2015 07:02: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 94074 invoked by uid 48); 24 Nov 2015 07:02:15 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc++/68511] FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, line 51,59) Date: Tue, 24 Nov 2015 07:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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: 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: 2015-11/txt/msg02519.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68511 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 --- Comment #1 from vries at gcc dot gnu.org --- confirmed: https://gcc.gnu.org/ml/gcc-testresults/2015-11/msg02507.html >>From gcc-bugs-return-503593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 07:03:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95202 invoked by alias); 24 Nov 2015 07:03: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 95150 invoked by uid 48); 24 Nov 2015 07:03:10 -0000 From: "y.gribov at samsung dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Tue, 24 Nov 2015 07: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: y.gribov at samsung 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: 2015-11/txt/msg02520.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 Yury Gribov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |polacek at redhat dot com, | |y.gribov at samsung dot com --- Comment #1 from Yury Gribov --- Correction - this is not ASan but UBSan. Summoning Marek. >>From gcc-bugs-return-503594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 07:35:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86667 invoked by alias); 24 Nov 2015 07:35: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 86597 invoked by uid 48); 24 Nov 2015 07:35:29 -0000 From: "odell.wood at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68512] New: Non-deterministic behavior from gcc Date: Tue, 24 Nov 2015 07:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: odell.wood 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: 2015-11/txt/msg02521.txt.bz2 Content-length: 3368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68512 Bug ID: 68512 Summary: Non-deterministic behavior from gcc Product: gcc Version: unknown Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: odell.wood at gmail dot com Target Milestone: --- I've been struggling with bugs in gcc that cause non-reproducible errors fo= r a while now, pretty much every time I try to build a project from source. The latest error is coming up when I try to build cutorch. Command which causes non-reproducible bug: /usr/local/cuda-7.0/bin/nvcc /home/thomas/documents/code/torch/extra/cutorch/lib/THC/THCTensorMathPointw= ise.cu -c -o /home/thomas/documents/code/torch/extra/cutorch/build/lib/THC/CMakeFiles/TH= C.dir//./THC_generated_THCTensorMathPointwise.cu.o -ccbin /usr/bin/cc -m64 -DTHC_EXPORTS -Xcompiler ,\"-fPIC\",\"-O3\",\"-DNDEBUG\" -gencode arch=3Dcompute_52,code=3Dsm_52 -ge= ncode arch=3Dcompute_50,code=3Dsm_50 -DNVCC -I/usr/local/cuda-7.0/include -I/home/thomas/documents/code/torch/install/include -I/home/thomas/documents/code/torch/install/include/TH -I/usr/local/cuda-7.0/include -I/home/thomas/documents/code/torch/extra/cutorch/lib/THC/CUDA_SDK_ROOT_DIR= -NOTFOUND/common/inc -I/home/thomas/documents/code/torch/extra/cutorch/build/lib/THC In file included from tmpxft_00003a7f_00000000-7_THCTensorMathPointwise.compute_52.cudafe1.stub.c= :1:0: /tmp/tmpxft_00003a7f_00000000-7_THCTensorMathPointwise.compute_52.cudafe1.s= tub.c: In function =E2=80=98void __sti____cudaRegisterAll_69_tmpxft_00003a7f_00000000_10_THCTensorMathPointw= ise_compute_50_cpp1_ii_f2e6419b()=E2=80=99: /tmp/tmpxft_00003a7f_00000000-7_THCTensorMathPointwise.compute_52.cudafe1.s= tub.c:4257:361: internal compiler error: in schedule_block, at haifa-sched.c:6296 static void __sti____cudaRegisterAll_69_tmpxft_00003a7f_00000000_10_THCTensorMathPointw= ise_compute_50_cpp1_ii_f2e6419b(void){__cudaRegisterBinary(__nv_cudaEntityR= egisterCallback);} =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. If I try it again, it works fine. >>From gcc-bugs-return-503595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 07:52:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58626 invoked by alias); 24 Nov 2015 07: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 57101 invoked by uid 48); 24 Nov 2015 07:52:50 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68512] Non-deterministic behavior from gcc Date: Tue, 24 Nov 2015 07:52: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: 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: component version 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: 2015-11/txt/msg02522.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68512 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |middle-end Version|unknown |4.8.0 Severity|blocker |normal --- Comment #1 from Andrew Pinski --- Have you checked to make sure the memory you is using is fine? How about y= our CPU overheating? >>From gcc-bugs-return-503596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 07:54:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68133 invoked by alias); 24 Nov 2015 07: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 68109 invoked by uid 48); 24 Nov 2015 07:54:30 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc++/68511] FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for errors, line 51,56,59) Date: Tue, 24 Nov 2015 07:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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: 2015-11/txt/msg02523.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68511 --- Comment #2 from vries at gcc dot gnu.org --- regression between https://gcc.gnu.org/ml/gcc-regression/2015-11/msg00711.h= tml: between r230767 and r230734. r230755 looks like it could be related:=20 ... gcc/c-family PR c++/68001 * c-gimplify.c (c_gimplify_expr): Stop the process if see an error. * cilk.c (recognize_spawn): Determine location in a more precise way. gcc/cp * cp-gimplify.c (cp_gimplify_expr): Stop the process if see an erro= r. gcc/testsuite * g++.dg/cilk-plus/CK/pr68001.cc: New test. ... >>From gcc-bugs-return-503597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 08:57:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87515 invoked by alias); 24 Nov 2015 08: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 87466 invoked by uid 48); 24 Nov 2015 08:57:46 -0000 From: "vaalfreja at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68456] UINT32_TYPE has different type for i586-elf and for i586-unknown-linux Date: Tue, 24 Nov 2015 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vaalfreja 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_status resolution short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02524.txt.bz2 Content-length: 1214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68456 Yulia Koval changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- Summary|UINT32_TYPE is long |UINT32_TYPE has different |unsigned for 32bit targets |type for i586-elf and for | |i586-unknown-linux --- Comment #6 from Yulia Koval --- > The types used in GCC are intended to be consistent with what the libc's= =20 > own headers do (lots of problems will arise if they aren't). Newlib's=20 > headers, as of when this support was added to GCC, used long in that case= ,=20 > a use introduced by = ,=20 > apparently because it was convenient for the newlib implementation at tha= t=20 > time. And why newlib-stdint header is used in this case? I haven't used any newlib-related options in configure. These targets still have different typ= es for UINT32_TYPE. >>From gcc-bugs-return-503598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:02:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102109 invoked by alias); 24 Nov 2015 09: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 102037 invoked by uid 48); 24 Nov 2015 09:02:37 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/65980] [6 Regression] -fcompare-debug failure building Linux kernel Date: Tue, 24 Nov 2015 09:02: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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.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: 2015-11/txt/msg02525.txt.bz2 Content-length: 1558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65980 --- Comment #3 from Markus Trippelsdorf --- Created attachment 36818 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36818&action=3Dedit unreduced testcase The reduced testcase doesn't reproduce the issue anymore. I've attached a new unreduced testcase. markus@x4 linux % gcc --save-temps -fcompare-debug -O3 -c api.i gcc: error: api.i: -fcompare-debug failure markus@x4 linux % diff -u api.gkd api.gk.gkd --- api.gkd 2015-11-24 10:00:40.063801541 +0100 +++ api.gk.gkd 2015-11-24 10:00:40.460459460 +0100 @@ -941,7 +941,7 @@ (expr_list:REG_DEAD (reg:CCZ 17 flags) (int_list:REG_BR_PROB 672 (nil))) -> 106) -(code_label # 0 0 6 104 "" [2 uses]) +(code_label # 0 0 6 105 "" [2 uses]) (note # 0 0 [bb 6] NOTE_INSN_BASIC_BLOCK) (note # 0 0 NOTE_INSN_DELETED) (note # 0 0 NOTE_INSN_DELETED) @@ -1048,7 +1048,7 @@ (pc))) crypto/api.c:181# {*jcc_1} (expr_list:REG_DEAD (reg:CCGOC 17 flags) (int_list:REG_BR_PROB 3900 (nil))) - -> 41) + -> 48) (note # 0 0 [bb 10] NOTE_INSN_BASIC_BLOCK) (insn:TI # 0 0 10 (set (reg/v/f:DI 41 r12 [orig:99 alg ] [99]) (mem/f:DI (plus:DI (reg/v/f:DI 6 bp [orig:144 ] [144]) @@ -1096,7 +1096,7 @@ (pc))) crypto/api.c:185# {*jcc_1} (expr_list:REG_DEAD (reg:CCZ 17 flags) (int_list:REG_BR_PROB 3900 (nil))) - -> 68) + -> 74) (code_label # 0 0 13 49 "" [1 uses]) (note # 0 0 [bb 13] NOTE_INSN_BASIC_BLOCK) (insn:TI # 0 0 13 (parallel [ ... >>From gcc-bugs-return-503599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:04:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104941 invoked by alias); 24 Nov 2015 09:04: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 104853 invoked by uid 48); 24 Nov 2015 09:04:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 09:04: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: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02526.txt.bz2 Content-length: 632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |4.9.4 Summary|[6 Regression] wrong code |[4.9/5/6 Regression] wrong |at -O2 and -O3 on |code at -O2 and -O3 on |x86_64-linux-gnu |x86_64-linux-gnu --- Comment #9 from Richard Biener --- One of the dups also fails on the 4.9 and 5 branches. >>From gcc-bugs-return-503600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:07:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4505 invoked by alias); 24 Nov 2015 09: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 4321 invoked by uid 48); 24 Nov 2015 09:07:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68502] [6 Regression][i686] spec2000/179.art runfails after r222914 Date: Tue, 24 Nov 2015 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02527.txt.bz2 Content-length: 622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68502 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-24 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >>From gcc-bugs-return-503601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:08:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6705 invoked by alias); 24 Nov 2015 09: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 6531 invoked by uid 48); 24 Nov 2015 09:08:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68509] [6 regression][C++1z] ICE: in check_return_expr, at cp/typeck.c:8635 Date: Tue, 24 Nov 2015 09: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.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: 6.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: 2015-11/txt/msg02528.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68509 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-503602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:14:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44614 invoked by alias); 24 Nov 2015 09:14: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 44541 invoked by uid 48); 24 Nov 2015 09:14:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68506] wrong code at -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 09:14: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: 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2015-11/txt/msg02529.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68506 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-503603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:18:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62398 invoked by alias); 24 Nov 2015 09:18: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 62307 invoked by uid 55); 24 Nov 2015 09:18:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68221] libgomp reduction-11/12 failures Date: Tue, 24 Nov 2015 09: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: 6.0 X-Bugzilla-Keywords: openmp 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: 6.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: 2015-11/txt/msg02530.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68221 --- Comment #6 from Richard Biener --- Author: rguenth Date: Tue Nov 24 09:17:40 2015 New Revision: 230793 URL: https://gcc.gnu.org/viewcvs?rev=3D230793&root=3Dgcc&view=3Drev Log: 2015-11-24 Richard Biener PR middle-end/68221 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Properly use mem_ref_offset. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-sccvn.c >>From gcc-bugs-return-503604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:26:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97981 invoked by alias); 24 Nov 2015 09: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 97853 invoked by uid 48); 24 Nov 2015 09:26:41 -0000 From: "jan.smets@alcatel-lucent.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68513] New: ICE in gimplify_expr, at gimplify.c:8832 Date: Tue, 24 Nov 2015 09: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.smets@alcatel-lucent.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: 2015-11/txt/msg02531.txt.bz2 Content-length: 591 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68513 Bug ID: 68513 Summary: ICE in gimplify_expr, at gimplify.c:8832 Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jan.smets@alcatel-lucent.com Target Milestone: --- Created attachment 36819 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36819&action=3Dedit testcase Test case attached. Simply compile without any optimizations. >>From gcc-bugs-return-503605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:31:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103724 invoked by alias); 24 Nov 2015 09:31:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103632 invoked by uid 48); 24 Nov 2015 09:31:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832 Date: Tue, 24 Nov 2015 09: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: 5.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on 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: 2015-11/txt/msg02532.txt.bz2 Content-length: 926 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68513 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |4.9.3 Keywords| |ice-on-valid-code Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 Summary|ICE in gimplify_expr, at |[5/6 Regression] ICE in |gimplify.c:8832 |gimplify_expr, at | |gimplify.c:8832 Target Milestone|--- |5.3 Known to fail| |5.1.0, 5.2.0 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-503607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:32:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107059 invoked by alias); 24 Nov 2015 09:32: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 106886 invoked by uid 55); 24 Nov 2015 09:32:30 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 09:32: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: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02534.txt.bz2 Content-length: 869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #10 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 09:31:57 2015 New Revision: 230795 URL: https://gcc.gnu.org/viewcvs?rev=3D230795&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr68185.c trunk/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: trunk/gcc/ChangeLog trunk/gcc/ree.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:32:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107350 invoked by alias); 24 Nov 2015 09:32: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 106972 invoked by uid 55); 24 Nov 2015 09:32:32 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 09:32: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02536.txt.bz2 Content-length: 869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68328 --- Comment #11 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 09:31:57 2015 New Revision: 230795 URL: https://gcc.gnu.org/viewcvs?rev=3D230795&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr68185.c trunk/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: trunk/gcc/ChangeLog trunk/gcc/ree.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:32:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105499 invoked by alias); 24 Nov 2015 09:32: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 105453 invoked by uid 48); 24 Nov 2015 09:32:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL Date: Tue, 24 Nov 2015 09:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg02533.txt.bz2 Content-length: 1091 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68513 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[5/6 Regression] ICE in |[5/6 Regression] ICE in |gimplify_expr, at |gimplify_expr, at |gimplify.c:8832 |gimplify.c:8832, | |c_maybe_const_expr in IL --- Comment #2 from Richard Biener --- #1 0x0000000000adeb18 in gimplify_expr (expr_p=3D0x7ffff6a05400,=20 pre_p=3D0x7fffffffd190, post_p=3D0x7fffffffb9e8, gimple_test_f=3D 0xa8b7a8 , fallback=3D1) at /space/rguenther/src/svn/trunk3/gcc/gimplify.c:10620 10620 gcc_unreachable (); (gdb) p debug_generic_expr (*expr_p) <<< Unknown tree: c_maybe_const_expr someFuncX ((someFuncY ((void *) (somePtr + 4352)) - (someVar =3D=3D 2 ? 2= 18103808 : 33554432)) / 2097152 + 1) >>> $1 =3D void >>From gcc-bugs-return-503608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:32:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107257 invoked by alias); 24 Nov 2015 09:32: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 106959 invoked by uid 55); 24 Nov 2015 09:32:31 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68185] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Tue, 24 Nov 2015 09:32: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02535.txt.bz2 Content-length: 868 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68185 --- Comment #5 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 09:31:57 2015 New Revision: 230795 URL: https://gcc.gnu.org/viewcvs?rev=3D230795&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr68185.c trunk/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: trunk/gcc/ChangeLog trunk/gcc/ree.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:33:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112738 invoked by alias); 24 Nov 2015 09:33: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 110691 invoked by uid 48); 24 Nov 2015 09:33:05 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 09:33: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: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02537.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #11 from ktkachov at gcc dot gnu.org --- Fixed on trunk. Will test the patch on 4.9 and GCC 5 and propose backports >>From gcc-bugs-return-503611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:35:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124037 invoked by alias); 24 Nov 2015 09:35: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 123999 invoked by uid 48); 24 Nov 2015 09:35:35 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL Date: Tue, 24 Nov 2015 09: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: 5.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 5.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: 2015-11/txt/msg02538.txt.bz2 Content-length: 831 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68513 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #3 from Markus Trippelsdorf --- markus@x4 tmp % cat ice.i int a; unsigned b, c; void fn1() { (short)(((0, 0) ? *(volatile *)4 * b : 0) & ~c | a & c); } markus@x4 tmp % gcc -c ice.i ice.i: In function =E2=80=98fn1=E2=80=99: ice.i:3:1: warning: type defaults to =E2=80=98int=E2=80=99 in type name [-W= implicit-int] void fn1() { (short)(((0, 0) ? *(volatile *)4 * b : 0) & ~c | a & c); } ^ ice.i:3:47: internal compiler error: in gimplify_expr, at gimplify.c:8832 >>From gcc-bugs-return-503612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:45:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18169 invoked by alias); 24 Nov 2015 09:45:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18119 invoked by uid 55); 24 Nov 2015 09:45:55 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68337] [MPX] memcpy() for arrays with function pointers results in huge resource usage and binaries Date: Tue, 24 Nov 2015 09:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich 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: 2015-11/txt/msg02539.txt.bz2 Content-length: 819 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68337 --- Comment #3 from Ilya Enkovich --- Author: ienkovich Date: Tue Nov 24 09:45:20 2015 New Revision: 230796 URL: https://gcc.gnu.org/viewcvs?rev=3D230796&root=3Dgcc&view=3Drev Log: gcc/ PR c/68337 * gimple-fold.c: Include ipa-chkp.h. (gimple_fold_builtin_memory_op): Don't fold call if we are going to instrument it and it may copy pointers. gcc/testsuite/ PR c/68337 * gcc.target/i386/mpx/pr68337-1.c: New test. * gcc.target/i386/mpx/pr68337-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/mpx/pr68337-1.c trunk/gcc/testsuite/gcc.target/i386/mpx/pr68337-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-fold.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:48:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23369 invoked by alias); 24 Nov 2015 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 22824 invoked by uid 48); 24 Nov 2015 09:48:43 -0000 From: "matthias at goldhoorn dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68195] gcc//ld produces invalid ABI results (cxx11 problem?) Date: Tue, 24 Nov 2015 09: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matthias at goldhoorn dot eu 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: 2015-11/txt/msg02540.txt.bz2 Content-length: 310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68195 --- Comment #10 from Matthias Goldhoorn --- Tested gcc6 (daily bump 20151124 (638a694865e4ad7d35397526251f1401e01afb54) from git, branch master) same problem the binary for testcase1 segfaults, t= he other ones running fine. >>From gcc-bugs-return-503614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 09:55:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86313 invoked by alias); 24 Nov 2015 09:55: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 85910 invoked by uid 48); 24 Nov 2015 09:55:02 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL Date: Tue, 24 Nov 2015 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02541.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68513 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #4 from Marek Polacek --- I've seen some c_maybe_const_expr so likely mine. >>From gcc-bugs-return-503615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 10:36:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58945 invoked by alias); 24 Nov 2015 10: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 58879 invoked by uid 48); 24 Nov 2015 10:36:19 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/68403] FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/loop-auto-1.c (internal compiler error) Date: Tue, 24 Nov 2015 10:36: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 2015-11/txt/msg02542.txt.bz2 Content-length: 999 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68403 vries at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from vries at gcc dot gnu.org --- Seems to have been fixed: https://gcc.gnu.org/ml/gcc-regression/2015-11/msg00601.html : ... Regressions on trunk at revision 230597 vs revision 230463 ... New passes: FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/loop-auto-1.c -DACC_DEVICE_TYPE_host=3D1 -DACC_MEM_SHARED=3D1 (internal compiler error) FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/loop-auto-1.c -DACC_DEVICE_TYPE_host=3D1 -DACC_MEM_SHARED=3D1 (test for excess errors) UNRESOLVED: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/loop-auto-1.c -DACC_DEVICE_TYPE_host=3D1 -DACC_MEM_SHARED=3D1 compilation failed to produ= ce executable ... >>From gcc-bugs-return-503616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 10:37:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60360 invoked by alias); 24 Nov 2015 10:37: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 60274 invoked by uid 48); 24 Nov 2015 10:37:11 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68506] wrong code at -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: wrong-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.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: 2015-11/txt/msg02543.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68506 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktkachov at gcc dot gnu.or= g, | |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Started with r230014 - [RTL-ifcvt] PR rtl-optimization/67749: Do not emit separate SET insn in IF-ELSE case. >>From gcc-bugs-return-503617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 10:42:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20704 invoked by alias); 24 Nov 2015 10: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 14809 invoked by uid 48); 24 Nov 2015 10:42:13 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL Date: Tue, 24 Nov 2015 10: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: 5.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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02544.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68513 --- Comment #5 from Marek Polacek --- Started with r218816: commit 277f7164f168a399312b5871323c7de0990ef85b Author: mpolacek Date: Wed Dec 17 11:48:33 2014 +0000 PR middle-end/63568 * match.pd: Add (x & ~m) | (y & m) -> ((x ^ y) & m) ^ x pattern. * gcc.dg/pr63568.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218816 138bc75d-0d04-0410-961f-82ee72b054a4 >>From gcc-bugs-return-503618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 10:46:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51868 invoked by alias); 24 Nov 2015 10:46: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 51814 invoked by uid 55); 24 Nov 2015 10:46:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Tue, 24 Nov 2015 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.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: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02545.txt.bz2 Content-length: 934 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Tue Nov 24 10:45:52 2015 New Revision: 230797 URL: https://gcc.gnu.org/viewcvs?rev=3D230797&root=3Dgcc&view=3Drev Log: PR target/68483 * tree-vect-generic.c (lower_vec_perm): If VEC_PERM_EXPR is valid vec_shr pattern, don't lower it even if can_vec_perm_p returns false. * optabs.c (shift_amt_for_vec_perm_mask): Return NULL_RTX whenever first is nelt or above. Don't mask expected with 2 * nelt - 1. * gcc.target/i386/pr68483-1.c: New test. * gcc.target/i386/pr68483-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr68483-1.c trunk/gcc/testsuite/gcc.target/i386/pr68483-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/optabs.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-generic.c >>From gcc-bugs-return-503619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 10:47:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52992 invoked by alias); 24 Nov 2015 10:47: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 52956 invoked by uid 48); 24 Nov 2015 10:47:01 -0000 From: "rainer@emrich-ebersheim.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68514] New: [6 Regression] ICE in tr1/5_numerical_facilities libstdc++ test cases Date: Tue, 24 Nov 2015 10:47: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.0 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 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: 2015-11/txt/msg02546.txt.bz2 Content-length: 10495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68514 Bug ID: 68514 Summary: [6 Regression] ICE in tr1/5_numerical_facilities libstdc++ test cases Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rainer@emrich-ebersheim.de Target Milestone: --- I get a lot of new failures for the tr1/5_numerical_facilities test cases of the libstdc++ testsuite compared to a gcc trunk version dated 3 weeks back,= see https://gcc.gnu.org/ml/gcc-testresults/2015-11/msg00244.html and https://gcc.gnu.org/ml/gcc-testresults/2015-11/msg02553.html All like the following: FAIL: tr1/5_numerical_facilities/random/minstd_rand.cc (test for excess err= ors) Excess errors: D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/beta_function.tcc:135:5: internal compiler error: Segmentation fault libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. UNRESOLVED: tr1/5_numerical_facilities/random/minstd_rand.cc compilation fa= iled to produce executable extra_tool_flags are: -include bits/stdc++.h Executing on host: /opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc/xg++ -shared-li= bgcc -B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc -nostdinc++ -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/src -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/src/.libs -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/libsupc++/.libs -L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/x86_64-w64-mingw32/lib -L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/mingw/lib -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/x86_64-w64-mingw32/include -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/mingw/include -B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/x86_64-w64-mingw32/bin/ -B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/x86_64-w64-mingw32/lib/ -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/x86_64-w64-mingw32/include -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/x86_64-w64-mingw32/sys-include -B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= ./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=3D0 -ffunction-sections -fdata-sections = -g -O2 -DLOCALEDIR=3D"." -nostdinc++ -I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/x86_64-w64-mingw32 -I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include -I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/libsupc++ -I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/include/backward -I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/util /opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_num= erical_facilities/random/minstd_rand0.cc -include bits/stdc++.h -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever ./libtestc++.a -Wl,--gc-sections -liconv -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/src/filesystem/.libs -lm -o ./minstd_rand0.exe (timeout =3D 600) spawn -ignore SIGHUP /opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc/xg++ -shared-li= bgcc -B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/./gcc -nostdinc++ -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/src -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/src/.libs -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/libsupc++/.libs -L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/x86_64-w64-mingw32/lib -L/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/mingw/lib -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/x86_64-w64-mingw32/include -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/mingw/include -B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/x86_64-w64-mingw32/bin/ -B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-sv= n/gcc-6.0.0/x86_64-w64-mingw32/lib/ -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/x86_64-w64-mingw32/include -isystem /opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/= gcc-6.0.0/x86_64-w64-mingw32/sys-include -B/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= ./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=3D0 -ffunction-sections -fdata-sections = -g -O2 -DLOCALEDIR=3D"." -nostdinc++ -I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/x86_64-w64-mingw32 -I/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include -I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/libsupc++ -I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/include/backward -I/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/util /opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_num= erical_facilities/random/minstd_rand0.cc -include bits/stdc++.h -fno-diagnostics-show-caret -fdiagnostics-color=3Dne= ver ./libtestc++.a -Wl,--gc-sections -liconv -L/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/src/filesystem/.libs -lm -o ./minstd_rand0.exe In file included from D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/cmath:1023:0, from D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/random:46, from D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_n= umerical_facilities/random/minstd_rand0.cc:23: D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/beta_function.tcc: In instantiation of '_Tp std::tr1::__detail::__beta_lgamma(_Tp, _Tp) [with = _Tp =3D long double]': D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/beta_function.tcc:189:29: required from '_Tp std::tr1::__detail::__beta(_Tp, _Tp) [with _Tp =3D long double]' D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/cmath:1089:50: required from here D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/beta_function.tcc:135:5: internal compiler error: Segmentation fault libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. compiler exited with status 1 output is: In file included from D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/cmath:1023:0, from D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/random:46, from D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-6.0.0/libstdc++-v3/testsuite/tr1/5_n= umerical_facilities/random/minstd_rand0.cc:23: D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/beta_function.tcc: In instantiation of '_Tp std::tr1::__detail::__beta_lgamma(_Tp, _Tp) [with = _Tp =3D long double]': D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/beta_function.tcc:189:29: required from '_Tp std::tr1::__detail::__beta(_Tp, _Tp) [with _Tp =3D long double]' D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/cmath:1089:50: required from here D:/opt/devel/SCRATCH/tmp.1q8vvgkTb5/gcc-6.0.0/gcc-6.0.0/x86_64-w64-mingw32/= libstdc++-v3/include/tr1/beta_function.tcc:135:5: internal compiler error: Segmentation fault libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Used trunk revision: Compiler version: 6.0.0 20151123 (experimental) [trunk revision 230759] (GC= C)=20 Platform: x86_64-w64-mingw32 configure flags: --prefix=3D/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime= -trunk-svn/gcc-6.0.0 --with-gnu-as --with-as=3D/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtim= e-trunk-svn/gcc-6.0.0/bin/as --with-gnu-ld --with-ld=3D/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtim= e-trunk-svn/gcc-6.0.0/bin/ld --build=3Dx86_64-w64-mingw32 --enable-threads=3Dposix --enable-languages=3Dc,ada,c++,fortran,java,lto,objc,obj-c++ --with-gmp-include=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include --with-gmp-lib=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64 --with-mpfr-include=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include --with-mpfr-lib=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64 --with-mpc-include=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include --with-mpc-lib=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64 --with-isl-include=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/include --with-isl-lib=3D/opt/devel/SCRATCH/tmp.1q8vvgkTb5/install/lib64 --with-local-prefix=3D/opt/devel/tec/devel/MINGW_NT/x86_64-w64-mingw32/ming= w-w64-runtime-trunk-svn/gcc-6.0.0 --enable-libgomp --enable-fully-dynamic-string --disable-multilib --enable-checking=3Drelease --disable-werror --with-sysroot=3D/x86_64-w64-t= runk Last working version I have: Compiler version: 6.0.0 20151102 (experimental) [trunk revision 229656] (GC= C) >>From gcc-bugs-return-503620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 10:50:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59087 invoked by alias); 24 Nov 2015 10:50: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 59039 invoked by uid 48); 24 Nov 2015 10:50:12 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Tue, 24 Nov 2015 10: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: 5.2.0 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: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02547.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |jakub at gcc dot gnu.org, | |mpolacek at gcc dot gnu.org Target Milestone|--- |5.3 Ever confirmed|0 |1 --- Comment #2 from Marek Polacek --- Started with r219695 aka SANITIZE_VPTR addition. >>From gcc-bugs-return-503621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 10:56:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66814 invoked by alias); 24 Nov 2015 10:56: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 66775 invoked by uid 48); 24 Nov 2015 10:56:10 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68509] [6 regression][C++1z] ICE: in check_return_expr, at cp/typeck.c:8635 Date: Tue, 24 Nov 2015 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: 6.0 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: 6.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: 2015-11/txt/msg02548.txt.bz2 Content-length: 780 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68509 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r229629: commit 433fc17c1863c9dbdf232263785d144f50a480ff Author: jason Date: Sat Oct 31 16:20:05 2015 +0000 Implement multiple 'auto' feature from Concepts TS. >>From gcc-bugs-return-503622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:00:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75518 invoked by alias); 24 Nov 2015 11:00: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 75287 invoked by uid 48); 24 Nov 2015 11:00:23 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68506] [6 Regression] wrong code at -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 11:00: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: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component assigned_to 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: 2015-11/txt/msg02549.txt.bz2 Content-length: 719 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68506 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|tree-optimization |rtl-optimization Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot= gnu.org Summary|wrong code at -O3 on |[6 Regression] wrong code |x86_64-linux-gnu |at -O3 on x86_64-linux-gnu Known to fail| |6.0 --- Comment #3 from ktkachov at gcc dot gnu.org --- Confirmed as well and mine. >>From gcc-bugs-return-503623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:02:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81012 invoked by alias); 24 Nov 2015 11:02:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80929 invoked by uid 48); 24 Nov 2015 11:02:26 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68510] [concepts] ICE: in gimplify_var_or_parm_decl, at gimplify.c:1827 Date: Tue, 24 Nov 2015 11: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: 6.0 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02550.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68510 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r230365: Merge C++ delayed folding branch. >>From gcc-bugs-return-503624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:04:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83426 invoked by alias); 24 Nov 2015 11:04: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 83361 invoked by uid 55); 24 Nov 2015 11:04:24 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68375] [6 Regression] ICE in get_loop_body_in_bfs_order when dumping cfg with -fdump-tree-optimized-graph Date: Tue, 24 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02551.txt.bz2 Content-length: 667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68375 --- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 11:03:51 2015 New Revision: 230798 URL: https://gcc.gnu.org/viewcvs?rev=3D230798&root=3Dgcc&view=3Drev Log: [cfgloop] PR middle-end/68375: Restructure get_loop_body_in_bfs_order to ha= ndle loops with only a header PR middle-end/68375 * cfgloop.c (get_loop_body_in_bfs_order): Restructure loop to avoid bogus assertion. * gcc.dg/pr68375.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr68375.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgloop.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:05:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93892 invoked by alias); 24 Nov 2015 11:05: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 93816 invoked by uid 48); 24 Nov 2015 11:05:03 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68375] [6 Regression] ICE in get_loop_body_in_bfs_order when dumping cfg with -fdump-tree-optimized-graph Date: Tue, 24 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02552.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68375 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from ktkachov at gcc dot gnu.org --- Fixed on trunk. >>From gcc-bugs-return-503626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:06:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110504 invoked by alias); 24 Nov 2015 11:06: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 110246 invoked by uid 48); 24 Nov 2015 11:06:32 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68357] [6 Regression] FAIL: g++.dg/other/darwin-cfstring1.C -std=* (internal compiler error) on x86_64-apple-darwin1(0|4) Date: Tue, 24 Nov 2015 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 6.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: 2015-11/txt/msg02553.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68357 --- Comment #1 from Dominique d'Humieres --- This PR seems to have been fixed(?) between revisions r230734 (FAIL) and r230777 (PASS). Without objection in the coming days I'll close it as FIXED. >>From gcc-bugs-return-503628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:11:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128372 invoked by alias); 24 Nov 2015 11:11: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 128320 invoked by uid 48); 24 Nov 2015 11:11:55 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Tue, 24 Nov 2015 11: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: cc component bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02555.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Component|c |target Severity|blocker |normal --- Comment #7 from Marek Polacek --- I can't reproduce with "-g -O2" on x86_64-linux (tried 4.9/5/trunk). Maybe some target issue? >>From gcc-bugs-return-503627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:11:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127192 invoked by alias); 24 Nov 2015 11:11: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 127110 invoked by uid 55); 24 Nov 2015 11:11:17 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Tue, 24 Nov 2015 11: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.2.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: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02554.txt.bz2 Content-length: 1030 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Tue Nov 24 11:10:45 2015 New Revision: 230799 URL: https://gcc.gnu.org/viewcvs?rev=3D230799&root=3Dgcc&view=3Drev Log: PR target/68483 * tree-vect-generic.c (lower_vec_perm): If VEC_PERM_EXPR is valid vec_shr pattern, don't lower it even if can_vec_perm_p returns false. * optabs.c (shift_amt_for_vec_perm_mask): Return NULL_RTX whenever first is nelt or above. Don't mask expected with 2 * nelt - 1. * gcc.target/i386/pr68483-1.c: New test. * gcc.target/i386/pr68483-2.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr68483-1.c branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr68483-2.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/optabs.c branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-vect-generic.c >>From gcc-bugs-return-503630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:16:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8386 invoked by alias); 24 Nov 2015 11:16: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 8121 invoked by uid 48); 24 Nov 2015 11:16:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations Date: Tue, 24 Nov 2015 11:16: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: 4.8.0 X-Bugzilla-Keywords: meta-bug, 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: 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: 2015-11/txt/msg02557.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 Bug 53947 depends on bug 68483, which changed state. Bug 68483 Summary: [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-503629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:16:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8190 invoked by alias); 24 Nov 2015 11:16: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 8090 invoked by uid 48); 24 Nov 2015 11:16:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68483] [5/6 Regression] gcc 5.2: suboptimal code compared to 4.9 Date: Tue, 24 Nov 2015 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: 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: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02556.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68483 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Jakub Jelinek --- Fixed for 5.3+. >>From gcc-bugs-return-503631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:18:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15477 invoked by alias); 24 Nov 2015 11:18: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 15343 invoked by uid 48); 24 Nov 2015 11:18:02 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68329] [4.8 4.9]gcc using array index to accelerate loop running , why turn off at gcc 5.X Date: Tue, 24 Nov 2015 11: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: 4.8.5 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: cc 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: 2015-11/txt/msg02558.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68329 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org Component|c |tree-optimization --- Comment #2 from Marek Polacek --- Not sure if there's anything wrong but doesn't look a C FE-related stuff. >>From gcc-bugs-return-503632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:23:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54955 invoked by alias); 24 Nov 2015 11:23: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 54665 invoked by uid 48); 24 Nov 2015 11:23:27 -0000 From: "naupacte at sfr dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68515] New: std::result_of doesn't work when F is abstract (with pure virtual functions) Date: Tue, 24 Nov 2015 11: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: naupacte at sfr dot 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: 2015-11/txt/msg02559.txt.bz2 Content-length: 2154 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68515 Bug ID: 68515 Summary: std::result_of doesn't work when F is abstract (with pure virtual functions) Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: naupacte at sfr dot fr Target Milestone: --- I had to replace 'typename std::result_of::type' by 'decltype(std::declval()(X()))' All is in the title. Here is an example: template ::type> vecto= r make_result(const vector& x, const F& f) { auto n =3D x.size(); vector y(n); for (uint i=3D0; i struct virtual_func { R operator()(T x) const { return _get(x);} virtual R _get(T) const =3D 0; } template struct virtual_sqrt : virtual_func { virtual R _get(T x) const { return std::sqrt(x);} } std::vector sqrt(const std::vector& v) { return make_result(v,virtual_sqrt{}); } /opt/local/bin/gcc-mp-5 --version gcc-mp-5 (MacPorts gcc5 5.2.0_0) 5.2.0 /opt/local/bin/gcc-mp-5 -x c++ -m64 -std=3Dgnu++14 -c foo.cpp >>>>>>>>>>> error: no matching function for call to 'make_result(const vector&, const virtual_func&)' note: template argument deduction/substitution failed: error: invalid abstract return type 'virtual_func' template > vector make_result(const vector& x, const F& f) { auto n =3D x.size(); vector y(n); for (uint i=3D0; i': template struct virtual_func ^ note: R virtual_func::_get(T) const [with R =3D double; T =3D double] virtual R _get(T) const =3D 0; NB: here are the implementation details: >>From gcc-bugs-return-503633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:28:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72036 invoked by alias); 24 Nov 2015 11:28: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 71340 invoked by uid 48); 24 Nov 2015 11:28:00 -0000 From: "nickc at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54882] build fails for rl78-elf building libstdc++ Date: Tue, 24 Nov 2015 11: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nickc at redhat 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: 2015-11/txt/msg02560.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54882 Nick Clifton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at redhat dot com --- Comment #2 from Nick Clifton --- I just tried building the toolchain with r230800 and it worked without any problems... >>From gcc-bugs-return-503634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:31:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75420 invoked by alias); 24 Nov 2015 11:31: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 75307 invoked by uid 48); 24 Nov 2015 11:31:01 -0000 From: "jwyatt at feralinteractive dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67550] [5/6 regression] Initialization of local struct array with elements of global array yields zeros instead of initializer values Date: Tue, 24 Nov 2015 11: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: 5.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jwyatt at feralinteractive 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: 5.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: 2015-11/txt/msg02561.txt.bz2 Content-length: 912 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67550 --- Comment #6 from Jason Wyatt --- Adding a TREE_READONLY (to match TREE_READONLY being unset in split_nonconstant_init) check seems to fix the generated gimple. This is to= tal guesswork though - I have no idea what side effects this change might have. diff --git a/gcc/cp/init.c b/gcc/cp/init.c index ac11224..ee0405d 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -2038,7 +2038,8 @@ constant_value_1 (tree decl, bool strict_p, bool return_aggregate_cst_ok_p) || (strict_p ? decl_constant_var_p (decl) : (VAR_P (decl) - && CP_TYPE_CONST_NON_VOLATILE_P (TREE_TYPE (decl))))) + && CP_TYPE_CONST_NON_VOLATILE_P (TREE_TYPE (decl)) + && TREE_READONLY (decl)))) { tree init; /* If DECL is a static data member in a template >>From gcc-bugs-return-503635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:48:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103035 invoked by alias); 24 Nov 2015 11: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 102976 invoked by uid 48); 24 Nov 2015 11:48:45 -0000 From: "jay.foad at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68473] [6 Regression] ICE: in contains_point, at diagnostic-show-locus.c:340 after error Date: Tue, 24 Nov 2015 11: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jay.foad at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02562.txt.bz2 Content-length: 2833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68473 Jay Foad changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jay.foad at gmail dot com --- Comment #6 from Jay Foad --- FYI here's another test case that seems to trigger the same bug. Your candi= date patch fixes it. $ cat x.c #define P(b) b&&4 int a[]=3D0; int f() { X||P(d); } $ ~/gcc/build/gcc/cc1 -quiet -Wall x.c [...] x.c:3:1: internal compiler error: in contains_point, at diagnostic-show-locus.c:335 int f() { X||P(d); } ^~~ 0x1268fc9 contains_point /home/jay/svn/gcc/trunk/gcc/diagnostic-show-locus.c:335 0x1268fc9 get_state_at_point /home/jay/svn/gcc/trunk/gcc/diagnostic-show-locus.c:612 0x12696e2 print_source_line /home/jay/svn/gcc/trunk/gcc/diagnostic-show-locus.c:533 0x12696e2 diagnostic_show_locus(diagnostic_context*, diagnostic_info const*) /home/jay/svn/gcc/trunk/gcc/diagnostic-show-locus.c:710 0x69b210 c_diagnostic_finalizer /home/jay/svn/gcc/trunk/gcc/c-family/c-opts.c:167 0x1267220 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info= *) /home/jay/svn/gcc/trunk/gcc/diagnostic.c:800 0x1267b07 warning_at(unsigned int, int, char const*, ...) /home/jay/svn/gcc/trunk/gcc/diagnostic.c:1029 0x607e58 parser_build_binary_op(unsigned int, tree_code, c_expr, c_expr) /home/jay/svn/gcc/trunk/gcc/c/c-typeck.c:3514 0x61855a c_parser_binary_expression /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:6539 0x618a18 c_parser_conditional_expression /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:6182 0x619100 c_parser_expr_no_commas /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:6099 0x6198d2 c_parser_expression /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:8230 0x61a3a9 c_parser_expression_conv /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:8263 0x633431 c_parser_statement_after_labels /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:5172 0x635065 c_parser_compound_statement_nostart /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:4757 0x6358ae c_parser_compound_statement /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:4594 0x6314e3 c_parser_declaration_or_fndef /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:2015 0x63d31d c_parser_external_declaration /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:1459 0x63dbe9 c_parser_translation_unit /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:1346 0x63dbe9 c_parse_file() /home/jay/svn/gcc/trunk/gcc/c/c-parser.c:17622 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-503636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 11:57:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90091 invoked by alias); 24 Nov 2015 11:57: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 90052 invoked by uid 48); 24 Nov 2015 11:56:57 -0000 From: "wdv4758h+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68516] New: ICE: OpenMP with simd collapse Date: Tue, 24 Nov 2015 11:57: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdv4758h+gcc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02563.txt.bz2 Content-length: 3250 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68516 Bug ID: 68516 Summary: ICE: OpenMP with simd collapse Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: wdv4758h+gcc at gmail dot com Target Milestone: --- $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapp= er Target: x86_64-unknown-linux-gnu Configured with: /build/gcc-multilib/src/gcc-5.2.0/configure --prefix=3D/usr --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease --with-default-libstdcxx-abi=3Dgcc4-compatible Thread model: posix gcc version 5.2.0 (GCC) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ cat test1.c int a[100]; int main() { #pragma omp simd collapse(2) for (int i =3D 0; i < 10; i++) { for (int k =3D a[i]; k < 0; k++) { a[i] =3D a[i] - 1; } } return 0; } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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 -O3 -fopenmp test1.c test1.c: In function =E2=80=98main=E2=80=99: test1.c:7:23: warning: =E2=80=98i=E2=80=99 is used uninitialized in this fu= nction [-Wuninitialized] for (int k =3D a[i]; k < 0; k++) { ^ test1.c:3:5: internal compiler error: in expand_one_var, at cfgexpand.c:1339 int main() ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ cat test2.c int a[100]; int main() { #pragma omp for simd collapse(2) for (int i =3D 0; i < 10; i++) { for (int k =3D a[i]; k < 0; k++) { a[i] =3D a[i] - 1; } } return 0; } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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 -O3 -fopenmp test2.c test2.c: In function =E2=80=98main=E2=80=99: test2.c:7:23: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1801 for (int k =3D a[i]; k < 0; k++) { ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>From gcc-bugs-return-503637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:01:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98906 invoked by alias); 24 Nov 2015 12:01: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 98875 invoked by uid 48); 24 Nov 2015 12:01:30 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68517] New: [6 Regression] ICE in tree-vect-data-refs.c:2751 Date: Tue, 24 Nov 2015 12:01: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_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: 2015-11/txt/msg02564.txt.bz2 Content-length: 1492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68517 Bug ID: 68517 Summary: [6 Regression] ICE in tree-vect-data-refs.c:2751 Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target: x86_64-pc-linux-gnu, arm-none-linux-gnueabihf The below testcases ICEs on arm and x86 at -O3: typedef struct { } st1; typedef struct { volatile int c; } __attribute__ ((aligned (4))) st2; struct s4 { st1 f1; st2 f2; st1 f3; }; void foo (struct s3 *arg, struct s4 *arg1) { arg1->f1 =3D (st1) { }; arg1->f3 =3D (st1) { }; } internal compiler error: Floating point exception foo (struct s3 *arg, struct s4 *arg1) ^~~ 0xae59df crash_signal gcc/toplev.c:334 0x1230091 vect_analyze_data_ref_accesses(vec_info*) gcc/tree-vect-data-refs.c:2751 0xd3bca0 vect_slp_analyze_bb_1 gcc/tree-vect-slp.c:2435 0xd3bca0 vect_slp_bb(basic_block_def*) gcc/tree-vect-slp.c:2608 0xd3e2b5 execute gcc/tree-vectorizer.c:753 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. I haven't yet bisected to the revision >>From gcc-bugs-return-503638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:01:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99746 invoked by alias); 24 Nov 2015 12: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 99706 invoked by uid 48); 24 Nov 2015 12:01:47 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68517] [6 Regression] ICE in tree-vect-data-refs.c:2751 Date: Tue, 24 Nov 2015 12: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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.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: 2015-11/txt/msg02565.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68517 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-503639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:18:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 856 invoked by alias); 24 Nov 2015 12: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 809 invoked by uid 55); 24 Nov 2015 12:18:54 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68497] ICE: in output_387_binary_op, at config/i386/i386.c:17689 with -fno-checking Date: Tue, 24 Nov 2015 12: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: 6.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: miyuki at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: miyuki 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: 2015-11/txt/msg02566.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68497 --- Comment #2 from Mikhail Maltsev --- Author: miyuki Date: Tue Nov 24 12:18:21 2015 New Revision: 230803 URL: https://gcc.gnu.org/viewcvs?rev=3D230803&root=3Dgcc&view=3Drev Log: Fix PR68497 (ICE with -fno-checking) gcc/ PR target/68497 * config/i386/i386.c (output_387_binary_op): Fix assertion for -fno-checking case. gcc/testsuite/ PR target/68497 * gcc.target/i386/pr68497.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr68497.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:21:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6650 invoked by alias); 24 Nov 2015 12:21: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 6598 invoked by uid 48); 24 Nov 2015 12:21:49 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68506] [6 Regression] wrong code at -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 12:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02568.txt.bz2 Content-length: 479 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68506 --- Comment #4 from ktkachov at gcc dot gnu.org --- I'm testing a fix, but there's a slight issue with the testcase. __assert_fail () doesn't exist for non-glibc libraries i.e. newlib so the testcase fails to link there. I tried replacing the __assert_fail with __builtin_abort but the bug doesn't trigger then. Any ideas on how to make this portable? If not, do we have any dejagnu directives that check for a glibc target? >>From gcc-bugs-return-503640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:21:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5805 invoked by alias); 24 Nov 2015 12:21: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 5761 invoked by uid 48); 24 Nov 2015 12:21:27 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68497] ICE: in output_387_binary_op, at config/i386/i386.c:17689 with -fno-checking Date: Tue, 24 Nov 2015 12: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: 6.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: miyuki at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: miyuki 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: 2015-11/txt/msg02567.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68497 Mikhail Maltsev changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Mikhail Maltsev --- Fixed for GCC 6. >>From gcc-bugs-return-503642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:22:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8311 invoked by alias); 24 Nov 2015 12: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 7896 invoked by uid 48); 24 Nov 2015 12:22:49 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Tue, 24 Nov 2015 12:22: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02569.txt.bz2 Content-length: 1462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #25 from Janne Blomqvist --- (In reply to Jerry DeLisle from comment #24) > (In reply to Jerry DeLisle from comment #16) > > For what its worth: > >=20 > > $ gfc pr51119.f90 -lblas -fno-external-blas -Ofast -march=3Dnative=20 > > $ ./a.out=20 > > Time, MATMUL: 21.2483196 21.254449646000001 1.50556709455= 99979 > >=20 > > Time, dgemm: 33.2441711 33.243087289000002 .962606141896= 71445 > >=20 >=20 > Running a sample matrix multiply program on this same platform using the > default OpenCL (Mesa on Fedora 22) the machine is achieving: >=20 > 64 x 64 2.76 Gflops > 1000 x 1000 14.10 > 2000 x 2000 24.4 But, that is not particularly impressive, is it? I don't know about current= low end graphics adapters, but at least the high end GPU cards (Tesla) are capa= ble of several Tflops. Of course, there is a non-trivial threshold size to amor= tize the data movement to/from the GPU. With the test program from #12, with OpenBLAS (which BTW should be availabl= e in Fedora 22 as well) I get 337 Gflops/s, or 25 Gflops/s if I restrict it to a single core with the OMP_NUM_THREADS=3D1 environment variable. This on a ma= chine with 20 2.8 GHz Ivy bridge cores. I'm not per se against using GPU's, but I think there's a lot of low hanging fruit to be had just by making it easier for users to use a high performance BLAS implementation. >>From gcc-bugs-return-503643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:29:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126679 invoked by alias); 24 Nov 2015 12:29: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 126562 invoked by uid 48); 24 Nov 2015 12:29:46 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68506] [6 Regression] wrong code at -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 12: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: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02570.txt.bz2 Content-length: 210 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68506 --- Comment #5 from ktkachov at gcc dot gnu.org --- Replacing __assert_fail () with abort () and compiling with -fno-builtin-ab= ort works, so I'll do that >>From gcc-bugs-return-503644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:30:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128807 invoked by alias); 24 Nov 2015 12:30: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 128562 invoked by uid 48); 24 Nov 2015 12:30:42 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Tue, 24 Nov 2015 12:30: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jb at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02571.txt.bz2 Content-length: 638 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #26 from Janne Blomqvist --- (In reply to Thomas Koenig from comment #15) > Another issue: What should we do if the user supplies an external > subroutine DGEMM which does something unrelated? >=20 > I suppose we should then make DGEMM (and SGEMM) an intrinsic subroutine. Indeed, this is a potential problem.=20 Another related problem is that, apparently, framework Accelerate on OSX us= es the f2c ABI. This at least can be worked around by instead using the cblas = API (and hence the C ABI), which most BLAS implementations provide anyway. >>From gcc-bugs-return-503645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:38:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66117 invoked by alias); 24 Nov 2015 12:38:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66032 invoked by uid 48); 24 Nov 2015 12:38:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68502] [6 Regression][i686] spec2000/179.art runfails after r222914 Date: Tue, 24 Nov 2015 12:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02572.txt.bz2 Content-length: 3348 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68502 --- Comment #2 from Richard Biener --- Program received signal SIGSEGV, Segmentation fault. 0x0804a482 in train_match (spot=3D0) at scanner.c:407 407 f1_layer[ti].W =3D f1_layer[ti].I[cp] + a*(f1_layer[ti].U= ); (gdb) l 402 403 /* Compute F1 layer - W values */ 404 tnorm =3D 0; 405 for (ti=3D0;ti: fldl 0x1c(%eax) 0x0804a47b <+571>: mov (%eax),%ecx 0x0804a47d <+573>: add $0x3c,%eax 0x0804a480 <+576>: fmul %st(2),%st =3D> 0x0804a482 <+578>: faddl (%ecx,%esi,1) 0x0804a485 <+581>: fstl -0x38(%eax) 0x0804a488 <+584>: fmul %st(0),%st 0x0804a48a <+586>: faddp %st,%st(1) 0x0804a48c <+588>: cmp %eax,%ebx 0x0804a48e <+590>: jne 0x804a478 even without -mfpmath=3Dsse here. ecx and esi are 0. This is the load f1_layer[ti].I[cp] where f1_layer[ti].I is NULL (%ecx) and cp is 0 (%esi). We vectorize the loop in reset_nodes() for (i=3D0;i: vxorpd %xmm0,%xmm0,%xmm0 0x0804a28e <+78>: add $0x1,%esi 0x0804a291 <+81>: vmovupd %ymm0,(%edx) 0x0804a295 <+85>: add $0xe0,%edx 0x0804a29b <+91>: vmovupd %ymm0,-0xc0(%edx) 0x0804a2a3 <+99>: vmovupd %ymm0,-0xa0(%edx) 0x0804a2ab <+107>: vmovupd %ymm0,-0x80(%edx) 0x0804a2b0 <+112>: vmovupd %ymm0,-0x60(%edx) 0x0804a2b5 <+117>: vmovupd %ymm0,-0x40(%edx) 0x0804a2ba <+122>: vmovupd %ymm0,-0x20(%edx) 0x0804a2bf <+127>: cmp %ebx,%esi 0x0804a2c1 <+129>: jb 0x804a28e testcase: typedef struct { double *I; double W; double X; double V; double U; double P; double Q; double R; } f1_neuron; f1_neuron *f1_layer; int numf1s =3D 1000; void __attribute__((noinline,noclone)) reset_nodes() { int i; for (i=3D0;i>From gcc-bugs-return-503646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:54:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22286 invoked by alias); 24 Nov 2015 12:54: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 22254 invoked by uid 48); 24 Nov 2015 12:54:43 -0000 From: "odell.wood at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68512] Non-deterministic behavior from gcc Date: Tue, 24 Nov 2015 12:54: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: odell.wood 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: 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: 2015-11/txt/msg02573.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68512 Thomas Wood changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Thomas Wood --- That was it. Thanks! >>From gcc-bugs-return-503647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 12:55:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23748 invoked by alias); 24 Nov 2015 12:55: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 23695 invoked by uid 48); 24 Nov 2015 12:55:45 -0000 From: "Caspar at Kielwein dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68518] New: ICE on invalid code using lambda in variadic template in tsubst_copy, at cp/pt.c:12997 Date: Tue, 24 Nov 2015 12:55: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Caspar at Kielwein 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: 2015-11/txt/msg02574.txt.bz2 Content-length: 4572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68518 Bug ID: 68518 Summary: ICE on invalid code using lambda in variadic template in tsubst_copy, at cp/pt.c:12997 Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: Caspar at Kielwein dot de Target Milestone: --- Created attachment 36820 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36820&action=3Dedit preprocessed code that triggers the ice The following code (with invalid use of constexpr) causes an internal compi= ler error. #include template constexpr bool void_check(dummy...) {return 0;} template struct connection { source_t source; sink_t sink; template auto operator()(const param& p) -> typename std::enable_if::type { return sink(source(p)); } }; template auto connect(const source_t& source, const sink_t& sink){ return connection{source, sink}; } auto increment =3D [](int i) -> int {return i+1;}; auto give_one =3D [](void) ->int {return 1;}; auto one_plus_one =3D connect(give_one, increment); I could reproduce it with 4.8, 4.9, 5.2.1 and development snapshot: gcc version 5.2.1 20151117 (GCC) both locally and on https://gcc.godbolt.org/ clang rejects the code: error: non-type template argument is not a constant expression gcc "-std=3Dgnu++14" -save-temps gcc_bug_check.cpp=20 gcc_bug_check.cpp: In instantiation of =E2=80=98struct connection<, >=E2=80=99: gcc_bug_check.cpp:20:50: required from =E2=80=98auto connect(const source= _t&, const sink_t&) [with source_t =3D ; sink_t =3D ]=E2=80=99 gcc_bug_check.cpp:25:48: required from here gcc_bug_check.cpp:12:40: internal compiler error: in tsubst_copy, at cp/pt.c:12997 -> typename std::enable_if for instructions. gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu >>From gcc-bugs-return-503648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:03:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41060 invoked by alias); 24 Nov 2015 13:03: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 41005 invoked by uid 48); 24 Nov 2015 13:03:17 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02575.txt.bz2 Content-length: 1517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #6 from H.J. Lu --- 187.facerec in SPEC CPU 2000 still fails: Breakpoint 1, gfc_simplify_cshift (array=3D0x2042670, shift=3D0x2042880,=20 dim=3D) at ../../src-trunk/gcc/fortran/simplify.c:1824 1824 gcc_unreachable (); (gdb) p array->expr_type $1 =3D EXPR_FUNCTION (gdb) bt #0 gfc_simplify_cshift (array=3D0x2042670, shift=3D0x2042880, dim=3D) at ../../src-trunk/gcc/fortran/simplify.c:1824 #1 0x000000000060c252 in do_simplify (specific=3Dspecific@entry=3D0x1ff9c9= 8,=20 e=3De@entry=3D0x20414d0) at ../../src-trunk/gcc/fortran/intrinsic.c:4150 #2 0x0000000000615b4d in gfc_intrinsic_func_interface ( expr=3Dexpr@entry=3D0x20414d0, error_flag=3Derror_flag@entry=3D1) at ../../src-trunk/gcc/fortran/intrinsic.c:4499 #3 0x000000000065a1ab in resolve_unknown_f (expr=3D0x20414d0) at ../../src-trunk/gcc/fortran/resolve.c:2707 #4 resolve_function (expr=3D0x20414d0) at ../../src-trunk/gcc/fortran/resolve.c:3002 #5 gfc_resolve_expr (e=3D0x20414d0) at ../../src-trunk/gcc/fortran/resolve.c:6334 #6 0x0000000000657aa6 in resolve_operator (e=3D0x2043020) >>From gcc-bugs-return-503649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:15:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105302 invoked by alias); 24 Nov 2015 13:15: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 105217 invoked by uid 55); 24 Nov 2015 13:15:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68221] libgomp reduction-11/12 failures Date: Tue, 24 Nov 2015 13:15: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: 6.0 X-Bugzilla-Keywords: openmp 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: 6.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: 2015-11/txt/msg02576.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68221 --- Comment #7 from Richard Biener --- Author: rguenth Date: Tue Nov 24 13:14:58 2015 New Revision: 230806 URL: https://gcc.gnu.org/viewcvs?rev=3D230806&root=3Dgcc&view=3Drev Log: 2015-11-24 Richard Biener PR middle-end/68221 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Properly use mem_ref_offset. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/tree-ssa-sccvn.c >>From gcc-bugs-return-503650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:17:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122308 invoked by alias); 24 Nov 2015 13:17: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 121781 invoked by uid 48); 24 Nov 2015 13:17:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] [5/6 Regression] Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Tue, 24 Nov 2015 13: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: 5.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg02577.txt.bz2 Content-length: 259 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 --- Comment #3 from Jakub Jelinek --- Created attachment 36821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36821&action=3Dedit gcc5-pr68508.patch Untested GCC 5 fix. >>From gcc-bugs-return-503651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:17:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22476 invoked by alias); 24 Nov 2015 13:17: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 22066 invoked by uid 48); 24 Nov 2015 13:17:46 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67714] [6 Regression] signed char is zero-extended instead of sign-extended Date: Tue, 24 Nov 2015 13:17: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: 6.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02578.txt.bz2 Content-length: 398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67714 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 --- Comment #6 from ktkachov at gcc dot gnu.org --- Changing back to P3 as it's not my call to make on second thought... >>From gcc-bugs-return-503652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:23:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35172 invoked by alias); 24 Nov 2015 13:23: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 34659 invoked by uid 48); 24 Nov 2015 13:23:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] [5/6 Regression] Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Tue, 24 Nov 2015 13: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: 5.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg02579.txt.bz2 Content-length: 934 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 --- Comment #4 from Jakub Jelinek --- Created attachment 36822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36822&action=3Dedit gcc6-pr68508.patch Untested GCC 6 fix. So, my first patch for this was the gcc5-* one, just let the code ignore the instrumentation. But the second question is why are we actually instrument= ing this, the cast in that case is from A * to A &, so it is the same class. And here it seems that DERIVED_FROM_P returns true even for the same type u= sed as type and base, plus in one of the two cases where the downcast routine is called the caller already adjusts the op through build_base_path and we alr= eady don't have the original type. My understanding has been that we want to instrument only downcasts, and A * to A & is not a downcast IMHO. Though, perhaps for GCC 5.x backport the first patch is safer. >>From gcc-bugs-return-503653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:36:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84914 invoked by alias); 24 Nov 2015 13:36: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 84856 invoked by uid 55); 24 Nov 2015 13:36:28 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68381] [6 Regression] wrong code and quality regression with __builtin_mul_overflow() @ aarch64 Date: Tue, 24 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: missed-optimization, 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02580.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68381 --- Comment #5 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 13:35:56 2015 New Revision: 230809 URL: https://gcc.gnu.org/viewcvs?rev=3D230809&root=3Dgcc&view=3Drev Log: Testcase for PR rtl-optimization/68381 PR rtl-optimization/68381 * gcc.c-torture/execute/pr68381.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr68381.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:37:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86811 invoked by alias); 24 Nov 2015 13:37: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 86735 invoked by uid 48); 24 Nov 2015 13:37:08 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68381] [6 Regression] wrong code and quality regression with __builtin_mul_overflow() @ aarch64 Date: Tue, 24 Nov 2015 13:37: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: 6.0 X-Bugzilla-Keywords: missed-optimization, 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02581.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68381 --- Comment #6 from ktkachov at gcc dot gnu.org --- The correctness issue has been fixed. I'll keep this open for now to investigate the missed optimisation >>From gcc-bugs-return-503655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:49:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123391 invoked by alias); 24 Nov 2015 13:49: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 123351 invoked by uid 48); 24 Nov 2015 13:49:07 -0000 From: "jbellon at bsc dot es" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68519] New: condition_variable::wait_for does not work properly with float duration Date: Tue, 24 Nov 2015 13:49: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbellon at bsc dot es 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: 2015-11/txt/msg02582.txt.bz2 Content-length: 1989 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68519 Bug ID: 68519 Summary: condition_variable::wait_for does not work properly with float duration Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jbellon at bsc dot es Target Milestone: --- Created attachment 36823 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36823&action=3Dedit preprocessed source file that reproduces the bug If std::chrono::duration is used as timeout datatype for std::condition_variable::wait_for, then the thread, apparently, does not be= come blocked. Correct result is got by changing timeout type to std::chrono::duration. Expected output: {{{ Do something... Do something... Do something... Do something... Exit... }}} G++ version and configuration: Usando especificaciones internas. COLLECT_GCC=3D/bin/g++ COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper Objetivo: x86_64-redhat-linux Configurado con: ../configure --enable-bootstrap --enable-languages=3Dc,c++,objc,obj-c++,fortran,ada,go,lto --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --enable-multilib --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-initfini-array --disable-libgcj --with-default-libstdcxx-abi=3Dc++98 --with-isl --enable-l= ibmpx --enable-gnu-indirect-function --with-tune=3Dgeneric --with-arch_32=3Di686 --build=3Dx86_64-redhat-linux Modelo de hilos: posix gcc versi=C3=B3n 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC) Note: installed in Fedora 22 using official repositories. >>From gcc-bugs-return-503656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:50:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124733 invoked by alias); 24 Nov 2015 13:50: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 124659 invoked by uid 48); 24 Nov 2015 13:50:09 -0000 From: "jbellon at bsc dot es" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68519] condition_variable::wait_for does not work properly with float duration Date: Tue, 24 Nov 2015 13:50: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbellon at bsc dot es 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 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: 2015-11/txt/msg02583.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68519 Jorge Bellon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbellon at bsc dot es --- Comment #1 from Jorge Bellon --- Created attachment 36824 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36824&action=3Dedit source file that reproduces the bug >>From gcc-bugs-return-503657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:55:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38022 invoked by alias); 24 Nov 2015 13: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 37626 invoked by uid 48); 24 Nov 2015 13:55:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Tue, 24 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02584.txt.bz2 Content-length: 5959 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 --- Comment #7 from Richard Biener --- Confirmed btw. have yet to reduce to sth meaningful (read: hopefully w/o LT= O). #0 internal_error (gmsgid=3Dgmsgid@entry=3D0x183b3b7 "in %s, at %s:%d") at /space/rguenther/src/svn/trunk/gcc/diagnostic.c:1256 #1 0x00000000011c07d4 in fancy_abort ( file=3Dfile@entry=3D0x12deb38 "/space/rguenther/src/svn/trunk/gcc/tree-vect-stmts.c", line=3Dline@entry= =3D8610,=20 function=3Dfunction@entry=3D0x12dfe30 "vect_is_simple_use") at /space/rguenther/src/svn/trunk/gcc/diagnostic.c:1332 #2 0x0000000000c43691 in vect_is_simple_use (operand=3D,=20 vinfo=3D, def_stmt=3D0x7fffffffd9a0, dt=3D0x7fffffffd9b0= ,=20 vectype=3D0x7fffffffd998) at /space/rguenther/src/svn/trunk/gcc/tree-vect-stmts.c:8610 #3 0x0000000000c4fec6 in vectorizable_operation ( stmt=3Dstmt@entry=3D0x7ffff68b5bb0, gsi=3Dgsi@entry=3D0x0,=20 vec_stmt=3Dvec_stmt@entry=3D0x0, slp_node=3Dslp_node@entry=3D0x1fd8390) at /space/rguenther/src/svn/trunk/gcc/tree-vect-stmts.c:4788 #4 0x0000000000c58a03 in vect_analyze_stmt (stmt=3D0x7ffff68b5bb0,=20 need_to_vectorize=3Dneed_to_vectorize@entry=3D0x7fffffffda5f,=20 node=3Dnode@entry=3D0x1fd8390) at /space/rguenther/src/svn/trunk/gcc/tree-vect-stmts.c:7950 #5 0x0000000000c6fc03 in vect_slp_analyze_node_operations (node=3D0x1fd839= 0) at /space/rguenther/src/svn/trunk/gcc/tree-vect-slp.c:2215 #6 0x0000000000c6fb5f in vect_slp_analyze_node_operations (node=3D0x1d7ac6= 0) at /space/rguenther/src/svn/trunk/gcc/tree-vect-slp.c:2206 #7 0x0000000000c744e2 in vect_slp_analyze_operations (slp_instances=3D...,= =20 data=3D0x1e02ca0) at /space/rguenther/src/svn/trunk/gcc/tree-vect-slp.c= :2238 #8 0x0000000000c78c95 in vect_slp_analyze_bb_1 (fatal=3D,=20 n_stmts=3D, datarefs=3D..., region_end=3D..., region_beg= in=3D...) at /space/rguenther/src/svn/trunk/gcc/tree-vect-slp.c:2522 #9 vect_slp_bb (bb=3Dbb@entry=3D0x7ffff65dd5b0) at /space/rguenther/src/svn/trunk/gcc/tree-vect-slp.c:2608 (gdb) p expand_location (vect_location) $2 =3D {file =3D 0x1d7e750 "mol.fppized.f90", line =3D 8342, column =3D 0,= =20 data =3D 0x7ffff62e8d20, sysp =3D false} The BB part in question is _1280 =3D REALPART_EXPR <_380>; _254 =3D IMAGPART_EXPR <_380>; ft_ab2$real_1281 =3D _1280 * prephitmp_2576; ft_ab2$imag_258 =3D _254 * prephitmp_2576; parm.3489 =3D{v} {CLOBBER}; _383 =3D _191 * k_375; _384 =3D _383 - _191; x_385 =3D MEM[(double[0:D.9712] *)k_pts.0_181][_384]; _388 =3D _383 + _2591; y_389 =3D MEM[(double[0:D.9712] *)k_pts.0_181][_388]; ... REALPART_EXPR =3D _834; IMAGPART_EXPR =3D _1273; k_468 =3D k_375 + 1; if (_366 =3D=3D k_375) goto ; else goto ; thus corresponding roughly to x =3D k_pts(k,1) ! SBh_x y =3D k_pts(k,2) ! SBh_y z =3D k_pts(k,3) ! SBh_z tmp1 =3D ft_ab2 * x tmp2 =3D ft_ab2 * y res(basea+1,k) =3D res(basea+1,k) + tmp1 * x res(basea+2,k) =3D res(basea+2,k) + tmp1 * y res(basea+3,k) =3D res(basea+3,k) + tmp1 * z res(basea+4,k) =3D res(basea+4,k) + tmp2 * y res(basea+5,k) =3D res(basea+5,k) + tmp2 * z res(basea+6,k) =3D res(basea+6,k) + ft_ab2 * z * z res(baseb+1,k) =3D res(baseb+1,k) + tmp1 * x res(baseb+2,k) =3D res(baseb+2,k) + tmp1 * y res(baseb+3,k) =3D res(baseb+3,k) + tmp1 * z res(baseb+4,k) =3D res(baseb+4,k) + tmp2 * y res(baseb+5,k) =3D res(baseb+5,k) + tmp2 * z res(baseb+6,k) =3D res(baseb+6,k) + ft_ab2 * z * z and the SLP instance that fails analyzing has the root REALPART_EXPR =3D _962; IMAGPART_EXPR =3D _852; and thus corresponds to _1280 =3D REALPART_EXPR <_380>; _254 =3D IMAGPART_EXPR <_380>; ft_ab2$real_1281 =3D _1280 * prephitmp_2576; ft_ab2$imag_258 =3D _254 * prephitmp_2576; ... z_393 =3D MEM[(double[0:D.9712] *)k_pts.0_181 clique 12 base 2][_392]; ... _1637 =3D REALPART_EXPR ; _1645 =3D IMAGPART_EXPR ; _1205 =3D z_393 * ft_ab2$real_1281; _1188 =3D z_393 * ft_ab2$imag_258; _1171 =3D z_393 * _1205; <--- this is the def missing a vector= type _1057 =3D z_393 * _1188; _962 =3D _1171 + _1637; _852 =3D _1057 + _1645; REALPART_EXPR =3D _962; IMAGPART_EXPR =3D _852; the stmt misses a vector type because it is supposed to be built up from scalars. And this likely fails to be detected in vect_is_simple_use because of some issue I waited to have a testcase for ... a case where we have two SLP instances with conflicting ideas of whether a DEF is to be built from scalars or not (and thus the "trick" of using STMT_VINFO_VECTORIZABLE to mark vect_external_defs falls apart). So maybe I should just try harder to create an artificial testcase for this. Here some aliasing probably forces both ops to be built from scalar which then makes us instead build the def from scalars. The other SLP instance is likely _1225 =3D REALPART_EXPR ; _151 =3D IMAGPART_EXPR ; _834 =3D _1171 + _1225; _1273 =3D _1057 + _151; REALPART_EXPR =3D _834; IMAGPART_EXPR =3D _1273; >>From gcc-bugs-return-503658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:56:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39477 invoked by alias); 24 Nov 2015 13:56: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 39410 invoked by uid 48); 24 Nov 2015 13:56:20 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 24 Nov 2015 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 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: 2015-11/txt/msg02585.txt.bz2 Content-length: 153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #20 from Dominique d'Humieres --- Is this still a problem? >>From gcc-bugs-return-503659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 13:59:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42459 invoked by alias); 24 Nov 2015 13:59: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 42432 invoked by uid 48); 24 Nov 2015 13:59:37 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68517] [6 Regression] ICE in tree-vect-data-refs.c:2751 Date: Tue, 24 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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.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: 2015-11/txt/msg02586.txt.bz2 Content-length: 328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68517 --- Comment #1 from ktkachov at gcc dot gnu.org --- The x86_64 compiler was configured simply with --disable-multilib --enable-languages=3Dc,c++,fortran arm cross compiler configured with: --without-isl --with-cpu=3Dcortex-a15 --with-fpu=3Dneon-vfpv4 --with-float= =3Dhard >>From gcc-bugs-return-503660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:00:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43779 invoked by alias); 24 Nov 2015 14:00: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 43663 invoked by uid 48); 24 Nov 2015 14:00:18 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 24 Nov 2015 14: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2015-11/txt/msg02587.txt.bz2 Content-length: 300 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #21 from Iain Sandoe --- (In reply to Dominique d'Humieres from comment #20) > Is this still a problem? I don't believe so - I've bootstrapped 5.2.1(r230380) all langs incl. Ada a= nd Java. Likewise 4.9.3 >>From gcc-bugs-return-503661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:01:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70366 invoked by alias); 24 Nov 2015 14:01: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 65441 invoked by uid 55); 24 Nov 2015 14:01:23 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 24 Nov 2015 14: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 2015-11/txt/msg02588.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #22 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #20 from Dominique d'Humieres --- > Is this still a problem? I'm bootstrapping gcc mainline on Mac OS X 10.11.2 Beta just fine. The only problem I'm seeing for quite a while is that i386-apple-darwin bootstrap is failing since mid-August (i386-apple-darwin14.4.0 at that time). Don't have the exact link failure handy, and it certainly warrants its own bug, if we want to deal with 32-bit bootstrap at all. Rainer >>From gcc-bugs-return-503662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:04:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76767 invoked by alias); 24 Nov 2015 14:04: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 76632 invoked by uid 55); 24 Nov 2015 14:04:45 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68332] [6 Regression] ICE: in rs6000_is_valid_mask, at config/rs6000/rs6000.c:17052 with __sync_and_and_fetch() @ powerpc Date: Tue, 24 Nov 2015 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 6.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: 2015-11/txt/msg02589.txt.bz2 Content-length: 795 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68332 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Tue Nov 24 14:04:11 2015 New Revision: 230811 URL: https://gcc.gnu.org/viewcvs?rev=3D230811&root=3Dgcc&view=3Drev Log: rs6000: Fix for and_operand oversight (PR68332, PR67677) Calling rs6000_is_valid_and_mask on a reg instead of on a const_int is not a good idea, as PR68332 and PR67677 as well as testing with --enable-checking=3Dyes,rtl show. Fix this. PR target/66217 PR target/67677 PR target/68332 * config/rs6000/predicates.md (and_operand): Check that the operand is a const_int before calling rs6000_is_valid_and_mask. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/predicates.md >>From gcc-bugs-return-503663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:04:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76836 invoked by alias); 24 Nov 2015 14:04: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 76629 invoked by uid 55); 24 Nov 2015 14:04:45 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67677] [6 Regression] r226005 causes "Conditional jump or move depends on uninitialised value(s)" Date: Tue, 24 Nov 2015 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 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: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02590.txt.bz2 Content-length: 795 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67677 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Tue Nov 24 14:04:11 2015 New Revision: 230811 URL: https://gcc.gnu.org/viewcvs?rev=3D230811&root=3Dgcc&view=3Drev Log: rs6000: Fix for and_operand oversight (PR68332, PR67677) Calling rs6000_is_valid_and_mask on a reg instead of on a const_int is not a good idea, as PR68332 and PR67677 as well as testing with --enable-checking=3Dyes,rtl show. Fix this. PR target/66217 PR target/67677 PR target/68332 * config/rs6000/predicates.md (and_operand): Check that the operand is a const_int before calling rs6000_is_valid_and_mask. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/predicates.md >>From gcc-bugs-return-503664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:04:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76933 invoked by alias); 24 Nov 2015 14:04: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 76626 invoked by uid 55); 24 Nov 2015 14:04:45 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66217] PowerPC rotate/shift/mask instructions not optimal Date: Tue, 24 Nov 2015 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: 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: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02591.txt.bz2 Content-length: 795 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66217 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Tue Nov 24 14:04:11 2015 New Revision: 230811 URL: https://gcc.gnu.org/viewcvs?rev=3D230811&root=3Dgcc&view=3Drev Log: rs6000: Fix for and_operand oversight (PR68332, PR67677) Calling rs6000_is_valid_and_mask on a reg instead of on a const_int is not a good idea, as PR68332 and PR67677 as well as testing with --enable-checking=3Dyes,rtl show. Fix this. PR target/66217 PR target/67677 PR target/68332 * config/rs6000/predicates.md (and_operand): Check that the operand is a const_int before calling rs6000_is_valid_and_mask. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/predicates.md >>From gcc-bugs-return-503665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:06:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79517 invoked by alias); 24 Nov 2015 14: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 79428 invoked by uid 48); 24 Nov 2015 14:06:23 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 24 Nov 2015 14: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2015-11/txt/msg02592.txt.bz2 Content-length: 885 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #23 from Iain Sandoe --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #22) > > --- Comment #20 from Dominique d'Humieres -= -- > > Is this still a problem? >=20 > I'm bootstrapping gcc mainline on Mac OS X 10.11.2 Beta just fine. The > only problem I'm seeing for quite a while is that i386-apple-darwin > bootstrap is failing since mid-August (i386-apple-darwin14.4.0 at that > time). Don't have the exact link failure handy, and it certainly > warrants its own bug, if we want to deal with 32-bit bootstrap at all. >=20 > Rainer We do - for darwin9/10 at least (perhaps it's not a drama for 11+ .. but a bootstrap fail indicates something to be looked at IMO). I will be trying 10.5/6 this week for 5.2.1 (at least) in the run up to the= rc spin. >>From gcc-bugs-return-503666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:10:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82254 invoked by alias); 24 Nov 2015 14:10: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 82190 invoked by uid 55); 24 Nov 2015 14:10:03 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 24 Nov 2015 14: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 2015-11/txt/msg02593.txt.bz2 Content-length: 1058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #24 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #23 from Iain Sandoe --- > (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #22) >> > --- Comment #20 from Dominique d'Humieres = --- >> > Is this still a problem? >>=20 >> I'm bootstrapping gcc mainline on Mac OS X 10.11.2 Beta just fine. The >> only problem I'm seeing for quite a while is that i386-apple-darwin >> bootstrap is failing since mid-August (i386-apple-darwin14.4.0 at that >> time). Don't have the exact link failure handy, and it certainly >> warrants its own bug, if we want to deal with 32-bit bootstrap at all. >>=20 >> Rainer > > We do - for darwin9/10 at least (perhaps it's not a drama for 11+ .. but a > bootstrap fail indicates something to be looked at IMO). Ok, I'll dig up the details later today. It may well be related to a command line tools upgraded corresponding to Xcode 7.x. Rainer >>From gcc-bugs-return-503667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:10:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83137 invoked by alias); 24 Nov 2015 14: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 83104 invoked by uid 48); 24 Nov 2015 14:10:22 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/68498] Replace LOOPS_MAY_HAVE_MULTIPLE_LATCHES with LOOPS_HAVE_SINGLE_LATCH Date: Tue, 24 Nov 2015 14:10: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 2015-11/txt/msg02594.txt.bz2 Content-length: 219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68498 --- Comment #2 from vries at gcc dot gnu.org --- Created attachment 36825 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36825&action=3Dedit Tentative patch >>From gcc-bugs-return-503668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:14:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93166 invoked by alias); 24 Nov 2015 14:14: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 93118 invoked by uid 48); 24 Nov 2015 14:14:41 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68332] [6 Regression] ICE: in rs6000_is_valid_mask, at config/rs6000/rs6000.c:17052 with __sync_and_and_fetch() @ powerpc Date: Tue, 24 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 6.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: 2015-11/txt/msg02595.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68332 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Segher Boessenkool --- Fixed. >>From gcc-bugs-return-503670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:18:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97155 invoked by alias); 24 Nov 2015 14:18:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96895 invoked by uid 48); 24 Nov 2015 14:18:26 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68520] New: ICE on valid code at -O3 on x86_64-linux-gnu in quick_push, at vec.h:845 Date: Tue, 24 Nov 2015 14:18: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: 6.0 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: 2015-11/txt/msg02597.txt.bz2 Content-length: 2216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68520 Bug ID: 68520 Summary: ICE on valid code at -O3 on x86_64-linux-gnu in quick_push, at vec.h:845 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. It is a regression from 5.2.x. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-trunk/configure --prefix=3D/usr/local/gcc-trunk --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20151122 (experimental) [trunk revision 230719] (GCC)=20 $=20 $ gcc-trunk -O2 -c small.c $ gcc-5.2 -O3 -c small.c $=20 $ gcc-trunk -O3 -c small.c small.c: In function =E2=80=98fn2=E2=80=99: small.c:10:1: internal compiler error: in quick_push, at vec.h:845 } ^ 0xac60d2 vec::quick_push(basic_block_d= ef* const&) ../../gcc-trunk/gcc/vec.h:845 0xac60d2 vec::quick_push(basic_block_def* const&) ../../gcc-trunk/gcc/vec.h:1503 0xac60d2 try_shrink_wrapping(edge_def**, bitmap_head*, rtx_insn*) ../../gcc-trunk/gcc/shrink-wrap.c:714 0x870058 thread_prologue_and_epilogue_insns() ../../gcc-trunk/gcc/function.c:6021 0x870a92 rest_of_handle_thread_prologue_and_epilogue ../../gcc-trunk/gcc/function.c:6543 0x870a92 execute ../../gcc-trunk/gcc/function.c:6585 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;=20 void fn2 () { if (c) for (; d; d =3D a+b) for (c =3D 0; c < 2; c++)=20 fn2 (); } >>From gcc-bugs-return-503669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:18:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96462 invoked by alias); 24 Nov 2015 14: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 95652 invoked by uid 48); 24 Nov 2015 14:18:18 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 14: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey 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: 2015-11/txt/msg02596.txt.bz2 Content-length: 3221 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #3 from Tom Tromey --- (In reply to Josh Triplett from comment #2) > > The attribute syntax in the test case doesn't work with gcc. The attri= butes > > on the function definitions can't appear at the end. >=20 > Placing attributes at the end of the function definition works with Spars= e, > and as far as I can tell with GCC as well. The Linux kernel uses trailing > attributes on functions (both prototypes and definitions) fairly frequent= ly, > including with the context attribute. Experimentally it works with function declarations but not function definitions. There was some reason for this (ambiguity with K&R style?), but I forget exactly. void declaration(void) __attribute__((const)); void definition(void) __attribute__((const)) { } pokyo. gcc --syntax-only q.c q.c:3:1: error: attributes should be specified before the declarator in a function definition void definition(void) __attribute__((const)) ^ > In general, it seems useful to have the ability to reference argument nam= es > in attributes on a function. For instance, imagine using argument names > rather than indexes for the printf attribute or another attribute like it. Yeah, I agree. > The context attribute, though, wants something more complex than that: the > ability to provide expressions based on those arguments, such as arg->loc= k.=20 > That does seem like a tall order. Ok, it wasn't clear to me exactly what the meaning of that argument was. >>From the original text here it seemed like it would just be a plain name. So, that's something to nail down. I looked at sparse's test suite but it doesn't test this construct. > So I suspect it may make sense to run this after inlining, specialization, > dead-code elimination, and similar. One difficulty in this case is choosing how to represent __context__. My hack makes it a const function, and the value is never used, so gcc is free to just drop all the calls to it. But the further back in the pipeline the new pass is added, the harder it is to preserve this. It would be simpler for the plugin if __context__ were instead another attribute on a different set of functions. I don't know how hard this is on the kernel end though. > I don't mind the use of Python, though I wonder how easily such a script > could work by default. Given this script, how do you invoke GCC and run = it? > How much stability does this interface provide? Could the Linux kernel s= hip > such a script and invoke it as part of the compile, given some dependency > checks (and likely a Kconfig option if it increases build time > significantly)? One nice thing about Python is that because it is so dynamic, it's reasonab= ly easy to make it adapt to different versions of gcc-python-plugin, if needed. Running it is easy. The "gcc-with-python2" wrapper script is just a single line: ${CC:-gcc} -fplugin=3Dpython2 -fplugin-arg-python2-script=3D$@ So, it's really just adding a couple of options to the command line. It wouldn't be completely nuts to just put the whole gcc-python-plugin sour= ce into the tree. It also wouldn't be too hard to just recode this plugin in C++. >>From gcc-bugs-return-503671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:21:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116235 invoked by alias); 24 Nov 2015 14: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 116182 invoked by uid 48); 24 Nov 2015 14:21:53 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68520] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in quick_push, at vec.h:845 Date: Tue, 24 Nov 2015 14: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: 6.0 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: 6.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: 2015-11/txt/msg02598.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68520 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |6.0 Summary|ICE on valid code at -O3 on |[6 Regression] ICE on valid |x86_64-linux-gnu in |code at -O3 on |quick_push, at vec.h:845 |x86_64-linux-gnu in | |quick_push, at vec.h:845 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-503672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:23:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77054 invoked by alias); 24 Nov 2015 14: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 67658 invoked by uid 48); 24 Nov 2015 14:23:00 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Tue, 24 Nov 2015 14:23: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: 5.1.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: 5.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: 2015-11/txt/msg02599.txt.bz2 Content-length: 2455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |vmakarov at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- Sounds like a RA issue to me. In *.ira we have: (jump_insn 175 174 176 26 (parallel [ (set (pc) (if_then_else (lt (plus:SI (reg/v:SI 134 [ runCount ]) (const_int -1 [0xffffffffffffffff])) (const_int 0 [0])) (label_ref 105) (pc))) (set (reg/v:SI 152 [ runCount ]) (plus:SI (reg/v:SI 134 [ runCount ]) (const_int -1 [0xffffffffffffffff]))) (clobber (scratch:SI)) ]) pr67954.i:89 759 {*addsi3_cbranch} (expr_list:REG_DEAD (reg/v:SI 134 [ runCount ]) (int_list:REG_BR_PROB 900 (nil))) -> 105) and then in *.reload we have: Choosing alt 4 in insn 175: (0) *?m (1) &l (2) 1 (3) lIJ {*addsi3_cbran= ch} ... Choosing alt 1 in insn 175: (0) l (1) X (2) l (3) lL {*addsi3_cbranch} ... Choosing alt 1 in insn 175: (0) l (1) X (2) l (3) lL {*addsi3_cbranch} ... Choosing alt 1 in insn 175: (0) l (1) X (2) l (3) lL {*addsi3_cbranch} ... (jump_insn 175 548 176 26 (parallel [ (set (pc) (if_then_else (lt (plus:SI (reg:SI 3 r3 [374]) (const_int -1 [0xffffffffffffffff])) (const_int 0 [0])) (label_ref 105) (pc))) (set (reg/v:SI 2 r2 [orig:152 runCount ] [152]) (plus:SI (reg:SI 3 r3 [374]) (const_int -1 [0xffffffffffffffff]))) (clobber (mem/c:SI (reg:SI 2 r2 [437]) [6 %sfp+-32 S4 A32])) ]) pr67954.i:89 759 {*addsi3_cbranch} (int_list:REG_BR_PROB 900 (nil)) -> 105) The pattern has (clobber (match_scratch:SI 1 "=3DX,X,l,l,&l,&l"))] If LRA really chooses the alt 1, then the match_scratch has =3DX constraint= , but I would expect that it would not leave in complete garbage like the memory dereference that doesn't pass scratch_operand. Vlad? Note I could only reproduce this on the 5 branch. >>From gcc-bugs-return-503673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:24:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94976 invoked by alias); 24 Nov 2015 14:24: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 92152 invoked by uid 48); 24 Nov 2015 14:24:27 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin Date: Tue, 24 Nov 2015 14:24: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: 5.0 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: 2015-11/txt/msg02600.txt.bz2 Content-length: 650 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63997 --- Comment #4 from Dominique d'Humieres --- Any objection to apply the following patch --- ../_clean/gcc/testsuite/gcc.dg/lto/pr61526_0.c 2014-08-21 21:02:16.000000000 +0200 +++ gcc/testsuite/gcc.dg/lto/pr61526_0.c 2015-01-15 12:35:36.0000000= 00 +0100 @@ -2,6 +2,7 @@ /* { dg-lto-do link } */ /* { dg-lto-options { { -fPIC -flto -flto-partition=3D1to1 } } } */ /* { dg-extra-ld-options { -shared } } */ +/* { dg-extra-ld-options "-Wl,-undefined,dynamic_lookup" { target *-*-darw= in* } } */ static void *master; void *foo () { return master; } ? >>From gcc-bugs-return-503674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:24:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95357 invoked by alias); 24 Nov 2015 14:24: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 92194 invoked by uid 48); 24 Nov 2015 14:24:28 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68520] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in quick_push, at vec.h:845 Date: Tue, 24 Nov 2015 14:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 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: 6.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: 2015-11/txt/msg02601.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68520 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Started with r227775: commit 5c2b6d9bed3b944469ab387325476d1188000f46 Author: segher Date: Tue Sep 15 00:38:21 2015 +0000 shrink-wrap: Rewrite >>From gcc-bugs-return-503677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:25:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97897 invoked by alias); 24 Nov 2015 14:25: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 97250 invoked by uid 55); 24 Nov 2015 14:24:56 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68185] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Tue, 24 Nov 2015 14:25: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02604.txt.bz2 Content-length: 947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68185 --- Comment #6 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:24:24 2015 New Revision: 230812 URL: https://gcc.gnu.org/viewcvs?rev=3D230812&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/ree.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:25:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97806 invoked by alias); 24 Nov 2015 14:25: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 97229 invoked by uid 55); 24 Nov 2015 14:24:56 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 14:25: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: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02602.txt.bz2 Content-length: 948 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #12 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:24:24 2015 New Revision: 230812 URL: https://gcc.gnu.org/viewcvs?rev=3D230812&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/ree.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:25:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97821 invoked by alias); 24 Nov 2015 14:25: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 97298 invoked by uid 55); 24 Nov 2015 14:24:57 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 14:25: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02603.txt.bz2 Content-length: 948 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68328 --- Comment #12 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:24:24 2015 New Revision: 230812 URL: https://gcc.gnu.org/viewcvs?rev=3D230812&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/ree.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:28:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103023 invoked by alias); 24 Nov 2015 14:28:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102833 invoked by uid 55); 24 Nov 2015 14:28:23 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 14:28: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: 6.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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02605.txt.bz2 Content-length: 1107 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #13 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:27:51 2015 New Revision: 230813 URL: https://gcc.gnu.org/viewcvs?rev=3D230813&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves Backport from mainline 2015-11-24 Bernd Schmidt Kyrylo Tkachov PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/ree.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:28:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103347 invoked by alias); 24 Nov 2015 14:28:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102940 invoked by uid 55); 24 Nov 2015 14:28:26 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 14:28: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02607.txt.bz2 Content-length: 1107 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68328 --- Comment #13 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:27:51 2015 New Revision: 230813 URL: https://gcc.gnu.org/viewcvs?rev=3D230813&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves Backport from mainline 2015-11-24 Bernd Schmidt Kyrylo Tkachov PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/ree.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:28:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103053 invoked by alias); 24 Nov 2015 14:28:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102894 invoked by uid 55); 24 Nov 2015 14:28:25 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68185] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Tue, 24 Nov 2015 14:28: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02606.txt.bz2 Content-length: 1106 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68185 --- Comment #7 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:27:51 2015 New Revision: 230813 URL: https://gcc.gnu.org/viewcvs?rev=3D230813&root=3Dgcc&view=3Drev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence = of conditional moves Backport from mainline 2015-11-24 Bernd Schmidt Kyrylo Tkachov PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/ree.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:29:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107247 invoked by alias); 24 Nov 2015 14:29: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 107085 invoked by uid 48); 24 Nov 2015 14:29:43 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Tue, 24 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02608.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #14 from ktkachov at gcc dot gnu.org --- Fixed on all active branches. >>From gcc-bugs-return-503682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:29:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107405 invoked by alias); 24 Nov 2015 14:29: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 107119 invoked by uid 48); 24 Nov 2015 14:29:45 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68321] [5/6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Tue, 24 Nov 2015 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02609.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68321 Bug 68321 depends on bug 68194, which changed state. Bug 68194 Summary: [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64= -linux-gnu https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-503683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:34:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56061 invoked by alias); 24 Nov 2015 14:34: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 55995 invoked by uid 48); 24 Nov 2015 14:34:49 -0000 From: "nickc at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67702] [4.9/5/6 Regression] Internal compiler error: Segmentation fault Date: Tue, 24 Nov 2015 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.9.2 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nickc at redhat 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: 4.9.4 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: 2015-11/txt/msg02610.txt.bz2 Content-length: 881 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67702 Nick Clifton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at redhat dot com --- Comment #3 from Nick Clifton --- Created attachment 36826 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36826&action=3Dedit Workaround This patch avoids the problem. Not sure if it is the correct fix though.=20 There is a comment in mangle.c:decl_mangling_context() which says "template type parms have no mangling context." and it is this which is causing write_template_prefix() to crash - it assumes that there is always a context available. But maybe template type parameters should never be passed to template_write_prefix ? >>From gcc-bugs-return-503684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:38:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61984 invoked by alias); 24 Nov 2015 14:38: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 61441 invoked by uid 55); 24 Nov 2015 14:38:17 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02611.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #7 from Steve Kargl -= -- On Tue, Nov 24, 2015 at 01:03:16PM +0000, hjl.tools at gmail dot com wrote: > --- Comment #6 from H.J. Lu --- > 187.facerec in SPEC CPU 2000 still fails: >=20 Need an example the code causing the problem. I don't have access to SPEC CPU 2000. >>From gcc-bugs-return-503685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:41:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69536 invoked by alias); 24 Nov 2015 14:41:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69453 invoked by uid 48); 24 Nov 2015 14:41:13 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin Date: Tue, 24 Nov 2015 14:41: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2015-11/txt/msg02612.txt.bz2 Content-length: 840 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63997 --- Comment #5 from Iain Sandoe --- (In reply to Dominique d'Humieres from comment #4) > Any objection to apply the following patch >=20 > --- ../_clean/gcc/testsuite/gcc.dg/lto/pr61526_0.c 2014-08-21 > 21:02:16.000000000 +0200 > +++ gcc/testsuite/gcc.dg/lto/pr61526_0.c 2015-01-15 12:35:36.000000000 +0= 100 > @@ -2,6 +2,7 @@ > /* { dg-lto-do link } */ > /* { dg-lto-options { { -fPIC -flto -flto-partition=3D1to1 } } } */ > /* { dg-extra-ld-options { -shared } } */ > +/* { dg-extra-ld-options "-Wl,-undefined,dynamic_lookup" { target > *-*-darwin* } } */ >=20=20 > static void *master; > void *foo () { return master; } >=20 > ? This seems reasonable and produces the expected output (an undefined extern= al _master which is dynamically looked up). >>From gcc-bugs-return-503686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:45:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74813 invoked by alias); 24 Nov 2015 14:45: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 74678 invoked by uid 48); 24 Nov 2015 14:45:37 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68519] condition_variable::wait_for does not work properly with float duration Date: Tue, 24 Nov 2015 14:45: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02613.txt.bz2 Content-length: 4232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68519 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Markus Trippelsdorf --- Build with -fsanitize=3Dthread: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D WARNING: ThreadSanitizer: data race (pid=3D15270) Write of size 1 at 0x000000403540 by main thread: #0 main /var/tmp/t.cc:32 (a.out+0x0000004016d4) Previous read of size 1 at 0x000000403540 by thread T1 (mutexes: write M1= 0): Do something... #0 void thread_loop > >(std::chrono::duration >) /var/tmp/t.cc:17 (a.out+0x000000401ad3) Do something... #1 void std::_Bind_simple >))(std::chrono::duration >)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/functional:1430 (a.out+0x00000040193e) #2 std::_Bind_simple >))(std::chrono::duration >)>::operator()() /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/functional:1419 (a.out+0x00000040193e) Do something... #3 std::thread::_State_impl >))(std::chrono::duration >)> >::_M_run() /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/thread:186 (a.out+0x00000040193e) #4 execute_native_thread_routine (libstdc++.so.6+0x0000000d082e) Location is global 'finish' of size 1 at 0x000000403540 (a.out+0x000000403540) Mutex M10 (0x0000004035a0) created at: #0 pthread_mutex_lock (libtsan.so.0+0x000000042be0) Do something... #1 __gthread_mutex_lock /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/x86_64-pc-linux-gnu/b= its/gthr-default.h:748 (a.out+0x0000004019ee) #2 std::mutex::lock() /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/bits/mutex.h:103 (a.out+0x0000004019ee) #3 std::unique_lock::lock() /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/bits/mutex.h:254 (a.out+0x0000004019ee) #4 std::unique_lock::unique_lock(std::mutex&) /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/bits/mutex.h:184 (a.out+0x0000004019ee) Do something... #5 void thread_loop > >(std::chrono::duration >) /var/tmp/t.cc:16 (a.out+0x0000004019ee) #6 void std::_Bind_simple >))(std::chrono::duration >)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/functional:1430 (a.out+0x00000040193e) #7 std::_Bind_simple >))(std::chrono::duration >)>::operator()() /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/functional:1419 (a.out+0x00000040193e) #8 std::thread::_State_impl >))(std::chrono::duration >)> >::_M_run() /usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/g++-v6/thread:186 (a.out+0x00000040193e) Do something... #9 execute_native_thread_routine (libstdc++.so.6+0x0000000d082e) Thread T1 (tid=3D15272, running) created by main thread at: #0 pthread_create (libtsan.so.0+0x00000002bdd8) #1 std::thread::_M_start_thread(std::unique_ptr >, void (*)()) (libstdc++.so.6+0x0000000d0b34) Do something... #2 __libc_start_main ../csu/libc-start.c:289 (libc.so.6+0x00000002062f) SUMMARY: ThreadSanitizer: data race /var/tmp/t.cc:32 in main =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>From gcc-bugs-return-503687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:49:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126132 invoked by alias); 24 Nov 2015 14:49:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126077 invoked by uid 48); 24 Nov 2015 14:49:38 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Tue, 24 Nov 2015 14:49: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02614.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #27 from Thomas Koenig --- (In reply to Joost VandeVondele from comment #22) > I agree that inline should be faster, if the compiler is reasonably smart, > if the matrix dimensions are known at compile time (i.e. should be able to > generate the same kernel). I haven't checked yet. If the compiler turns out not to be reasonably smart, file a bug report :-) >>From gcc-bugs-return-503688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 14:56:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6906 invoked by alias); 24 Nov 2015 14:56: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 6838 invoked by uid 48); 24 Nov 2015 14:56:39 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68520] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in quick_push, at vec.h:845 Date: Tue, 24 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02615.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68520 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |segher at gcc dot g= nu.org --- Comment #3 from Segher Boessenkool --- Confirmed, mine. >>From gcc-bugs-return-503689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:13:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64594 invoked by alias); 24 Nov 2015 15:13: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 64536 invoked by uid 48); 24 Nov 2015 15:13:32 -0000 From: "jbellon at bsc dot es" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68519] condition_variable::wait_for does not work properly with float duration Date: Tue, 24 Nov 2015 15:13: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbellon at bsc dot es 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.isobsolete 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: 2015-11/txt/msg02616.txt.bz2 Content-length: 759 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68519 Jorge Bellon changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #36824|0 |1 is obsolete| | --- Comment #3 from Jorge Bellon --- Created attachment 36827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36827&action=3Dedit source file that reproduces the bug (data race fixed) I've uploaded again the source file with the fixed data race (typo when writting the example, sorry). Now it passes both -fsanitize=3Dthread and -fsanitize=3Daddress (but still = does not work as expected). >>From gcc-bugs-return-503690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:15:20 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66894 invoked by alias); 24 Nov 2015 15:15: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 66617 invoked by uid 48); 24 Nov 2015 15:15:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Tue, 24 Nov 2015 15:15: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: 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: 6.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: 2015-11/txt/msg02617.txt.bz2 Content-length: 2228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 --- Comment #8 from Richard Biener --- mol.fppized.f90:8342:0: note: Final SLP tree for instance: mol.fppized.f90:8342:0: note: node mol.fppized.f90:8342:0: note: stmt 0 REALPART_EXPR =3D _834; mol.fppized.f90:8342:0: note: stmt 1 IMAGPART_EXPR =3D _1273; mol.fppized.f90:8342:0: note: node mol.fppized.f90:8342:0: note: stmt 0 _834 =3D _1171 + _1225; mol.fppized.f90:8342:0: note: stmt 1 _1273 =3D _1057 + _151; mol.fppized.f90:8342:0: note: node mol.fppized.f90:8342:0: note: stmt 0 _1171 =3D z_393 * _1205; mol.fppized.f90:8342:0: note: stmt 1 _1057 =3D z_393 * _1188; mol.fppized.f90:8342:0: note: node mol.fppized.f90:8342:0: note: stmt 0 _1225 =3D REALPART_EXPR ; mol.fppized.f90:8342:0: note: stmt 1 _151 =3D IMAGPART_EXPR ; and mol.fppized.f90:8342:0: note: Final SLP tree for instance: mol.fppized.f90:8342:0: note: node mol.fppized.f90:8342:0: note: stmt 0 REALPART_EXPR =3D _962; mol.fppized.f90:8342:0: note: stmt 1 IMAGPART_EXPR =3D _852; mol.fppized.f90:8342:0: note: node mol.fppized.f90:8342:0: note: stmt 0 _962 =3D _1171 + _1637; mol.fppized.f90:8342:0: note: stmt 1 _852 =3D _1057 + _1645; mol.fppized.f90:8342:0: note: node mol.fppized.f90:8342:0: note: stmt 0 _1637 =3D REALPART_EXPR ; mol.fppized.f90:8342:0: note: stmt 1 _1645 =3D IMAGPART_EXPR ; shows that we indeed build _1171 from scalars in one instance but not in the other. Ah, so it's because we do mol.fppized.f90:8342:0: note: Re-trying with swapped operands of stmts 1 mol.fppized.f90:8342:0: note: Build SLP for _1171 =3D z_393 * _1205; mol.fppized.f90:8342:0: note: Build SLP for _1057 =3D z_393 * _1188; in one case and that one doesn't do the "all operands are built from scalars thus promote myself". I have a patch. >>From gcc-bugs-return-503691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:16:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68205 invoked by alias); 24 Nov 2015 15:16: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 67949 invoked by uid 48); 24 Nov 2015 15:16:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68221] libgomp reduction-11/12 failures Date: Tue, 24 Nov 2015 15:16: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: 6.0 X-Bugzilla-Keywords: openmp 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: 6.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: 2015-11/txt/msg02618.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68221 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Richard Biener --- Fixed. >>From gcc-bugs-return-503692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:19:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102509 invoked by alias); 24 Nov 2015 15:19: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 102430 invoked by uid 48); 24 Nov 2015 15:19:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68517] [6 Regression] ICE in tree-vect-data-refs.c:2751 Date: Tue, 24 Nov 2015 15: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: 6.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: 6.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: 2015-11/txt/msg02619.txt.bz2 Content-length: 1151 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68517 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-24 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- 0x00000000017b6b84 in vect_analyze_data_ref_accesses (vinfo=3D0x26aa9f0) at /space/rguenther/src/svn/trunk3/gcc/tree-vect-data-refs.c:2751 2751 if ((init_b - init_a) % type_size_a !=3D 0) Missing separate debuginfos, use: zypper install libgmp10-debuginfo-6.0.0-71.1.x86_64 libisl13-debuginfo-0.14-25.2.x86_64 libmpc3-debuginfo-1.0.2-38.2.x86_64 libmpfr4-debuginfo-3.1.2-3.1.2.x86_64 (gdb) p type_size_a $1 =3D 0 (gdb) p debug_data_reference (dra) #(Data Ref:=20 # bb: 2=20 # stmt: arg1_2(D)->f1 =3D {}; # ref: arg1_2(D)->f1; # base_object: arg1_2(D)->f1; #) Mine. >>From gcc-bugs-return-503693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:20:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103601 invoked by alias); 24 Nov 2015 15:20: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 103577 invoked by uid 48); 24 Nov 2015 15:20:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68514] [6 Regression] ICE in tr1/5_numerical_facilities libstdc++ test cases Date: Tue, 24 Nov 2015 15: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: 6.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: 6.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: 2015-11/txt/msg02620.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68514 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-503694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:23:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123511 invoked by alias); 24 Nov 2015 15:23: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 123134 invoked by uid 48); 24 Nov 2015 15:23:37 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68519] condition_variable::wait_for does not work properly with float duration Date: Tue, 24 Nov 2015 15:23: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: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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 resolution 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: 2015-11/txt/msg02621.txt.bz2 Content-length: 985 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68519 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Last reconfirmed| |2015-11-24 CC| |redi at gcc dot gnu.org Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #4 from Markus Trippelsdorf --- (In reply to Jorge Bellon from comment #3) > Created attachment 36827 [details] > source file that reproduces the bug (data race fixed) >=20 > I've uploaded again the source file with the fixed data race (typo when > writting the example, sorry). >=20 > Now it passes both -fsanitize=3Dthread and -fsanitize=3Daddress (but stil= l does > not work as expected). OK. Thanks. >>From gcc-bugs-return-503695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:33:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24148 invoked by alias); 24 Nov 2015 15:33:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24087 invoked by uid 48); 24 Nov 2015 15:33:23 -0000 From: "luser.droog at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Tue, 24 Nov 2015 15: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luser.droog at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02622.txt.bz2 Content-length: 374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 --- Comment #8 from M Joshua Ryan --- Yes, I think it must be something unique to cygwin over windows 10. This co= de compiles fine with gcc on cygwin/win8, mingw, linux, suncc on solaris, and = even MSVC. I suppose it could even be something in the POSIX emu layer, and not = gcc per se. >>From gcc-bugs-return-503697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:35:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79918 invoked by alias); 24 Nov 2015 15:35: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 73084 invoked by uid 48); 24 Nov 2015 15:35:37 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68337] [MPX] memcpy() for arrays with function pointers results in huge resource usage and binaries Date: Tue, 24 Nov 2015 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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich 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: 2015-11/txt/msg02624.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68337 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Ilya Enkovich --- Fixed >>From gcc-bugs-return-503696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:35:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68888 invoked by alias); 24 Nov 2015 15:35: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 68864 invoked by uid 55); 24 Nov 2015 15:35:01 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68337] [MPX] memcpy() for arrays with function pointers results in huge resource usage and binaries Date: Tue, 24 Nov 2015 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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich 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: 2015-11/txt/msg02623.txt.bz2 Content-length: 1101 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68337 --- Comment #4 from Ilya Enkovich --- Author: ienkovich Date: Tue Nov 24 15:34:29 2015 New Revision: 230817 URL: https://gcc.gnu.org/viewcvs?rev=3D230817&root=3Dgcc&view=3Drev Log: gcc/ Backport from mainline r230796. 2015-11-24 Ilya Enkovich PR c/68337 * gimple-fold.c: Include ipa-chkp.h. (gimple_fold_builtin_memory_op): Don't fold call if we are going to instrument it and it may copy pointers. gcc/testsuite/ Backport from mainline r230796. 2015-11-24 Ilya Enkovich PR c/68337 * gcc.target/i386/mpx/pr68337-1.c: New test. * gcc.target/i386/mpx/pr68337-2.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/pr68337-1.c branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/pr68337-2.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/gimple-fold.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:35:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80043 invoked by alias); 24 Nov 2015 15:35: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 76000 invoked by uid 48); 24 Nov 2015 15:35:39 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/65530] [meta-bug] -mmpx -fcheck-pointer-bounds failures Date: Tue, 24 Nov 2015 15:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: enkovich.gnu at gmail dot com 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: 2015-11/txt/msg02625.txt.bz2 Content-length: 520 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65530 Bug 65530 depends on bug 68337, which changed state. Bug 68337 Summary: [MPX] memcpy() for arrays with function pointers results= in huge resource usage and binaries https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68337 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-503699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:41:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56003 invoked by alias); 24 Nov 2015 15: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 55969 invoked by uid 48); 24 Nov 2015 15:41:30 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68521] New: [6.0 regression] ICE on valid code Date: Tue, 24 Nov 2015 15:41: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy 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: 2015-11/txt/msg02626.txt.bz2 Content-length: 871 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68521 Bug ID: 68521 Summary: [6.0 regression] ICE on valid code Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- Created attachment 36828 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36828&action=3Dedit Code that triggers the ICE. I got an ICE on the following valid code (this is a 6.0 regression). It was broken at least since r229945. gfortran -O2 -fPIC -c avh_olo_qp.f90 avh_olo_qp.f90:99:0: function r1fun( zz,y1,y2,fy1y2 ) result(rslt) internal compiler error: Segmentation fault: 11 avh_olo_qp.f90:99:0: internal compiler error: Abort trap: 6 >>From gcc-bugs-return-503700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:42:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56849 invoked by alias); 24 Nov 2015 15: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 56769 invoked by uid 48); 24 Nov 2015 15:41:56 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67226] Incorrect code generated for tail call, where parameters are structs passed by value, -O2 is used, and target is ARM Date: Tue, 24 Nov 2015 15:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.2.1 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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02627.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67226 --- Comment #5 from ktkachov at gcc dot gnu.org --- proposed patch: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02923.html >>From gcc-bugs-return-503701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 15:53:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3154 invoked by alias); 24 Nov 2015 15:53: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 3075 invoked by uid 48); 24 Nov 2015 15:53:35 -0000 From: "izamyatin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 15: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: izamyatin at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02628.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 Igor Zamyatin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |izamyatin at gmail dot com --- Comment #8 from Igor Zamyatin --- This one fails for me with -O2 Subroutine Foo () Real(4), Allocatable, Save :: tmp (:, :) Real(4), Pointer, Save :: arr (:, :, :) Integer :: l, m, n tmp =3D (CSHIFT(CSHIFT(arr (:,:,l),m,2),n,1)) End Subroutine Foo >>From gcc-bugs-return-503702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:01:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81686 invoked by alias); 24 Nov 2015 16:01: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 81587 invoked by uid 55); 24 Nov 2015 16:01:24 -0000 From: "matz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68392] ICE: SIGSEGV in update_uses (fwprop.c:896) with -fno-checking Date: Tue, 24 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: matz 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: 2015-11/txt/msg02629.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68392 --- Comment #8 from Michael Matz --- Author: matz Date: Tue Nov 24 16:00:51 2015 New Revision: 230818 URL: https://gcc.gnu.org/viewcvs?rev=3D230818&root=3Dgcc&view=3Drev Log: PR rtl-optimization/68392 * g++.dg/pr68392.C: New test. Added: trunk/gcc/testsuite/g++.dg/pr68392.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:03:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97275 invoked by alias); 24 Nov 2015 16:03: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 97135 invoked by uid 48); 24 Nov 2015 16:03:06 -0000 From: "matz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68392] ICE: SIGSEGV in update_uses (fwprop.c:896) with -fno-checking Date: Tue, 24 Nov 2015 16:03: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: matz 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: 2015-11/txt/msg02630.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68392 Michael Matz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Michael Matz --- Makes sense, added the test case. >>From gcc-bugs-return-503704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:11:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125848 invoked by alias); 24 Nov 2015 16:11: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 125804 invoked by uid 55); 24 Nov 2015 16:11:29 -0000 From: "nsz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68059] [arm] libgcc uses __write to report error Date: Tue, 24 Nov 2015 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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nsz 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: 2015-11/txt/msg02631.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68059 --- Comment #4 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Nov 24 16:10:55 2015 New Revision: 230820 URL: https://gcc.gnu.org/viewcvs?rev=3D230820&root=3Dgcc&view=3Drev Log: 2015-11-24 Szabolcs Nagy Backport from mainline 2015-11-23 Szabolcs Nagy PR target/68059 * config/arm/linux-atomic-64bit.c (__write): Rename to... (write): ...this and fix the return type. Modified: branches/gcc-5-branch/libgcc/ChangeLog branches/gcc-5-branch/libgcc/config/arm/linux-atomic-64bit.c >>From gcc-bugs-return-503705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:23:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53416 invoked by alias); 24 Nov 2015 16:23:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53379 invoked by uid 48); 24 Nov 2015 16:23:17 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68518] ICE on invalid code using lambda in variadic template in tsubst_copy, at cp/pt.c:12997 Date: Tue, 24 Nov 2015 16: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: 5.2.1 X-Bugzilla-Keywords: 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: 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: 2015-11/txt/msg02632.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68518 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 >>From gcc-bugs-return-503706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:24:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58762 invoked by alias); 24 Nov 2015 16: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 58640 invoked by uid 48); 24 Nov 2015 16:23:54 -0000 From: "afomin.mailbox at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68522] New: [6 Regression] SPEC CPU2006 435.gromacs miscomparison Date: Tue, 24 Nov 2015 16:23: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: afomin.mailbox 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 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: 2015-11/txt/msg02633.txt.bz2 Content-length: 665 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68522 Bug ID: 68522 Summary: [6 Regression] SPEC CPU2006 435.gromacs miscomparison Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: afomin.mailbox at gmail dot com CC: izamyatin at gmail dot com, law at redhat dot com Target Milestone: --- Target: i686-*-* There is a miscomparison between actual and reference data after r230364 for 435.gromacs benchmark from SPEC CFP006. >>From gcc-bugs-return-503707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:24:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66747 invoked by alias); 24 Nov 2015 16:24: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 66697 invoked by uid 48); 24 Nov 2015 16:24:47 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68515] std::result_of doesn't work when F is abstract (with pure virtual functions) Date: Tue, 24 Nov 2015 16:24: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: 5.2.0 X-Bugzilla-Keywords: 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: cc 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: 2015-11/txt/msg02634.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68515 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely.gcc at gmail dot c= om Component|c++ |libstdc++ --- Comment #1 from Paolo Carlini --- Jon can you have a look? >>From gcc-bugs-return-503708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:31:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11363 invoked by alias); 24 Nov 2015 16: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 7170 invoked by uid 48); 24 Nov 2015 16:31:26 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68495] Error when expanding nontype variadic argument in trailing return type Date: Tue, 24 Nov 2015 16:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: rejects-valid 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 cf_reconfirmed_on cc blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02635.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68495 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |paolo.carlini at oracle do= t com Blocks| |55004 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 [Bug 55004] [meta-bug] constexpr issues >>From gcc-bugs-return-503709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:37:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1704 invoked by alias); 24 Nov 2015 16:37: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 1613 invoked by uid 48); 24 Nov 2015 16:37:06 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68475] ICE: in merge_exception_specifiers, at cp/typeck2.c:2115 with -fno-exceptions on invalid code Date: Tue, 24 Nov 2015 16: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.0 X-Bugzilla-Keywords: 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: 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: 2015-11/txt/msg02636.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68475 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 >>From gcc-bugs-return-503710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:38:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3669 invoked by alias); 24 Nov 2015 16:38: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 3518 invoked by uid 48); 24 Nov 2015 16:38:19 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68469] warn_unused_result attribute ignored for templates return templates Date: Tue, 24 Nov 2015 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: 5.2.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: 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: 2015-11/txt/msg02637.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68469 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 >>From gcc-bugs-return-503711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:40:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18392 invoked by alias); 24 Nov 2015 16:40: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 18327 invoked by uid 48); 24 Nov 2015 16:40:39 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02638.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #9 from Dominique d'Humieres --- > This one fails for me with -O2 ... You don't need any optimization to reproduce. The ICE comes from the nested CSHIFT. >>From gcc-bugs-return-503712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:53:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63397 invoked by alias); 24 Nov 2015 16:53: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 63333 invoked by uid 48); 24 Nov 2015 16:53:26 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67438] [6 Regression] ~X op ~Y pattern relocation causes loop performance degradation on 32bit x86 Date: Tue, 24 Nov 2015 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: 6.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: 2015-11/txt/msg02639.txt.bz2 Content-length: 1680 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67438 --- Comment #11 from Yuri Rumyantsev --- In fact, the problem is quite different although it is caused by non-profit= able pattern matching ~X CMP ~Y -> Y CMP X. In general this pattern may be helpf= ul if we can delete not operation, e.g. x1 =3D ~x; y1 =3D ~y; if (x1 y1) ... and there no any other uses of x1 and y1, i.e. x1 an= d y1 have single use. But if this is not truth we will increase register pressure since we can not use the same register for x,x1 and y,y1. Richard proposed to use the same simplification for min/max operations but in original test-case nested min/max operation (min(x,min(y,z)) or multi operand min/max (min(x,y,z)) are not recognized by gcc (Note that icc does = such transformation) and so this won't help since we have the same register pres= sure issue: c =3D ~r;=20 m =3D ~g; y =3D ~b; k =3D min(c, m, y); *out++ =3D c - k; *out++ =3D m - k; *out++ =3D y - k; *out++ =3D k; and we can see that value of 'c' is used in min computation and resulting store, so if we will use r g comparison we will increase live range f= or r, g, b variables and additional registers will require for them (till comparison). Note also that there exists another issue with path-splitting (aka tail duplication) which duplicate loop back edge and in fact move tail block to hammock. This transformation does not loop useful (at least at given stage = of design) but this is another topic for discussion. I'd like to propose to introduce new predicate for pattern matching which t= ells us how much uses have left-hand side of ~x. >>From gcc-bugs-return-503713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 16:59:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34841 invoked by alias); 24 Nov 2015 16:59: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 34789 invoked by uid 48); 24 Nov 2015 16:59:08 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52251] Nonadvancing I/O and the t edit descriptor Date: Tue, 24 Nov 2015 16: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.7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jvdelisle 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: 2015-11/txt/msg02640.txt.bz2 Content-length: 171 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52251 --- Comment #8 from Jerry DeLisle --- Fixed on trunk. Should we backport to 5 branch? >>From gcc-bugs-return-503714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:03:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43677 invoked by alias); 24 Nov 2015 17:03: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 43602 invoked by uid 48); 24 Nov 2015 17:03:02 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68515] std::result_of doesn't work when F is abstract (with pure virtual functions) Date: Tue, 24 Nov 2015 17:03: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: 5.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: 2015-11/txt/msg02641.txt.bz2 Content-length: 390 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68515 --- Comment #2 from Jonathan Wakely --- I think it's a front-end problem, it (rightly) says that F(X) is not a valid function type, because functions can't return abstract types. The problem i= s=20 that we don't really have (or want) a function of that type, it's just the notational trick used by result_of. >>From gcc-bugs-return-503715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:11:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55242 invoked by alias); 24 Nov 2015 17:11: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 55046 invoked by uid 48); 24 Nov 2015 17:11:15 -0000 From: "guille at cal dot berkeley.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66214] [6 Regression] ICE verify_type failed with -O0 -g via gen_type_die_with_usage's dwarf2out.c:20250 Date: Tue, 24 Nov 2015 17:11: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: guille at cal dot berkeley.edu 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.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: 2015-11/txt/msg02642.txt.bz2 Content-length: 721 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66214 --- Comment #26 from Guille --- In the case below (fails to compile ssl.h on OSX 10.9.5),=20 I could simply go to ssl.h lines 337 and 339 and comment out the 'DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER'..=20 then it compiled no problem.=20 (In reply to Guille from comment #24) > Yes, just checked that.=20 > 'gcc -g file_that_include_ssl_h.cpp' builds fine, but=20 > 'g++ -g file_that_include_ssl_h.cpp' ICEs.=20 >=20 >=20 > (In reply to Magnus Fromreide from comment #23) > > One more question - you are using the command > >=20 > > g++ -g file_that_include_ssl_h.cpp > >=20 > > right? Building it as C works for me as well. >>From gcc-bugs-return-503716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:11:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55948 invoked by alias); 24 Nov 2015 17:11: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 55772 invoked by uid 48); 24 Nov 2015 17:11:28 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68464] [6 Regression] ICE in valid constexpr function: ../../src/gcc/tree.c:11497 Date: Tue, 24 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 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: 2015-11/txt/msg02643.txt.bz2 Content-length: 697 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68464 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Summary|ICE in valid constexpr |[6 Regression] ICE in valid |function: |constexpr function: |../../src/gcc/tree.c:11497 |../../src/gcc/tree.c:11497 Ever confirmed|0 |1 >>From gcc-bugs-return-503717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:13:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58818 invoked by alias); 24 Nov 2015 17: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 58426 invoked by uid 48); 24 Nov 2015 17:13:29 -0000 From: "paolo.carlini at oracle dot com" 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: Tue, 24 Nov 2015 17: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: 4.9.1 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: 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: 2015-11/txt/msg02644.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68451 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 >>From gcc-bugs-return-503718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:14:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63250 invoked by alias); 24 Nov 2015 17:14:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62741 invoked by uid 48); 24 Nov 2015 17:14:47 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68487] [concepts] bad "invalid reference to variadic concept" error Date: Tue, 24 Nov 2015 17: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: 6.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: 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: 2015-11/txt/msg02645.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68487 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 >>From gcc-bugs-return-503719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:18:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70197 invoked by alias); 24 Nov 2015 17:18: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 70133 invoked by uid 48); 24 Nov 2015 17:18:45 -0000 From: "guille at cal dot berkeley.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66214] [6 Regression] ICE verify_type failed with -O0 -g via gen_type_die_with_usage's dwarf2out.c:20250 Date: Tue, 24 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: guille at cal dot berkeley.edu 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.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: 2015-11/txt/msg02646.txt.bz2 Content-length: 1821 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66214 --- Comment #27 from Guille --- (In reply to Guille from comment #26) > In the case below (fails to compile ssl.h on OSX 10.9.5),=20 > I could simply go to ssl.h lines 337 and 339 and comment out the > 'DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER'..=20 > then it compiled no problem.=20 I tested that again. Ignore the above comment.=20 One can make it compile as follows. This is the *original* relevant part of ssl.h: 330: struct bn_gencb_st { unsigned int ver; /* To handle binary (in)compatibility */ void *arg; /* callback-specific data */ union 335: { /* if(ver=3D=3D1) - handles old style callbacks */ void (*cb_1)(int, int, void *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* if(ver=3D=3D2) - new callback style */ int (*cb_2)(int, int, BN_GENCB *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; 340: } cb; }; take the union outside the struct and give it a name:=20 union bn_gencb_st__cb_t { void (*cb_1)(int, int, void *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; int (*cb_2)(int, int, BN_GENCB *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; }; struct bn_gencb_st { unsigned int ver; void *arg; bn_gencb_st__cb_t cb; }; then it compiles fine.=20 >=20 >=20 > (In reply to Guille from comment #24) > > Yes, just checked that.=20 > > 'gcc -g file_that_include_ssl_h.cpp' builds fine, but=20 > > 'g++ -g file_that_include_ssl_h.cpp' ICEs.=20 > >=20 > >=20 > > (In reply to Magnus Fromreide from comment #23) > > > One more question - you are using the command > > >=20 > > > g++ -g file_that_include_ssl_h.cpp > > >=20 > > > right? Building it as C works for me as well. >>From gcc-bugs-return-503720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:22:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75237 invoked by alias); 24 Nov 2015 17:21: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 75151 invoked by uid 48); 24 Nov 2015 17:21:55 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Tue, 24 Nov 2015 17:21: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02647.txt.bz2 Content-length: 1465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #28 from Jerry DeLisle --- (In reply to Janne Blomqvist from comment #25) >=20 > But, that is not particularly impressive, is it? I don't know about curre= nt > low end graphics adapters, but at least the high end GPU cards (Tesla) are > capable of several Tflops. Of course, there is a non-trivial threshold si= ze > to amortize the data movement to/from the GPU. Not even a graphics card, just the on system chip on a low end laptop. Not trying to impress, just pointing out that the hardware acceleration is fair= ly ubiquitous these days, so why not just use it. Maybe not important for ser= ious computing where users already have things like your 20 core machine. >=20 > With the test program from #12, with OpenBLAS (which BTW should be availa= ble > in Fedora 22 as well) I get 337 Gflops/s, or 25 Gflops/s if I restrict it= to > a single core with the OMP_NUM_THREADS=3D1 environment variable. This on a > machine with 20 2.8 GHz Ivy bridge cores. >=20 > I'm not per se against using GPU's, but I think there's a lot of low hang= ing > fruit to be had just by making it easier for users to use a high performa= nce > BLAS implementation. I agree, if available external BLAS does what is needed very good, What I am exploring is one of those external BLAS libraries that uses GPU. Maybe the answer to this PR is "use an external BLAS" and close this PR. >>From gcc-bugs-return-503721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:23:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78520 invoked by alias); 24 Nov 2015 17:23: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 77913 invoked by uid 48); 24 Nov 2015 17:23:15 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 17: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: 6.0 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: 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: 2015-11/txt/msg02648.txt.bz2 Content-length: 2049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #4 from Dominique d'Humieres --- Created attachment 36829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36829&action=3Dedit Reduced test case for gfortran.dg/minlocval_3.f90 With the attached test the warnings with '-g -flto' are warning: (x86_64) could not find object file symbol for symbol _A.28.3542 warning: (x86_64) could not find object file symbol for symbol _A.36.3560 warning: (x86_64) could not find object file symbol for symbol _A.44.3580 warning: (x86_64) could not find object file symbol for symbol _A.50.3594 warning: (x86_64) could not find object file symbol for symbol _A.56.3608 warning: (x86_64) could not find object file symbol for symbol _A.62.3622 warning: (x86_64) could not find object file symbol for symbol _A.68.3636 warning: (x86_64) could not find object file symbol for symbol _A.74.3650 warning: (x86_64) could not find object file symbol for symbol _A.80.3664 warning: (x86_64) could not find object file symbol for symbol _A.86.3678 warning: (x86_64) could not find object file symbol for symbol _A.92.3690 warning: (x86_64) could not find object file symbol for symbol _A.102.3710 warning: (x86_64) could not find object file symbol for symbol _A.123.3779 warning: (x86_64) could not find object file symbol for symbol _A.131.3805 warning: (x86_64) could not find object file symbol for symbol _A.154.3862 warning: (x86_64) could not find object file symbol for symbol _A.164.3882 warning: (x86_64) could not find object file symbol for symbol _A.174.3905 warning: (x86_64) could not find object file symbol for symbol _A.190.3938 warning: (x86_64) could not find object file symbol for symbol _A.206.3971 warning: (x86_64) could not find object file symbol for symbol _A.222.4004 warning: (x86_64) could not find object file symbol for symbol _A.238.4034 warning: (x86_64) could not find object file symbol for symbol _A.250.4057 These warnings disappear if I remove a single 'if'. >>From gcc-bugs-return-503722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:27:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85067 invoked by alias); 24 Nov 2015 17:27: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 84988 invoked by uid 48); 24 Nov 2015 17:27:45 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 17:27: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: 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: 2015-11/txt/msg02649.txt.bz2 Content-length: 563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #5 from Dominique d'Humieres --- > We are getting a similar issue while linking a program with GCC and > without '-flto' switch. We enable 'lto' when configuring languages, > which in turn enables post ld processing inside collect2. This was done > as part of the bug #61352 patch. I am not sure to understand the comment. Do you mean that your build is configured to use '-flto' by default? Do you have a non-fortran reproducer?= If yes, could you please post it? >>From gcc-bugs-return-503723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:30:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89058 invoked by alias); 24 Nov 2015 17:30: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 88982 invoked by uid 48); 24 Nov 2015 17:30:19 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68513] [5/6 Regression] ICE in gimplify_expr, at gimplify.c:8832, c_maybe_const_expr in IL Date: Tue, 24 Nov 2015 17: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: 5.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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02650.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68513 --- Comment #6 from Marek Polacek --- A slightly different, but equivalent testcase: int i; unsigned u; volatile unsigned int *e; void fn1 (void) { (short) ((i ? *e : 0) & ~u | i & u); } >>From gcc-bugs-return-503724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:31:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97448 invoked by alias); 24 Nov 2015 17:31: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 97345 invoked by uid 48); 24 Nov 2015 17:31:53 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68432] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947 Date: Tue, 24 Nov 2015 17:31: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02651.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68432 --- Comment #9 from rsandifo at gcc dot gnu.org --- Just as an update: the series is now tested and hopefully ready to post. I just need to clear a few things first. >>From gcc-bugs-return-503725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:35:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109853 invoked by alias); 24 Nov 2015 17:35: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 109818 invoked by uid 48); 24 Nov 2015 17:35:37 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68512] Non-deterministic behavior from gcc Date: Tue, 24 Nov 2015 17:35: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: 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: 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: 2015-11/txt/msg02652.txt.bz2 Content-length: 368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68512 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID --- Comment #3 from Andrew Pinski --- =2E >>From gcc-bugs-return-503726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:43:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18861 invoked by alias); 24 Nov 2015 17:43: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 18817 invoked by uid 48); 24 Nov 2015 17:43:29 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68449] ICE in cxx_eval_constant_expression on atomic_load in C++ Date: Tue, 24 Nov 2015 17: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: 6.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: 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: 2015-11/txt/msg02653.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68449 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Ever confirmed|0 |1 >>From gcc-bugs-return-503727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:45:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23676 invoked by alias); 24 Nov 2015 17:45: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 23374 invoked by uid 48); 24 Nov 2015 17:45:29 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Tue, 24 Nov 2015 17:45: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02654.txt.bz2 Content-length: 1623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #29 from Joost VandeVondele --- (In reply to Thomas Koenig from comment #27) > (In reply to Joost VandeVondele from comment #22) > If the compiler turns out not to be reasonably smart, file a bug report := -) what is needed for large matrices (in my opinion) is some simple loop tilin= g, as can, in principle, be achieved with graphite : this is my PR14741 Good vectorization, which gcc already does well, just requires the proper compiler options for the matmul implementation, i.e. '-O3 -march=3Dnative -ffast-math'. However, this would require the Fortran runtime to be compiled with such options, or at least a way to provide specialized (avx2 etc) routines. There is however the related PR (inner loop of matmul) : PR25621, where some unusual flag combo helps (-fvariable-expansion-in-unroller -funroll-loops) I think external blas and inlining of small matmuls are good things, but I would expect the default library implementation to reach at least 50% of pe= ak (for e.g. a 4000x4000 matrix), which is not all that hard. Actually, would = be worth an experiment, but a Fortran loop nest which implements a matmul comp= iled with ifort would presumably reach that or higher :-). These slides show how to reach 90% of peak: http://wiki.cs.utexas.edu/rvdg/HowToOptimizeGemm/ the code actually is not too ugly, and I think there is no need for the explicit vector intrinsics with gcc. I believe I had once a bug report open for small matrices, but this might h= ave been somewhat fixed in the meanwhile. >>From gcc-bugs-return-503728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:46:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24648 invoked by alias); 24 Nov 2015 17:46: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 24557 invoked by uid 48); 24 Nov 2015 17:46:03 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68437] [concepts] fold expression, pack expansion, and deduced constraint requirement Date: Tue, 24 Nov 2015 17:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.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: bug_status cf_reconfirmed_on blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02655.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68437 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Blocks| |67491 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-503729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:48:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78167 invoked by alias); 24 Nov 2015 17:48: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 78075 invoked by uid 48); 24 Nov 2015 17:48:23 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68434] [concepts] ICE: same canonical type node for different types Date: Tue, 24 Nov 2015 17: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.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: bug_status cf_reconfirmed_on blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02656.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68434 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Blocks| |67491 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-503730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:49:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89293 invoked by alias); 24 Nov 2015 17:49: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 89184 invoked by uid 48); 24 Nov 2015 17:49:53 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68429] [concepts] ICE in in placeholder_extract_concept_and_args, at cp/constraint.cc:1401 Date: Tue, 24 Nov 2015 17: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.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: bug_status cf_reconfirmed_on cc blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02657.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68429 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |paolo.carlini at oracle do= t com Blocks| |67491 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-503731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:52:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97655 invoked by alias); 24 Nov 2015 17:52: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 97611 invoked by uid 48); 24 Nov 2015 17:52:00 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68411] Error in template instantiation, cause recursive template reference. Date: Tue, 24 Nov 2015 17: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: 5.2.0 X-Bugzilla-Keywords: 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: 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: 2015-11/txt/msg02658.txt.bz2 Content-length: 300 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68411 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal >>From gcc-bugs-return-503733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:53:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107976 invoked by alias); 24 Nov 2015 17:53: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 107858 invoked by uid 48); 24 Nov 2015 17:53:23 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68394] [concepts] segfault in valid code Date: Tue, 24 Nov 2015 17: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: 6.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: bug_status cf_reconfirmed_on blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02660.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68394 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Blocks| |67491 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-503732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 17:53:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106959 invoked by alias); 24 Nov 2015 17:53:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106857 invoked by uid 48); 24 Nov 2015 17:53:00 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68395] [concepts] segfault in valid code Date: Tue, 24 Nov 2015 17: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: 6.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: bug_status cf_reconfirmed_on blocked everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02659.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68395 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 Blocks| |67491 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 [Bug 67491] [meta-bug] concepts issues >>From gcc-bugs-return-503736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:02:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3599 invoked by alias); 24 Nov 2015 18:02: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 3518 invoked by uid 48); 24 Nov 2015 18:02:22 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67984] [GRAPHITE] internal compiler error: isl_ctx freed, but some objects still reference it Date: Tue, 24 Nov 2015 18: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop 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 cf_known_to_work resolution 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: 2015-11/txt/msg02663.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67984 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Known to work| |6.0 Resolution|--- |FIXED Known to fail| |5.2.1 --- Comment #4 from Sebastian Pop --- Fixed in trunk gcc 6.0 at r230826. >>From gcc-bugs-return-503737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:02:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4316 invoked by alias); 24 Nov 2015 18:02: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 3905 invoked by uid 48); 24 Nov 2015 18:02:28 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68388] incomplete type bug when using decltype Date: Tue, 24 Nov 2015 18: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: 6.0 X-Bugzilla-Keywords: 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: 2015-11/txt/msg02664.txt.bz2 Content-length: 199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68388 --- Comment #1 from Paolo Carlini --- This again compiles fine. I'm going to add a testcase and close the bug. >>From gcc-bugs-return-503734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:02:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1844 invoked by alias); 24 Nov 2015 18:02: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 1732 invoked by uid 48); 24 Nov 2015 18:01:58 -0000 From: "nsz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68059] [arm] libgcc uses __write to report error Date: Tue, 24 Nov 2015 18:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nsz at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg02661.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68059 nsz at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.3 --- Comment #5 from nsz at gcc dot gnu.org --- fixed in r230820 (branch 5) and r230762 (mainline) >>From gcc-bugs-return-503735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:02:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1996 invoked by alias); 24 Nov 2015 18:02: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 1770 invoked by uid 55); 24 Nov 2015 18:01:58 -0000 From: "nenad at intrepid dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 18: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nenad at intrepid 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: 2015-11/txt/msg02662.txt.bz2 Content-length: 2268 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #6 from Nenad Vukicevic --- On 11/24/15 9:27 AM, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 >=20 > --- Comment #5 from Dominique d'Humieres --- >> We are getting a similar issue while linking a program with GCC and >> without '-flto' switch. We enable 'lto' when configuring languages, >> which in turn enables post ld processing inside collect2. This was done >> as part of the bug #61352 patch. >=20 > I am not sure to understand the comment. Do you mean that your build is > configured to use '-flto' by default? Do you have a non-fortran reproduce= r? If > yes, could you please post it? >=20 No, we configured for 'lto' with '--enable-languages' option, but do not use it, no '-flto' on any of the compiled objects. However, collect2 tries to find all the objects compiled with lto, it does not find any, and calls 'post_ld_pass (true)' which executes 'dsymutil'. This was the code that was added in the specified patch, lines 819-820 of collect2.c. If you configure without LTO you will not see the problem as 'dsymutil' is not getting called. If you look at the calls of procedure 'post_ld_pass()' (which calls dsymutil), I think it calls dsymutil only if true is passed in and debugging is enabled: 807: post_ld_pass (true); <--- LTO enabled, has LTO compiled objects (Fortran test issue) 814: post_ld_pass (false); <--- LTO enabled, no LTO objects, force linking 820: post_ld_pass (true); <--- LTO enabled, NO LTO objects (My issue) post_ld_pass (false); post_ld_pass (false); post_ld_pass (false); Maybe line 820 should pass 'false' as this is the case similar to LTO not being enabled? I think the problem is in the symbols we generate, or the tool itself, and this issue shows up only if you have LTO enabled. I can provide the object file that has problems and this might be enough if someone builds LLVM on Apple and tries llvm-dsymutil tool on it. This should be the same tool as Apple's dsymutil, if we can duplicate the problem then we can debug it. >>From gcc-bugs-return-503739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:17:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68147 invoked by alias); 24 Nov 2015 18:17:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68116 invoked by uid 48); 24 Nov 2015 18:17:43 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68388] incomplete type bug when using decltype Date: Tue, 24 Nov 2015 18: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: 6.0 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: 6.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: 2015-11/txt/msg02666.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68388 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #3 from Paolo Carlini --- Done. >>From gcc-bugs-return-503738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:17:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66564 invoked by alias); 24 Nov 2015 18:17: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 66353 invoked by uid 55); 24 Nov 2015 18:16:58 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68388] incomplete type bug when using decltype Date: Tue, 24 Nov 2015 18: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo 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: 2015-11/txt/msg02665.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68388 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Nov 24 18:16:26 2015 New Revision: 230827 URL: https://gcc.gnu.org/viewcvs?rev=3D230827&root=3Dgcc&view=3Drev Log: 2015-11-24 Paolo Carlini PR c++/68388 * g++.dg/cpp1y/pr68388.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr68388.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:30:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100261 invoked by alias); 24 Nov 2015 18:30: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 100082 invoked by uid 55); 24 Nov 2015 18:30:35 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68278] internal compiler error with C++14 polymorphic lambda and type alias Date: Tue, 24 Nov 2015 18: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo 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: 2015-11/txt/msg02667.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68278 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Nov 24 18:30:02 2015 New Revision: 230828 URL: https://gcc.gnu.org/viewcvs?rev=3D230828&root=3Dgcc&view=3Drev Log: 2015-11-24 Paolo Carlini PR c++/68278 * g++.dg/cpp1y/pr68278.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr68278.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:31:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101688 invoked by alias); 24 Nov 2015 18:31: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 101588 invoked by uid 48); 24 Nov 2015 18:31:22 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68278] internal compiler error with C++14 polymorphic lambda and type alias Date: Tue, 24 Nov 2015 18: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: 5.2.0 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: 5.3 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: 2015-11/txt/msg02668.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68278 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.3 --- Comment #4 from Paolo Carlini --- Done. >>From gcc-bugs-return-503742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:38:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120745 invoked by alias); 24 Nov 2015 18:38: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 120656 invoked by uid 48); 24 Nov 2015 18:38:24 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68252] [5 regression] left operand of shift expression, while we shift > 0 integer Date: Tue, 24 Nov 2015 18: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: 5.2.1 X-Bugzilla-Keywords: rejects-valid 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: keywords short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02669.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68252 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|wrong-code |rejects-valid Summary|regiression left operand of |[5 regression] left operand |shift expression, while we |of shift expression, while |shift > 0 integer |we shift > 0 integer --- Comment #3 from Paolo Carlini --- Mainline is fine, anyway. >>From gcc-bugs-return-503743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:43:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34500 invoked by alias); 24 Nov 2015 18:43: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 34437 invoked by uid 48); 24 Nov 2015 18:43:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67089] [4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64 Date: Tue, 24 Nov 2015 18: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: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor 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: 4.9.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: 2015-11/txt/msg02670.txt.bz2 Content-length: 385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67089 --- Comment #6 from Jakub Jelinek --- Created attachment 36830 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36830&action=3Dedit gcc6-pr67089.patch Untested patch for matching hand written unsigned addition/subtraction over= flow checks as {ADD,SUB}_OVERFLOW if target has u{add,sub}v4 optabs. >>From gcc-bugs-return-503744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 18:59:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11809 invoked by alias); 24 Nov 2015 18:59: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 11744 invoked by uid 55); 24 Nov 2015 18:59:00 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02671.txt.bz2 Content-length: 724 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #10 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Nov 24 18:58:28 2015 New Revision: 230832 URL: https://gcc.gnu.org/viewcvs?rev=3D230832&root=3Dgcc&view=3Drev Log: 2015-11-24 Steven G. Kargl PR fortran/68486 * simplify.c (gfc_simplify_cshift): Allow all EXPR_*. 2015-11-24 Steven G. Kargl PR fortran/68486 * gfortran.dg/simplify_cshift_3.f90 Added: trunk/gcc/testsuite/gfortran.dg/pr68227.f90 trunk/gcc/testsuite/gfortran.dg/simplify_cshift_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:00:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14054 invoked by alias); 24 Nov 2015 19:00: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 13957 invoked by uid 48); 24 Nov 2015 18:59:57 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 19:00: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02672.txt.bz2 Content-length: 114 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #11 from kargl at gcc dot gnu.org --- Unreopen. >>From gcc-bugs-return-503746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:07:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41258 invoked by alias); 24 Nov 2015 19:07: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 41192 invoked by uid 48); 24 Nov 2015 19:07:44 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 19: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02673.txt.bz2 Content-length: 204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #12 from Dominique d'Humieres --- > Added: > trunk/gcc/testsuite/gfortran.dg/pr68227.f90 Is it intended? >>From gcc-bugs-return-503747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:21:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20451 invoked by alias); 24 Nov 2015 19:21: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 20389 invoked by uid 48); 24 Nov 2015 19:21:39 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68416] [MPX] GCC emits a lot of redundant bndmov instructions Date: Tue, 24 Nov 2015 19: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 2015-11/txt/msg02674.txt.bz2 Content-length: 1705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68416 Vladimir Makarov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at gcc dot gnu.org --- Comment #3 from Vladimir Makarov --- The first I thought it is a LRA inheritance bug but after more thorough analysis I found that the problem comes from IRA. IRA never assigns BND ha= rd registers to pseudos because it never assigns BNDREGS class to pseudos. Af= ter some investigation I found that ALL_REGS does not contain BNDREGS. IRA sta= rts with ALL_REGS and uses narrow reg class if the mode is prohibited for some = hard registers. That is why class BNDREGS is never used for pseudos. The following patch solves the problem: Index: config/i386/i386.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- config/i386/i386.h (revision 230664) +++ config/i386/i386.h (working copy) @@ -1457,7 +1457,7 @@ enum reg_class { 0x1ff1ffff,0xffffffe0, 0x1f }, /* FLOAT_INT_SSE_REGS */ \ { 0x0, 0x0, 0x1fc0 }, /* MASK_EVEX_REGS */ \ { 0x0, 0x0, 0x1fe0 }, /* MASK_REGS */ \ -{ 0xffffffff,0xffffffff, 0x1fff } \ +{ 0xffffffff,0xffffffff,0x1ffff } \ } /* The same information, inverted: Please, submit the patch to the trunk. >>From gcc-bugs-return-503748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:24:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39027 invoked by alias); 24 Nov 2015 19:24: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 38967 invoked by uid 48); 24 Nov 2015 19:24:48 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68521] [6.0 regression] ICE on valid code Date: Tue, 24 Nov 2015 19:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 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 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: 2015-11/txt/msg02675.txt.bz2 Content-length: 3197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68521 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |rsandifo at gcc dot gnu.org Component|fortran |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- The ICE appeared between revisions r228586 (2015-10-07, compiles) and r2286= 78 (2015-10-10, ICE). The test compiles with -O1 but not with -O2. Backtrace Program received signal SIGSEGV, Segmentation fault. gimple_stmt_nonnegative_warnv_p (stmt=3D, strict_overflow_p=3D, depth=3D) at ../../_clean/gcc/gimple-fold.c:6251 6251 switch (gimple_code (stmt)) (gdb) bt #0 gimple_stmt_nonnegative_warnv_p (stmt=3D, strict_overflow_p=3D, depth=3D) at ../../_clean/gcc/gimple-fold.c:6251 #1 0x000000010068ee65 in tree_expr_nonnegative_p (t=3D) at ../../_clean/gcc/fold-const.c:13182 #2 0x00000001001e4948 in generic_simplify (loc=3D, code=3D, type=3D, op0=3D) at generic-match.c:6639 #3 0x000000010069f244 in fold_unary_loc (loc=3D, code=3D, type=3D, op0=3D) at ../../_clean/gcc/fold-const.c:7625 #4 0x00000001006a072a in fold_build1_stat_loc (loc=3D, code=3D, type=3D, op0=3D) at ../../_clean/gcc/fold-const.c:12288 #5 0x00000001009c7aaf in gimplify_build1 (gsi=3D, code=3D, type=3D, a=3D) at ../../_clean/gcc/tree-cfg.c:8475 #6 0x00000001009d7ca0 in tree_lower_complex () at ../../_clean/gcc/tree-complex.c:1113 #7 0x00000001009d8b62 in ?? () at ../../_clean/gcc/tree-complex.c:1723 #8 0x00000001008c390f in execute_one_pass (pass=3D) at ../../_clean/gcc/passes.c:2335 #9 0x00000001008c3f28 in execute_pass_list_1 (pass=3D) at ../../_clean/gcc/passes.c:2408 #10 0x00000001008c3f3a in execute_pass_list_1 (pass=3D) at ../../_clean/gcc/passes.c:2409 #11 0x00000001008c3f8d in execute_pass_list (fn=3D, pass=3D) at ../../_clean/gcc/passes.c:2419 #12 0x000000010057a266 in cgraph_node::expand (this=3D) at ../../_clean/gcc/cgraphunit.c:1965 #13 0x000000010057ba0f in symbol_table::compile (this=3D) at ../../_clean/gcc/cgraphunit.c:2101 #14 0x000000010057daa4 in symbol_table::finalize_compilation_unit (this=3D) at ../../_clean/gcc/cgraphunit.c:2514 #15 0x000000010098fb4e in compile_file () at ../../_clean/gcc/toplev.c:489 #16 0x0000000100d8b983 in ?? () #17 0x0000000100d8d349 in main (argc=3D3, argv=3D0x7fff5fbff300) at ../../_clean/gcc/main.c:39 Revision r228614? >>From gcc-bugs-return-503749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:40:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113877 invoked by alias); 24 Nov 2015 19:40: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 113776 invoked by uid 55); 24 Nov 2015 19:40:40 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 19: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02676.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #13 from Steve Kargl = --- On Tue, Nov 24, 2015 at 07:07:44PM +0000, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 >=20 > --- Comment #12 from Dominique d'Humieres --- > > Added: > > trunk/gcc/testsuite/gfortran.dg/pr68227.f90 >=20 > Is it intended? >=20 Of course, not. Hmmm, seems I fat-fingered commit. % svn commit gcc/fortran/ChangeLog gcc/fortran/simplify.c \ gcc/testsuite/gfortran.dg/simplify_cshift_3.f90 gcc/testsuite/ Not sure how the gcc/testsuite got on the end. Oh well, the testcase won't hurt anything. >>From gcc-bugs-return-503750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:43:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128364 invoked by alias); 24 Nov 2015 19:43: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 128300 invoked by uid 55); 24 Nov 2015 19:43:18 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 24 Nov 2015 19: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 2015-11/txt/msg02677.txt.bz2 Content-length: 1295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #25 from ro at CeBiTec dot Uni-Bielefeld.DE --- > Ok, I'll dig up the details later today. It may well be related to a > command line tools upgraded corresponding to Xcode 7.x. Here's what I found: in stage2, linking gcj fails with ld: in ../libiberty/libiberty.a(make-temp-file.o), in section __TEXT,__text reloc 17: unsupported r_length=3D0 for scattered vanilla reloc for architec= ture i386 collect2: error: ld returned 1 exit status make[3]: *** [gcj] Error 1 ld is @(#)PROGRAM:ld PROJECT:ld64-253.6 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS) LTO support using: Apple LLVM 7.0.0 (clang-700.1.76) on Darwin llaima.fritz.box 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:43:59 PST 2015; root:xnu-3248.20.55~1/RELEASE_X86_64 x86_64 otool -r shows build/libiberty/make-temp-file.o: Relocation information (__TEXT,__text) 54 entries address pcrel length extern type scattered symbolnum/value [...] 00000257 0 0 n/a 0 1 0x000003c0 which is (with -rv) 00000257 False byte n/a VANILLA True 0x000003c0 No idea what ld is complaining about here, though. Rainer >>From gcc-bugs-return-503751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:48:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21179 invoked by alias); 24 Nov 2015 19:48: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 21077 invoked by uid 48); 24 Nov 2015 19:48:20 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 19:48: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02678.txt.bz2 Content-length: 503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #14 from Dominique d'Humieres --- > Not sure how the gcc/testsuite got on the end. Oh well, the > testcase won't hurt anything. [Book15] f90/bug% gfca /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr68227.f90 /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr68227.f90:21:0: forall (i=3D1:n) y(i)%a =3D x internal compiler error: in gfc_do_allocate, at fortran/trans-stmt.c:3130 without your fix for pr68227. >>From gcc-bugs-return-503752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 19:51:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25822 invoked by alias); 24 Nov 2015 19: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 25396 invoked by uid 48); 24 Nov 2015 19:51:50 -0000 From: "mrs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 24 Nov 2015 19: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mrs 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: 2015-11/txt/msg02679.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 mrs at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrs at gcc dot gnu.org --- Comment #26 from mrs at gcc dot gnu.org --- Are there any symbols in .text? If so, this is wrong. All symbols have to have 1 or more bytes after them. This is just how the ABI is. The creator= of a symbol with no content after is needs to be fixed, if so. gcc_unreablabl= e is one way to zap things so that there is no nop. >>From gcc-bugs-return-503753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:07:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61351 invoked by alias); 24 Nov 2015 20:07:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61295 invoked by uid 55); 24 Nov 2015 20:07:34 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Tue, 24 Nov 2015 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02680.txt.bz2 Content-length: 909 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #15 from Steve Kargl = --- On Tue, Nov 24, 2015 at 07:48:19PM +0000, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 >=20 > --- Comment #14 from Dominique d'Humieres --- > > Not sure how the gcc/testsuite got on the end. Oh well, the > > testcase won't hurt anything. >=20 > [Book15] f90/bug% gfca /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr68227.= f90 > /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr68227.f90:21:0: >=20 > forall (i=3D1:n) y(i)%a =3D x >=20 >=20 > internal compiler error: in gfc_do_allocate, at fortran/trans-stmt.c:3130 >=20 > without your fix for pr68227. >=20 Of course. As I stated, it won't hurt anything. FAILs in the testsuite are not a problem. The issue with EXPR_FUNCTION and cshift is a problem. >>From gcc-bugs-return-503754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:07:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62115 invoked by alias); 24 Nov 2015 20:07: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 61752 invoked by uid 48); 24 Nov 2015 20:07:41 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2015-11/txt/msg02681.txt.bz2 Content-length: 2481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #7 from Iain Sandoe --- (In reply to Nenad Vukicevic from comment #6) > On 11/24/15 9:27 AM, dominiq at lps dot ens.fr wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 I suspect we have two issues here: > Maybe line 820 should pass 'false' as this is the case similar to LTO > not being enabled? That seems reasonable a first blush, we should _not_ call dsymutil for gcc foo.o bar.o -g -o t And we plainly do.. The purpose of dsymutil on the link line is to preserve debug info from temporary files. so for: gcc foo.c -g -o t /tmp/blah-foo.o is created and used to link "t"=20 ... but t doesn't contain the debug info (only references to the .o files) = and the (/tmp) .o files will be deleted at the end of the link. Step in dsymut= il which links the debug info into a t.dSYM .. and we're all happy. Normally for gcc foo.o bar.o -g -o t there is no need for dsymutil because foo.o and bar.o (which contain the de= bug data) will be available after the link. In the case of an lto link: gcc foo.o bar.o -flto -g -o t now we have a situation where, if foo.o, bar.o (or both) contain lto data t= his will be linked - and then the compiler will run generating a /tmp/lto-blah.o based on the lto'd input. This temp file will be deleted one the final lin= k is done - and we'd be back to losing debug info. So we have it run dsymutil if we're doing lto, and a temporary file is crea= ted. We seem to have the logic wrong / insufficient so that it is getting run wh= en there is no (apparent) need. ---- I's not immediately obvious that clang is DTRT if it doesn't run dsymutil f= or the same scenario (but let's leave that to one side for now). ---- > I think the problem is in the symbols we generate, or the tool itself, > and this issue shows up only if you have LTO enabled. I can provide the > object file that has problems and this might be enough if someone builds > LLVM on Apple and tries llvm-dsymutil tool on it. This should be the > same tool as Apple's dsymutil, if we can duplicate the problem then we > can debug it. So I agree, the root problem is that we are creating something that the new= er version of dsymutil doesn't understand - it could be we're making a mistake= or new dsymutil could be still green. I've got a TOT clang build and will investigate a bit. What happens if you do a clang link and then do "dsymutil result"? >>From gcc-bugs-return-503755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:10:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70516 invoked by alias); 24 Nov 2015 20:09: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 70442 invoked by uid 48); 24 Nov 2015 20:09:53 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 20:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02682.txt.bz2 Content-length: 5777 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #4 from Josh Triplett --- (In reply to Tom Tromey from comment #3) > (In reply to Josh Triplett from comment #2) >=20 > > > The attribute syntax in the test case doesn't work with gcc. The att= ributes > > > on the function definitions can't appear at the end. > >=20 > > Placing attributes at the end of the function definition works with Spa= rse, > > and as far as I can tell with GCC as well. The Linux kernel uses trail= ing > > attributes on functions (both prototypes and definitions) fairly freque= ntly, > > including with the context attribute. >=20 > Experimentally it works with function declarations but not function > definitions. > There was some reason for this (ambiguity with K&R style?), but I forget > exactly. >=20 > void declaration(void) __attribute__((const)); >=20 > void definition(void) __attribute__((const)) > { > } >=20 > pokyo. gcc --syntax-only q.c > q.c:3:1: error: attributes should be specified before the declarator in a > function definition > void definition(void) __attribute__((const)) > ^ OK, that explains a lot. The kernel extensively uses trailing attributes on declarations, but a more careful look shows that the *only* trailing attrib= utes used in definitions appear via macros that only have non-empty definitions = for Sparse. And Sparse parses those just fine. Unfortunate, and I'd love to see GCC handle trailing attributes (does a bug already exist for that somewhere?), but not something that should block *th= is* feature. (As a vaguely related aside, how does GCC disambiguate whether an attribute preceding the function declaration or definition applies to the return type= or to the function? I really hope that doesn't depend on the specific attribu= te.) > > In general, it seems useful to have the ability to reference argument n= ames > > in attributes on a function. For instance, imagine using argument names > > rather than indexes for the printf attribute or another attribute like = it. >=20 > Yeah, I agree. >=20 > > The context attribute, though, wants something more complex than that: = the > > ability to provide expressions based on those arguments, such as arg->l= ock.=20 > > That does seem like a tall order. >=20 > Ok, it wasn't clear to me exactly what the meaning of that argument was. > From the original text here it seemed like it would just be a plain name. > So, that's something to nail down. I looked at sparse's test suite but > it doesn't test this construct. Because Sparse doesn't actually do anything with that argument yet other th= an parse it. :) The theory was that Sparse would associate locks with actual objects, and m= atch them up. (And/or feed that information into a runtime checker.) But since Sparse doesn't have the necessary semantic analysis to check if two express= ions refer to the same object, and probably never will, that didn't happen. GCC, on the other hand, has alias analysis and similar. It doesn't seem too ridiculous for GCC to detect that arg->lock in two successive function calls refers to the same location. > > So I suspect it may make sense to run this after inlining, specializati= on, > > dead-code elimination, and similar. >=20 > One difficulty in this case is choosing how to represent __context__. > My hack makes it a const function, and the value is never used, so gcc > is free to just drop all the calls to it. But the further back in > the pipeline the new pass is added, the harder it is to preserve this. >=20 > It would be simpler for the plugin if __context__ were instead another > attribute on a different set of functions. I don't know how hard this > is on the kernel end though. Well, on the one hand, the compiler-specific header files could easily enou= gh provide a different definition for Sparse and GCC. On the other hand, it s= eems unfortunate if the syntax doesn't actually match Sparse. On the third hand, very few users exist *outside* the kernel, and Sparse could potentially sup= port a new syntax as well. Could you represent __context__ as a new GCC builtin? Would that make this= any easier? Sparse actually tracks context as a property of basic blocks. > > I don't mind the use of Python, though I wonder how easily such a script > > could work by default. Given this script, how do you invoke GCC and ru= n it? > > How much stability does this interface provide? Could the Linux kernel= ship > > such a script and invoke it as part of the compile, given some dependen= cy > > checks (and likely a Kconfig option if it increases build time > > significantly)? >=20 > One nice thing about Python is that because it is so dynamic, it's reason= ably > easy to make it adapt to different versions of gcc-python-plugin, if need= ed. >=20 > Running it is easy. The "gcc-with-python2" wrapper script is just a > single line: >=20 > ${CC:-gcc} -fplugin=3Dpython2 -fplugin-arg-python2-script=3D$@ >=20 > So, it's really just adding a couple of options to the command line. >=20 > It wouldn't be completely nuts to just put the whole gcc-python-plugin so= urce > into the tree. It also wouldn't be too hard to just recode this plugin > in C++. I don't think it makes sense to put all of gcc-python-plugin into Linux. A= nd from what I can tell, distribution packages typically ship this separately = (if they ship it at all; AFAICT Debian only ships gcc-python3-plugin). So, I suspect the unfortunate answer is that Linux would probably want to s= hip the plugin as C/C++ and build it at build time if enabled. (Or we could integrate this functionality into GCC itself.) But despite that, Python se= ems like a great way to prototype it while we nail down the semantics more precisely. >>From gcc-bugs-return-503756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:31:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85804 invoked by alias); 24 Nov 2015 20:31: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 85711 invoked by uid 48); 24 Nov 2015 20:31:02 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2015-11/txt/msg02683.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #8 from Iain Sandoe --- (In reply to Iain Sandoe from comment #7) > > Maybe line 820 should pass 'false' as this is the case similar to LTO > > not being enabled? >=20 > That seems reasonable a first blush, we should _not_ call dsymutil for I made this change on gcc-5.2.1 and it appears to DTRT (I think we need to = find the original PR that got this introduced, and check we're not missing some corner-case tho). >>From gcc-bugs-return-503757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:37:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107472 invoked by alias); 24 Nov 2015 20:37: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 107387 invoked by uid 48); 24 Nov 2015 20:37:08 -0000 From: "pageexec at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 20: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pageexec at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02684.txt.bz2 Content-length: 1469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #5 from PaX Team --- (In reply to Josh Triplett from comment #4) > (In reply to Tom Tromey from comment #3) > (As a vaguely related aside, how does GCC disambiguate whether an attribu= te > preceding the function declaration or definition applies to the return ty= pe > or to the function? I really hope that doesn't depend on the specific > attribute.) AFAIK, you can't put an attribute on the return type, it'll be interpreted = as a function attribute instead (and on definitions you can't place them after t= he function arguments). the only way to put attrs on the return type is via a typedef. > Could you represent __context__ as a new GCC builtin? Would that make th= is > any easier? it can be a builtin or just a regular function declaration, the latter is e= asy to create from a plugin too. > So, I suspect the unfortunate answer is that Linux would probably want to > ship the plugin as C/C++ and build it at build time if enabled. (Or we c= ould > integrate this functionality into GCC itself.) since PaX already has a checker plugin i subscribed to this bug a while ago= but completely forgot about it until now ;P. in any case, i've begun to work on this along a somewhat different angle: instead of adding completely new machinery to detect context imbalances i'd like to reuse existing gcc passe= s to compute this property, we'll see how it goes. >>From gcc-bugs-return-503758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:38:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109496 invoked by alias); 24 Nov 2015 20:38: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 109470 invoked by uid 48); 24 Nov 2015 20:38:49 -0000 From: "kelvin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68523] New: CFG Expansion Computes Incorrect Block Frequencies for Nested Loops Date: Tue, 24 Nov 2015 20:38: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: unknown 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: 2015-11/txt/msg02685.txt.bz2 Content-length: 2170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68523 Bug ID: 68523 Summary: CFG Expansion Computes Incorrect Block Frequencies for Nested Loops Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: kelvin at gcc dot gnu.org Target Milestone: --- With a debug version of gcc, compile the following program with the command-line options: -S -O3 -fno-tree-vectorize -da void foo(double *d, unsigned long int n) { unsigned long int i, j; for (j =3D 0; j < 10000002; j++) { for (i=3D0;i B2(100%) B2:9 -> B4(100%) B4:9 -> B7(100%) B7:900 -> B5(100%) B5:9100 -> B5(91%); B6(9%) B6:900 -> B7(99%); B9(1%) B9:9 -> EXIT(100%) EXIT:9 There are several inconsistencies in the reported frequencies. Note that the predecessors of B5 have combined frequency 900 + 91% of 9100 = =3D 900 + 8281 =3D 9181 which does not equal the frequency of B5 (9100). Also, note that predecessors of B6 have combined frequency 9% of 9100 =3D 8= 19, which does not equal 900, the frequency of B6. To correct the error, block B5 should have frequency 10,000. The value 10,= 000 can be computed by dividing 900, the combined frequency of edges entering t= his run-time bounded loop, by 0.09. Dividing by this magic number 0.09 corresp= onds to the heuristic that each conditional exit from a loop whose iteration bou= nds are determined at run-time has probability 9% of exiting the loop and 91% of remaining inside the loop. >>From gcc-bugs-return-503759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:40:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111562 invoked by alias); 24 Nov 2015 20:40:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111489 invoked by uid 55); 24 Nov 2015 20:40:42 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68196] [4.9/5 Regression] ICE on function result with procedure pointer component Date: Tue, 24 Nov 2015 20: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: 4.9.3 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02686.txt.bz2 Content-length: 1496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68196 --- Comment #5 from Paul Thomas --- Author: pault Date: Tue Nov 24 20:40:10 2015 New Revision: 230839 URL: https://gcc.gnu.org/viewcvs?rev=3D230839&root=3Dgcc&view=3Drev Log: 2015-11-24 Paul Thomas Backport from trunk. PR fortran/68196 * class.c (has_finalizer_component): Prevent infinite recursion through this function if the derived type and that of its component are the same. * trans-types.c (gfc_get_derived_type): Do the same for proc pointers by ignoring the explicit interface for the component. PR fortran/66465 * check.c (same_type_check): If either of the expressions is BT_PROCEDURE, use the typespec from the symbol, rather than the expression. 2015-11-24 Paul Thomas Backport from trunk. PR fortran/68196 * gfortran.dg/proc_ptr_47.f90: New test. Backport from trunk. PR fortran/66465 * gfortran.dg/pr66465.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr66465.f90 branches/gcc-5-branch/gcc/testsuite/gfortran.dg/proc_ptr_47.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/check.c branches/gcc-5-branch/gcc/fortran/class.c branches/gcc-5-branch/gcc/fortran/trans-types.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:40:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111573 invoked by alias); 24 Nov 2015 20:40: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 111492 invoked by uid 55); 24 Nov 2015 20:40:42 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66465] Procedure pointer component & non-component interpreted as different type or kind Date: Tue, 24 Nov 2015 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2015-11/txt/msg02687.txt.bz2 Content-length: 1496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66465 --- Comment #4 from Paul Thomas --- Author: pault Date: Tue Nov 24 20:40:10 2015 New Revision: 230839 URL: https://gcc.gnu.org/viewcvs?rev=3D230839&root=3Dgcc&view=3Drev Log: 2015-11-24 Paul Thomas Backport from trunk. PR fortran/68196 * class.c (has_finalizer_component): Prevent infinite recursion through this function if the derived type and that of its component are the same. * trans-types.c (gfc_get_derived_type): Do the same for proc pointers by ignoring the explicit interface for the component. PR fortran/66465 * check.c (same_type_check): If either of the expressions is BT_PROCEDURE, use the typespec from the symbol, rather than the expression. 2015-11-24 Paul Thomas Backport from trunk. PR fortran/68196 * gfortran.dg/proc_ptr_47.f90: New test. Backport from trunk. PR fortran/66465 * gfortran.dg/pr66465.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr66465.f90 branches/gcc-5-branch/gcc/testsuite/gfortran.dg/proc_ptr_47.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/check.c branches/gcc-5-branch/gcc/fortran/class.c branches/gcc-5-branch/gcc/fortran/trans-types.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 20:56:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120866 invoked by alias); 24 Nov 2015 20:56: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 120787 invoked by uid 55); 24 Nov 2015 20:56:10 -0000 From: "nenad at intrepid dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nenad at intrepid 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: 2015-11/txt/msg02688.txt.bz2 Content-length: 1309 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #9 from Nenad Vukicevic --- On 11/24/15 12:07 PM, iains at gcc dot gnu.org wrote: > So I agree, the root problem is that we are creating something that the n= ewer > version of dsymutil doesn't understand - it could be we're making a mista= ke or > new dsymutil could be still green. I tried to run Clang's llvm-dsymutil form the locally built clang tools. Fails the same way. And the error is coming from this routine: 124 /// Interpret the STAB entries to fill the DebugMap. 125 void MachODebugMapParser::handleStabSymbolTableEntry(uint32_t > What happens if you do a clang link and then do "dsymutil result"? Linking with clang and "dsymutil result" produces similar results - 'failed to insert symbol' messages. But then it complains on lots of object files as it cannot find them. I checked the clang code (and some logs) and clang does NOT call dsymutil for our case. Note that we are compiling through a fairly complex UPC driver, part of Berkeley UPC toolset, and we get this warnings only if our back-end compiler is GCC from our GNU UPC branch (which is in sync with the trunk). Using Clang as back-end compiler does not produce warning as they do not run the tool at the and - linking phase. >>From gcc-bugs-return-503762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 21:10:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10313 invoked by alias); 24 Nov 2015 21:10: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 10238 invoked by uid 48); 24 Nov 2015 21:10:37 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 21: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey 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: 2015-11/txt/msg02689.txt.bz2 Content-length: 2056 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #6 from Tom Tromey --- (In reply to Josh Triplett from comment #4) > Unfortunate, and I'd love to see GCC handle trailing attributes (does a b= ug > already exist for that somewhere?), but not something that should block > *this* > feature. Offhand I don't know if there is a bug covering this. > (As a vaguely related aside, how does GCC disambiguate whether an attribu= te > preceding the function declaration or definition applies to the return ty= pe > or > to the function? I really hope that doesn't depend on the specific > attribute.) It does, see the various *_required fields in struct attribute_spec (tree-core.h). It's worse than you think, as I believe a given attribute handler can decide where to put the attribute based on any criteria it likes. > Could you represent __context__ as a new GCC builtin? Would that make th= is > any > easier? It's basically the same thing. One idea might be not to make the function const; then have the pass rip out the calls to it. However then you might have a situation where these calls formerly interfered with some optimization, meaning that their presence did affect code generation. I don't really know if this is possible. > Sparse actually tracks context as a property of basic blocks. I was thinking this might be doable but I don't really know how gcc handles basic block coalescing -- if two blocks are merged we'd want to ensure that the resulting block ends up with the correct context property. It might help to see exactly where __context__ is used in real code. > (if > they ship it at all; AFAICT Debian only ships gcc-python3-plugin). The version of python doesn't matter much. For people whose distro doesn't package gcc-python-plugin, it is simple to build; just git clone + make. > So, I suspect the unfortunate answer is that Linux would probably want to > ship > the plugin as C/C++ and build it at build time if enabled. That's also fine, it's easy(-ish) to rewrite. >>From gcc-bugs-return-503763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 21:15:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21282 invoked by alias); 24 Nov 2015 21:15: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 19232 invoked by uid 48); 24 Nov 2015 21:15:04 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 21: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey 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: 2015-11/txt/msg02690.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #7 from Tom Tromey --- (In reply to PaX Team from comment #5) > since PaX already has a checker plugin Why not just contribute that then? >>From gcc-bugs-return-503764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 21:24:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38118 invoked by alias); 24 Nov 2015 21:24: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 38053 invoked by uid 55); 24 Nov 2015 21:23:57 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68520] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in quick_push, at vec.h:845 Date: Tue, 24 Nov 2015 21:24: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02691.txt.bz2 Content-length: 1678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68520 --- Comment #4 from Segher Boessenkool --- Author: segher Date: Tue Nov 24 21:23:25 2015 New Revision: 230843 URL: https://gcc.gnu.org/viewcvs?rev=3D230843&root=3Dgcc&view=3Drev Log: shrink-wrap: Fix thinko (PR68520) Part of the shrink-wrapping algorithm has this comment: /* Now see if we can put the prologue at the start of PRO. Putting it there might require duplicating a block that cannot be duplicated, or in some cases we cannot insert the prologue there at all. If PRO wont't do, try again with the immediate dominator of PRO, and so on. The blocks that need duplicating are those reachable from PRO but not dominated by it. We keep in BB_WITH a bitmap of the blocks reachable from PRO that we already found, and in VEC a stack of those we still need to consider (to find successors). */ Two of the cases that push to that stack do not actually check the bitmap first. Either I thought those blocks could not be on the stack already, or more likely I didn't think and it just didn't crash during any testing. But of course those blocks *can* already be on the stack (if you have a hideous loop structure), and then we end up with the same block on the stack more than once. This is harmless, except that (like in the PR) this can overflow the stack. This fixes it, by doing the necessary bitmap checks before pushing. PR rtl-optimization/68520 * shrink-wrap.c (try_shrink_wrapping): Don't push a block to VEC if its bit was already set in BB_WITH. Modified: trunk/gcc/ChangeLog trunk/gcc/shrink-wrap.c >>From gcc-bugs-return-503766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 21:29:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51957 invoked by alias); 24 Nov 2015 21: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 51889 invoked by uid 48); 24 Nov 2015 21:29:55 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68520] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in quick_push, at vec.h:845 Date: Tue, 24 Nov 2015 21: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: 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: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02693.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68520 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Segher Boessenkool --- Fixed. Thanks for the report! >>From gcc-bugs-return-503765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 21:29:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51167 invoked by alias); 24 Nov 2015 21:29: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 51087 invoked by uid 48); 24 Nov 2015 21:29:35 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 21: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02692.txt.bz2 Content-length: 1189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #8 from Josh Triplett --- (In reply to PaX Team from comment #5) > (In reply to Josh Triplett from comment #4) > > Could you represent __context__ as a new GCC builtin? Would that make = this > > any easier? >=20 > it can be a builtin or just a regular function declaration, the latter is > easy to create from a plugin too. Except as Tom noted, GCC will throw away a regular function declaration ear= ly on, whereas it can handle a builtin differently. > > So, I suspect the unfortunate answer is that Linux would probably want = to > > ship the plugin as C/C++ and build it at build time if enabled. (Or we= could > > integrate this functionality into GCC itself.) >=20 > since PaX already has a checker plugin i subscribed to this bug a while a= go > but completely forgot about it until now ;P. in any case, i've begun to w= ork > on this along a somewhat different angle: instead of adding completely new > machinery to detect context imbalances i'd like to reuse existing gcc pas= ses > to compute this property, we'll see how it goes. Interesting idea. What'd you have in mind? >>From gcc-bugs-return-503767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 21:36:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64361 invoked by alias); 24 Nov 2015 21: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 64329 invoked by uid 48); 24 Nov 2015 21:36:01 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68524] New: Please support attributes between function definition and opening brace Date: Tue, 24 Nov 2015 21:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02694.txt.bz2 Content-length: 984 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68524 Bug ID: 68524 Summary: Please support attributes between function definition and opening brace Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: josh at joshtriplett dot org Target Milestone: --- GCC supports placing attributes after the closing parenthesis of a function declaration and before the semicolon. However, GCC produces an error on attributes between the closing parenthesis of a function definition and the opening brace; for instance: void f(void) __attribute__((const)) { } test.c:1:1: error: attributes should be specified before the declarator in a function definition void f(void) __attribute__((const)) ^ Sparse's C parser supports this. Could GCC support this syntax as well? >>From gcc-bugs-return-503768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 21:46:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130012 invoked by alias); 24 Nov 2015 21:46: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 129910 invoked by uid 48); 24 Nov 2015 21:46:48 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 21: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02695.txt.bz2 Content-length: 2467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #9 from Josh Triplett --- (In reply to Tom Tromey from comment #6) > (In reply to Josh Triplett from comment #4) > > Unfortunate, and I'd love to see GCC handle trailing attributes (does a= bug > > already exist for that somewhere?), but not something that should block > > *this* > > feature. >=20 > Offhand I don't know if there is a bug covering this. Filed as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68524 . > > Sparse actually tracks context as a property of basic blocks. >=20 > I was thinking this might be doable but I don't really know how > gcc handles basic block coalescing -- if two blocks are merged > we'd want to ensure that the resulting block ends up with the > correct context property. Right; this would need specific handling when manipulating basic blocks. > It might help to see exactly where __context__ is used in real code. A few patterns: First, you can use __context__(some_lock, 1, 1) to assert that you hold some_lock. Second, you can use __context__(some_lock, 0, 1) to note that you have acqu= ired some_lock; that may make sense within the definition of a lock acquisition function, since the function's declaration will have a context attribute sa= ying it returns with the lock held, and the body needs to match that. It also m= akes sense in the body of a lock acquisition macro. Third, ditto for __context__(some_lock, 1, 0) and lock release functions. And fourth, see the definition of __cond_lock: # define __acquire(x) __context__(x,1) # define __release(x) __context__(x,-1) # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) You can then define a wrapper for a trylock function: #define trylock(l) __cond_lock(l, trylock(l)) If you then use this in an if, the compiler can know that one path has a different context than the other: /* l has context 0 */ if (trylock(l)) { /* l has context 1 */ } else { /* l still has context 0 */ } > > (if > > they ship it at all; AFAICT Debian only ships gcc-python3-plugin). >=20 > The version of python doesn't matter much. >=20 > For people whose distro doesn't package gcc-python-plugin, it is simple > to build; just git clone + make. Sparse requires exactly the same, but even that level of difficulty means a tiny fraction of people building kernels actually use it. Integrating it w= ith GCC means it could work automatically for everyone. >>From gcc-bugs-return-503769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 22:26:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90101 invoked by alias); 24 Nov 2015 22:26: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 89911 invoked by uid 48); 24 Nov 2015 22:26:18 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 22: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey 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: 2015-11/txt/msg02696.txt.bz2 Content-length: 797 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #10 from Tom Tromey --- (In reply to Josh Triplett from comment #9) > > It might help to see exactly where __context__ is used in real code. >=20 > A few patterns: Sorry, I wasn't very clear. It seems to me that __context__ must be used as a kind of annotation alongside some effect-ful statement. I'm curious what those statements are; and whether we could somehow annotate them directly. (I presume not since sparse didn't go that route, but I figured I'd ask.) > Sparse requires exactly the same, but even that level of difficulty means= a > tiny fraction of people building kernels actually use it. Integrating it > with GCC means it could work automatically for everyone. Yeah, makes sense. >>From gcc-bugs-return-503770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 22:36:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62111 invoked by alias); 24 Nov 2015 22:36: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 62020 invoked by uid 48); 24 Nov 2015 22:36:40 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Tue, 24 Nov 2015 22: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02697.txt.bz2 Content-length: 931 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #11 from Josh Triplett --- (In reply to Tom Tromey from comment #10) > (In reply to Josh Triplett from comment #9) >=20 > > > It might help to see exactly where __context__ is used in real code. > >=20 > > A few patterns: >=20 > Sorry, I wasn't very clear. > It seems to me that __context__ must be used as a kind of annotation > alongside some effect-ful statement. I'm curious what those statements > are; and whether we could somehow annotate them directly. > (I presume not since sparse didn't go that route, but I figured I'd ask.) Such statements could potentially consist of inline assembly implementing a lock. __context__ potentially helps when implementing things as a macro. That said, if absolutely necessary, I could imagine using exclusively the context attribute and appropriate static inlines with that attribute. >>From gcc-bugs-return-503771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 23:04:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21105 invoked by alias); 24 Nov 2015 23:04: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 21064 invoked by uid 48); 24 Nov 2015 23:04:22 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55606] sorry, unimplemented: non-trivial designated initializers not supported Date: Tue, 24 Nov 2015 23:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: FIXME, rejects-valid 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_reconfirmed_on 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: 2015-11/txt/msg02698.txt.bz2 Content-length: 1005 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55606 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2012-12-09 00:00:00 |2015-11-24 CC| |msebor at gcc dot gnu.org --- Comment #9 from Martin Sebor --- A similar test case not involving arrays: $ cat z.c && /build/gcc-trunk-svn/gcc/xgcc -B /build/gcc-trunk-svn/gcc -S -= Wall -Wextra -o/dev/null -xc++ z.c typedef struct A { int i; struct { int a, b; } s; } A; A a =3D { 1, .s =3D { 2, 3 } }; A b =3D { .i =3D 1, .s =3D { 2, 3 } }; A c =3D { .s =3D { 2, 3 }, .i =3D 1 }; z.c:8:31: sorry, unimplemented: non-trivial designated initializers not supported A c =3D { .s =3D { 2, 3 }, .i =3D 1 }; ^ z.c:8:31: sorry, unimplemented: non-trivial designated initializers not supported >>From gcc-bugs-return-503772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 23:24:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66690 invoked by alias); 24 Nov 2015 23:24: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 66651 invoked by uid 48); 24 Nov 2015 23:24:04 -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, 24 Nov 2015 23:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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 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: 2015-11/txt/msg02699.txt.bz2 Content-length: 699 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68523 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-24 CC| |segher at gcc dot gnu.org Component|rtl-optimization |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Confirmed. The loops start out just fine, but tree-ssa-loop-ch messes it up. >>From gcc-bugs-return-503773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 23:27:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70103 invoked by alias); 24 Nov 2015 23:27: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 70042 invoked by uid 48); 24 Nov 2015 23:27:09 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7 Date: Tue, 24 Nov 2015 23:27: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02700.txt.bz2 Content-length: 2417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68358 --- Comment #10 from Iain Sandoe --- (In reply to Nenad Vukicevic from comment #9) > On 11/24/15 12:07 PM, iains at gcc dot gnu.org wrote: >=20 > > So I agree, the root problem is that we are creating something that the= newer > > version of dsymutil doesn't understand - it could be we're making a mis= take or > > new dsymutil could be still green. >=20 > I tried to run Clang's llvm-dsymutil form the locally built clang tools. > Fails the same way. And the error is coming from this routine: >=20 > 124 /// Interpret the STAB entries to fill the DebugMap. > 125 void MachODebugMapParser::handleStabSymbolTableEntry(uint32_t >=20 >=20 > > What happens if you do a clang link and then do "dsymutil result"? >=20 > Linking with clang and "dsymutil result" produces similar results - > 'failed to insert symbol' messages. But then it complains on lots of > object files as it cannot find them. >=20 > I checked the clang code (and some logs) and clang does NOT call > dsymutil for our case. >=20 > Note that we are compiling through a fairly complex UPC driver, part of > Berkeley UPC toolset, and we get this warnings only if our back-end > compiler is GCC from our GNU UPC branch (which is in sync with the > trunk). Using Clang as back-end compiler does not produce warning as > they do not run the tool at the and - linking phase. OK so it appears that we do have two issues; 1. that we're (incorrectly) calling dsymutil for "link only" cases where there's no LTO involved (and that seems to be a typo in the argument to post_ld_pass() on line 820). We located the PR that gave rise to the change (61352) and will just double-check that we do not regress that with the cha= nge. Could you make the change locally and see if it makes the problem "go away= "? (I note that it doesn't in any way fix #2). 2. Some as yet unexplained issue with new dsymutil it's probable that if you can do something like: clang a.o b.o .... z.o -g -o t=20 dsymutil t and get errors - then the right thing is to file a radar (since that's real= ly only using ld64 and dsymutil - which are both outside the GCC source base). It's possible that there's some fault with symbols in the object files that doesn't somehow affect linking and doesn't trip up nm .. but adversely affe= cts dsymutil - not sure I can exactly envision that right now. >>From gcc-bugs-return-503774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 23:37:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76456 invoked by alias); 24 Nov 2015 23: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 76427 invoked by uid 48); 24 Nov 2015 23:37:41 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68525] New: bogus use of deleted function error on a template with a flexible array member Date: Tue, 24 Nov 2015 23:37: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.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: 2015-11/txt/msg02701.txt.bz2 Content-length: 1682 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68525 Bug ID: 68525 Summary: bogus use of deleted function error on a template with a flexible array member Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Recent trunk gets confused by the program below into issuing a rather mysterious error. Both Clang and Gcc 5.1 compile the code without an error. $ cat z.cpp && /build/gcc-trunk-svn/gcc/xgcc -B /build/gcc-trunk-svn/gcc -W= all -Wextra -Wpedantic -O2 -S -o/dev/tty -xc++ z.cpp template struct A { int n; T a[]; }; struct B { B (int); }; A ab; .file "z.cpp" z.cpp:4:9: warning: ISO C++ forbids zero-size array =E2=80=98a=E2=80=99 [-W= pedantic] T a[]; ^ z.cpp:9:6: error: use of deleted function =E2=80=98A::A()=E2=80=99 A ab; ^~ z.cpp:2:8: note: =E2=80=98A::A()=E2=80=99 is implicitly deleted because = the default definition would be ill-formed: struct A { ^ z.cpp:2:8: error: no matching function for call to =E2=80=98B::B()=E2=80=99 z.cpp:7:12: note: candidate: B::B(int) struct B { B (int); }; ^ z.cpp:7:12: note: candidate expects 1 argument, 0 provided z.cpp:7:8: note: candidate: constexpr B::B(const B&) struct B { B (int); }; ^ z.cpp:7:8: note: candidate expects 1 argument, 0 provided z.cpp:7:8: note: candidate: constexpr B::B(B&&) z.cpp:7:8: note: candidate expects 1 argument, 0 provided >>From gcc-bugs-return-503775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 24 23:52:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36413 invoked by alias); 24 Nov 2015 23:52: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 36346 invoked by uid 48); 24 Nov 2015 23:52:26 -0000 From: "pthaugen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68526] New: [6 Regression] gcc.target/powerpc/recip-4.c fails starting with r230492 Date: Tue, 24 Nov 2015 23:52: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: 6.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: 2015-11/txt/msg02702.txt.bz2 Content-length: 1019 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68526 Bug ID: 68526 Summary: [6 Regression] gcc.target/powerpc/recip-4.c fails starting with r230492 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pthaugen at gcc dot gnu.org CC: dje at gcc dot gnu.org, rsandifo 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 Subject testcase starts failing with stated revision, is now generating separate sqrt/recip instructions instead of combined insn (along with ancil= lary insns which also fail to match). Before: xvrsqrtedp 0,12 After: xvsqrtdp 12,0 xvredp 0,12 >>From gcc-bugs-return-503776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 00:10:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61494 invoked by alias); 25 Nov 2015 00:10: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 61472 invoked by uid 48); 25 Nov 2015 00:10:47 -0000 From: "mrs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/61692] ICE in extract_insn in recog.c for asm with many parameters Date: Wed, 25 Nov 2015 00: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mrs 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: 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: 2015-11/txt/msg02703.txt.bz2 Content-length: 470 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61692 mrs at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrs at gcc dot gnu.org --- Comment #3 from mrs at gcc dot gnu.org --- This test case isn't portable. If upped to 40 then it would be more portab= le. >>From gcc-bugs-return-503777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 00:24:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82520 invoked by alias); 25 Nov 2015 00:24: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 68604 invoked by uid 48); 25 Nov 2015 00:24:27 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] New: ICE with -fdump-ada-spec on invalid C++ 11 code Date: Wed, 25 Nov 2015 00: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: 6.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: 2015-11/txt/msg02704.txt.bz2 Content-length: 2488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 Bug ID: 68527 Summary: ICE with -fdump-ada-spec on invalid C++ 11 code Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Recent trunk (but not 5.1) crashes while compiling the invalid program below (derived from g++.dg/cpp0x/nsdmi-union6.C with the -fdump-ada-spec option. $ cat x.cpp && /build/gcc-trunk-svn/gcc/xgcc -B /build/gcc-trunk-svn/gcc -W= all -Wextra -Wpedantic -fdump-ada-spec -std=3Dc++11 -xc++ z.cpp struct S { S s[1]; }; z.cpp:4:18: error: field =E2=80=98s=E2=80=99 has incomplete type =E2=80=98S= [1]=E2=80=99 S s[1] =3D { 0 }; ^ z.cpp:3:8: note: definition of =E2=80=98struct S=E2=80=99 is not complete u= ntil the closing brace struct S { ^ z.cpp:5:2: internal compiler error: tree check: expected class =E2=80=98typ= e=E2=80=99, have =E2=80=98exceptional=E2=80=99 (error_mark) in dump_nested_types, at c-famil= y/c-ada-spec.c:2467 }; ^ 0x131c5d6 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) /home/msebor/scm/fsf/gcc-svn/gcc/tree.c:9657 0x72a567 tree_class_check(tree_node*, tree_code_class, char const*, int, ch= ar const*) /home/msebor/scm/fsf/gcc-svn/gcc/tree.h:3115 0xa86977 dump_nested_types /home/msebor/scm/fsf/gcc-svn/gcc/c-family/c-ada-spec.c:2467 0xa88411 print_ada_declaration /home/msebor/scm/fsf/gcc-svn/gcc/c-family/c-ada-spec.c:2777 0xa80b4c print_generic_ada_decl /home/msebor/scm/fsf/gcc-svn/gcc/c-family/c-ada-spec.c:735 0xa808ce dump_ada_nodes /home/msebor/scm/fsf/gcc-svn/gcc/c-family/c-ada-spec.c:667 0xa8ab2a dump_ads /home/msebor/scm/fsf/gcc-svn/gcc/c-family/c-ada-spec.c:3389 0xa8acf4 dump_ada_specs(void (*)(char const*), int (*)(tree_node*, cpp_operation)) /home/msebor/scm/fsf/gcc-svn/gcc/c-family/c-ada-spec.c:3457 0x86c424 c_parse_final_cleanups() /home/msebor/scm/fsf/gcc-svn/gcc/cp/decl2.c:4539 0xa6fb0b c_common_parse_file() /home/msebor/scm/fsf/gcc-svn/gcc/c-family/c-opts.c:1091 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-503778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 00:34:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84723 invoked by alias); 25 Nov 2015 00:34: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 84670 invoked by uid 48); 25 Nov 2015 00:34:33 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68449] ICE in cxx_eval_constant_expression on atomic_load in C++ Date: Wed, 25 Nov 2015 00: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: 6.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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02705.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68449 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #1 from Martin Sebor --- GCC 5.1 also crashes so this is not a regression. >>From gcc-bugs-return-503779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 00:48:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109039 invoked by alias); 25 Nov 2015 00:48: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 108957 invoked by uid 48); 25 Nov 2015 00:48:18 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/51119] MATMUL slow for large matrices Date: Wed, 25 Nov 2015 00:48: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jb 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: 2015-11/txt/msg02706.txt.bz2 Content-length: 739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51119 --- Comment #30 from Jerry DeLisle --- (In reply to Joost VandeVondele from comment #29) > These slides show how to reach 90% of peak: > http://wiki.cs.utexas.edu/rvdg/HowToOptimizeGemm/ > the code actually is not too ugly, and I think there is no need for the > explicit vector intrinsics with gcc. The 90% of peak is achieved using SSE registers. I went ahead and built the example and on my laptop (the slow machine) I get about 4.8 gflops with a single core. So we could use this example and back-off from the SSE optimizations to get an internal MATMUL that is not architecture dependent = and perhaps leave the rest to external optimized BLAS. >>From gcc-bugs-return-503780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 01:07:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68409 invoked by alias); 25 Nov 2015 01:07: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 68294 invoked by uid 48); 25 Nov 2015 01:07:34 -0000 From: "pageexec at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 01: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: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pageexec at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02707.txt.bz2 Content-length: 1475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #12 from PaX Team --- 1. there's a (linux) kernel-hardening effort of late that among others will= try to upstream the PaX gcc plugin infrastructure along with some plugins, so t= he checker one could be added to that list (but it wasn't part of the initial plan). you should probably continue this thread on that list instead as i d= oubt many kernel devs follow the gcc bugzilla ;). 2. as for my idea, it's simple: track the context via an artificially injec= ted local integer variable (one per context if you want context sensitivity) and initialize it to the 'in' attr parameter or 0 otherwise then adjust its val= ue on function calls that affect it based on the callee's context attribute. at the end compare the variable against the 'out' attr parameter (or 0) and complain on a mismatch (in my proof-of-concept i just called builtin_trap o= n a mismatch). now where gcc comes in is that it'll do constant propagation, DC= E, etc for free so the final check either gets removed by dead code elimination (the locking is correct) or we detected a locking problem and can even determine the bad path(s). using this simple method on Josh's test file there're no false positives or false negatives. i'll work it into something usable (actual reports instead of having to check for leftover builtin_trap= s) and release it in PaX then linux can pick it up when the time comes. >>From gcc-bugs-return-503781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 01:17:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105480 invoked by alias); 25 Nov 2015 01:17: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 105439 invoked by uid 55); 25 Nov 2015 01:16:56 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68456] UINT32_TYPE has different type for i586-elf and for i586-unknown-linux Date: Wed, 25 Nov 2015 01: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02708.txt.bz2 Content-length: 693 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68456 --- Comment #7 from joseph at codesourcery dot com --- On Tue, 24 Nov 2015, vaalfreja at gmail dot com wrote: > And why newlib-stdint header is used in this case? I haven't used any > newlib-related options in configure. These targets still have different t= ypes > for UINT32_TYPE. Bare-metal targets such as i586-elf are presumed to use newlib. If you=20 require something incompatible with newlib's choice of types, you'll need=20 a separate GCC configuration using a different choice of these types (or=20 replace GCC's wrapper, though that won't affect built-in uses=20 of the types). >>From gcc-bugs-return-503782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 02:17:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25549 invoked by alias); 25 Nov 2015 02: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 25479 invoked by uid 48); 25 Nov 2015 02:17:04 -0000 From: "jvg1981 at aim dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66573] Unexpected change in static, branch-prediction cost from O1 to O2 in if-then-else. Date: Wed, 25 Nov 2015 02: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: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jvg1981 at aim 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: 2015-11/txt/msg02709.txt.bz2 Content-length: 630 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66573 --- Comment #11 from Joshua Green --- (In reply to Segher Boessenkool from comment #10) > GCC thinks bar2 will be executed more often that bar1; the code > it generates is perfectly fine for that. >=20 > If you think GCC's heuristics for branch prediction are no good, > could use some improvement, you'll have to come up with more > evidence than just a single artificial testcase. Sorry. These > things were tuned on real code. If gcc's heuristic is indeed optimal when tested over a reasonable sample of real code, then I withdraw my objection. >>From gcc-bugs-return-503783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 02:42:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41343 invoked by alias); 25 Nov 2015 02:42: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 41312 invoked by uid 48); 25 Nov 2015 02:42:41 -0000 From: "ishiura-compiler at ml dot kwansei.ac.jp" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68528] New: Wrong constant folding Date: Wed, 25 Nov 2015 02:42: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ishiura-compiler at ml dot kwansei.ac.jp 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: 2015-11/txt/msg02710.txt.bz2 Content-length: 1191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68528 Bug ID: 68528 Summary: Wrong constant folding Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ishiura-compiler at ml dot kwansei.ac.jp Target Milestone: --- GCC-6.0 for x86_64 miscompiles the following code. $ cat test.c #define INT_MIN ( -2147483647 - 1 ) int main (void) { int x0 =3D INT_MIN; long x1 =3D 0L; int x2 =3D 0; int t =3D ( 0 || ( INT_MIN - (int) ( x0 - x1 ) ) ); if ( t !=3D 0 ) { x2 =3D t; __builtin_abort(); } return 0; } $ gcc-6.0 test.c -O2 $ ./a.out zsh: abort ./a.out $ gcc-6.0 -v Using built-in specs. COLLECT_GCC=3Dgcc-6.0 COLLECT_LTO_WRAPPER=3D/home/ishiuraken/opt/gcc-6.0/libexec/gcc/x86_64-pc-li= nux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=3D/home/ishiuraken/opt/gcc-6.0 --program-suffix=3D-6.0 --enable-laungages=3Dc --disable-bootstrap Thread model: posix gcc version 6.0.0 20151112 (experimental) (GCC) >>From gcc-bugs-return-503784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 03:02:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50581 invoked by alias); 25 Nov 2015 03: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 50555 invoked by uid 48); 25 Nov 2015 03:02:25 -0000 From: "majun4950646 at 163 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68529] New: scev failed for while(i--) Date: Wed, 25 Nov 2015 03: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: majun4950646 at 163 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: 2015-11/txt/msg02711.txt.bz2 Content-length: 1934 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 Bug ID: 68529 Summary: scev failed for while(i--) Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: majun4950646 at 163 dot com Target Milestone: --- loop distribution failed to generate memset library call for the following example: #include #include int main(){ char c[10000]=3D{}; unsigned int nchar=3D9999; while(nchar--!=3D0) {=20=20=20 c[nchar]=3D'A'; }=20=20=20 printf("%s\n",c); return 0; } Compiled with=20 gcc -O3 -march=3Dcore2 -fdump-tree-ldist-details t.c -o t =46rom the ldist dump: ... Creating dr for c[nchar_24] analyze_innermost: failed: evolution of offset is not affine. base_address:=20 offset from base address:=20 constant offset from base address:=20 step:=20 aligned to:=20 base_object: c Access function 0: {9998, +, 4294967295}_1 ... and it failed to transform the while loop to memset =3D=3D=3D=3D=3D However, it successed by change while(nchar--!=3D0) to for(;nchar !=3D0;nc= har--): #include #include int main(){ char c[10000]=3D{}; unsigned int nchar=3D9999; for(;nchar!=3D0;nchar--) {=20=20=20 c[nchar]=3D'A'; }=20=20=20 printf("%s\n",c); return 0; } ... Creating dr for c[nchar_21] analyze_innermost: success. base_address: &c offset from base address: 0 constant offset from base address: 9999 step: -1 aligned to: 128=20 base_object: c Access function 0: {9999, +, 4294967295}_1 ... and generate memset library call stmt: __builtin_memset (&MEM[(void *)&c + 1B], 65, 9999); I also testd in gcc4.8.4 and trunk, both failed. --Jun >>From gcc-bugs-return-503785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 03:26:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26799 invoked by alias); 25 Nov 2015 03:26: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 26475 invoked by uid 48); 25 Nov 2015 03:26:46 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67106] [6 Regression] ICE: verify_type failed: type variant differs by TYPE_PACKED. with -g -fpack-struct Date: Wed, 25 Nov 2015 03:26: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: 6.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: 6.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: 2015-11/txt/msg02712.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67106 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Confirmed with today's top of trunk (version 6.0.0 20151125). >>From gcc-bugs-return-503786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 03:32:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31794 invoked by alias); 25 Nov 2015 03:32: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 31584 invoked by uid 48); 25 Nov 2015 03:32:43 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68474] [6 Regression] ICE: in get_no_error_domain, at tree-call-cdce.c:699 with -funsafe-math-optimizations Date: Wed, 25 Nov 2015 03: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: 6.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: 6.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: 2015-11/txt/msg02713.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68474 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Confirmed with today's trunk (6.0.0 20151125). >>From gcc-bugs-return-503787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 03:42:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50752 invoked by alias); 25 Nov 2015 03:42: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 50698 invoked by uid 48); 25 Nov 2015 03:42:16 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67778] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in maybe_record_trace_start, at dwarf2cfi.c:2297 Date: Wed, 25 Nov 2015 03:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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.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: 2015-11/txt/msg02714.txt.bz2 Content-length: 790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67778 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-11-25 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- I can't reproduce this error with today's trunk (6.0.0 20151125) on x86_64.= I see a similar stack trace in bug 60598 but that was fixed over a year ago. = Can you confirm that trunk compiles the test case as expected in your environme= nt? >>From gcc-bugs-return-503788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 03:45:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54288 invoked by alias); 25 Nov 2015 03:45: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 53577 invoked by uid 48); 25 Nov 2015 03:45:20 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66131] [6 Regression] Wrong code w/ -O2 -ftree-loop-linear Date: Wed, 25 Nov 2015 03: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: 6.0 X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02715.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66131 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Martin Sebor --- I also cannot reproduce the failure with today's trunk (6.0.0 20151125). Resolving as fixed. >>From gcc-bugs-return-503789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 04:20:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28670 invoked by alias); 25 Nov 2015 04:20:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28637 invoked by uid 48); 25 Nov 2015 04:20:28 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68387] [c++1z] gcc hangs forever on this code Date: Wed, 25 Nov 2015 04: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: 6.0 X-Bugzilla-Keywords: 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: 2015-11/txt/msg02716.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68387 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Confirmed with today's trunk. >>From gcc-bugs-return-503790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 04:24:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51297 invoked by alias); 25 Nov 2015 04:24: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 51235 invoked by uid 48); 25 Nov 2015 04:24:24 -0000 From: "timshen at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68450] regex matching different from ECMAScript? Date: Wed, 25 Nov 2015 04:24: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: timshen at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02717.txt.bz2 Content-length: 1089 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68450 Tim Shen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 --- Comment #1 from Tim Shen --- I think I unintentionally fixed this problem in my refactoring branch: https://github.com/innocentim/gcc/commits/master I ran this branch and get the result: "Field": "Value"=20=20 "Field": "Value"=20=20 Each line has two trailing spaces, which is the same as my boost output. I'm not sure when this branch may get reviewed checked in (it involves a lo= t of changes), but I personally hope it's before the next big release. Alternatively I can find the commit that fixes this issue, cherry pick it to the trunk, and rebase my branch; but I know that rebasing is gonna be super painful, so I'd rather wait for a while. >>From gcc-bugs-return-503791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 04:37:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12411 invoked by alias); 25 Nov 2015 04:37: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 12272 invoked by uid 48); 25 Nov 2015 04:37:02 -0000 From: "luser.droog at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Wed, 25 Nov 2015 04: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luser.droog at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02718.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 --- Comment #9 from M Joshua Ryan --- Investigated the offending source line a little deeper. It now looks to me = like it has to do with mixed floating/integer arithmetic, especially with bizarre types like `time_t`. Changing the source to use all integer arithmetic allo= ws the compiler to complete. gettimeofday(&tv, NULL); _xpost_start_time =3D (((long)tv.tv_sec) * 1000) + ((long)tv.tv_usec / = 1000); >>From gcc-bugs-return-503792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 04:41:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17114 invoked by alias); 25 Nov 2015 04:41: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 17066 invoked by uid 48); 25 Nov 2015 04:41:32 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Wed, 25 Nov 2015 04: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: unknown 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02719.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 --- Comment #10 from Andrew Pinski --- This sounds related to GMP/MPFR, can you recompile those? >>From gcc-bugs-return-503793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 04:52:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36530 invoked by alias); 25 Nov 2015 04:52: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 36495 invoked by uid 48); 25 Nov 2015 04:52:48 -0000 From: "lucdanton at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68530] New: [C++14] sorry, unimplemented: unexpected AST of kind loop_expr Date: Wed, 25 Nov 2015 04:52: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lucdanton at free dot 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: 2015-11/txt/msg02720.txt.bz2 Content-length: 1789 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68530 Bug ID: 68530 Summary: [C++14] sorry, unimplemented: unexpected AST of kind loop_expr Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lucdanton at free dot fr Target Milestone: --- Possibly related to PR c++/68206, which could also be exhibiting both this = and a potentially unrelated ICE. $ g++-trunk --version g++-trunk (GCC) 6.0.0 20151125 (experimental) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ cat main.cpp=20=20 struct thing { void foo() {} }; template constexpr int count() { auto item =3D thing {}; for(; (item.foo(), false);); return 0; } int main() { static_assert( count() =3D=3D 0, "" ); } $ g++-trunk -std=3Dc++14 main.cpp main.cpp: In function 'int main()': main.cpp:15:5: error: non-constant condition for static assertion static_assert( count() =3D=3D 0, "" ); ^~~~~~~~~~~~~ main.cpp:15:30: error: 'constexpr int count() [with =3D int]' called in a constant expression static_assert( count() =3D=3D 0, "" ); ^ main.cpp:6:15: note: 'constexpr int count() [with = =3D int]' is not usable as a constexpr function because: constexpr int count() ^~~~~ main.cpp:6:15: sorry, unimplemented: unexpected AST of kind loop_expr main.cpp:6: confused by earlier errors, bailing out >>From gcc-bugs-return-503794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:00:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104821 invoked by alias); 25 Nov 2015 05:00: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 104642 invoked by uid 48); 25 Nov 2015 04:59:59 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67755] [5 Regression] Bad edge probability/block freqency for tree jump threading Date: Wed, 25 Nov 2015 05: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2015-11/txt/msg02721.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67755 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #2 from Segher Boessenkool --- It is caused by r215739, "Redesign jump threading profile updates to avoid introducing insanities". >>From gcc-bugs-return-503795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:09:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113836 invoked by alias); 25 Nov 2015 05: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 113783 invoked by uid 48); 25 Nov 2015 05:09:42 -0000 From: "lcoquelle at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68450] regex matching different from ECMAScript? Date: Wed, 25 Nov 2015 05:09: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: lcoquelle at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02722.txt.bz2 Content-length: 849 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68450 --- Comment #2 from Ludo --- (In reply to Tim Shen from comment #1) > I think I unintentionally fixed this problem in my refactoring branch: > https://github.com/innocentim/gcc/commits/master >=20 > I ran this branch and get the result: > "Field": "Value"=20=20 > "Field": "Value"=20=20 >=20 > Each line has two trailing spaces, which is the same as my boost output. >=20 > I'm not sure when this branch may get reviewed checked in (it involves a = lot > of changes), but I personally hope it's before the next big release. >=20 > Alternatively I can find the commit that fixes this issue, cherry pick it= to > the trunk, and rebase my branch; but I know that rebasing is gonna be sup= er > painful, so I'd rather wait for a while. Nice! thanks for looking at it! >>From gcc-bugs-return-503796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:18:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128108 invoked by alias); 25 Nov 2015 05:18: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 128063 invoked by uid 48); 25 Nov 2015 05:18:33 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68531] New: incorrect code for VLA in C++ Date: Wed, 25 Nov 2015 05:18: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.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: 2015-11/txt/msg02723.txt.bz2 Content-length: 1448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68531 Bug ID: 68531 Summary: incorrect code for VLA in C++ Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- G++ accepts variable length arrays as an extension but generates the wrong = code for some basic uses cases of such arrays: it allows changes in the value of= a variable that determines the number of elements in a VLA type to affect the bound of the VLA after it has been defined. When compiled with gcc (in C mode), or by Clang in either C or C++ modes, t= he following program compiles and runs successfully to completion. However, w= hen compiled with g++, either today's trunk or as far back as 4.5.3 (the oldest= I tested), it aborts. $ cat x.c && /build/gcc-trunk-svn/gcc/xgcc -B /build/gcc-trunk-svn/gcc -Wall -Wextra -Wpedantic -xc++ x.c && ./a.out int main () { int nelems =3D 7; typedef char A [nelems]; nelems =3D 2; A a; if (sizeof (A) !=3D 7 || sizeof a !=3D 7) __builtin_abort (); } x.c: In function =E2=80=98int main()=E2=80=99: x.c:5:27: warning: ISO C++ forbids variable length array =E2=80=98A=E2=80= =99 [-Wvla] typedef char A [nelems]; ^ Aborted (core dumped) >>From gcc-bugs-return-503797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:21:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130328 invoked by alias); 25 Nov 2015 05:20:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129795 invoked by uid 48); 25 Nov 2015 05:19:57 -0000 From: "luser.droog at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Wed, 25 Nov 2015 05: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luser.droog 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: 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: 2015-11/txt/msg02724.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 --- Comment #11 from M Joshua Ryan --- Created attachment 36831 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36831&action=3Dedit additional source triggering same error Having successfully compiled the other file, I have received the same error= on a different file. Again it appears to involve mixing floating-point types.= =20 CC src/lib/src_lib_libxpost_la-xpost_op_math.lo src/lib/xpost_op_math.c: In function =E2=80=98Ratan=E2=80=99: src/lib/xpost_op_math.c:341:5: internal compiler error: Segmentation fault real ang =3D atan2((num.real_.val * RAD_PER_DEG), ^ Please submit a full bug report, with preprocessed source if appropriate. `real` is a typedef for float. >>From gcc-bugs-return-503798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:28:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44397 invoked by alias); 25 Nov 2015 05:28: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 44322 invoked by uid 55); 25 Nov 2015 05:28:43 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68196] [4.9/5 Regression] ICE on function result with procedure pointer component Date: Wed, 25 Nov 2015 05: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.9.3 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02725.txt.bz2 Content-length: 1510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68196 --- Comment #6 from Paul Thomas --- Author: pault Date: Wed Nov 25 05:28:10 2015 New Revision: 230852 URL: https://gcc.gnu.org/viewcvs?rev=3D230852&root=3Dgcc&view=3Drev Log: 2015-11-25 Paul Thomas Backport from trunk. PR fortran/68196 * class.c (has_finalizer_component): Prevent infinite recursion through this function if the derived type and that of its component are the same. * trans-types.c (gfc_get_derived_type): Do the same for proc pointers by ignoring the explicit interface for the component. PR fortran/66465 * check.c (same_type_check): If either of the expressions is BT_PROCEDURE, use the typespec from the symbol, rather than the expression. 2015-11-25 Paul Thomas Backport from trunk. PR fortran/68196 * gfortran.dg/proc_ptr_47.f90: New test. Backport from trunk. PR fortran/66465 * gfortran.dg/pr66465.f90: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/pr66465.f90 branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/proc_ptr_47.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/check.c branches/gcc-4_9-branch/gcc/fortran/class.c branches/gcc-4_9-branch/gcc/fortran/trans-types.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:28:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44405 invoked by alias); 25 Nov 2015 05:28: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 44325 invoked by uid 55); 25 Nov 2015 05:28:43 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66465] Procedure pointer component & non-component interpreted as different type or kind Date: Wed, 25 Nov 2015 05: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2015-11/txt/msg02726.txt.bz2 Content-length: 1510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66465 --- Comment #5 from Paul Thomas --- Author: pault Date: Wed Nov 25 05:28:10 2015 New Revision: 230852 URL: https://gcc.gnu.org/viewcvs?rev=3D230852&root=3Dgcc&view=3Drev Log: 2015-11-25 Paul Thomas Backport from trunk. PR fortran/68196 * class.c (has_finalizer_component): Prevent infinite recursion through this function if the derived type and that of its component are the same. * trans-types.c (gfc_get_derived_type): Do the same for proc pointers by ignoring the explicit interface for the component. PR fortran/66465 * check.c (same_type_check): If either of the expressions is BT_PROCEDURE, use the typespec from the symbol, rather than the expression. 2015-11-25 Paul Thomas Backport from trunk. PR fortran/68196 * gfortran.dg/proc_ptr_47.f90: New test. Backport from trunk. PR fortran/66465 * gfortran.dg/pr66465.f90: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/pr66465.f90 branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/proc_ptr_47.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/check.c branches/gcc-4_9-branch/gcc/fortran/class.c branches/gcc-4_9-branch/gcc/fortran/trans-types.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:39:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57240 invoked by alias); 25 Nov 2015 05:39: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 55791 invoked by uid 48); 25 Nov 2015 05:37:39 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66465] Procedure pointer component & non-component interpreted as different type or kind Date: Wed, 25 Nov 2015 05: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.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: 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: 2015-11/txt/msg02727.txt.bz2 Content-length: 547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66465 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |pault at gcc dot gnu.org Resolution|--- |FIXED --- Comment #6 from Paul Thomas --- Fixed on 4.9, 5 and 6 branches. Thanks for the report Paul >>From gcc-bugs-return-503801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 05:39:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57829 invoked by alias); 25 Nov 2015 05:39: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 55506 invoked by uid 48); 25 Nov 2015 05:36:58 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68196] [4.9/5 Regression] ICE on function result with procedure pointer component Date: Wed, 25 Nov 2015 05: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: 4.9.3 X-Bugzilla-Keywords: ice-on-valid-code 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: 4.9.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: 2015-11/txt/msg02728.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68196 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Paul Thomas --- Fixed on 4.9, 5 and 6 branches. Thanks for the report Paul >>From gcc-bugs-return-503802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 06:56:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70455 invoked by alias); 25 Nov 2015 06:56: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 70368 invoked by uid 48); 25 Nov 2015 06:56:36 -0000 From: "michael.collison at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68494] [ARM] Use vector multiply by lane Date: Wed, 25 Nov 2015 06: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: michael.collison at linaro dot 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: 2015-11/txt/msg02729.txt.bz2 Content-length: 733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68494 --- Comment #2 from Michael Collison -= -- Sorry here is the updated test case. #define NTAPS 4 short taps[NTAPS]; void fir_t5(int len, short * __restrict p, short *__restrict x, short *__restrict taps) { len =3D len & ~31; for (int i =3D 0; i < len; i++) { int tmp =3D 0; for (int j =3D 0; j < NTAPS; j++) { tmp +=3D x[i - j] * taps[j]; } p[i] =3D tmp; } } ---------------------------------------------------------------------------= ----- We currently generate a vdup of the scalar taps[j] in the inner loop. Ideal= ly we do not use the vdup and insted use a vmul using a lane. >>From gcc-bugs-return-503803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 07:11:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119852 invoked by alias); 25 Nov 2015 07:11: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 119832 invoked by uid 48); 25 Nov 2015 07:11:18 -0000 From: "michael.collison at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68532] New: [ARM] Incorrect code result on arm big endian Date: Wed, 25 Nov 2015 07:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.collison 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 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: 2015-11/txt/msg02730.txt.bz2 Content-length: 1060 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68532 Bug ID: 68532 Summary: [ARM] Incorrect code result on arm big endian Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: michael.collison at linaro dot org Target Milestone: --- The following test case produces the incorrect answer on arm big endian with the following options: -O2 -ftree-vectorize -fno-vect-cost-model=20 -mcpu=3Dcortex-a8 -mfpu=3Dneon Result should be '960', armbe generate '992' as the result. #include #include #define SIZE 128 unsigned short alignas(16) in[SIZE]; __attribute__ ((noinline)) int test (unsigned short diff, unsigned short *in, int x) { for (int j =3D 0; j < SIZE; j+=3D8) diff +=3D in[j] * x; return diff; } int main() { for (int i =3D 0; i>From gcc-bugs-return-503804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 07:27:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49586 invoked by alias); 25 Nov 2015 07: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 49520 invoked by uid 48); 25 Nov 2015 07:27:14 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 07: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02731.txt.bz2 Content-length: 2185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #13 from Josh Triplett --- (In reply to PaX Team from comment #12) > 2. as for my idea, it's simple: track the context via an artificially > injected local integer variable (one per context if you want context > sensitivity) and initialize it to the 'in' attr parameter or 0 otherwise > then adjust its value on function calls that affect it based on the calle= e's > context attribute. at the end compare the variable against the 'out' attr > parameter (or 0) and complain on a mismatch (in my proof-of-concept i just > called builtin_trap on a mismatch). now where gcc comes in is that it'll = do > constant propagation, DCE, etc for free so the final check either gets > removed by dead code elimination (the locking is correct) or we detected a > locking problem and can even determine the bad path(s). using this simple > method on Josh's test file there're no false positives or false negatives. > i'll work it into something usable (actual reports instead of having to > check for leftover builtin_traps) and release it in PaX then linux can pi= ck > it up when the time comes. That sounds really plausible to me. GCC's constant propagation seems likel= y to do *at least* as well as Sparse does, if not better. (As long as you have optimizations turned on, anyway.) Note that in addition to complaining if *any* exit to the function doesn't = have the correct "out" value, you also need to complain if calls to functions wi= th the context attribute don't have the necessary "in" value. You may want to make that a separate warning option, though, as that option tends to force adding annotations to far more functions. This approach won't necessarily provide the "different contexts for basic block" warning that Sparse has, but I don't necessarily think we need that;= we only care about running a block with different locks if that block actually wants a lock. (Some prototypes in Sparse once provided a separate attribute for use on structure fields, that specified the lock you have to hold to to= uch that field; that could act as another assertion on the context.) >>From gcc-bugs-return-503805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:04:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66755 invoked by alias); 25 Nov 2015 08:04: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 66602 invoked by uid 48); 25 Nov 2015 08:04:41 -0000 From: "gccbugzilla at limegreensocks dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/61692] ICE in extract_insn in recog.c for asm with many parameters Date: Wed, 25 Nov 2015 08:04: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugzilla at limegreensocks dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02732.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61692 --- Comment #4 from David --- (In reply to mrs@gcc.gnu.org from comment #3) > This test case isn't portable. If upped to 40 then it would be more > portable. What platform supports more than 30 operands? As near as I can see, MAX_RECOG_OPERANDS always resolves to 30. Testing the difference between 30 and 31 is the edge case.=20=20 So yeah, we could also try 40, but that seems like an arbitrary number. Why not 50? 150? What am I missing here? >>From gcc-bugs-return-503806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:04:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67542 invoked by alias); 25 Nov 2015 08: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 67449 invoked by uid 48); 25 Nov 2015 08:04:53 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65874] [5 Regression] bootstrap comparison failure (gcc/ira.o) on ia64-linux-gnu Date: Wed, 25 Nov 2015 08: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02733.txt.bz2 Content-length: 447 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65874 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Eric Botcazou --- Not reproducible. >>From gcc-bugs-return-503807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:37:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128501 invoked by alias); 25 Nov 2015 08:37: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 128007 invoked by uid 48); 25 Nov 2015 08:37:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67438] [6 Regression] ~X op ~Y pattern relocation causes loop performance degradation on 32bit x86 Date: Wed, 25 Nov 2015 08:37: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: 6.0 X-Bugzilla-Keywords: missed-optimization, ra 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.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: 2015-11/txt/msg02734.txt.bz2 Content-length: 2894 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67438 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 --- Comment #12 from Richard Biener --- (In reply to Yuri Rumyantsev from comment #11) > In fact, the problem is quite different although it is caused by > non-profitable pattern matching ~X CMP ~Y -> Y CMP X. In general this > pattern may be helpful if we can delete not operation, e.g. > x1 =3D ~x; > y1 =3D ~y; > if (x1 y1) ... and there no any other uses of x1 and y1, i.e. x1 = and > y1 have single use. But if this is not truth we will increase register > pressure since we can not use the same register for x,x1 and y,y1. >=20 > Richard proposed to use the same simplification for min/max operations but > in original test-case nested min/max operation (min(x,min(y,z)) or multi > operand min/max (min(x,y,z)) are not recognized by gcc (Note that icc does > such transformation) Can you file an enhancement bug for this? Best with a testcase. AFAICS a full solution will have pieces in phi-opt and reassoc at least. > and so this won't help since we have the same register > pressure issue: > c =3D ~r;=20 > m =3D ~g; > y =3D ~b; > k =3D min(c, m, y); > *out++ =3D c - k; > *out++ =3D m - k; > *out++ =3D y - k; > *out++ =3D k; > and we can see that value of 'c' is used in min computation and resulting > store, so if we will use r g comparison we will increase live range > for r, g, b variables and additional registers will require for them (till > comparison). > Note also that there exists another issue with path-splitting (aka tail > duplication) which duplicate loop back edge and in fact move tail block to > hammock. This transformation does not loop useful (at least at given stage > of design) but this is another topic for discussion. >=20 > I'd like to propose to introduce new predicate for pattern matching which > tells us how much uses have left-hand side of ~x. There are examples in match.pd that use single_use () in conditions, doing that would fix this issue. Note that generally constraining patterns to "single-use" operands misses the case where applying (the same) pattern(s) at multiple locations may effectively make operands "single-use". Currently match.pd patterns are applied one-by-one (without fully cleaning up dead stmts) in tree-ssa-forwprop.c which will miss opportunities because of this. Thus there is no "global" analysis done to determine whether an operand becomes dead after applying (multiple) pattern(s) (which is the point of single-use checks). >>From gcc-bugs-return-503808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:47:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49810 invoked by alias); 25 Nov 2015 08:47: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 49753 invoked by uid 55); 25 Nov 2015 08:47:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68502] [6 Regression][i686] spec2000/179.art runfails after r222914 Date: Wed, 25 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02735.txt.bz2 Content-length: 782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68502 --- Comment #3 from Richard Biener --- Author: rguenth Date: Wed Nov 25 08:46:34 2015 New Revision: 230854 URL: https://gcc.gnu.org/viewcvs?rev=3D230854&root=3Dgcc&view=3Drev Log: 2015-11-25 Richard Biener PR tree-optimization/68502 * tree-vect-data-refs.c (vect_analyze_group_access_1): Restore check that the step is a multiple of the type size. * gcc.dg/vect/pr68502-1.c: New testcase. * gcc.dg/vect/pr68502-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/vect/pr68502-1.c trunk/gcc/testsuite/gcc.dg/vect/pr68502-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-data-refs.c >>From gcc-bugs-return-503809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:53:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66381 invoked by alias); 25 Nov 2015 08:53: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 66336 invoked by uid 55); 25 Nov 2015 08:53:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Wed, 25 Nov 2015 08: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02736.txt.bz2 Content-length: 532 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Nov 25 08:53:22 2015 New Revision: 230855 URL: https://gcc.gnu.org/viewcvs?rev=3D230855&root=3Dgcc&view=3Drev Log: 2015-11-25 Richard Biener PR tree-optimization/68492 * tree-vect-slp.c (vect_build_slp_tree): Consistently build up op from scalars after operand swapping. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-slp.c >>From gcc-bugs-return-503810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:56:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75762 invoked by alias); 25 Nov 2015 08:56: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 74878 invoked by uid 48); 25 Nov 2015 08:56:54 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68525] [6 Regression] bogus use of deleted function error on a template with a flexible array member Date: Wed, 25 Nov 2015 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: rejects-valid 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 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: 2015-11/txt/msg02737.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68525 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 >>From gcc-bugs-return-503811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:59:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81259 invoked by alias); 25 Nov 2015 08: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 80356 invoked by uid 55); 25 Nov 2015 08:59:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67089] [4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64 Date: Wed, 25 Nov 2015 08: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: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02738.txt.bz2 Content-length: 1158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67089 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Wed Nov 25 08:58:32 2015 New Revision: 230856 URL: https://gcc.gnu.org/viewcvs?rev=3D230856&root=3Dgcc&view=3Drev Log: PR target/67089 * tree-ssa-math-opts.c (uaddsub_overflow_check_p, match_uaddsub_overflow): New functions. (pass_optimize_widening_mul::execute): Call match_uaddsub_overflow. * gcc.dg/pr67089-1.c: New test. * gcc.dg/pr67089-2.c: New test. * gcc.dg/pr67089-3.c: New test. * gcc.dg/pr67089-4.c: New test. * gcc.dg/pr67089-5.c: New test. * gcc.dg/pr67089-6.c: New test. * gcc.dg/pr67089-7.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr67089-1.c trunk/gcc/testsuite/gcc.dg/pr67089-2.c trunk/gcc/testsuite/gcc.dg/pr67089-3.c trunk/gcc/testsuite/gcc.dg/pr67089-4.c trunk/gcc/testsuite/gcc.dg/pr67089-5.c trunk/gcc/testsuite/gcc.dg/pr67089-6.c trunk/gcc/testsuite/gcc.dg/pr67089-7.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-math-opts.c >>From gcc-bugs-return-503812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 08:59:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104728 invoked by alias); 25 Nov 2015 08:59: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 101510 invoked by uid 48); 25 Nov 2015 08:59:36 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68530] [C++14] sorry, unimplemented: unexpected AST of kind loop_expr Date: Wed, 25 Nov 2015 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.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: 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: 2015-11/txt/msg02739.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68530 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 >>From gcc-bugs-return-503813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:00:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106156 invoked by alias); 25 Nov 2015 09:00: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 106088 invoked by uid 48); 25 Nov 2015 09:00:39 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68206] ICE: unimplemented: unexpected AST of kind loop_expr in potential_constant_expression_1 Date: Wed, 25 Nov 2015 09:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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 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: 2015-11/txt/msg02740.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68206 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 >>From gcc-bugs-return-503814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:02:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61171 invoked by alias); 25 Nov 2015 09:02: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 55040 invoked by uid 48); 25 Nov 2015 09:01:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68533] New: bogus location for "warning:=?UTF-8?Q?=20=E2=80=98struct=20s3=E2=80=99=20declared=20inside=20parameter=20list=20will=20not=20be=20visible=20outside=20of=20this=20definition=20or=20declaration?=" Date: Wed, 25 Nov 2015 09: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: 6.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: 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: 2015-11/txt/msg02741.txt.bz2 Content-length: 889 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68533 Bug ID: 68533 Summary: bogus location for "warning: =E2=80=98struct s3=E2=80= =99 declared inside parameter list will not be visible outside of this definition or declaration" Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- > ./cc1 -quiet t.c -O3 -fdump-tree-slp-details t.c:18:29: warning: =E2=80=98struct s3=E2=80=99 declared inside parameter l= ist will not be visible outside of this definition or declaration foo (struct s3 *arg, struct s4 *arg1) ^~ for the testcase in PR68517 >>From gcc-bugs-return-503816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:08:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94863 invoked by alias); 25 Nov 2015 09:08: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 93402 invoked by uid 48); 25 Nov 2015 09:08:39 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68188] Ambiguous code gets compiled successfully when class and its namespace have the same name Date: Wed, 25 Nov 2015 09: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: 5.2.0 X-Bugzilla-Keywords: accepts-invalid, rejects-valid 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: 2015-11/txt/msg02743.txt.bz2 Content-length: 188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68188 --- Comment #2 from Paolo Carlini --- *** Bug 60025 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:08:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94850 invoked by alias); 25 Nov 2015 09:08: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 93362 invoked by uid 48); 25 Nov 2015 09:08:38 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60025] Static member of class not found if class name == name of namespace it's defined in Date: Wed, 25 Nov 2015 09: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: 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: 2015-11/txt/msg02742.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60025 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Paolo Carlini --- Dup. *** This bug has been marked as a duplicate of bug 68188 *** >>From gcc-bugs-return-503817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:10:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101294 invoked by alias); 25 Nov 2015 09:10:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101251 invoked by uid 48); 25 Nov 2015 09:10:29 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68180] [ICE] at cp/constexpr.c:2768 in initializing __vector in a loop Date: Wed, 25 Nov 2015 09: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.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: 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: 2015-11/txt/msg02744.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68180 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 >>From gcc-bugs-return-503818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:15:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123062 invoked by alias); 25 Nov 2015 09:15: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 122998 invoked by uid 48); 25 Nov 2015 09:15:07 -0000 From: "jgreenhalgh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Wed, 25 Nov 2015 09:15: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: jgreenhalgh at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02745.txt.bz2 Content-length: 1643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 James Greenhalgh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jgreenhalgh at gcc dot gnu= .org --- Comment #16 from James Greenhalgh --- (In reply to Steve Kargl from comment #15) > On Tue, Nov 24, 2015 at 07:48:19PM +0000, dominiq at lps dot ens.fr wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 > >=20 > > --- Comment #14 from Dominique d'Humieres -= -- > > > Not sure how the gcc/testsuite got on the end. Oh well, the > > > testcase won't hurt anything. > >=20 > > [Book15] f90/bug% gfca /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr6822= 7.f90 > > /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr68227.f90:21:0: > >=20 > > forall (i=3D1:n) y(i)%a =3D x > >=20 > >=20 > > internal compiler error: in gfc_do_allocate, at fortran/trans-stmt.c:31= 30 > >=20 > > without your fix for pr68227. > >=20 >=20 > Of course. As I stated, it won't hurt anything. > FAILs in the testsuite are not a problem. The > issue with EXPR_FUNCTION and cshift is a problem. The hurt is for those of us investigating the new regressions... That was 10 minutes of my time to investigate, multiply that by the number of people watching for FAILs on their favourite targets (particularly with trunk as i= t is at the end of stage 1) there is certainly enough hurt to go round. Please revert the broken testcase and leave it for when you fix pr68227. >>From gcc-bugs-return-503820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:16:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126632 invoked by alias); 25 Nov 2015 09:16: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 126583 invoked by uid 48); 25 Nov 2015 09:16:29 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68535] New: arm.c: 5 * set but not used Date: Wed, 25 Nov 2015 09:16: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02747.txt.bz2 Content-length: 1241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68535 Bug ID: 68535 Summary: arm.c: 5 * set but not used Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- 1. [trunk/gcc/config/arm/arm.c:14167]: (style) Variable 'base_reg' is assigned= a value that is never used. Possible candidate for deletion. 2. [trunk/gcc/config/arm/arm.c:14723]: (style) Variable 'i' is assigned a value that is never used. Strange looking for loop. Maybe rewrite it ? 3. [trunk/gcc/config/arm/arm.c:21716]: (style) Variable 'insn' is assigned a v= alue that is never used. Not sure if the instruction should be used someplace later. 4. [trunk/gcc/config/arm/arm.c:23772]: (style) Variable 'pushed_words' is assi= gned a value that is never used. Candidate for deletion. 5. [trunk/gcc/config/arm/arm.c:24059]: (style) Variable 'regs_to_pop' is assig= ned a value that is never used. The code that uses the variable is in a comment. Suggest either reinstate the commented out code or remove the variable. >>From gcc-bugs-return-503819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:16:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125735 invoked by alias); 25 Nov 2015 09: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125677 invoked by uid 48); 25 Nov 2015 09:16:02 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68534] New: No error on mismatch in number of arguments between submodule and module interface Date: Wed, 25 Nov 2015 09:16: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault 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: 2015-11/txt/msg02746.txt.bz2 Content-length: 842 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68534 Bug ID: 68534 Summary: No error on mismatch in number of arguments between submodule and module interface Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pault at gcc dot gnu.org Target Milestone: --- As reported by FortranFan on clf, the following does not produce an error: module m implicit none interface module subroutine foo() end subroutine foo end interface end module m submodule(m) sm contains module subroutine foo(i) integer, intent(inout) :: i i =3D 42 return end subroutine foo end submodule sm Paul >>From gcc-bugs-return-503821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:17:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127500 invoked by alias); 25 Nov 2015 09:17: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 127456 invoked by uid 48); 25 Nov 2015 09:17:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68529] scev failed for while(i--) Date: Wed, 25 Nov 2015 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: 5.2.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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2015-11/txt/msg02748.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-25 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed, mine. This happens because get_inner_reference converts nchar_14 to sizetype and thus we analyze the evolution of (uint64_t) nchar_14 which isn't affine unless we can prove nchar_14 will never wrap in its type (unsi= gned int). >>From gcc-bugs-return-503822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:18:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128834 invoked by alias); 25 Nov 2015 09:18: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 128769 invoked by uid 48); 25 Nov 2015 09:18:11 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68534] No error on mismatch in number of arguments between submodule and module interface Date: Wed, 25 Nov 2015 09: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02749.txt.bz2 Content-length: 873 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68534 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 CC| |damian at sourceryinstitut= e dot or | |g, | |kargl at apl dot washingto= n.edu, | |pault at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #1 from Paul Thomas --- Confirmed on FC21/x86_64 Paul >>From gcc-bugs-return-503824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:19:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130216 invoked by alias); 25 Nov 2015 09:19: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 130073 invoked by uid 48); 25 Nov 2015 09:19:34 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65091] decltype(~arg) fails for template functions Date: Wed, 25 Nov 2015 09: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: 4.9.2 X-Bugzilla-Keywords: rejects-valid 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: 6.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: 2015-11/txt/msg02751.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65091 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joel.falcou at lri dot fr --- Comment #6 from Paolo Carlini --- *** Bug 68144 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:19:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130116 invoked by alias); 25 Nov 2015 09:19: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 130047 invoked by uid 48); 25 Nov 2015 09:19:33 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68144] operator~ in trailing return type leads to spurrious error Date: Wed, 25 Nov 2015 09: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: 5.2.0 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: 2015-11/txt/msg02750.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68144 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Paolo Carlini --- Dup. *** This bug has been marked as a duplicate of bug 65091 *** >>From gcc-bugs-return-503825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:21:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13625 invoked by alias); 25 Nov 2015 09:21: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 13587 invoked by uid 48); 25 Nov 2015 09:21:41 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68096] internal compiler error: Segmentation fault(program cc1plus) Date: Wed, 25 Nov 2015 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: 4.8.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: bug_status resolution 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: 2015-11/txt/msg02752.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68096 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID Severity|critical |normal --- Comment #2 from Paolo Carlini --- Let's close this. >>From gcc-bugs-return-503826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:22:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14384 invoked by alias); 25 Nov 2015 09:22: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 14337 invoked by uid 48); 25 Nov 2015 09:22:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68528] Wrong constant folding Date: Wed, 25 Nov 2015 09: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on 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: 2015-11/txt/msg02753.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68528 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 Known to fail| |4.3.5, 4.8.5, 5.2.0 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-503827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:22:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15183 invoked by alias); 25 Nov 2015 09:22: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 15140 invoked by uid 48); 25 Nov 2015 09:22:28 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68161] Inconsistent behaviour of unnamed field with inheritance. Date: Wed, 25 Nov 2015 09: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 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: 2015-11/txt/msg02754.txt.bz2 Content-length: 305 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68161 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement >>From gcc-bugs-return-503830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:23:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18508 invoked by alias); 25 Nov 2015 09:23: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 18431 invoked by uid 48); 25 Nov 2015 09:23:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68502] [6 Regression][i686] spec2000/179.art runfails after r222914 Date: Wed, 25 Nov 2015 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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02757.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68502 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-503829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:23:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17750 invoked by alias); 25 Nov 2015 09:23: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 17367 invoked by uid 55); 25 Nov 2015 09:23:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68517] [6 Regression] ICE in tree-vect-data-refs.c:2751 Date: Wed, 25 Nov 2015 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: 6.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: 6.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: 2015-11/txt/msg02756.txt.bz2 Content-length: 668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68517 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Nov 25 09:22:47 2015 New Revision: 230858 URL: https://gcc.gnu.org/viewcvs?rev=3D230858&root=3Dgcc&view=3Drev Log: 2015-11-25 Richard Biener PR tree-optimization/68517 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Properly handle zero-sized types. * gcc.dg/torture/pr68517.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr68517.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-data-refs.c >>From gcc-bugs-return-503828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:23:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16995 invoked by alias); 25 Nov 2015 09:23: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 16935 invoked by uid 48); 25 Nov 2015 09:23:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68517] [6 Regression] ICE in tree-vect-data-refs.c:2751 Date: Wed, 25 Nov 2015 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: 6.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: 6.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: 2015-11/txt/msg02755.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68517 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener --- Fixed. >>From gcc-bugs-return-503831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:23:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19366 invoked by alias); 25 Nov 2015 09:23: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 19289 invoked by uid 48); 25 Nov 2015 09:23:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68526] [6 Regression] gcc.target/powerpc/recip-4.c fails starting with r230492 Date: Wed, 25 Nov 2015 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: 6.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: 6.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: 2015-11/txt/msg02758.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68526 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-503832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:26:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23214 invoked by alias); 25 Nov 2015 09: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 23173 invoked by uid 48); 25 Nov 2015 09:26:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68522] [6 Regression] SPEC CPU2006 435.gromacs miscomparison Date: Wed, 25 Nov 2015 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: 6.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02759.txt.bz2 Content-length: 353 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68522 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Target Milestone|--- |6.0 >>From gcc-bugs-return-503833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:28:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26226 invoked by alias); 25 Nov 2015 09:28: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 26142 invoked by uid 48); 25 Nov 2015 09:28:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68521] [6.0 regression] ICE on valid code Date: Wed, 25 Nov 2015 09: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: 6.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: 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: 2015-11/txt/msg02760.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68521 --- Comment #2 from Richard Biener --- Created attachment 36832 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36832&action=3Dedit unrelated(?) patch Yeah, note that tree-complex.c is structured in a way that exposes SSA name uses without actually having built the defs... I've run into this for some unrelated work (not finished) and produced the attached to fix that. >>From gcc-bugs-return-503834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:30:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32446 invoked by alias); 25 Nov 2015 09:30: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 32293 invoked by uid 48); 25 Nov 2015 09:30:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68521] [6.0 regression] ICE on valid code Date: Wed, 25 Nov 2015 09: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: 6.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02761.txt.bz2 Content-length: 236 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68521 --- Comment #3 from Richard Biener --- I get some (unrelated) ICE in my heavily patched dev tree with that patch so cannot verify it does anything good. >>From gcc-bugs-return-503835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:31:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33361 invoked by alias); 25 Nov 2015 09:31: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 33317 invoked by uid 48); 25 Nov 2015 09:31:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68521] [6.0 regression] ICE on valid code Date: Wed, 25 Nov 2015 09: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: 6.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: 6.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: 2015-11/txt/msg02762.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68521 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-503836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:33:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39365 invoked by alias); 25 Nov 2015 09:33: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 39253 invoked by uid 48); 25 Nov 2015 09:33:02 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67983] ICE: Error reporting routines re-entered. Date: Wed, 25 Nov 2015 09: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: 5.2.0 X-Bugzilla-Keywords: diagnostic, 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: 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: 2015-11/txt/msg02763.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67983 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 >>From gcc-bugs-return-503837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:36:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46233 invoked by alias); 25 Nov 2015 09:36: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 46166 invoked by uid 48); 25 Nov 2015 09:36:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68521] [6.0 regression] ICE on valid code Date: Wed, 25 Nov 2015 09: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: 6.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: 6.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: 2015-11/txt/msg02764.txt.bz2 Content-length: 398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68521 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > I get some (unrelated) ICE in my heavily patched dev tree with that patch= so > cannot verify it does anything good. Ah, it's the patch itself not working (domwalk being confused because the pass splits blocks during the walk) >>From gcc-bugs-return-503838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:49:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72586 invoked by alias); 25 Nov 2015 09:49: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 72509 invoked by uid 55); 25 Nov 2015 09:49:03 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization Date: Wed, 25 Nov 2015 09: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: 6.0 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02765.txt.bz2 Content-length: 662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68435 --- Comment #10 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Nov 25 09:48:29 2015 New Revision: 230859 URL: https://gcc.gnu.org/viewcvs?rev=3D230859&root=3Dgcc&view=3Drev Log: [RTL-ifcvt] PR rtl-optimization/68435 Allow (c ? x++ : x--) form PR rtl-optimization/68435 * ifcvt.c (noce_try_cmove_arith): Skip final insn when checking for conflicts between a, b and the set destinations. * gcc.dg/pr68435.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr68435.c Modified: trunk/gcc/ChangeLog trunk/gcc/ifcvt.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:50:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76149 invoked by alias); 25 Nov 2015 09:50: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 76092 invoked by uid 48); 25 Nov 2015 09:50:22 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization Date: Wed, 25 Nov 2015 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02766.txt.bz2 Content-length: 204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68435 --- Comment #11 from ktkachov at gcc dot gnu.org --- The RTL if-conversion issue should be fixed now. So now only the path-splitting problem remains? >>From gcc-bugs-return-503840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:53:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78631 invoked by alias); 25 Nov 2015 09:53: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 78581 invoked by uid 48); 25 Nov 2015 09:53:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68528] Wrong constant folding Date: Wed, 25 Nov 2015 09: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02767.txt.bz2 Content-length: 2306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68528 --- Comment #2 from Richard Biener --- at -O0 we have in .original int t =3D 1; because when we fold INT_MIN - (int) ((unsigned int) x0 - (unsigned int) x1) we go through /* A - B -> A + (-B) if B is easily negatable. */ if (negate_expr_p (arg1) && !TYPE_OVERFLOW_SANITIZED (type) && ((FLOAT_TYPE_P (type) /* Avoid this transformation if B is a positive REAL_CST. */ && (TREE_CODE (arg1) !=3D REAL_CST || REAL_VALUE_NEGATIVE (TREE_REAL_CST (arg1)))) || INTEGRAL_TYPE_P (type))) return fold_build2_loc (loc, PLUS_EXPR, type, fold_convert_loc (loc, type, arg0), fold_convert_loc (loc, type, negate_expr (arg1))); resulting in (int) ((unsigned int) x1 - (unsigned int) x0) + -2147483648 after canonicalization which can never be zero (considering undefined overf= low) and we determine that from /* Transform comparisons of the form X +- C1 CMP C2 to X CMP C2 -+ C1. */ if ((TREE_CODE (arg0) =3D=3D PLUS_EXPR || TREE_CODE (arg0) =3D=3D MINUS_E= XPR) && (equality_code || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (arg0)) && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (arg0)))) && TREE_CODE (TREE_OPERAND (arg0, 1)) =3D=3D INTEGER_CST && !TREE_OVERFLOW (TREE_OPERAND (arg0, 1)) && TREE_CODE (arg1) =3D=3D INTEGER_CST && !TREE_OVERFLOW (arg1)) { const enum tree_code reverse_op =3D TREE_CODE (arg0) =3D=3D PLUS_EXPR ? MINUS_EXPR : PLU= S_EXPR; tree const1 =3D TREE_OPERAND (arg0, 1); tree const2 =3D fold_convert_loc (loc, TREE_TYPE (const1), arg1); tree variable =3D TREE_OPERAND (arg0, 0); tree new_const =3D int_const_binop (reverse_op, const2, const1); /* If the constant operation overflowed this can be simplified as a comparison against INT_MAX/INT_MIN. */ if (TREE_OVERFLOW (new_const) && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (arg0))) { ... /* We now can look at the canonicalized case VARIABLE + 1 CODE2 INT_MIN and decide on the result. */ >>From gcc-bugs-return-503841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:53:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79569 invoked by alias); 25 Nov 2015 09:53: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 79517 invoked by uid 48); 25 Nov 2015 09:53:49 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58910] std::Tuple_impl is non constexpr when using identical userdefined structs as template-args Date: Wed, 25 Nov 2015 09: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: 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: P2 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: 2015-11/txt/msg02768.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58910 --- Comment #4 from Paolo Carlini --- Indeed. Let's play safe and add a testcase before closing the bug as fixed = for 5+. >>From gcc-bugs-return-503842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 09:58:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105317 invoked by alias); 25 Nov 2015 09:58: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 104288 invoked by uid 48); 25 Nov 2015 09:58:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68528] Wrong constant folding Date: Wed, 25 Nov 2015 09:58: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: 6.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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component 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: 2015-11/txt/msg02769.txt.bz2 Content-length: 779 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68528 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|tree-optimization |middle-end Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #3 from Richard Biener --- The bug is that we call negate_expr_p on arg1 instead of op1 which does not preserve the sign of the operand properly. Unfortunately we do this in a l= ot of places. And again a TYPE_OVERFLOW_SANITIZED check was "wrong" (should have fixed the bogus case properly). >>From gcc-bugs-return-503843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:00:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109613 invoked by alias); 25 Nov 2015 10: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 109553 invoked by uid 55); 25 Nov 2015 10:00:35 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58910] std::Tuple_impl is non constexpr when using identical userdefined structs as template-args Date: Wed, 25 Nov 2015 10:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 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: P2 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: 2015-11/txt/msg02770.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58910 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Nov 25 10:00:02 2015 New Revision: 230860 URL: https://gcc.gnu.org/viewcvs?rev=3D230860&root=3Dgcc&view=3Drev Log: 2015-11-25 Paolo Carlini PR c++/58910 * g++.dg/cpp0x/constexpr-tuple2.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-tuple2.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:02:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111157 invoked by alias); 25 Nov 2015 10:02: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 111104 invoked by uid 48); 25 Nov 2015 10:02:14 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58910] std::Tuple_impl is non constexpr when using identical userdefined structs as template-args Date: Wed, 25 Nov 2015 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: 4.9.0 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work 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: 2015-11/txt/msg02771.txt.bz2 Content-length: 549 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58910 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Known to work| |5.1.0, 6.0 Resolution|--- |FIXED Target Milestone|--- |5.0 --- Comment #6 from Paolo Carlini --- Done. >>From gcc-bugs-return-503845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:02:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111249 invoked by alias); 25 Nov 2015 10:02: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 111129 invoked by uid 48); 25 Nov 2015 10:02:15 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55004] [meta-bug] constexpr issues Date: Wed, 25 Nov 2015 10:02: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: 2015-11/txt/msg02772.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 Bug 55004 depends on bug 58910, which changed state. Bug 58910 Summary: std::Tuple_impl is non constexpr when using identical us= erdefined structs as template-args https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58910 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-503846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:04:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113396 invoked by alias); 25 Nov 2015 10:04: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 113355 invoked by uid 48); 25 Nov 2015 10:04:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68492] [6 Regression] internal compiler error: in vect_is_simple_use, at tree-vect-stmts.c:8266 Date: Wed, 25 Nov 2015 10:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02773.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68492 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Richard Biener --- Fixed. >>From gcc-bugs-return-503847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:15:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15290 invoked by alias); 25 Nov 2015 10:15: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 15163 invoked by uid 48); 25 Nov 2015 10:15:32 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68535] arm.c: 5 * set but not used Date: Wed, 25 Nov 2015 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: X-Bugzilla-Severity: minor X-Bugzilla-Who: ktkachov 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: 2015-11/txt/msg02774.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68535 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed, those cases do look weird and could use some cleanup >>From gcc-bugs-return-503848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:22:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27731 invoked by alias); 25 Nov 2015 10: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 27327 invoked by uid 48); 25 Nov 2015 10:22:25 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67824] constexpr char* compare operations not constexpr, but char[] operations ARE Date: Wed, 25 Nov 2015 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: 5.2.1 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: 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: 2015-11/txt/msg02775.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67824 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 >>From gcc-bugs-return-503849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:31:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80656 invoked by alias); 25 Nov 2015 10:31: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 80118 invoked by uid 48); 25 Nov 2015 10:31:41 -0000 From: "pageexec at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 10: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pageexec at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02776.txt.bz2 Content-length: 2387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #14 from PaX Team --- (In reply to Josh Triplett from comment #13) > That sounds really plausible to me. GCC's constant propagation seems lik= ely > to do *at least* as well as Sparse does, if not better. (As long as you > have optimizations turned on, anyway.) note that optimizations are not actually necessary for the scheme to work, = it just means that the check(s) will have to do more work as you'll get a phi = and have to traverse back the data flow to see if any unexpected values can end= up there (optimizations basically do this data flow tracking for free and resu= lt in dead code elimination thus making it easier on the checks). in fact i ex= pect that this will already happen on real linux code so the plugin will have to handle this case anyway. > Note that in addition to complaining if *any* exit to the function doesn't > have the correct "out" value, you also need to complain if calls to > functions with the context attribute don't have the necessary "in" value.= =20 sure, it's easy enough to inject more checks than just at the function retu= rn sites, i just wanted to validate my idea first then do the make-it-usable p= art which includes increased coverage too. > You may want to make that a separate warning option, though, as that opti= on > tends to force adding annotations to far more functions. actually one idea for the future is to extend the plugin to be IPA then LTO aware so that it can discover the acquire/release properties itself based o= n an initial set of 'seed' functions that have to be marked by hand (and which already are i guess, all the direct callers of __context__ basically). we h= ave experience in this area with the size overflow and other plugins, so the infrastructure is there already (albeit the LTO part is held up by PR61311). > This approach won't necessarily provide the "different contexts for basic > block" warning that Sparse has, but I don't necessarily think we need tha= t; can you give me an example of this? the thing is, my approach tracks the context with statement granularity so if you can tell the compiler where you expect specific states (such as the context attr on callees) checks can be inserted there easily, down to individual statements (say, the structure fi= eld accesses you mentioned). >>From gcc-bugs-return-503850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:34:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83037 invoked by alias); 25 Nov 2015 10:34: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 82981 invoked by uid 48); 25 Nov 2015 10:34:14 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68536] New: LRA ICEs with new arm pattern Date: Wed, 25 Nov 2015 10:34: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc blocked target_milestone cf_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: 2015-11/txt/msg02777.txt.bz2 Content-length: 2550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68536 Bug ID: 68536 Summary: LRA ICEs with new arm pattern Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: vmakarov at redhat dot com Blocks: 49526 Target Milestone: --- Target: arm I'm trying to add support in arm for the smmlar instruction from ARMv6. The pattern for it looks like this: (define_insn "*mulsidi3siaddsi_round_v6" [(set (match_operand:SI 0 "s_register_operand" "=3Dr") (plus:SI (match_operator:SI 3 "subreg_highpart_operator" [(plus:DI (mult:DI (sign_extend:DI (match_operand:SI 1 "s_register_operand" "%r")) (sign_extend:DI (match_operand:SI 2 "s_register_operand" "r"))) (const_int 2147483648))]) (match_operand:SI 4 "s_register_operand" "r")))] "TARGET_32BIT && arm_arch6" "smmlar%?\\t%0, %1, %2, %4" [(set_attr "type" "smmla") (set_attr "predicable" "yes") (set_attr "predicable_short_it" "no")] ) However, if I add it to arm.md I get the following ICE during register allocation: internal compiler error: Segmentation fault } ^ 0xa9a432 crash_signal $SRC/gcc/toplev.c:334 0x930f61 lra_emit_add(rtx_def*, rtx_def*, rtx_def*) $SRC/gcc/lra.c:389 0x93130b lra_emit_move(rtx_def*, rtx_def*) $SRC/gcc/lra.c:495 0x939fc9 insert_move_for_subreg $SRC/gcc/lra-constraints.c:1353 0x9416ce simplify_operand_subreg $SRC/gcc/lra-constraints.c:1489 0x9416ce curr_insn_transform $SRC/gcc/lra-constraints.c:3416 0x94437d lra_constraints(bool) $SRC/gcc/lra-constraints.c:4406 0x933d75 lra(_IO_FILE*) $SRC/gcc/lra.c:2267 0x8ef845 do_reload $SRC/gcc/ira.c:5383 0x8ef845 execute $SRC/gcc/ira.c:5554 Just add this pattern to gcc/config/arm.md and try to compile the testcase: int smmlar (int a, int b, int c) { return c + (((long long)a * b + 0x80000000) >> 32); } with -O2 and -mcpu=3Dcortex-a15 or something Is there something wrong with the way I defined the pattern/constraints or is this an LRA bug? Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49526 [Bug 49526] extra move instruction for smmul >>From gcc-bugs-return-503851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 10:55:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58293 invoked by alias); 25 Nov 2015 10:55: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 58217 invoked by uid 48); 25 Nov 2015 10:55:34 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68537] New: Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 10:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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_file_loc 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: 2015-11/txt/msg02778.txt.bz2 Content-length: 5857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 Bug ID: 68537 Summary: Vectorizer possibly miscompiles dynamic linker with -O3 Product: gcc Version: unknown URL: https://sourceware.org/bugzilla/show_bug.cgi?id=3D19289 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Created attachment 36833 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36833&action=3Dedit unreduced testcase Since r230091 gcc apparently miscompiles the glibc dynmanic linker when usi= ng -O3: markus@x4 glibc-build % gdb --args /var/tmp/glibc-build/elf/ld-linux-x86-64.so.2 /home/markus/bin/xmonad Reading symbols from /var/tmp/glibc-build/elf/ld-linux-x86-64.so.2...done. (gdb) run Starting program: /var/tmp/glibc-build/elf/ld-linux-x86-64.so.2 /home/markus/bin/xmonad [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. _dl_lookup_symbol_x (undef_name=3D0x7ffff75cb3c5 "__gmpn_invert_limb", undef_map=3D0x7ffff76494d0, ref=3Dref@entry=3D0x7fffffffa170, symbol_scope=3D0x7ffff7649828, version=3D0x0,=20 type_class=3Dtype_class@entry=3D1, flags=3D1, skip_map=3D0x0) at dl-loo= kup.c:809 809 struct sym_val current_value =3D { NULL, NULL }; (gdb) bt #0 _dl_lookup_symbol_x (undef_name=3D0x7ffff75cb3c5 "__gmpn_invert_limb", undef_map=3D0x7ffff76494d0, ref=3Dref@entry=3D0x7fffffffa170, symbol_scope=3D0x7ffff7649828, version=3D0x0,=20 type_class=3Dtype_class@entry=3D1, flags=3D1, skip_map=3D0x0) at dl-loo= kup.c:809 #1 0x0000555555564413 in _dl_fixup (l=3D, reloc_arg=3D) at ../elf/dl-runtime.c:111 #2 0x000055555556ce1f in _dl_runtime_resolve_sse () at ../sysdeps/x86_64/dl-trampoline.h:112 #3 0x00007ffff762093a in __gmpn_divrem_1 () from /usr/lib/libgmp.so.10 #4 0xee6b280000000000 in ?? () #5 0x00007ffff6b0b138 in ?? () #6 0x00007ffff6b057d0 in ?? () #7 0x00000000ffffffe2 in ?? () #8 0x00007ffff6b057b8 in ?? () #9 0x00007ffff6b051b0 in ?? () #10 0x00007ffff6b0b1b0 in ?? () #11 0x00000000006b47d8 in ?? () #12 0x00000000006142a9 in ?? () #13 0x0000000000000000 in ?? () (gdb) disass Dump of assembler code for function _dl_lookup_symbol_x: ... 0x000055555555e915 <+117>: jne 0x55555555e900 <_dl_lookup_symbol_x+= 96> 0x000055555555e917 <+119>: mov %eax,%eax 0x000055555555e919 <+121>: mov %rax,-0xb0(%rbp) 0x000055555555e920 <+128>: pxor %xmm0,%xmm0 0x000055555555e924 <+132>: mov $0xffffffff,%eax 0x000055555555e929 <+137>: incq 0x21d048(%rip) # 0x55555577b9= 78 <_rtld_local+2424> 0x000055555555e930 <+144>: test %r12,%r12 0x000055555555e933 <+147>: mov %rax,-0xa0(%rbp) =3D> 0x000055555555e93a <+154>: movaps %xmm0,-0x90(%rbp) 0x000055555555e941 <+161>: je 0x55555555e950 <_dl_lookup_symbol_x+= 176> rax 0xffffffff 4294967295 rbx 0x7ffff763c360 140737343898464 rcx 0x7ffff75cb3d7 140737343435735 rdx 0x0 0 rsi 0x33f9b936d4fb49a0 3745228210287888800 rdi 0x7ffff75cb3c5 140737343435717 rbp 0x7fffffffa148 0x7fffffffa148 rsp 0x7fffffffa058 0x7fffffffa058 r8 0x0 0 r9 0x1 1 r10 0x7ffff76494d0 140737343952080 r11 0x7ffff7620840 140737343785024 r12 0x0 0 r13 0x0 0 r14 0x7ffff76494d0 140737343952080 r15 0x7fffffffa170 140737488331120 rip 0x55555555e93a 0x55555555e93a <_dl_lookup_symbol_x+154> eflags 0x10246 [ PF ZF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 Comparison of disassembly of the function in question left with __attribute= __ ((__target__ ("no-mmx,no-sse"))) right without (segfaulting).=20=20 add %rsi,%rax | add %rsi,%rax add %rdx,%rax | add %rdx,%rax movzbl (%rcx),%edx | movzbl (%rcx),%edx test %dl,%dl | test %dl,%dl jne da0 <_dl_lookup_symbol_x+0x60> | jne da0 <_dl_lookup_symbol_x+0x60> mov %eax,%ebx | mov %eax,%ebx mov $0xffffffff,%eax | pxor %xmm0,%xmm0 test %r13,%r13 | mov $0xffffffff,%eax movq $0x0,-0x80(%rbp) | test %r13,%r13 | mov %rax,-0x88(%rbp) mov %rax,-0x88(%rbp) | movaps %xmm0,-0x80(%rbp) movq $0x0,-0x78(%rbp) | je ddf <_dl_lookup_symbol_x+0x9f> | testl $0xfffffffa,0x10(%rbp) je de7 <_dl_lookup_symbol_x+0xa7> | jne 18e4 <_dl_lookup_symbol_x+0xba4> testl $0xfffffffa,0x10(%rbp) | mov -0xb8(%rbp),%rax jne 196c <_dl_lookup_symbol_x+0xc2c> | test %r14,%r14 mov -0xb8(%rbp),%rax | mov (%rax),%r9 test %r14,%r14 | jne 1000 <_dl_lookup_symbol_x+0x2c0> mov (%rax),%r9 | test %r9,%r9 jne 1040 <_dl_lookup_symbol_x+0x300> | movq $0x0,-0xc0(%rbp) markus@x4 elf % gcc -O3 -c dl-lookup.i markus@x4 elf % objdump -dr dl-lookup.o | grep movaps 14f4: 0f 29 45 80 movaps %xmm0,-0x80(%rbp) 163b: 0f 29 45 90 movaps %xmm0,-0x70(%rbp) With -fno-vect-cost-model even 4.9 generates the segfaulting instruction. >>From gcc-bugs-return-503852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 11:19:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8667 invoked by alias); 25 Nov 2015 11:19: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 8583 invoked by uid 48); 25 Nov 2015 11:19:39 -0000 From: "majun4950646 at 163 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68529] scev failed for while(i--) Date: Wed, 25 Nov 2015 11: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: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: majun4950646 at 163 dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02779.txt.bz2 Content-length: 740 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 --- Comment #2 from majun --- (In reply to Richard Biener from comment #1) > Confirmed, mine. This happens because get_inner_reference converts nchar= _14 > to sizetype and thus we analyze the evolution of (uint64_t) nchar_14 which > isn't affine unless we can prove nchar_14 will never wrap in its type > (unsigned int). how does scev handle type conversion now ?=20 I see many type conversion in ev function,And I think this may casue vect/p= ara failed for some loops. I hit a parallel problem caused by scev type conversion handle in spec2k6 4= 10. for now I have no idea with this problem,I will open a new bug to report t= his. thanks! ---Jun >>From gcc-bugs-return-503853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 11:34:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63129 invoked by alias); 25 Nov 2015 11:34: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 63078 invoked by uid 55); 25 Nov 2015 11:34:18 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68529] scev failed for while(i--) Date: Wed, 25 Nov 2015 11:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02780.txt.bz2 Content-length: 1263 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 --- Comment #3 from rguenther at suse dot de --- On Wed, 25 Nov 2015, majun4950646 at 163 dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 >=20 > --- Comment #2 from majun --- > (In reply to Richard Biener from comment #1) > > Confirmed, mine. This happens because get_inner_reference converts nch= ar_14 > > to sizetype and thus we analyze the evolution of (uint64_t) nchar_14 wh= ich > > isn't affine unless we can prove nchar_14 will never wrap in its type > > (unsigned int). >=20 > how does scev handle type conversion now ?=20 Correctly, but not optimally in this case. > I see many type conversion in ev function,And I think this may casue vect= /para > failed for some loops. One issue is that we ask SCEV about (uint64_t) nchar_14 in the first place (of course data-ref users expect DR_OFFSET to be of sizetype). This is an "artifact" of get_inner_reference. But as soon as you get a size multiplier !=3D 1 you'd need the cast anyway. > I hit a parallel problem caused by scev type conversion handle in=20 > spec2k6 410. for now I have no idea with this problem,I will open a new=20 > bug to report this. Thanks. >>From gcc-bugs-return-503854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 11:39:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75435 invoked by alias); 25 Nov 2015 11:39: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 75378 invoked by uid 48); 25 Nov 2015 11:39:03 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68529] scev failed for while(i--) Date: Wed, 25 Nov 2015 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.1 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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02781.txt.bz2 Content-length: 1427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #4 from amker at gcc dot gnu.org --- (In reply to majun from comment #2) > (In reply to Richard Biener from comment #1) > > Confirmed, mine. This happens because get_inner_reference converts nch= ar_14 > > to sizetype and thus we analyze the evolution of (uint64_t) nchar_14 wh= ich > > isn't affine unless we can prove nchar_14 will never wrap in its type > > (unsigned int). >=20 > how does scev handle type conversion now ?=20 Not very different to before actually. Only scev now is more aggressive wh= en determining overflow-ness in type conversion. It's still safe, the original implementation is too conservative. >=20 > I see many type conversion in ev function,And I think this may casue > vect/para failed for some loops. This is kind of expected because scev now understands that some type conver= sion doesn't introduce overflow, so it creates SCEV for it. >=20=20 > I hit a parallel problem caused by scev type conversion handle in spec2k6 > 410. for now I have no idea with this problem,I will open a new bug to > report this. Please, I'd like to look into more cases where scev fails. Thanks, bin >>From gcc-bugs-return-503855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 11:40:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77329 invoked by alias); 25 Nov 2015 11:40: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 77296 invoked by uid 48); 25 Nov 2015 11:40:52 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/62661] digit separator warning in if'ed out code Date: Wed, 25 Nov 2015 11:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.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 cf_reconfirmed_on resolution 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: 2015-11/txt/msg02782.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62661 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2015-11-25 Resolution|DUPLICATE |--- Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > This is correct tokenization has to happen in #if code. But in C++14 tokenization should handle digit separators, see the definitio= n of pp-number in 2.9 [lex.ppnumber], which allows single quotes in a pp-number. >>From gcc-bugs-return-503856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 11:47:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101611 invoked by alias); 25 Nov 2015 11:47:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101563 invoked by uid 48); 25 Nov 2015 11:47:52 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 11: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw 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: 2015-11/txt/msg02783.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fw at gcc dot gnu.org --- Comment #1 from Florian Weimer --- You have left out bits of the disassembly which would show if the stack is misaligned on entry of the function. (This would be a bug in GHC, not GCC.) >>From gcc-bugs-return-503857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 11:57:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113713 invoked by alias); 25 Nov 2015 11:57:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113665 invoked by uid 48); 25 Nov 2015 11:57:53 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 11: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02784.txt.bz2 Content-length: 2300 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 --- Comment #2 from Markus Trippelsdorf --- 0000000000001470 <_dl_lookup_symbol_x>: 1470: 55 push %rbp 1471: 48 89 e5 mov %rsp,%rbp 1474: 41 57 push %r15 1476: 41 56 push %r14 1478: 41 55 push %r13 147a: 41 54 push %r12 147c: 49 89 d5 mov %rdx,%r13 147f: 53 push %rbx 1480: 49 89 f7 mov %rsi,%r15 1483: 4d 89 c6 mov %r8,%r14 1486: 48 81 ec a8 00 00 00 sub $0xa8,%rsp 148d: 0f b6 17 movzbl (%rdi),%edx 1490: 48 89 bd 68 ff ff ff mov %rdi,-0x98(%rbp) 1497: 48 89 8d 50 ff ff ff mov %rcx,-0xb0(%rbp) 149e: 44 89 8d 5c ff ff ff mov %r9d,-0xa4(%rbp) 14a5: 4c 8b 65 18 mov 0x18(%rbp),%r12 14a9: 84 d2 test %dl,%dl 14ab: 0f 84 cb 02 00 00 je 177c <_dl_lookup_symbol_x+0x= 30c> 14b1: 48 89 f9 mov %rdi,%rcx 14b4: b8 05 15 00 00 mov $0x1505,%eax 14b9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 14c0: 48 89 c6 mov %rax,%rsi 14c3: 48 83 c1 01 add $0x1,%rcx 14c7: 48 c1 e6 05 shl $0x5,%rsi 14cb: 48 01 f0 add %rsi,%rax 14ce: 48 01 d0 add %rdx,%rax 14d1: 0f b6 11 movzbl (%rcx),%edx 14d4: 84 d2 test %dl,%dl 14d6: 75 e8 jne 14c0 <_dl_lookup_symbol_x+0x= 50> 14d8: 89 c0 mov %eax,%eax 14da: 48 89 85 60 ff ff ff mov %rax,-0xa0(%rbp) 14e1: 66 0f ef c0 pxor %xmm0,%xmm0 14e5: b8 ff ff ff ff mov $0xffffffff,%eax 14ea: 4d 85 f6 test %r14,%r14 14ed: 48 89 85 78 ff ff ff mov %rax,-0x88(%rbp) 14f4: 0f 29 45 80 movaps %xmm0,-0x80(%rbp) >>From gcc-bugs-return-503858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 11:59:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122804 invoked by alias); 25 Nov 2015 11:59: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 122748 invoked by uid 48); 25 Nov 2015 11:59:54 -0000 From: "pageexec at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug plugins/61176] plugin builds including gimple.h not building Date: Wed, 25 Nov 2015 11:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: plugins X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pageexec at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02785.txt.bz2 Content-length: 214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61176 --- Comment #20 from PaX Team --- update for gcc-6: /gcc/params.list is also needed now as it gets included by params.h. >>From gcc-bugs-return-503859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:02:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130684 invoked by alias); 25 Nov 2015 12:02:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130628 invoked by uid 48); 25 Nov 2015 12:02:50 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68538] New: ICE in gen_reg_rtx, at emit-rtl.c:1027 when cross-compiling for cris-linux-gnu target Date: Wed, 25 Nov 2015 12:02: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat 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: 2015-11/txt/msg02786.txt.bz2 Content-length: 1130 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68538 Bug ID: 68538 Summary: ICE in gen_reg_rtx, at emit-rtl.c:1027 when cross-compiling for cris-linux-gnu target Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dhowells at redhat dot com Target Milestone: --- Created attachment 36834 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36834&action=3Dedit Test program I'm getting the following when compiling for a cris-linux-gnu target with gcc-5.2.1: warthog>cris-linux-gnu-gcc -O2 -c output.c output.c: In function =E2=80=98cfq_completed_request=E2=80=99: output.c:51:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1027 } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/cc89FntN.out file, please attach this = to your bugreport. A testcase is attached. >>From gcc-bugs-return-503860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:06:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48139 invoked by alias); 25 Nov 2015 12:06: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 48053 invoked by uid 48); 25 Nov 2015 12:06:36 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw 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: 2015-11/txt/msg02787.txt.bz2 Content-length: 713 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 --- Comment #3 from Florian Weimer --- (In reply to Markus Trippelsdorf from comment #0) > rbp 0x7fffffffa148 0x7fffffffa148 (In reply to Markus Trippelsdorf from comment #2) > 0000000000001470 <_dl_lookup_symbol_x>: > 1470: 55 push %rbp > 1471: 48 89 e5 mov %rsp,%rbp > 14f4: 0f 29 45 80 movaps %xmm0,-0x80(%rbp) If I'm reading this correctly, %rsp was a multiple of 16 when the function = is entered, but this is not correct, it has to be congruent 8 modulo 16. This looks like a GHC or GHCi bug (which may already have been fixed). >>From gcc-bugs-return-503861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:08:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50893 invoked by alias); 25 Nov 2015 12:08: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 50850 invoked by uid 48); 25 Nov 2015 12:08:43 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66112] __builtin_mul_overflow for int16_t emits poor code Date: Wed, 25 Nov 2015 12: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 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: 2015-11/txt/msg02788.txt.bz2 Content-length: 1211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66112 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktkachov at gcc dot gnu.org --- Comment #12 from ktkachov at gcc dot gnu.org --- r223115 caused a code quality regression that I'm seeing on aarch64 with PR 68381. We have int foo (unsigned short x, unsigned short y) { int r; if (__builtin_mul_overflow (x, y, &r)) __builtin_abort (); return r; } and before the commit we used to generate: foo: uxth x0, w0 uxth x1, w1 mul x0, x0, x1 cmp x0, x0, sxtw bne .L9 ret .L9: stp x29, x30, [sp, -16]! add x29, sp, 0 bl abort but after r223115 at -O3 on an aarch64 toolchain we generate: foo: uxth w0, w0 uxth w1, w1 stp x29, x30, [sp, -16]! umull x0, w0, w1 add x29, sp, 0 tbnz w0, #31, .L6 mov w2, 0 cbnz w2, .L6 ldp x29, x30, [sp], 16 ret .L6: bl abort >>From gcc-bugs-return-503862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:14:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72408 invoked by alias); 25 Nov 2015 12:14:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72361 invoked by uid 48); 25 Nov 2015 12:14:27 -0000 From: "afomin.mailbox at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization Date: Wed, 25 Nov 2015 12:14: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: afomin.mailbox 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: 6.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: 2015-11/txt/msg02789.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68435 Alexander Fomin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #12 from Alexander Fomin --- Thanks, it works now. I'll file another bug to track path splitting issues. >>From gcc-bugs-return-503863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:25:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112648 invoked by alias); 25 Nov 2015 12:25: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 112590 invoked by uid 48); 25 Nov 2015 12:25:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 12:25: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget component 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: 2015-11/txt/msg02790.txt.bz2 Content-length: 2641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Component|tree-optimization |rtl-optimization Version|unknown |6.0 --- Comment #4 from Richard Biener --- We vectorize zeroing of protected_value and current_value which both are analyzed as being properly aligned. They are of type struct sym_val { const Elf64_Sym *s; struct link_map *m; }; which would have natural alignment of 8 bytes only. The actual decls look like arg 0 unit size align 64 symtab 0 alias set 44 canonical type 0x7ffff67b2690 fi= elds context pointer_to_this chain > addressable used TI file dl-lookup.c line 810 col 18 size unit size align 128 context and thus indeed have a DECL_ALIGN of 16 bytes. expand_one_var computes ali= gn as else align =3D MINIMUM_ALIGNMENT (var, DECL_MODE (var), DECL_ALIGN (var)= ); 128 as well and registers that with the output machinery. Partition 2: size 64 align 16 all protected_value all Partition 1: size 16 align 16 current_value Partition 0: size 8 align 8 old_hash which looks ok as well. Breakpoint 11, expand_one_stack_var_at ( decl=3D, base=3D0x7ffff68cc3a8= ,=20 base_align=3D128, offset=3D-64) at /space/rguenther/src/svn/trunk3/gcc/cfgexpand.c:978 978 gcc_assert (offset =3D=3D trunc_int_for_mode (offset, Pmode)); Breakpoint 11, expand_one_stack_var_at ( decl=3D, base=3D0x7ffff68cc3a8,= =20 base_align=3D128, offset=3D-80) at /space/rguenther/src/svn/trunk3/gcc/cfgexpand.c:978 978 gcc_assert (offset =3D=3D trunc_int_for_mode (offset, Pmode)); ok as well. So does the intitial RTL (well, still virtual-stack-vars is li= fe). So this is an RTL optimization or target issue. >>From gcc-bugs-return-503864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:30:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122096 invoked by alias); 25 Nov 2015 12:30: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 121467 invoked by uid 48); 25 Nov 2015 12:30:01 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68538] ICE in gen_reg_rtx, at emit-rtl.c:1027 when cross-compiling for cris-linux-gnu target Date: Wed, 25 Nov 2015 12:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat 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: 2015-11/txt/msg02791.txt.bz2 Content-length: 3129 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68538 --- Comment #1 from dhowells at redhat dot com = --- The cross-compiler was built from unpatched gcc sources produced from a gcc= SVN branch with the following parameters: DATE 20151104 SVNREV 229753 gcc_version 5.2.1 The compiler was configured as: CXXFLAGS=3D' -O2 -g -Wformat-security -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -mtune=3Dgeneric ' \ CFLAGS_FOR_TARGET=3D'-g -O2 -Wall -fexceptions' \ AR_FOR_TARGET=3D/usr/bin/cris-linux-gnu-ar \ AS_FOR_TARGET=3D/usr/bin/cris-linux-gnu-as \ DLLTOOL_FOR_TARGET=3D/usr/bin/cris-linux-gnu-dlltool \ LD_FOR_TARGET=3D/usr/bin/cris-linux-gnu-ld \ NM_FOR_TARGET=3D/usr/bin/cris-linux-gnu-nm \ OBJDUMP_FOR_TARGET=3D/usr/bin/cris-linux-gnu-objdump \ RANLIB_FOR_TARGET=3D/usr/bin/cris-linux-gnu-ranlib \ READELF_FOR_TARGET=3D/usr/bin/cris-linux-gnu-readelf \ STRIP_FOR_TARGET=3D/usr/bin/cris-linux-gnu-strip \ WINDRES_FOR_TARGET=3D/usr/bin/cris-linux-gnu-windres \ WINDMC_FOR_TARGET=3D/usr/bin/cris-linux-gnu-windmc \ LDFLAGS=3D'-Wl,-z,relro ' \ ../gcc-5.2.1-20151104/configure --bindir=3D/usr/bin --build=3Dx86_64-redhat-linux-gnu --datadir=3D/usr/share --disable-decimal-= float --disable-dependency-tracking --disable-gold --disable-libgcj --disable-lib= gomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libunwind-exceptions --disable-nls --disable-plugin --disable-sha= red --disable-silent-rules --disable-sjlj-exceptions --disable-threads --with-ld=3D/usr/bin/cris-linux-gnu-ld --enable-__cxa_atexit --enable-checking=3Drelease --enable-gnu-indirect-function --enable-gnu-unique-object --enable-initfini-array --enable-languages=3Dc,c= ++ --enable-linker-build-id --enable-nls --enable-obsolete --enable-plugin --enable-targets=3Dall --exec-prefix=3D/usr --host=3Dx86_64-redhat-linux-gnu --includedir=3D/usr/include --infodir=3D/usr/share/info --libexecdir=3D/usr= /libexec --localstatedir=3D/var --mandir=3D/usr/share/man --prefix=3D/usr --program-prefix=3Dcris-linux-gnu- --sbindir=3D/usr/sbin --sharedstatedir= =3D/var/lib --sysconfdir=3D/etc --target=3Dcris-linux-gnu --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzilla/ --with-isl --with-linker-hash-style=3Dgnu --with-newlib --with-sysroot=3D/usr/cris-linux-gnu/sys-root --with-system-libunwind --with-system-zlib --without-headers And built with: AR_FOR_TARGET=3D/usr/bin/cris-linux-gnu-ar \ AS_FOR_TARGET=3D/usr/bin/cris-linux-gnu-as \ DLLTOOL_FOR_TARGET=3D/usr/bin/cris-linux-gnu-dlltool \ LD_FOR_TARGET=3D/usr/bin/cris-linux-gnu-ld \ NM_FOR_TARGET=3D/usr/bin/cris-linux-gnu-nm \ OBJDUMP_FOR_TARGET=3D/usr/bin/cris-linux-gnu-objdump \ RANLIB_FOR_TARGET=3D/usr/bin/cris-linux-gnu-ranlib \ READELF_FOR_TARGET=3D/usr/bin/cris-linux-gnu-readelf \ STRIP_FOR_TARGET=3D/usr/bin/cris-linux-gnu-strip \ WINDRES_FOR_TARGET=3D/usr/bin/cris-linux-gnu-windres \ WINDMC_FOR_TARGET=3D/usr/bin/cris-linux-gnu-windmc \ make -C cris-linux-gnu -j5 tooldir=3D/usr all-gcc make -C cris-linux-gnu -j5 tooldir=3D/usr all-target-libgcc The binutils was 2.25.1 built as a cross for cris-linux-gnu. >>From gcc-bugs-return-503865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:33:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69257 invoked by alias); 25 Nov 2015 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 63787 invoked by uid 48); 25 Nov 2015 12:33:51 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 12:33: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02792.txt.bz2 Content-length: 1229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Markus Trippelsdorf --- (In reply to Florian Weimer from comment #3) > (In reply to Markus Trippelsdorf from comment #0) > > rbp 0x7fffffffa148 0x7fffffffa148 >=20 > (In reply to Markus Trippelsdorf from comment #2) > > 0000000000001470 <_dl_lookup_symbol_x>: > > 1470: 55 push %rbp > > 1471: 48 89 e5 mov %rsp,%rbp >=20 > > 14f4: 0f 29 45 80 movaps %xmm0,-0x80(%rbp) >=20 > If I'm reading this correctly, %rsp was a multiple of 16 when the function > is entered, but this is not correct, it has to be congruent 8 modulo 16. >=20 > This looks like a GHC or GHCi bug (which may already have been fixed). Ok. Well, I'm running GHC version 7.10.2, which is the latest. (Not sure how to report this issue to the ghc folks). >>From gcc-bugs-return-503866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:35:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 697 invoked by alias); 25 Nov 2015 12: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 131065 invoked by uid 48); 25 Nov 2015 12:35:51 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 12:35: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw 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: 2015-11/txt/msg02793.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 --- Comment #6 from Florian Weimer --- (In reply to Markus Trippelsdorf from comment #5) > Ok. Well, I'm running GHC version 7.10.2, which is the latest. > (Not sure how to report this issue to the ghc folks). To be honest, if Richard thinks there is a GCC bug here (and I read comment= #4 this way), he's likely right and I'm wrong. >>From gcc-bugs-return-503867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:40:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11921 invoked by alias); 25 Nov 2015 12:40:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11834 invoked by uid 48); 25 Nov 2015 12:39:57 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 12:40: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02794.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 --- Comment #7 from Markus Trippelsdorf --- (In reply to Florian Weimer from comment #6) > (In reply to Markus Trippelsdorf from comment #5) >=20 > > Ok. Well, I'm running GHC version 7.10.2, which is the latest. > > (Not sure how to report this issue to the ghc folks). >=20 > To be honest, if Richard thinks there is a GCC bug here (and I read comme= nt > #4 this way), he's likely right and I'm wrong. Well, only Haskell programs crash. So I think you're right. >>From gcc-bugs-return-503868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:42:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32548 invoked by alias); 25 Nov 2015 12: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 32485 invoked by uid 48); 25 Nov 2015 12:42:49 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw 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: 2015-11/txt/msg02795.txt.bz2 Content-length: 325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 --- Comment #8 from Florian Weimer --- (In reply to Markus Trippelsdorf from comment #7) > Well, only Haskell programs crash. This is a valid point. You can open a GHC ticket in Trac, after registerin= g: >>From gcc-bugs-return-503869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:43:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33317 invoked by alias); 25 Nov 2015 12: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 33221 invoked by uid 48); 25 Nov 2015 12:43:00 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68432] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947 Date: Wed, 25 Nov 2015 12:43: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02796.txt.bz2 Content-length: 656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68432 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://gcc.gnu.org/ml/gcc- | |patches/2015-11/msg03020.ht | |ml --- Comment #10 from rsandifo at gcc dot gnu.org --- Series finally posted here: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03020.html Sorry for the delay. >>From gcc-bugs-return-503870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:49:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50946 invoked by alias); 25 Nov 2015 12: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 50902 invoked by uid 48); 25 Nov 2015 12:49:24 -0000 From: "martin@mpa-garching.mpg.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/68540] New: 6.0 build process broken on Linux Mint, potential include ordering problem Date: Wed, 25 Nov 2015 12:49: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.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: 2015-11/txt/msg02797.txt.bz2 Content-length: 3068 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68540 Bug ID: 68540 Summary: 6.0 build process broken on Linux Mint, potential include ordering problem Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: martin@mpa-garching.mpg.de Target Milestone: --- Currently, compiling trunk on Linux Mint 17.2 fails. I'm configuring with=20 --disable-multilib --enable-gold --enable-plugins --disable-bootstrap --prefix=3D$DESTDIR --enable-languages=3Dc++,fortran --enable-target=3Dall --enable-checking=3Drelease, and "make" fails with g++ -fno-PIE -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG= _H -I. -I. -I/home/martin/gcc/gcc -I/home/martin/gcc/gcc/. -I/home/martin/gcc/gcc/../include -I/home/martin/gcc/gcc/../libcpp/include= =20 -I/home/martin/gcc/gcc/../libdecnumber -I/home/martin/gcc/gcc/../libdecnumber/bid -I../libdecnumber -I/home/martin/gcc/gcc/../libbacktrace -o graphite.o -MT graphite.o -MMD = -MP -MF ./.deps/graphite.TPo /home/martin/gcc/gcc/graphite.c In file included from /usr/include/c++/4.8/bits/basic_ios.h:37:0, from /usr/include/c++/4.8/ios:44, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/isl/int.h:17, from /usr/include/isl/ctx.h:16, from /usr/include/isl/list.h:13, from /usr/include/isl/aff_type.h:4, from /usr/include/isl/local_space.h:4, from /usr/include/isl/constraint.h:13, from /home/martin/gcc/gcc/graphite.c:56: /usr/include/c++/4.8/bits/locale_facets.h:240:53: error: macro "toupper" pa= ssed 2 arguments, but takes just 1 toupper(char_type *__lo, const char_type* __hi) const ^ /usr/include/c++/4.8/bits/locale_facets.h:269:53: error: macro "tolower" pa= ssed 2 arguments, but takes just 1 tolower(char_type* __lo, const char_type* __hi) const ^ /usr/include/c++/4.8/bits/locale_facets.h:812:53: error: macro "toupper" pa= ssed 2 arguments, but takes just 1 toupper(char_type *__lo, const char_type* __hi) const ^ /usr/include/c++/4.8/bits/locale_facets.h:845:53: error: macro "tolower" pa= ssed 2 arguments, but takes just 1 tolower(char_type* __lo, const char_type* __hi) const [...] I manage to bootstrap successfully on other (homegrown) distributions, but since other gcc branches build OK, I suspect a problematic change on trunk regarding the inclusion order of headers. >>From gcc-bugs-return-503871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 12:50:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52585 invoked by alias); 25 Nov 2015 12:50: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 52530 invoked by uid 48); 25 Nov 2015 12:50:12 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68432] [6 Regression] internal compiler error: in expand_insn, at optabs.c:6947 Date: Wed, 25 Nov 2015 12:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02798.txt.bz2 Content-length: 374 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68432 --- Comment #11 from Joost VandeVondele --- (In reply to rsandifo@gcc.gnu.org from comment #10) > Series finally posted here: >=20 > https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03020.html >=20 > Sorry for the delay. Many thanks for fixing this seemingly non-trivial issue! >>From gcc-bugs-return-503872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:06:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129555 invoked by alias); 25 Nov 2015 13:06: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 129504 invoked by uid 48); 25 Nov 2015 13:05:56 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02799.txt.bz2 Content-length: 191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 --- Comment #9 from Markus Trippelsdorf --- For the curious: https://ghc.haskell.org/trac/ghc/ticket/11133 >>From gcc-bugs-return-503873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:06:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130546 invoked by alias); 25 Nov 2015 13:06: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 130480 invoked by uid 48); 25 Nov 2015 13:06:42 -0000 From: "afomin.mailbox at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68541] New: [6 Regression] Path splitting causes if-conversion miss Date: Wed, 25 Nov 2015 13:06: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: afomin.mailbox 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 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: 2015-11/txt/msg02800.txt.bz2 Content-length: 1212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68541 Bug ID: 68541 Summary: [6 Regression] Path splitting causes if-conversion miss Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: afomin.mailbox at gmail dot com CC: izamyatin at gmail dot com, law at redhat dot com, ysrumyan at gmail dot com Target Milestone: --- Target: i686-*-* Created attachment 36835 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36835&action=3Dedit A reproducer Due to path splitting on SSA trees introduced in r230364, we miss an if-conversion opportunity for (cond ? s++ : s--) expressions. As for now (r230865), when compiling the attached testcase with -O2, after = RTL ce1 pass we have 3 possible IF blocks searched. 1 IF blocks converted. 2 true changes made. while compiling it with -O2 -fno-split-paths results in 1 possible IF blocks searched.=20 0 IF blocks converted. 0 true changes made. >>From gcc-bugs-return-503874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:10:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2601 invoked by alias); 25 Nov 2015 13:10: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 2500 invoked by uid 48); 25 Nov 2015 13:10:14 -0000 From: "afomin.mailbox at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization Date: Wed, 25 Nov 2015 13:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: afomin.mailbox 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: 6.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: 2015-11/txt/msg02801.txt.bz2 Content-length: 143 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68435 --- Comment #13 from Alexander Fomin --- Filed PR68541 >>From gcc-bugs-return-503875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:16:44 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93603 invoked by alias); 25 Nov 2015 13:16: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 93552 invoked by uid 48); 25 Nov 2015 13:16:40 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68087] [5/6 Regression] ICE with constexpr in array with negative index Date: Wed, 25 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg02802.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68087 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 --- Testing variants of Markus' suggestion. >>From gcc-bugs-return-503876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:18:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15731 invoked by alias); 25 Nov 2015 13:18: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 10355 invoked by uid 48); 25 Nov 2015 13:18:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68537] Vectorizer possibly miscompiles dynamic linker with -O3 Date: Wed, 25 Nov 2015 13:18: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: 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: 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: 2015-11/txt/msg02803.txt.bz2 Content-length: 656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68537 --- Comment #10 from Richard Biener --- (In reply to Florian Weimer from comment #6) > (In reply to Markus Trippelsdorf from comment #5) >=20 > > Ok. Well, I'm running GHC version 7.10.2, which is the latest. > > (Not sure how to report this issue to the ghc folks). >=20 > To be honest, if Richard thinks there is a GCC bug here (and I read comme= nt > #4 this way), he's likely right and I'm wrong. No, I just assumed it is a bug because Markus inspected the assembler and analyzed it to be broken. I just verified it is all well from vectorizatio= n to RTL expansion. >>From gcc-bugs-return-503877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:31:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48938 invoked by alias); 25 Nov 2015 13:31:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48898 invoked by uid 48); 25 Nov 2015 13:31:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68541] [6 Regression] Path splitting causes if-conversion miss Date: Wed, 25 Nov 2015 13: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: 6.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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2015-11/txt/msg02804.txt.bz2 Content-length: 1712 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68541 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. I don't understand why we split the path here. The condition is _9 =3D MEM[base: _13, offset: 0B]; if (_9 >=3D 0) goto ; else goto ; ;; succ: 5 [73.0%] (TRUE_VALUE,EXECUTABLE) ;; 6 [27.0%] (FALSE_VALUE,EXECUTABLE) and thus has only a slight bias to true (73% vs. 27%). Path splitting, if I understood correctly, only makes sense if the most taken path can be made an inner loop using more optimal BB placement. Or if splitting the path enables followup optimization in the duplicated tail - but then this would fit more into DOM which actually does this kind of optimizations. So - what for do we have this optimization again? There is no check on kind of optimization / block frequency of any kind in the pass, even optimize_*_for_size will happily duplicate all loop tails if the CFG pattern matches. Is this just for fun? Or why doesn't this have any kind of cost-model? I'd have expected that it at least honors sth like --param max-jump-thread-duplication-stmts or so. It also looks like it duplicates the block twice and throws away the original (via making it unreachable). Clearly wasteful. Confirmed. >>From gcc-bugs-return-503878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:36:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74094 invoked by alias); 25 Nov 2015 13: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 74039 invoked by uid 48); 25 Nov 2015 13:36:42 -0000 From: "cbaylis at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68532] [ARM] Incorrect code result on arm big endian Date: Wed, 25 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cbaylis at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cbaylis at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02805.txt.bz2 Content-length: 4762 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68532 cbaylis at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-25 CC| |cbaylis at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |cbaylis at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from cbaylis at gcc dot gnu.org --- This is a simplified test case, which shows the incorrect way elements are being read from the vector loads done in the vectorized loop. #include #include #define SIZE 128 unsigned short alignas(16) in[SIZE]; unsigned short alignas(16) out[SIZE]; __attribute__ ((noinline)) void test (unsigned short *restrict out, unsigned short *restrict in) { int i; for (int j =3D 0; j < SIZE; j+=3D8) out[i++] =3D in[j]; } int main() { for (int i =3D 0; i : 0 1 2 3 4 5 6 7 : 8 9 10 11 12 13 14 15 : 16 17 18 19 20 21 22 23 : 24 25 26 27 28 29 30 31 layout of q8 after vld1.64 {d16-d17}, [r1:64] (showing architectural lanes = 0 to 7, in ascending order) q8 =3D { 3, 2, 1, 0, 7, 6, 5, 4 } So, the first 64 bits are loaded into lanes 0-3, but in big endian order, a= nd the 2nd 64 bits are loaded into lanes 4-7, also in big endian order. The vectorizer expects that the result of loading a 128-bit vector into mem= ory, should be: q8 =3D { 7, 6, 5, 4, 3, 2, 1, 0 } but the back end does not do that, in an attempt to support the EABI memory ordering for 128 bit vectors. The behaviour of 128-bit vector loads/stores = is defined by output_move_neon(). There is a large comment in arm.c above output_move_neon ("WARNING: The ordering of elements is weird in big-endian mode...") which explains this. The ARM back-end already uses a strategy of representing lane numbers in a = "GCC numbering", and transforming them to architectural numbering when generating assembly. This is currently a simple reversal in big-endian mode, and a 1:1= map in little endian. I think this bug could be fixed by using a mapping lane numbers so that the behaviour of output_move_neon() is taken into account. This would prevent t= he vectorizer from using VUZP for the VEC_PERM_EXPR() in big-endian mode, beca= use the lanes specified would not match the behaviour of VUZP on 128 bit vector= s. >>From gcc-bugs-return-503879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 13:46:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55625 invoked by alias); 25 Nov 2015 13:46: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 55558 invoked by uid 48); 25 Nov 2015 13:46:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68541] [6 Regression] Path splitting causes if-conversion miss Date: Wed, 25 Nov 2015 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.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: 6.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: 2015-11/txt/msg02806.txt.bz2 Content-length: 914 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68541 --- Comment #2 from Richard Biener --- It also looks like the "inner loop" will always have two exits now, one to the outer loop and one to the original exit block. That doesn't sound like sth desirable in any way (unless we can jump-thread one of the exits). The single testcase added points at followup transforms in the duplicated t= ail which would again mean that having the CFG transform separate from any analysis and actual optimization is bad. In this case it fits more into FSM "threading" territorry. Not yet suggesting to remove this pass again, but close... at _least_ suggesting to limit it to -O3, optimize_function_for_speed (), the duplication to the existing DOM threading param. Btw, the added testcase doesn't show any difference in generated assembly that looks like an improvement vs. -fno-split-paths. >>From gcc-bugs-return-503880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:01:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15430 invoked by alias); 25 Nov 2015 14:01: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 15387 invoked by uid 48); 25 Nov 2015 14:01:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68542] New: [6 Regression] 10% 481.wrf performance regression Date: Wed, 25 Nov 2015 14:01: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status 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: 2015-11/txt/msg02807.txt.bz2 Content-length: 808 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68542 Bug ID: 68542 Summary: [6 Regression] 10% 481.wrf performance regression Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Target: x86_64-*-* We have two recent performance regressions on corei-avx2, the first with -Ofast -march=3Dnative between r230066 (last good) and r230138 (first bad) and the second with -flto added between r230277 (last good) and r230367 (fi= rst bad). http://gcc.opensuse.org/SPEC/CFP/sb-czerny-head-64-2006/recent.html >>From gcc-bugs-return-503881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:09:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77613 invoked by alias); 25 Nov 2015 14:09: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 77549 invoked by uid 48); 25 Nov 2015 14:09:36 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67778] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in maybe_record_trace_start, at dwarf2cfi.c:2297 Date: Wed, 25 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: su at cs dot ucdavis.edu 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.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: 2015-11/txt/msg02808.txt.bz2 Content-length: 2350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67778 --- Comment #2 from Zhendong Su --- (In reply to Martin Sebor from comment #1) > I can't reproduce this error with today's trunk (6.0.0 20151125) on x86_6= 4.=20 > I see a similar stack trace in bug 60598 but that was fixed over a year a= go. > Can you confirm that trunk compiles the test case as expected in your > environment? Martin, the originally reported test doesn't seem to crash the current trun= k, but the original test I have still fails. I reduced it again, and below is= the new test (note that the new test causes an ICE at both -O2 and -O3, and in = both 32-bit and 64-bit modes):=20 $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-trunk/configure --prefix=3D/usr/local/gcc-trunk --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20151122 (experimental) [trunk revision 230719] (GCC)=20 $=20 $ gcc-trunk -O2 small.c small.c: In function =E2=80=98main=E2=80=99: small.c:28:1: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2284 } ^ 0x78a2e6 maybe_record_trace_start ../../gcc-trunk/gcc/dwarf2cfi.c:2284 0x78a613 create_trace_edges ../../gcc-trunk/gcc/dwarf2cfi.c:2376 0x78c6ea scan_trace ../../gcc-trunk/gcc/dwarf2cfi.c:2590 0x78d3ea create_cfi_notes ../../gcc-trunk/gcc/dwarf2cfi.c:2616 0x78d3ea execute_dwarf2_frame ../../gcc-trunk/gcc/dwarf2cfi.c:2974 0x78d3ea execute ../../gcc-trunk/gcc/dwarf2cfi.c:3454 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 printf (const char *, ...); int a, b, c;=20 int fn1 (int p1, int p2) { return p1 > 2147483647 - p2 ? p1 : p1 + p2; } int main () { a =3D 0; for (; a !=3D 2; a =3D fn1 (a, 1)) { if (b) { int d[1], e =3D 0, f;=20 for (; e !=3D 3; e =3D fn1 (e, 1)) b =3D 0; c =3D f =3D d[0]; } b =3D 0; } printf ("%d\n", c); return 0; } >>From gcc-bugs-return-503882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:13:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130472 invoked by alias); 25 Nov 2015 14: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 130421 invoked by uid 48); 25 Nov 2015 14:13:05 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68534] No error on mismatch in number of arguments between submodule and module interface Date: Wed, 25 Nov 2015 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02809.txt.bz2 Content-length: 1515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68534 --- Comment #2 from Paul Thomas --- Created attachment 36836 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36836&action=3Dedit Draft patch for the PR The attached bootstraps and regtests OK on a tree heavily polluted by the recursive allocatable component patch. I had to break this chunk out be hand and so the patch might not apply cleanly. I'll do a proper job tonight. Neither case of no dummies matching a finite number works correctly: neither none in the interface nor none in the procedure declaration. ! { dg-do compile } ! ! Checks the fix for PR68534 in which checks for the number ! failed if either the interface or the module procedure had ! no dummies. ! ! Reported on clf at: ! https://groups.google.com/forum/#!topic/comp.lang.fortran/-ZgbM5qkFmc ! module m implicit none interface module subroutine foo() end subroutine foo module subroutine bar(i) integer, intent(inout) :: i end subroutine bar end interface end module m submodule(m) sm contains module subroutine foo(i) ! { dg-error "without matching arguments in INTERFACE" } integer, intent(inout) :: i i =3D 42 end subroutine foo module subroutine bar ! { dg-error "Mismatch in number of MODULE PROCEDURE formal" } print *, "bar" end subroutine bar end submodule sm Annoyingly, the second test fails. Although the message is omitted, for some reason the current locus is lost. Paul >>From gcc-bugs-return-503883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:20:20 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122202 invoked by alias); 25 Nov 2015 14: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 122123 invoked by uid 55); 25 Nov 2015 14:20:15 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Wed, 25 Nov 2015 14: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 2015-11/txt/msg02810.txt.bz2 Content-length: 1150 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #27 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #26 from mrs at gcc dot gnu.org --- > Are there any symbols in .text? If so, this is wrong. All symbols have = to > have 1 or more bytes after them. This is just how the ABI is. The creat= or of Not AFAICS: otool -rv has make-temp-file.o: Relocation information (__TEXT,__text) 54 entries address pcrel length extern type scattered symbolnum/value [...] 00000257 False byte n/a VANILLA True 0x000003c0 which corresponds to this in the disassembly (otool -tv): 00000253 addb %al,%cl 00000255 sbbl $0xc3,%esi 00000258 leal 0x02(%esi),%eax In the .s file, we have addb %al, %cl sbbl $3+_vartmp, %esi leal 2(%esi), %eax and .zerofill __DATA,__bss2,_memoized_tmpdir,4,2 .const .align 2 _vartmp: .byte 47 [...] So no zero-size symbol in sight. I'm attaching preprocessed input, .s and .o files so you can see for yourself. Rainer >>From gcc-bugs-return-503884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:21:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123521 invoked by alias); 25 Nov 2015 14:21: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 123440 invoked by uid 48); 25 Nov 2015 14:21:20 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Wed, 25 Nov 2015 14: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2015-11/txt/msg02811.txt.bz2 Content-length: 248 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #28 from Rainer Orth --- Created attachment 36837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36837&action=3Dedit .i/.s/.o for 32-bit link failure >>From gcc-bugs-return-503887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:22:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126171 invoked by alias); 25 Nov 2015 14:22: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 125950 invoked by uid 48); 25 Nov 2015 14:22:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68528] Wrong constant folding Date: Wed, 25 Nov 2015 14: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: 6.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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02813.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68528 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |6.0 --- Comment #5 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-503886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:22:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124832 invoked by alias); 25 Nov 2015 14:22: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 124743 invoked by uid 55); 25 Nov 2015 14:21:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68528] Wrong constant folding Date: Wed, 25 Nov 2015 14: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: 6.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: 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: 2015-11/txt/msg02814.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68528 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Nov 25 14:21:25 2015 New Revision: 230870 URL: https://gcc.gnu.org/viewcvs?rev=3D230870&root=3Dgcc&view=3Drev Log: 2015-11-25 Richard Biener PR middle-end/68528 * fold-const.c (fold_binary_loc): Do not call negate_expr_p on stripped operands. * gcc.dg/torture/pr68528.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr68528.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:22:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124790 invoked by alias); 25 Nov 2015 14:22: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 124724 invoked by uid 48); 25 Nov 2015 14:21:56 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68542] [6 Regression] 10% 481.wrf performance regression Date: Wed, 25 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 2015-11/txt/msg02812.txt.bz2 Content-length: 1022 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68542 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ienkovich at gcc dot gnu.o= rg --- Comment #1 from Ilya Enkovich --- I was looking into 481.wrf degradation caused by r230309 on Haswell (-Ofast -flto). I found this patch caused many loops in 'sint' function to be vectorized. All these loops have form: DO 1 II=3DN1STAR,N1END IF ( icmask(II,JJ) ) THEN ... ENDIF 1 CONTINUE Where icmask is two-dimensional array of logicals. The problem is that only 35% of icmask values are .TRUE. and these values are not sparse. This means in vectorized loop we usually have either all 0s or all 1s vector mask and therefore perform many iterations with zero mask. Zero check for vector mask patch by Yuri should (at least partly) resolve this issue. >>From gcc-bugs-return-503888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:31:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54802 invoked by alias); 25 Nov 2015 14:31: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 54753 invoked by uid 48); 25 Nov 2015 14:31:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68542] [6 Regression] 10% 481.wrf performance regression Date: Wed, 25 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: missed-optimization 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: 6.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: 2015-11/txt/msg02815.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68542 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-503889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:36:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92955 invoked by alias); 25 Nov 2015 14:36: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 88915 invoked by uid 55); 25 Nov 2015 14:35:57 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68385] [6 Regression] ICE building libstdc++ on arm-none-eabi Date: Wed, 25 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02816.txt.bz2 Content-length: 605 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68385 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Nov 25 14:35:24 2015 New Revision: 230871 URL: https://gcc.gnu.org/viewcvs?rev=3D230871&root=3Dgcc&view=3Drev Log: PR c++/68385 * tree.c (integer_zerop, integer_onep, integer_each_onep) (integer_all_onesp, integer_minus_onep, integer_pow2p) (integer_nonzerop, integer_truep, tree_log2, tree_floor_log2) (real_zerop, real_onep, real_minus_onep): Remove STRIP_NOPS. Modified: trunk/gcc/ChangeLog trunk/gcc/tree.c >>From gcc-bugs-return-503890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:38:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111487 invoked by alias); 25 Nov 2015 14:38: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 111431 invoked by uid 55); 25 Nov 2015 14:38:09 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp Date: Wed, 25 Nov 2015 14: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: 5.0 X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge 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: 2015-11/txt/msg02817.txt.bz2 Content-length: 1216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63858 --- Comment #7 from cesar at gcc dot gnu.org --- Author: cesar Date: Wed Nov 25 14:37:36 2015 New Revision: 230872 URL: https://gcc.gnu.org/viewcvs?rev=3D230872&root=3Dgcc&view=3Drev Log: PR fortran/63858 gcc/fortran/ * scanner.c (skip_oacc_attribute): Remove continue_flag parameter. Rename as ... (skip_free_oacc_sentinel): ... this. (skip_omp_attribute): Remove continue_flag parameter. Rename as ... (skip_free_omp_sentinel): ... this. (skip_free_comments): Update to call skip_free_oacc_sentinel and skip_free_omp_sentinel. (skip_fixed_omp_sentinel): New function. (skip_fixed_oacc_sentinel): New function. (skip_fixed_comments): Fix mix of OpenACC and OpenMP sentinels in continuation. gcc/testsuite/ * goacc/omp-fixed.f: New test. * goacc/omp.f95: Add check for mis-matched omp and acc continuation= s. Added: trunk/gcc/testsuite/gfortran.dg/goacc/omp-fixed.f Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/scanner.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/goacc/omp.f95 >>From gcc-bugs-return-503891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:39:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113955 invoked by alias); 25 Nov 2015 14:39: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 113901 invoked by uid 48); 25 Nov 2015 14:39:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68542] [6 Regression] 10% 481.wrf performance regression Date: Wed, 25 Nov 2015 14:39: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: 6.0 X-Bugzilla-Keywords: missed-optimization 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: 6.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: 2015-11/txt/msg02818.txt.bz2 Content-length: 697 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68542 --- Comment #2 from Richard Biener --- Ok, so previously we if-converted but with versioning and thus the if-conve= rted loop was not vectorized and thrown away? So yes, for such cases we'd ideally have vector control-flow if (!all-zero) { ... } but best by not if-converting this in the first place. Note that the above also applies to "regular" vectorization of if-converted code, not only to 'masks' as with Yuris patch. I wonder if we can extend that to re-introduce control flow. A vector =3D=3D 0 check should be fairly cheap and the transform keyed on how much code we can execute conditionally. >>From gcc-bugs-return-503892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:40:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6818 invoked by alias); 25 Nov 2015 14:40:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6746 invoked by uid 48); 25 Nov 2015 14:40:48 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp Date: Wed, 25 Nov 2015 14: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.0 X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge 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: 2015-11/txt/msg02819.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63858 cesar at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from cesar at gcc dot gnu.org --- This is fixed with an updated version of Ilmir's patch, which I posted here: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03075.html. >>From gcc-bugs-return-503893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 14:55:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92992 invoked by alias); 25 Nov 2015 14:55: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 92890 invoked by uid 55); 25 Nov 2015 14:55:10 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Wed, 25 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02820.txt.bz2 Content-length: 1012 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 --- Comment #17 from Steve Kargl = --- On Wed, Nov 25, 2015 at 09:15:04AM +0000, jgreenhalgh at gcc dot gnu.org wr= ote: > >=20 > > Of course. As I stated, it won't hurt anything. > > FAILs in the testsuite are not a problem. The > > issue with EXPR_FUNCTION and cshift is a problem. >=20 > The hurt is for those of us investigating the new regressions... That was= 10 > minutes of my time to investigate, multiply that by the number of people > watching for FAILs on their favourite targets (particularly with trunk as= it is > at the end of stage 1) there is certainly enough hurt to go round. >=20 > Please revert the broken testcase and leave it for when you fix pr68227. >=20 It took you 10 minutes to type 68227 into bugzilla's search feature? I intend to commit the fix today. Unfortunately, I have a real job and fixing gfortran is a hobby. Unnecessary code churn in the=20 repo is well unnecessary. >>From gcc-bugs-return-503894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 15:05:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6030 invoked by alias); 25 Nov 2015 15:05: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 5974 invoked by uid 55); 25 Nov 2015 15:05:05 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68227] ICE on using variable limit in forall header (gfc_do_allocate) Date: Wed, 25 Nov 2015 15: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: 5.2.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: P3 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: 2015-11/txt/msg02821.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68227 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Nov 25 15:04:33 2015 New Revision: 230873 URL: https://gcc.gnu.org/viewcvs?rev=3D230873&root=3Dgcc&view=3Drev Log: 2015-11-25 Steven G. Kargl PR fortran/68227 * trans-stmt.c (gfc_do_allocate): Convert gcc_assert argument into=20 into part of conditional statement. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c >>From gcc-bugs-return-503896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 15:12:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117389 invoked by alias); 25 Nov 2015 15: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 117356 invoked by uid 48); 25 Nov 2015 15:12:46 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68227] ICE on using variable limit in forall header (gfc_do_allocate) Date: Wed, 25 Nov 2015 15: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02823.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68227 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from kargl at gcc dot gnu.org --- Placate the masses. >>From gcc-bugs-return-503895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 15:12:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115909 invoked by alias); 25 Nov 2015 15:12: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 109733 invoked by uid 48); 25 Nov 2015 15:12:13 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68227] ICE on using variable limit in forall header (gfc_do_allocate) Date: Wed, 25 Nov 2015 15: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: 5.2.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: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02822.txt.bz2 Content-length: 368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68227 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 --- Comment #7 from kargl at gcc dot gnu.org --- Fixed of trunk. Thanks for he bug reports. >>From gcc-bugs-return-503897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 15:37:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63073 invoked by alias); 25 Nov 2015 15:37: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 63030 invoked by uid 48); 25 Nov 2015 15:37:37 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66214] [6 Regression] ICE verify_type failed with -O0 -g via gen_type_die_with_usage's dwarf2out.c:20250 Date: Wed, 25 Nov 2015 15:37: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: 6.0 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: 6.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: 2015-11/txt/msg02824.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66214 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-503898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 15:39:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64836 invoked by alias); 25 Nov 2015 15: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 64769 invoked by uid 48); 25 Nov 2015 15:39:42 -0000 From: "ismail at i10z dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68227] ICE on using variable limit in forall header (gfc_do_allocate) Date: Wed, 25 Nov 2015 15: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ismail at i10z dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02825.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68227 =C4=B0smail D=C3=B6nmez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ismail at i10z dot com --- Comment #9 from =C4=B0smail D=C3=B6nmez --- This test currently fails on Linux x86-64 machine. Is there a way to get a better debug output for the failure. For now I see: FAIL: gfortran.dg/pr68227.f90 -O (internal compiler error) FAIL: gfortran.dg/pr68227.f90 -O (test for excess errors) >>From gcc-bugs-return-503899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 15:50:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108951 invoked by alias); 25 Nov 2015 15:50: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 108899 invoked by uid 48); 25 Nov 2015 15:50:13 -0000 From: "amker.cheng at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68529] scev failed for while(i--) Date: Wed, 25 Nov 2015 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: 5.2.1 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: 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: 2015-11/txt/msg02826.txt.bz2 Content-length: 1242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 --- Comment #5 from bin.cheng --- The dump before ldist is as below: foo1 () { unsigned int nchar; char c[10000]; : c =3D {}; : # nchar_14 =3D PHI c[nchar_14] =3D 65; nchar_5 =3D nchar_14 + 4294967295; if (nchar_14 !=3D 0) goto ; else goto ; : goto ; : bar (&c); c =3D{v} {CLOBBER}; return 0; } Apparently, nchar_14 iterates from 9998 to 0 in the loop and it doesn't overflow, while nchar_5 does overflow for the last iterations. It's true &c[n_char_14] is an affine since the index doesn't overflow. When I introduced the change computing non-overlfow control-iv in loop niter analysis, I only did it for the simplest case, ie, loop exit condition with= LT comp code. This case falls in another case, ie, NE as the comp code. I th= ink this can be fixed in the same framework. Actually it's easy to enable non-overflow control-iv computation in this case, then we can use the recor= ded control-iv to prove that (sizetype)nchar_14 doesn't overflow and &c[nchar_1= 4] is an affine. I will dig deeper and test a patch for this. Thanks, bin >>From gcc-bugs-return-503900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:12:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121576 invoked by alias); 25 Nov 2015 16:12: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 120886 invoked by uid 55); 25 Nov 2015 16:12:13 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/56158] bad enum values computed by operator~ in ios_base.h Date: Wed, 25 Nov 2015 16:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: 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: 2015-11/txt/msg02827.txt.bz2 Content-length: 1256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56158 --- Comment #16 from Jonathan Wakely --- Author: redi Date: Wed Nov 25 16:11:40 2015 New Revision: 230884 URL: https://gcc.gnu.org/viewcvs?rev=3D230884&root=3Dgcc&view=3Drev Log: Extend valid values of iostream bitmask types Backport from mainline 2015-11-12 Jonathan Wakely PR libstdc++/56158 * include/bits/ios_base.h (_Ios_Fmtflags, _Ios_Openmode, _Ios_Iosta= te): Define enumerators to ensure all values of type int are valid values of the enumeration type. * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: Add new ca= ses. * testsuite/27_io/ios_base/types/iostate/case_label.cc: Likewise. * testsuite/27_io/ios_base/types/openmode/case_label.cc: Likewise. Modified: branches/gcc-5-branch/libstdc++-v3/ChangeLog branches/gcc-5-branch/libstdc++-v3/include/bits/ios_base.h =20=20=20 branches/gcc-5-branch/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/= case_label.cc =20=20=20 branches/gcc-5-branch/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/c= ase_label.cc =20=20=20 branches/gcc-5-branch/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/= case_label.cc >>From gcc-bugs-return-503901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:17:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82735 invoked by alias); 25 Nov 2015 16:17:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82643 invoked by uid 48); 25 Nov 2015 16:17:46 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68227] ICE on using variable limit in forall header (gfc_do_allocate) Date: Wed, 25 Nov 2015 16: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: 5.2.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: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02828.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68227 --- Comment #10 from Dominique d'Humieres --- > This test currently fails on Linux x86-64 machine. Is there a way to get a > better debug output for the failure. For now I see: > > FAIL: gfortran.dg/pr68227.f90 -O (internal compiler error) > FAIL: gfortran.dg/pr68227.f90 -O (test for excess errors) It should be fixed after r230873. >>From gcc-bugs-return-503902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:20:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88072 invoked by alias); 25 Nov 2015 16:20: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 88017 invoked by uid 48); 25 Nov 2015 16:20:37 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68486] [6 Regression] 187.facerec in SPEC CPU 2000 failed to build Date: Wed, 25 Nov 2015 16: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: 6.0 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: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02829.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68486 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Dominique d'Humieres --- > Unreopen. Doing so;-) >>From gcc-bugs-return-503903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:34:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3373 invoked by alias); 25 Nov 2015 16:34: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 3292 invoked by uid 48); 25 Nov 2015 16:34:37 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67778] [6 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in maybe_record_trace_start, at dwarf2cfi.c:2297 Date: Wed, 25 Nov 2015 16:34: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: 6.0 X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02830.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67778 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Martin Sebor --- ICE on the test case from comment #2 confirmed with today's trunk (6.0.0 20151125). >>From gcc-bugs-return-503904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:40:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31222 invoked by alias); 25 Nov 2015 16:40: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 31154 invoked by uid 55); 25 Nov 2015 16:40:48 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68087] [5/6 Regression] ICE with constexpr in array with negative index Date: Wed, 25 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02831.txt.bz2 Content-length: 884 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68087 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Nov 25 16:40:16 2015 New Revision: 230886 URL: https://gcc.gnu.org/viewcvs?rev=3D230886&root=3Dgcc&view=3Drev Log: /cp 2015-11-25 Markus Trippelsdorf Paolo Carlini PR c++/68087 * constexpr.c (cxx_eval_array_reference): Use tree_fits_shwi_p befo= re tree_to_shwi to avoid ICEs. /testsuite 2015-11-25 Markus Trippelsdorf Paolo Carlini PR c++/68087 * g++.dg/cpp0x/constexpr-array13.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:42:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41663 invoked by alias); 25 Nov 2015 16: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 41598 invoked by uid 55); 25 Nov 2015 16:42:50 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68087] [5/6 Regression] ICE with constexpr in array with negative index Date: Wed, 25 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02832.txt.bz2 Content-length: 948 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68087 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Nov 25 16:42:18 2015 New Revision: 230887 URL: https://gcc.gnu.org/viewcvs?rev=3D230887&root=3Dgcc&view=3Drev Log: /cp 2015-11-25 Markus Trippelsdorf Paolo Carlini PR c++/68087 * constexpr.c (cxx_eval_array_reference): Use tree_fits_shwi_p befo= re tree_to_shwi to avoid ICEs. /testsuite 2015-11-25 Markus Trippelsdorf Paolo Carlini PR c++/68087 * g++.dg/cpp0x/constexpr-array13.C: New. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/constexpr.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:44:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49333 invoked by alias); 25 Nov 2015 16:44: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 48020 invoked by uid 48); 25 Nov 2015 16:44:33 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55004] [meta-bug] constexpr issues Date: Wed, 25 Nov 2015 16:44: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: trippels 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: 2015-11/txt/msg02834.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55004 Bug 55004 depends on bug 68087, which changed state. Bug 68087 Summary: [5/6 Regression] ICE with constexpr in array with negati= ve index https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68087 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-503906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 16:44:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49211 invoked by alias); 25 Nov 2015 16:44:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47991 invoked by uid 48); 25 Nov 2015 16:44:33 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68087] [5/6 Regression] ICE with constexpr in array with negative index Date: Wed, 25 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02833.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68087 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Markus Trippelsdorf --- Fixed. Thanks for handling this, Paolo. >>From gcc-bugs-return-503908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:00:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31255 invoked by alias); 25 Nov 2015 17:00: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 31074 invoked by uid 48); 25 Nov 2015 17:00:22 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68066] [6 Regression]: ICE in max_value, at wide-int.cc Date: Wed, 25 Nov 2015 17:00: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ienkovich at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02835.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68066 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Uro=C5=A1 Bizjak --- Confirmed fixed. >>From gcc-bugs-return-503909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:03:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36606 invoked by alias); 25 Nov 2015 17:03: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 36510 invoked by uid 48); 25 Nov 2015 17:03:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68128] A huge regression in Parboil v2.5 OpenMP CUTCP test (2.5 times lower performance) Date: Wed, 25 Nov 2015 17: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: 5.3.0 X-Bugzilla-Keywords: missed-optimization, openmp 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed 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: 2015-11/txt/msg02836.txt.bz2 Content-length: 866 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68128 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-25 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #7 from Jakub Jelinek --- Created attachment 36838 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36838&action=3Dedit gcc6-pr68128.patch Untested optimization to turn shared clauses of scalar vars into firstpriva= te if quickly determined not to be written into in the body (during gimplifica= tion plus tree-nested follow-up). >>From gcc-bugs-return-503910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:09:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43132 invoked by alias); 25 Nov 2015 17: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 43078 invoked by uid 48); 25 Nov 2015 17:09:47 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123 Date: Wed, 25 Nov 2015 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02837.txt.bz2 Content-length: 213 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68368 --- Comment #5 from Christophe Lyon --- I've noticed that this has just been fixed by r230871, so it was in fact a = dup of pr68385 >>From gcc-bugs-return-503912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:11:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44606 invoked by alias); 25 Nov 2015 17:11: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 44343 invoked by uid 48); 25 Nov 2015 17:11:02 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68385] [6 Regression] ICE building libstdc++ on arm-none-eabi Date: Wed, 25 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon 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.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: 2015-11/txt/msg02839.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68385 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #4 from Christophe Lyon --- *** Bug 68368 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:11:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44386 invoked by alias); 25 Nov 2015 17:11: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 44312 invoked by uid 48); 25 Nov 2015 17:11:01 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123 Date: Wed, 25 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02838.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68368 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |DUPLICATE --- Comment #6 from Christophe Lyon --- Fixed by r230871. *** This bug has been marked as a duplicate of bug 68385 *** >>From gcc-bugs-return-503913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:17:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51634 invoked by alias); 25 Nov 2015 17:17: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 51574 invoked by uid 48); 25 Nov 2015 17:17:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66112] __builtin_mul_overflow for int16_t emits poor code Date: Wed, 25 Nov 2015 17: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: 5.1.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: 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: 2015-11/txt/msg02840.txt.bz2 Content-length: 1081 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66112 --- Comment #13 from Jakub Jelinek --- (In reply to ktkachov from comment #12) > r223115 caused a code quality regression that I'm seeing on aarch64 with = PR > 68381. >=20 > We have > int > foo (unsigned short x, unsigned short y) > { > int r; > if (__builtin_mul_overflow (x, y, &r)) > __builtin_abort (); > return r; > } >=20 > and before the commit we used to generate: > foo: > uxth x0, w0 > uxth x1, w1 > mul x0, x0, x1 > cmp x0, x0, sxtw > bne .L9 > ret > .L9: > stp x29, x30, [sp, -16]! > add x29, sp, 0 > bl abort >=20 > but after r223115 at -O3 on an aarch64 toolchain we generate: > foo: > uxth w0, w0 > uxth w1, w1 > stp x29, x30, [sp, -16]! > umull x0, w0, w1 > add x29, sp, 0 > tbnz w0, #31, .L6 > mov w2, 0 > cbnz w2, .L6 > ldp x29, x30, [sp], 16 > ret > .L6: > bl abort You really should consider adding {u,}{add,sub,mul}v4 and/or negv3 expanders if you have some better sequences you can generate over the gener= ic ones on some target. >>From gcc-bugs-return-503914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:26:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80743 invoked by alias); 25 Nov 2015 17: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 80712 invoked by uid 48); 25 Nov 2015 17:26:03 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68543] New: Implement overflow arithmetic standard names {u,}{add,sub,mul}v4 and/or negv3 Date: Wed, 25 Nov 2015 17:26: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 2015-11/txt/msg02841.txt.bz2 Content-length: 1292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68543 Bug ID: 68543 Summary: Implement overflow arithmetic standard names {u,}{add,sub,mul}v4 and/or negv3 Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- As mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66112#c13 we should consider implementing the various overflow arithmetic standard na= me expanders that take a label argument and emit a jump to it if the operation overflows. A motivational example is the code quality regression from PR 68381: int foo(unsigned short x, unsigned short y) { int r; if (__builtin_mul_overflow (x, y, &r)) __builtin_abort (); return r; } which for aarch64 at -O3 generates: foo: uxth w0, w0 uxth w1, w1 umull x0, w0, w1 tbnz w0, #31, .L6 mov w2, 0 cbnz w2, .L6 ret .L6: stp x29, x30, [sp, -16]! add x29, sp, 0 bl abort which could be improved >>From gcc-bugs-return-503915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:27:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83005 invoked by alias); 25 Nov 2015 17:27: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 82943 invoked by uid 48); 25 Nov 2015 17:27:18 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68381] [6 Regression] wrong code and quality regression with __builtin_mul_overflow() @ aarch64 Date: Wed, 25 Nov 2015 17:27: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: 6.0 X-Bugzilla-Keywords: missed-optimization, 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02842.txt.bz2 Content-length: 262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68381 --- Comment #7 from ktkachov at gcc dot gnu.org --- For the code quality regression Jakub recommends implementing an aarch64 expander for the overflow arithmetic standard names. I've filed PR 68543 for that >>From gcc-bugs-return-503916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:35:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96053 invoked by alias); 25 Nov 2015 17:35: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 96016 invoked by uid 48); 25 Nov 2015 17:34:59 -0000 From: "jim.macarthur at codethink dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68544] New: ICE trying to pass derived type constructor as a function Date: Wed, 25 Nov 2015 17:35: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: jim.macarthur at codethink dot co.uk 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: 2015-11/txt/msg02843.txt.bz2 Content-length: 3147 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68544 Bug ID: 68544 Summary: ICE trying to pass derived type constructor as a function Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jim.macarthur at codethink dot co.uk Target Milestone: --- Created attachment 36839 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36839&action=3Dedit Minimal test case The attached code causes an internal compiler error with the latest source = from git master (commit 9c822ac) and 5.2.0. It attempts to pass the implicit constructor for a derived type as an argument to a subroutine. I don't know if this is valid code. I haven't found anything in the standar= ds which suggest either way yet. Sun's F90 compiler rejects it, but gives a us= eful error message. gfortran -v: Using built-in specs. COLLECT_GCC=3D/home/jimmacarthur/gcc-5.2.0/gccinstall/bin/gfortran COLLECT_LTO_WRAPPER=3D/home/jimmacarthur/gcc-5.2.0/gccinstall/libexec/gcc/x= 86_64-unknown-linux-gnu/5.2.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-5.2.0/configure --with-languages=3Dfortran --prefix=3D/home/jimmacarthur/gcc-5.2.0/gccinstall --disable-bootstrap Thread model: posix gcc version 5.2.0 (GCC)=20 Compiler command line: ~/gcc-5.2.0/gccinstall/bin/gfortran -Wall -Wextra pass-type-constructor-as-function.f output: pass-type-constructor-as-function.f:1:23: SUBROUTINE sub (f) 1 Warning: Unused dummy argument =E2=80=98f=E2=80=99 at (1) [-Wunused-dummy-a= rgument] pass-type-constructor-as-function.f:7:0: TYPE t 1 internal compiler error: Segmentation fault 0xa20cdf crash_signal ../../gcc-5.2.0/gcc/toplev.c:383 0x67b990 gfc_sym_identifier ../../gcc-5.2.0/gcc/fortran/trans-decl.c:347 0x67c38a build_function_decl ../../gcc-5.2.0/gcc/fortran/trans-decl.c:2057 0x682fa5 gfc_get_symbol_decl(gfc_symbol*) ../../gcc-5.2.0/gcc/fortran/trans-decl.c:1487 0x693537 gfc_conv_variable ../../gcc-5.2.0/gcc/fortran/trans-expr.c:2312 0x690c8a gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc-5.2.0/gcc/fortran/trans-expr.c:7219 0x696048 gfc_conv_expr_reference(gfc_se*, gfc_expr*) ../../gcc-5.2.0/gcc/fortran/trans-expr.c:7319 0x68d3ff gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec*) ../../gcc-5.2.0/gcc/fortran/trans-expr.c:4831 0x6be024 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool) ../../gcc-5.2.0/gcc/fortran/trans-stmt.c:419 0x66539c trans_code ../../gcc-5.2.0/gcc/fortran/trans.c:1743 0x685e54 gfc_generate_function_code(gfc_namespace*) ../../gcc-5.2.0/gcc/fortran/trans-decl.c:5841 0x622648 translate_all_program_units ../../gcc-5.2.0/gcc/fortran/parse.c:5340 0x622648 gfc_parse_file() ../../gcc-5.2.0/gcc/fortran/parse.c:5537 0x6613e5 gfc_be_parse_file ../../gcc-5.2.0/gcc/fortran/f95-lang.c:229 >>From gcc-bugs-return-503917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:39:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101047 invoked by alias); 25 Nov 2015 17:39: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 100963 invoked by uid 48); 25 Nov 2015 17:39:17 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/67941] [5/6 Regression] calls on function pointer from a captureless lambda cause ubsan warning Date: Wed, 25 Nov 2015 17: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: 5.1.1 X-Bugzilla-Keywords: diagnostic 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: 5.3 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: 2015-11/txt/msg02844.txt.bz2 Content-length: 378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67941 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gn= u.org >>From gcc-bugs-return-503918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:46:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117889 invoked by alias); 25 Nov 2015 17:46: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 117844 invoked by uid 48); 25 Nov 2015 17:46:17 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 17: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey 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: 2015-11/txt/msg02845.txt.bz2 Content-length: 539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #15 from Tom Tromey --- (In reply to Josh Triplett from comment #13) > Note that in addition to complaining if *any* exit to the function doesn't > have the correct "out" value, you also need to complain if calls to > functions with the context attribute don't have the necessary "in" value.= =20 You also need to have checks to ensure that the value doesn't drop below 0. Anyway given that this is happening, I suggest closing this gcc bug. >>From gcc-bugs-return-503919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:50:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15018 invoked by alias); 25 Nov 2015 17: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 14937 invoked by uid 48); 25 Nov 2015 17:50:51 -0000 From: "luser.droog at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Wed, 25 Nov 2015 17: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luser.droog at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02846.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 --- Comment #12 from M Joshua Ryan --- (In reply to Andrew Pinski from comment #10) > This sounds related to GMP/MPFR, can you recompile those? Downloading the src packages now. Will update. >>From gcc-bugs-return-503920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:56:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43270 invoked by alias); 25 Nov 2015 17:56: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 43214 invoked by uid 48); 25 Nov 2015 17:56:38 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68544] ICE trying to pass derived type constructor as a function Date: Wed, 25 Nov 2015 17: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor 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: 2015-11/txt/msg02847.txt.bz2 Content-length: 611 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68544 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (6.0). > Sun's F90 compiler rejects it, but gives a useful error message. What is the message? >>From gcc-bugs-return-503921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:57:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44836 invoked by alias); 25 Nov 2015 17:57: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 44740 invoked by uid 55); 25 Nov 2015 17:57:47 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Wed, 25 Nov 2015 17:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 5.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: 2015-11/txt/msg02848.txt.bz2 Content-length: 588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 --- Comment #5 from Vladimir Makarov --- Author: vmakarov Date: Wed Nov 25 17:57:15 2015 New Revision: 230893 URL: https://gcc.gnu.org/viewcvs?rev=3D230893&root=3Dgcc&view=3Drev Log: 2015-11-25 Vladimir Makarov PR rtl-optimization/67954 * lra-constraints.c (curr_insn_transform): Add check on scratch pseudo when change class to NO_REGS. Add an assert. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/lra-constraints.c >>From gcc-bugs-return-503922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 17:59:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47016 invoked by alias); 25 Nov 2015 17:59: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 46953 invoked by uid 55); 25 Nov 2015 17:59:07 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Wed, 25 Nov 2015 17: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: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 5.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: 2015-11/txt/msg02849.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 --- Comment #6 from Vladimir Makarov --- Author: vmakarov Date: Wed Nov 25 17:58:35 2015 New Revision: 230894 URL: https://gcc.gnu.org/viewcvs?rev=3D230894&root=3Dgcc&view=3Drev Log: 2015-11-25 Vladimir Makarov PR rtl-optimization/67954 * lra-constraints.c (curr_insn_transform): Add check on scratch pseudo when change class to NO_REGS. Add an assert. Modified: trunk/gcc/ChangeLog trunk/gcc/lra-constraints.c >>From gcc-bugs-return-503923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 18:03:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72200 invoked by alias); 25 Nov 2015 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 72138 invoked by uid 48); 25 Nov 2015 18:03:37 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Wed, 25 Nov 2015 18:03: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: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 5.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: 2015-11/txt/msg02850.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 --- Comment #7 from Vladimir Makarov --- The problem occurred in rare cases when a pseudo created from a scratch w= as reloaded and assigned to reg and memory back again. The new reload pseudo loses "created from clobber" mark and occurs more once in insns. >>From gcc-bugs-return-503924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 18:04:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73632 invoked by alias); 25 Nov 2015 18:04: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 73582 invoked by uid 48); 25 Nov 2015 18:04:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Wed, 25 Nov 2015 18:04: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: 5.1.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02851.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- Assuming fixed for 5.3+. >>From gcc-bugs-return-503925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 18:06:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85989 invoked by alias); 25 Nov 2015 18: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 85936 invoked by uid 48); 25 Nov 2015 18:06:24 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/68545] New: gcc.dg/guality/guality.exp hides compiler error Date: Wed, 25 Nov 2015 18:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 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: 2015-11/txt/msg02852.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68545 Bug ID: 68545 Summary: gcc.dg/guality/guality.exp hides compiler error Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- When check in gcc.dg/guality/guality.exp fails due to compiler error, guality.exp is skipped without any error messages, which hides compiler error. >>From gcc-bugs-return-503926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 18:54:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102535 invoked by alias); 25 Nov 2015 18:54: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 102487 invoked by uid 48); 25 Nov 2015 18:54:51 -0000 From: "jim.macarthur at codethink dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68544] ICE trying to pass derived type constructor as a function Date: Wed, 25 Nov 2015 18: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: jim.macarthur at codethink dot co.uk 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: 2015-11/txt/msg02853.txt.bz2 Content-length: 309 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68544 --- Comment #2 from Jim MacArthur --- Sun f90 output: CALL sub(t) ^=20=20 "pass-type-constructor-as-function.f", Line =3D 10, Column =3D 16: ERROR: T= his use of derived type "T" is not valid. >>From gcc-bugs-return-503927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 18:56:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104234 invoked by alias); 25 Nov 2015 18:56: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 104183 invoked by uid 48); 25 Nov 2015 18:56:00 -0000 From: "mrs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/61692] ICE in extract_insn in recog.c for asm with many parameters Date: Wed, 25 Nov 2015 18:56: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mrs 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: 2015-11/txt/msg02854.txt.bz2 Content-length: 282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61692 --- Comment #5 from mrs at gcc dot gnu.org --- Mine. Mine supports 33. Don't expect it to go past 40. Most folks won't. = In 10-30 years, maybe we might need to update to 50, but we can do that then. >>From gcc-bugs-return-503928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 18:58:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108942 invoked by alias); 25 Nov 2015 18:58: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 108852 invoked by uid 55); 25 Nov 2015 18:58:44 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/67941] [5/6 Regression] calls on function pointer from a captureless lambda cause ubsan warning Date: Wed, 25 Nov 2015 18:58: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: 5.1.1 X-Bugzilla-Keywords: diagnostic 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: 5.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: 2015-11/txt/msg02855.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67941 --- Comment #6 from Jason Merrill --- Author: jason Date: Wed Nov 25 18:58:11 2015 New Revision: 230897 URL: https://gcc.gnu.org/viewcvs?rev=3D230897&root=3Dgcc&view=3Drev Log: PR c++/67941 * lambda.c (maybe_add_lambda_conv_op): Mark _FUN as no_sanitize_undefined. Added: trunk/gcc/testsuite/g++.dg/ubsan/null-6.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/lambda.c >>From gcc-bugs-return-503929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 19:37:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66951 invoked by alias); 25 Nov 2015 19:37: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 66909 invoked by uid 48); 25 Nov 2015 19:37:19 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 19: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02856.txt.bz2 Content-length: 1402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #16 from Josh Triplett --- (In reply to PaX Team from comment #14) > (In reply to Josh Triplett from comment #13) > > This approach won't necessarily provide the "different contexts for bas= ic > > block" warning that Sparse has, but I don't necessarily think we need t= hat; >=20 > can you give me an example of this? Sparse warns if you can reach the same basic block with different context values (for instance, with or without a lock held). That warning *may* indicate a problem, but it can also just indicate code too intricate for Sp= arse to understand. > the thing is, my approach tracks the > context with statement granularity so if you can tell the compiler where = you > expect specific states (such as the context attr on callees) checks can be > inserted there easily, down to individual statements (say, the structure > field accesses you mentioned). Sounds good to me. (In reply to Tom Tromey from comment #15) > Anyway given that this is happening, I suggest closing this gcc bug. Have we completely ruled out the possibility of a native GCC implementation= ?=20 This really doesn't seem specific to the Linux kernel in any way; it'd be n= ice if this could work in most programs. We could add annotations to pthread locking functions, and any program using locking would benefit. >>From gcc-bugs-return-503930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 19:42:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123461 invoked by alias); 25 Nov 2015 19:42: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 123397 invoked by uid 48); 25 Nov 2015 19:42:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68087] [5/6 Regression] ICE with constexpr in array with negative index Date: Wed, 25 Nov 2015 19: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: 6.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: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02857.txt.bz2 Content-length: 963 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68087 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek --- The testcase fails on i686-linux: /home/jakub/src/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C:6:26: er= ror: array subscript out of bound compiler exited with status 1 output is: /home/jakub/src/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C:6:26: er= ror: array subscript out of bound FAIL: g++.dg/cpp0x/constexpr-array13.C -std=3Dc++11 (test for errors, lin= e 6) FAIL: g++.dg/cpp0x/constexpr-array13.C -std=3Dc++11 (test for excess error= s) Excess errors: /home/jakub/src/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C:6:26: er= ror: array subscript out of bound >>From gcc-bugs-return-503931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 19:56:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29020 invoked by alias); 25 Nov 2015 19:56: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 28950 invoked by uid 55); 25 Nov 2015 19:56:38 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67813] [C++14] copy-initialization of object with pointer member fails in constexpr function Date: Wed, 25 Nov 2015 19:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02858.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67813 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Nov 25 19:56:06 2015 New Revision: 230899 URL: https://gcc.gnu.org/viewcvs?rev=3D230899&root=3Dgcc&view=3Drev Log: PR c++/67813 * constexpr.c (cxx_eval_store_expression): Always use *valp if set. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-copy1.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/constexpr.c >>From gcc-bugs-return-503933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 19:56:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30361 invoked by alias); 25 Nov 2015 19: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 29874 invoked by uid 55); 25 Nov 2015 19:56:50 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/67941] [5/6 Regression] calls on function pointer from a captureless lambda cause ubsan warning Date: Wed, 25 Nov 2015 19:56: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: 5.1.1 X-Bugzilla-Keywords: diagnostic 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: 5.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: 2015-11/txt/msg02859.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67941 --- Comment #7 from Jason Merrill --- Author: jason Date: Wed Nov 25 19:56:18 2015 New Revision: 230901 URL: https://gcc.gnu.org/viewcvs?rev=3D230901&root=3Dgcc&view=3Drev Log: PR c++/67941 * lambda.c (maybe_add_lambda_conv_op): Mark _FUN as no_sanitize_undefined. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/null-6.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/lambda.c >>From gcc-bugs-return-503932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 19:56:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29774 invoked by alias); 25 Nov 2015 19:56: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 29369 invoked by uid 55); 25 Nov 2015 19:56:44 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68422] compile-time cost of sizeof... is quadratic Date: Wed, 25 Nov 2015 19:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: compile-time-hog 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: 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: 2015-11/txt/msg02860.txt.bz2 Content-length: 682 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68422 --- Comment #4 from Jason Merrill --- Author: jason Date: Wed Nov 25 19:56:12 2015 New Revision: 230900 URL: https://gcc.gnu.org/viewcvs?rev=3D230900&root=3Dgcc&view=3Drev Log: PR c++/68422 * cp-tree.h (PACK_EXPANSION_SIZEOF_P): New. * parser.c (cp_parser_sizeof_pack): Set it. * pt.c (tsubst_copy) [SIZEOF_EXPR]: Likewise. (tsubst_pack_expansion): Improve T... shortcut when set. Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/cp-tree.h branches/gcc-5-branch/gcc/cp/parser.c branches/gcc-5-branch/gcc/cp/pt.c >>From gcc-bugs-return-503934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 20:38:20 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102640 invoked by alias); 25 Nov 2015 20: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 102473 invoked by uid 48); 25 Nov 2015 20:38:16 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68087] [5/6 Regression] ICE with constexpr in array with negative index Date: Wed, 25 Nov 2015 20:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-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: P2 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02861.txt.bz2 Content-length: 184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68087 --- Comment #8 from Paolo Carlini --- I see, thanks. I'm going to trivially tweak the dg-error. >>From gcc-bugs-return-503935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 20:45:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114226 invoked by alias); 25 Nov 2015 20:45: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 114183 invoked by uid 48); 25 Nov 2015 20:45:21 -0000 From: "klindsay at ucar dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68546] New: passing non-contiguous associated array section garbles results Date: Wed, 25 Nov 2015 20:45: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: klindsay at ucar dot 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 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: 2015-11/txt/msg02862.txt.bz2 Content-length: 1518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68546 Bug ID: 68546 Summary: passing non-contiguous associated array section garbles results Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: klindsay at ucar dot edu Target Milestone: --- Created attachment 36840 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36840&action=3Dedit program demonstrating problem Hi, I've associated a non-contiguous array section to a name. I.e. A2=3D>A(2,:) When I pass A2 to a subroutine, the contents are garbled (see below). When I compile and run the attached program, I expect the output to be write statement with fixed i section 201.0 202.0 203.0 ---------- calling foo with fixed i section 201.0 202.0 203.0 ---------- write statement with associated fixed i section 201.0 202.0 203.0 ---------- calling foo with associated fixed i section 201.0 202.0 203.0 ---------- Instead, with gfortran v5.2.0, the last 4 lines are ---------- calling foo with associated fixed i section 201.0 301.0 102.0 ---------- If the contents of the associate construct are (A2=3D>A(:,2)), then the out= put from the program is as I would expect it to be. So the problem seems to be related to the non-contiguous nature of the array section.=20 Could this be looked into please? Thank you, Keith Lindsay >>From gcc-bugs-return-503936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:09:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85179 invoked by alias); 25 Nov 2015 21:09: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 85154 invoked by uid 48); 25 Nov 2015 21:09:15 -0000 From: "jan.smets@alcatel-lucent.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68547] New: incorrect optimization Date: Wed, 25 Nov 2015 21:09: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.smets@alcatel-lucent.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: 2015-11/txt/msg02863.txt.bz2 Content-length: 963 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68547 Bug ID: 68547 Summary: incorrect optimization Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jan.smets@alcatel-lucent.com Target Milestone: --- Created attachment 36841 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36841&action=3Dedit test case $ g++ test.cc -o test -O2 -Wall && ./test DEL element[1]=3D200 volatile DEL element[1]=3D200 last_element_index=3D2 (should be 2) volatile DEL element[1]=3D200 DEL element[1]=3D200 last_element_index=3D1 (should be 2) $ g++ test.cc -o test -O0 -Wall && ./test DEL element[1]=3D200 volatile DEL element[1]=3D200 last_element_index=3D2 (should be 2) volatile DEL element[1]=3D200 DEL element[1]=3D200 last_element_index=3D2 (should be 2) >>From gcc-bugs-return-503938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:13:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92086 invoked by alias); 25 Nov 2015 21:13:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91907 invoked by uid 55); 25 Nov 2015 21:13:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67354] [5 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421 Date: Wed, 25 Nov 2015 21: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: 5.2.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: 5.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: 2015-11/txt/msg02865.txt.bz2 Content-length: 1809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67354 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Wed Nov 25 21:13:00 2015 New Revision: 230905 URL: https://gcc.gnu.org/viewcvs?rev=3D230905&root=3Dgcc&view=3Drev Log: Backported from mainline 2015-11-20 Jakub Jelinek PR c++/67354 * cp-tree.h (defer_mangling_aliases): Declare. (generate_mangling_aliases): New prototype. * decl2.c (defer_mangling_aliases): New variable. (note_mangling_alias): Use !defer_mangling_aliases instead of at_eof. (generate_mangling_aliases): No longer static. Clear defer_mangling_aliases. * optimize.c (maybe_thunk_body): Defer emitting mangling aliases if !defer_mangling_aliases until the fns are put into the same comdat group. * g++.dg/abi/mangle67.C: New test. 2015-05-09 Aldy Hernandez PR bootstrap/66085 * decl2.c (note_mangling_alias): Declare arguments as unused. 2015-05-08 Jason Merrill * decl2.c (mangling_aliases): New variable. (note_mangling_alias, generate_mangling_aliases): New. (cp_write_global_declarations): Call generate_mangling_aliases. (generate_mangling_alias): Split out from... * mangle.c (mangle_decl): ...here. * cp-tree.h: Declare note_mangling_alias. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/abi/mangle67.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/cp-tree.h branches/gcc-5-branch/gcc/cp/decl2.c branches/gcc-5-branch/gcc/cp/mangle.c branches/gcc-5-branch/gcc/cp/optimize.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:13:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91995 invoked by alias); 25 Nov 2015 21:13:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91844 invoked by uid 55); 25 Nov 2015 21:13:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/66085] [6 Regression] Revision r222934 breaks bootstrap on darwin. Date: Wed, 25 Nov 2015 21:13: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: 6.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: 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: 2015-11/txt/msg02864.txt.bz2 Content-length: 1808 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66085 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Nov 25 21:13:00 2015 New Revision: 230905 URL: https://gcc.gnu.org/viewcvs?rev=3D230905&root=3Dgcc&view=3Drev Log: Backported from mainline 2015-11-20 Jakub Jelinek PR c++/67354 * cp-tree.h (defer_mangling_aliases): Declare. (generate_mangling_aliases): New prototype. * decl2.c (defer_mangling_aliases): New variable. (note_mangling_alias): Use !defer_mangling_aliases instead of at_eof. (generate_mangling_aliases): No longer static. Clear defer_mangling_aliases. * optimize.c (maybe_thunk_body): Defer emitting mangling aliases if !defer_mangling_aliases until the fns are put into the same comdat group. * g++.dg/abi/mangle67.C: New test. 2015-05-09 Aldy Hernandez PR bootstrap/66085 * decl2.c (note_mangling_alias): Declare arguments as unused. 2015-05-08 Jason Merrill * decl2.c (mangling_aliases): New variable. (note_mangling_alias, generate_mangling_aliases): New. (cp_write_global_declarations): Call generate_mangling_aliases. (generate_mangling_alias): Split out from... * mangle.c (mangle_decl): ...here. * cp-tree.h: Declare note_mangling_alias. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/abi/mangle67.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/cp-tree.h branches/gcc-5-branch/gcc/cp/decl2.c branches/gcc-5-branch/gcc/cp/mangle.c branches/gcc-5-branch/gcc/cp/optimize.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:14:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93777 invoked by alias); 25 Nov 2015 21:14: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 93700 invoked by uid 48); 25 Nov 2015 21:14:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67089] [4.9/5 Regression] Integer overflow checks not optimized on x86/x86_64 Date: Wed, 25 Nov 2015 21: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: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor 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: 4.9.4 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: 2015-11/txt/msg02866.txt.bz2 Content-length: 590 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67089 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.9/5/6 Regression] |[4.9/5 Regression] Integer |Integer overflow checks not |overflow checks not |optimized on x86/x86_64 |optimized on x86/x86_64 --- Comment #8 from Jakub Jelinek --- Fixed on the trunk so far. Wonder if this is desirable to backport. >>From gcc-bugs-return-503940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:20:18 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99791 invoked by alias); 25 Nov 2015 21:20: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 99721 invoked by uid 48); 25 Nov 2015 21:20:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67354] [5 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421 Date: Wed, 25 Nov 2015 21: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: 5.2.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: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2015-11/txt/msg02867.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67354 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #12 from Jakub Jelinek --- Fixed for 5.3+. >>From gcc-bugs-return-503941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:21:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101795 invoked by alias); 25 Nov 2015 21:21: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 101769 invoked by uid 48); 25 Nov 2015 21:21:33 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68547] incorrect optimization Date: Wed, 25 Nov 2015 21:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: miyuki 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: 2015-11/txt/msg02868.txt.bz2 Content-length: 2027 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68547 Mikhail Maltsev changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |miyuki at gcc dot gnu.org --- Comment #1 from Mikhail Maltsev --- You invoke undefined behavior (out-of-bounds array access): $ g++ -fsanitize=3Dundefined ./test.cc=20 $ ./a.out=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 DEL element[1]=3D200 volatile=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ./test.cc:17:57: runtime error: index 3 out of bounds for type 'unsigned int [3]'=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ./test.cc:17:57: runtime error: load of address 0x000000601a3c with insufficient space for an object of type 'unsigned int'=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0x000000601a3c: note: pointer points here 2c 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= 00 00 00 00 00 00 00 00 ^=20 DEL element[1]=3D200 last_element_index=3D2 (should be 2) volatile DEL element[1]=3D200 ./test.cc:26:57: runtime error: index 3 out of bounds for type 'unsigned int [3]' ./test.cc:26:57: runtime error: load of address 0x000000601a3c with insufficient space for an object of type 'unsigned int' 0x000000601a3c: note: pointer points here 2c 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00= 00 00 00 00 00 00 00 00 >>From gcc-bugs-return-503942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:38:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12802 invoked by alias); 25 Nov 2015 21:38: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 12730 invoked by uid 48); 25 Nov 2015 21:38:03 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67876] [6 Regression] ICE when compiling Firefox 38 Date: Wed, 25 Nov 2015 21:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02869.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67876 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |msebor at gcc dot gnu.org --- Comment #4 from Jason Merrill --- This is crashing in Martin's new reject_gcc_builtin code. >>From gcc-bugs-return-503943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:39:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55171 invoked by alias); 25 Nov 2015 21:39: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 45979 invoked by uid 48); 25 Nov 2015 21:39:23 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68509] [6 regression][C++1z] ICE: in check_return_expr, at cp/typeck.c:8635 Date: Wed, 25 Nov 2015 21:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 6.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: 2015-11/txt/msg02870.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68509 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jason at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Jason Merrill --- Dup. *** This bug has been marked as a duplicate of bug 68396 *** >>From gcc-bugs-return-503944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:39:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56590 invoked by alias); 25 Nov 2015 21: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 49039 invoked by uid 48); 25 Nov 2015 21:39:24 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68396] function auto-deduced return types get incorrectly classified as parameter packs Date: Wed, 25 Nov 2015 21:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: 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: 2015-11/txt/msg02871.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68396 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucdanton at free dot fr --- Comment #4 from Jason Merrill --- *** Bug 68509 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:42:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28388 invoked by alias); 25 Nov 2015 21:42:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28342 invoked by uid 48); 25 Nov 2015 21:42:37 -0000 From: "sje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68400] ICE in change_address_1, at emit-rtl.c:2125 Date: Wed, 25 Nov 2015 21: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sje 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: 2015-11/txt/msg02872.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68400 Steve Ellcey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sje at gcc dot gnu.org --- Comment #1 from Steve Ellcey --- Felix, I wasn't able to reproduce this with GCC 5.2 or with top-of-tree GCC when compiling libpcap. Can you include a preprocessed source file (cut do= wn if possible) and list exactly what options you used. >>From gcc-bugs-return-503946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:52:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40800 invoked by alias); 25 Nov 2015 21:52: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 40725 invoked by uid 48); 25 Nov 2015 21:52:45 -0000 From: "pageexec at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 21: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pageexec at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02873.txt.bz2 Content-length: 2554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #17 from PaX Team --- (In reply to Josh Triplett from comment #16) > (In reply to PaX Team from comment #14) > > can you give me an example of this? >=20 > Sparse warns if you can reach the same basic block with different context > values (for instance, with or without a lock held). That warning *may* > indicate a problem, but it can also just indicate code too intricate for > Sparse to understand. i see, so this would basically trigger every time a lock is taken/released based on a condition as in the example in comment #1? or is there some deep= er analysis done to avoid at least some false positives? in any case, with my method this checking is pretty easy too since the SSA representation ensures that we get a phi for the local context tracking variable if different paths produce different values when a given basic blo= ck is reached. it also seems that gcc can eliminate at least some trivial false reports since none of your conditional locking examples produce a false positive or negative (however i expect real linux code to do worse). > (In reply to Tom Tromey from comment #15) > > Anyway given that this is happening, I suggest closing this gcc bug. >=20 > Have we completely ruled out the possibility of a native GCC implementati= on? > This really doesn't seem specific to the Linux kernel in any way; it'd be > nice if this could work in most programs. We could add annotations to > pthread locking functions, and any program using locking would benefit. i agree, this context attribute based invariant verification is very generic and could be worked into a general gcc feature. the plugin approach is a go= od way to prototype it and get it some real life use before it'd make into the compiler. speaking of generalization, the encoding of the lock expression (e.g., lock ptr) will have to change as it really doesn't seem feasible to refer to function arguments from an attribute. as long as we expect to feed the comp= iler only manual annotations, the only thing that matters is that the lock expression be something unique, so as a compromise i suggest to simply make= it a string constant, which would both preserve context for a human programmer= and be also easy for the compiler to derive a unique name from for the local variable tracking the given context. i.e., instead of __attribute__((context(lock_expr, in, out))) we'd have __attribute__((context("lock_expr", in, out))) and ditto for calling __context__(). >>From gcc-bugs-return-503947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 21:57:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57286 invoked by alias); 25 Nov 2015 21:57: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 57242 invoked by uid 48); 25 Nov 2015 21:57:52 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68547] incorrect optimization Date: Wed, 25 Nov 2015 21:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2015-11/txt/msg02874.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68547 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski --- That is: (array_of_elements[last_element_index] !=3D 0) && (last_element_index < TEST_ARRAY_SIZE) You should swap those two expressions to get correct behavior. >>From gcc-bugs-return-503948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 22:00:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59955 invoked by alias); 25 Nov 2015 22:00: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 59892 invoked by uid 55); 25 Nov 2015 22:00:54 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Wed, 25 Nov 2015 22: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 2015-11/txt/msg02875.txt.bz2 Content-length: 648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #29 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #27 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- I've done some more digging and found that the switch from a gas-derived as in Xcode 6.4 to the LLVM-based one in Xcode 7 caused this: assembling the exact same .s file with both assemblers introduces the difference in relocations causing ld to choke and the 32-bit bootstrap to break. Command line is as -arch i386 -force_cpusubtype_ALL -o make-temp-file.o make-temp-file.s Rainer >>From gcc-bugs-return-503949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 22:01:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60770 invoked by alias); 25 Nov 2015 22:01: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 60716 invoked by uid 48); 25 Nov 2015 22:01: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: Wed, 25 Nov 2015 22: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2015-11/txt/msg02876.txt.bz2 Content-length: 392 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68523 --- Comment #2 from Segher Boessenkool --- Scratch that, ch changes the loop but is not the culprit. Note there is one further edge at expand time: 2->9 with prob 0%. This is created by unswitch. The transform is fine afaics, but it doesn't update the execution freqs properly, giving the wrong counts here. >>From gcc-bugs-return-503950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 22:10:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103497 invoked by alias); 25 Nov 2015 22:10: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 102923 invoked by uid 48); 25 Nov 2015 22:10:22 -0000 From: "josh at joshtriplett dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 22: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: josh at joshtriplett 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02877.txt.bz2 Content-length: 3436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #18 from Josh Triplett --- (In reply to PaX Team from comment #17) > (In reply to Josh Triplett from comment #16) > > (In reply to PaX Team from comment #14) > > > can you give me an example of this? > >=20 > > Sparse warns if you can reach the same basic block with different conte= xt > > values (for instance, with or without a lock held). That warning *may* > > indicate a problem, but it can also just indicate code too intricate for > > Sparse to understand. >=20 > i see, so this would basically trigger every time a lock is taken/released > based on a condition as in the example in comment #1? Yes. > or is there some > deeper analysis done to avoid at least some false positives? Nope. Sparse always generates a warning in such a case. Usually you can w= ork around that by simplifying your locking, which seems like a good idea regardless. > in any case, with my method this checking is pretty easy too since the SSA > representation ensures that we get a phi for the local context tracking > variable if different paths produce different values when a given basic > block is reached. it also seems that gcc can eliminate at least some triv= ial > false reports since none of your conditional locking examples produce a > false positive or negative (however i expect real linux code to do worse). I don't think it makes sense to issue "differing contexts for basic block" warnings at all. > > (In reply to Tom Tromey from comment #15) > > > Anyway given that this is happening, I suggest closing this gcc bug. > >=20 > > Have we completely ruled out the possibility of a native GCC implementa= tion? > > This really doesn't seem specific to the Linux kernel in any way; it'd = be > > nice if this could work in most programs. We could add annotations to > > pthread locking functions, and any program using locking would benefit. >=20 > i agree, this context attribute based invariant verification is very gene= ric > and could be worked into a general gcc feature. the plugin approach is a > good way to prototype it and get it some real life use before it'd make i= nto > the compiler. >=20 > speaking of generalization, the encoding of the lock expression (e.g., lo= ck > ptr) will have to change as it really doesn't seem feasible to refer to > function arguments from an attribute. Doesn't seem too unreasonable to handle, actually. When parsing an attribu= te, refer back to the function arguments; the context expression must either use those or globals. > as long as we expect to feed the > compiler only manual annotations, the only thing that matters is that the > lock expression be something unique, so as a compromise i suggest to simp= ly > make it a string constant, which would both preserve context for a human > programmer and be also easy for the compiler to derive a unique name from > for the local variable tracking the given context. i.e., instead of > __attribute__((context(lock_expr, in, out))) we'd have > __attribute__((context("lock_expr", in, out))) and ditto for calling > __context__(). That fails for a really common case that should generate a warning: spin_lock(&some_lock); /* Piles of code */ spin_unlock(&some_other_lock); I don't think stringizing the lock argument and using that as the context m= akes sense, either, as it need not textually match to semantically match. >>From gcc-bugs-return-503951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 22:10:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103588 invoked by alias); 25 Nov 2015 22:10: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 103457 invoked by uid 48); 25 Nov 2015 22:10:25 -0000 From: "sje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips Date: Wed, 25 Nov 2015 22:10: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sje 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: 5.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: 2015-11/txt/msg02878.txt.bz2 Content-length: 894 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68302 Steve Ellcey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sje at gcc dot gnu.org --- Comment #2 from Steve Ellcey --- Aurelien, I could not reproduce this on today=E2=80=99s top-of-tree or the top of the gcc-5-branch. Did you use any configure options when building GCC? When you say 'compiled with debugging enabled' are you talking about just u= sing -g when compiling the test program or are you talking about something else? I built a cross compiler on my x86 linux system targeting mips-linux-gnu and used '-g -O2 -march=3Dmips32r2' when compiling the test program but I did n= ot get a seg fault or an ICE or any other type of error. >>From gcc-bugs-return-503952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 22:13:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108189 invoked by alias); 25 Nov 2015 22:13:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108152 invoked by uid 55); 25 Nov 2015 22:13:55 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68434] [concepts] ICE: same canonical type node for different types Date: Wed, 25 Nov 2015 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: 6.0 X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02879.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68434 --- Comment #2 from Jason Merrill --- Author: jason Date: Wed Nov 25 22:13:23 2015 New Revision: 230909 URL: https://gcc.gnu.org/viewcvs?rev=3D230909&root=3Dgcc&view=3Drev Log: PR c++/68434 * pt.c (tsubst): Set PLACEHOLDER_TYPE_CONSTRAINTS before calling canonical_type_parameter. Added: trunk/gcc/testsuite/g++.dg/concepts/pr68434.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c >>From gcc-bugs-return-503953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 22:21:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118206 invoked by alias); 25 Nov 2015 22: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 118156 invoked by uid 48); 25 Nov 2015 22:21:23 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67876] [6 Regression] ICE when compiling Firefox 38 Date: Wed, 25 Nov 2015 22: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: unknown X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02880.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67876 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org --- Comment #5 from Martin Sebor --- I'll take a look. >>From gcc-bugs-return-503954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 22:52:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24464 invoked by alias); 25 Nov 2015 22:52: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 24366 invoked by uid 48); 25 Nov 2015 22:52:49 -0000 From: "pageexec at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/59856] Support sparse-style context checking, used to validate locking correctness Date: Wed, 25 Nov 2015 22: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pageexec at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02881.txt.bz2 Content-length: 1788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59856 --- Comment #19 from PaX Team --- (In reply to Josh Triplett from comment #18) > (In reply to PaX Team from comment #17) > > (In reply to Josh Triplett from comment #16) > > speaking of generalization, the encoding of the lock expression (e.g., = lock > > ptr) will have to change as it really doesn't seem feasible to refer to > > function arguments from an attribute. >=20 > Doesn't seem too unreasonable to handle, actually. When parsing an > attribute, refer back to the function arguments; the context expression m= ust > either use those or globals. the problem is that gcc itself refuses to parse an expression that wants to refer to a function argument (global variables work fine). this is something that changed with gcc-5, previously such a reference would at least produce= an identifier_node (basically just the name of the referenced parameter but without any reference to the parm_decl itself, so not too useful), now it's= a compile error: error: 'p' undeclared here (not in a function) so getting this to work would require frontend patches at least (and is bey= ond what a plugin can do but see below for an idea). > That fails for a really common case that should generate a warning: >=20 > spin_lock(&some_lock); > /* Piles of code */ > spin_unlock(&some_other_lock); hmmm, true, so some parsing is inavoidable. the stringification idea may st= ill be viable however as the attribute parsing code runs as part of the fronten= d so technically it has access to the parsing machinery and could perhaps extrac= t at least simple expressions (or just a function argument) from the string. i'll make some experiments and see if i can get back a reference to a parm_decl = at least. >>From gcc-bugs-return-503955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 23:05:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43023 invoked by alias); 25 Nov 2015 23:05: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 42968 invoked by uid 55); 25 Nov 2015 23:05:40 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/67548] [5/6 Regression] LTO drops weak binding with "ld -r" Date: Wed, 25 Nov 2015 23:05: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02882.txt.bz2 Content-length: 1341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67548 --- Comment #10 from Jan Hubicka --- Author: hubicka Date: Wed Nov 25 23:05:07 2015 New Revision: 230915 URL: https://gcc.gnu.org/viewcvs?rev=3D230915&root=3Dgcc&view=3Drev Log: PR lto/67548 * lto-plugin.c (linker_output, linker_output_set): New statics. (all_symbols_read_handler): Add -flinker-output option. (onload): Record linker_output info. * ipa-visibility.c (cgraph_externally_visible_p, varpool_node::externally_visible_p): When doing incremental linking, hidden symbols may be still used later. (update_visibility_by_resolution_info): Do not drop weak during incremental link. (function_and_variable_visibility): Fix formating. * flag-types.h (lto_linker_output): Declare. * common.opt 9flag_incremental_link): New flag. * lto-lang.c (lto_post_options): Process flag_lto_linker_output. * lang.opt (lto_linker_output): New enum. (flinker_output): New flag. Modified: trunk/gcc/ChangeLog trunk/gcc/common.opt trunk/gcc/flag-types.h trunk/gcc/ipa-visibility.c trunk/gcc/lto/ChangeLog trunk/gcc/lto/lang.opt trunk/gcc/lto/lto-lang.c trunk/lto-plugin/ChangeLog trunk/lto-plugin/lto-plugin.c >>From gcc-bugs-return-503956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 23:18:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79510 invoked by alias); 25 Nov 2015 23: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 79480 invoked by uid 48); 25 Nov 2015 23:18:53 -0000 From: "mattst88 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68548] New: gcc wrongly warns about uninitialized data Date: Wed, 25 Nov 2015 23:18: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: mattst88 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: 2015-11/txt/msg02883.txt.bz2 Content-length: 725 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68548 Bug ID: 68548 Summary: gcc wrongly warns about uninitialized data Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: mattst88 at gmail dot com Target Milestone: --- Created attachment 36842 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36842&action=3Dedit u.c gcc -Wmaybe-uninitialized wrongly warns about data0 being uninitialized in = the attached test case. This may be a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D4= 2145 >>From gcc-bugs-return-503957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 23:30:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122048 invoked by alias); 25 Nov 2015 23:30: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 122013 invoked by uid 55); 25 Nov 2015 23:30:30 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66516] missing diagnostic on taking the address of a builtin function Date: Wed, 25 Nov 2015 23: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: 5.1.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02884.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66516 --- Comment #5 from Martin Sebor --- Author: msebor Date: Wed Nov 25 23:29:57 2015 New Revision: 230916 URL: https://gcc.gnu.org/viewcvs?rev=3D230916&root=3Dgcc&view=3Drev Log: PR c/66516 - missing diagnostic on taking the address of a builtin function * g++.dg/addr_builtin-1.C: New test (accidentally omitted from initial commit). * gcc.dg/addr_builtin-1.c: Same. Added: trunk/gcc/testsuite/g++.dg/addr_builtin-1.C trunk/gcc/testsuite/gcc.dg/addr_builtin-1.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 25 23:47:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83475 invoked by alias); 25 Nov 2015 23: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 83448 invoked by uid 48); 25 Nov 2015 23:47:43 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68546] passing non-contiguous associated array section garbles results Date: Wed, 25 Nov 2015 23:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 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: 2015-11/txt/msg02885.txt.bz2 Content-length: 674 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68546 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-25 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (6.0). BLOCK is not implemented in 4.6. 4.6= and 4.7 gives calling foo with associated fixed i section ***** 0.0 NaN Related to/Duplicate of PR64773. >>From gcc-bugs-return-503959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 00:25:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44880 invoked by alias); 26 Nov 2015 00:25: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 44441 invoked by uid 55); 26 Nov 2015 00:24:57 -0000 From: "ian at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/61303] gccgo: segfault, regression since 4.8.2 Date: Thu, 26 Nov 2015 00:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02886.txt.bz2 Content-length: 665 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61303 --- Comment #10 from ian at gcc dot gnu.org --- Author: ian Date: Thu Nov 26 00:24:21 2015 New Revision: 230922 URL: https://gcc.gnu.org/viewcvs?rev=3D230922&root=3Dgcc&view=3Drev Log: PR go/61303 runtime: don't overallocate in select code If we've already allocated an fd_set, don't allocate another one. Also, don't bother to read from rdwake if it wasn't returned in select. Fixes https://gcc.gnu.org/PR61303. Reviewed-on: https://go-review.googlesource.com/17243 Modified: trunk/gcc/go/gofrontend/MERGE trunk/libgo/runtime/netpoll_select.c >>From gcc-bugs-return-503961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 00:25:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47356 invoked by alias); 26 Nov 2015 00:25: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 47295 invoked by uid 48); 26 Nov 2015 00:25:44 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/61303] gccgo: segfault, regression since 4.8.2 Date: Thu, 26 Nov 2015 00:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02888.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61303 Ian Lance Taylor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #12 from Ian Lance Taylor --- This seems to have been due to a bug in the select support, which is only u= sed on Solaris. Should be fixed on mainline and GCC 5 branch. >>From gcc-bugs-return-503960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 00:25:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46189 invoked by alias); 26 Nov 2015 00:25: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 45780 invoked by uid 55); 26 Nov 2015 00:25:05 -0000 From: "ian at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/61303] gccgo: segfault, regression since 4.8.2 Date: Thu, 26 Nov 2015 00:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2015-11/txt/msg02887.txt.bz2 Content-length: 647 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61303 --- Comment #11 from ian at gcc dot gnu.org --- Author: ian Date: Thu Nov 26 00:24:33 2015 New Revision: 230923 URL: https://gcc.gnu.org/viewcvs?rev=3D230923&root=3Dgcc&view=3Drev Log: PR go/61303 runtime: don't overallocate in select code If we've already allocated an fd_set, don't allocate another one. Also, don't bother to read from rdwake if it wasn't returned in select. Fixes https://gcc.gnu.org/PR61303. Reviewed-on: https://go-review.googlesource.com/17243 Modified: branches/gcc-5-branch/libgo/runtime/netpoll_select.c >>From gcc-bugs-return-503962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 01:00:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52542 invoked by alias); 26 Nov 2015 00: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 52461 invoked by uid 48); 26 Nov 2015 00:59:54 -0000 From: "majun4950646 at 163 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68529] scev failed for while(i--) Date: Thu, 26 Nov 2015 00: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: 5.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: majun4950646 at 163 dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02889.txt.bz2 Content-length: 1613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68529 --- Comment #6 from majun --- (In reply to bin.cheng from comment #5) > The dump before ldist is as below: >=20 > foo1 () > { > unsigned int nchar; > char c[10000]; >=20 > : > c =3D {}; >=20 > : > # nchar_14 =3D PHI > c[nchar_14] =3D 65; > nchar_5 =3D nchar_14 + 4294967295; > if (nchar_14 !=3D 0) > goto ; > else > goto ; >=20 > : > goto ; >=20 > : > bar (&c); > c =3D{v} {CLOBBER}; > return 0; >=20 > } >=20 > Apparently, nchar_14 iterates from 9998 to 0 in the loop and it doesn't > overflow, while nchar_5 does overflow for the last iterations. It's true > &c[n_char_14] is an affine since the index doesn't overflow. > When I introduced the change computing non-overlfow control-iv in loop ni= ter > analysis, I only did it for the simplest case, ie, loop exit condition wi= th > LT comp code. This case falls in another case, ie, NE as the comp code. = I > think this can be fixed in the same framework. Actually it's easy to ena= ble > non-overflow control-iv computation in this case, then we can use the > recorded control-iv to prove that (sizetype)nchar_14 doesn't overflow and > &c[nchar_14] is an affine. >=20 > I will dig deeper and test a patch for this. >=20 > Thanks, > bin Does https://gcc.gnu.org/ml/gcc-patches/2015-05/msg02317.html describe your framework ? it seems for now loop_exits_before_overflow should only handle th LT and GT case ?=20 I'll see how does this framework do.=20 Thanks, Jun >>From gcc-bugs-return-503963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 01:32:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91802 invoked by alias); 26 Nov 2015 01:32: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 91722 invoked by uid 48); 26 Nov 2015 01:32:05 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68548] bogus "may be used uninitialized" (predicate analysis) Date: Thu, 26 Nov 2015 01: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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 version blocked 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: 2015-11/txt/msg02890.txt.bz2 Content-length: 1569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68548 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 CC| |manu at gcc dot gnu.org Version|unknown |6.0 Blocks| |24639 Summary|gcc wrongly warns about |bogus "may be used |uninitialized data |uninitialized" (predicate | |analysis) Ever confirmed|0 |1 --- Comment #1 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Matt Turner from comment #0) > Created attachment 36842 [details] > u.c >=20 > gcc -Wmaybe-uninitialized wrongly warns about data0 being uninitialized in > the attached test case. >=20 > This may be a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id= =3D42145 No, it is not. This is just that the uninit predicate analysis is not power= ful enough. It sees that the DEF is guarded by writemask_3(D) & 1, but it sees = that the use is guarded by remaining_8 =3D=3D 0, and it doesn't seem to analyse = further than that. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D24639 [Bug 24639] [meta-bug] bug to track all Wuninitialized issues >>From gcc-bugs-return-503964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 01:33:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93090 invoked by alias); 26 Nov 2015 01:33: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 93061 invoked by uid 48); 26 Nov 2015 01:33:46 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/41868] cell microcode instruction (addic.) is generated for a trivial loop with -O2 optimizations, hurting performance badly Date: Thu, 26 Nov 2015 01: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: 4.4.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: segher 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: 2015-11/txt/msg02891.txt.bz2 Content-length: 656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41868 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Segher Boessenkool --- As Andrew notes in comment #3, "addic." is not microcoded on Cell BE. I fixed this misclassification about a year ago (it used to be type "compare", now is "add"). Current trunk also does not do a load/store; all is good now. >>From gcc-bugs-return-503965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 01:41:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97501 invoked by alias); 26 Nov 2015 01: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 97407 invoked by uid 48); 26 Nov 2015 01:41:16 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/48001] inconsistent warning within loop always taken and outside the loop Date: Thu, 26 Nov 2015 01:41: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.5.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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: 2015-11/txt/msg02892.txt.bz2 Content-length: 847 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48001 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to jerome.borme from comment #3) > The initialization of sum_f has been forgotten, but no warning is issued, > although sum_f is used in the loop. I get in 6.0 even with -O1: test.c:12:3: error: =E2=80=98sum_f=E2=80=99 may be used uninitialized in th= is function [-Werror=3Dmaybe-uninitialized] so it seems this got fixed somehow. Please reopen if this is not the case. >>From gcc-bugs-return-503966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 01:41:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97510 invoked by alias); 26 Nov 2015 01: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 97435 invoked by uid 48); 26 Nov 2015 01:41:17 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues Date: Thu, 26 Nov 2015 01:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.1.0 X-Bugzilla-Keywords: diagnostic, meta-bug X-Bugzilla-Severity: trivial X-Bugzilla-Who: manu 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: 2015-11/txt/msg02893.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D24639 Bug 24639 depends on bug 48001, which changed state. Bug 48001 Summary: inconsistent warning within loop always taken and outsid= e the loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48001 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME >>From gcc-bugs-return-503967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 01:52:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25690 invoked by alias); 26 Nov 2015 01:52:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25602 invoked by uid 55); 26 Nov 2015 01:52:38 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67876] [6 Regression] ICE when compiling Firefox 38 Date: Thu, 26 Nov 2015 01: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: unknown X-Bugzilla-Keywords: 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: 6.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: 2015-11/txt/msg02894.txt.bz2 Content-length: 665 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67876 --- Comment #6 from Martin Sebor --- Author: msebor Date: Thu Nov 26 01:52:04 2015 New Revision: 230924 URL: https://gcc.gnu.org/viewcvs?rev=3D230924&root=3Dgcc&view=3Drev Log: PR c++/67876 - [6 Regression] ICE when compiling Firefox 38 gcc/cp * pt.c (convert_template_argument): Make sure number of tree operands is greater than zero before attempting to extract one. gcc/testsuite/ * g++.dg/pr67876.C: New test. Added: trunk/gcc/testsuite/g++.dg/pr67876.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-503968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 01:53:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26500 invoked by alias); 26 Nov 2015 01:53:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26424 invoked by uid 48); 26 Nov 2015 01:53:07 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67876] [6 Regression] ICE when compiling Firefox 38 Date: Thu, 26 Nov 2015 01: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02895.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67876 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Martin Sebor --- Fixed with r230924. >>From gcc-bugs-return-503969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 02:02:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120857 invoked by alias); 26 Nov 2015 02:02: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 119360 invoked by uid 48); 26 Nov 2015 02:02:28 -0000 From: "dbaryshkov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Thu, 26 Nov 2015 02:02: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: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dbaryshkov 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: 5.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: 2015-11/txt/msg02896.txt.bz2 Content-length: 223 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 --- Comment #9 from Dmitry Eremin-Solenikov -= -- This also needs to be applied to the 4.9 branch -- it also contains an offending commit. >>From gcc-bugs-return-503970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 02:13:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70123 invoked by alias); 26 Nov 2015 02:13: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 69297 invoked by uid 48); 26 Nov 2015 02:13:00 -0000 From: "luser.droog at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Thu, 26 Nov 2015 02: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luser.droog at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02897.txt.bz2 Content-length: 20369 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 --- Comment #13 from M Joshua Ryan --- I get the same error compiling GMP. Following instructions from http://stackoverflow.com/a/9450422/733077 josh@LAPTOP-ILO10OOF /tmp $ cd gmp-4.3.2 josh@LAPTOP-ILO10OOF /tmp/gmp-4.3.2 $ mkdir ../gcc josh@LAPTOP-ILO10OOF /tmp/gmp-4.3.2 $ ./configure --prefix=3D/tmp/gcc checking build system type... x86_64-unknown-cygwin checking host system type... x86_64-unknown-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=3D64 checking compiler gcc -O2 -pedantic -m64 ... yes checking compiler gcc -O2 -pedantic -m64 -mtune=3Dk8... yes checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... gcc -E checking build system compiler gcc... yes checking for build system preprocessor... gcc -E checking for build system executable suffix... .exe checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E using ABI=3D"64" CC=3D"gcc" CFLAGS=3D"-O2 -pedantic -m64 -mtune=3Dk8" CPPFLAGS=3D"" MPN_PATH=3D" x86_64 generic" checking for function prototypes... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking whether assembler supports --noexecstack option... no checking for ar... ar checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/x86_64-pc-cygwin/bin/ld.exe checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for /usr/x86_64-pc-cygwin/bin/ld.exe option to reload object files= ... -r checking whether ln -s works... yes checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for dlltool... dlltool checking for as... as checking for objdump... objdump checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 8192 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... (cached) ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT checking if gcc PIC flag -DDLL_EXPORT works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking invent.h usability... no checking invent.h presence... no checking for invent.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... no checking nl_types.h presence... no checking for nl_types.h... no checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking sys/iograph.h usability... no checking sys/iograph.h presence... no checking for sys/iograph.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... no checking for machine/hal_sysinfo.h... no checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... yes checking whether sys_nerr is declared... yes checking return type of signal handlers... void checking for intmax_t... yes checking for long double... yes checking for long long... yes checking for ptrdiff_t... yes checking for quad_t... no checking for uint_least32_t... yes checking for preprocessor stringizing operator... yes checking for working volatile... yes checking for C/C++ restrict keyword... restrict checking whether exists and works... yes checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking for inline... inline checking for working alloca.h... yes checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... no checking format of `double' floating point... IEEE little endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for clock_gettime... yes checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... yes checking for memset... yes checking for mmap... yes checking for mprotect... yes checking for nl_langinfo... yes checking for obstack_vprintf... no checking for popen... yes checking for processor_info... no checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for sigaction... yes checking for sigaltstack... yes checking for sigstack... no checking for syssgi... no checking for strchr... yes checking for strerror... yes checking for strnlen... yes checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... no checking for sysctlbyname... no checking for times... yes checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking for suitable m4... m4 checking if m4wrap produces spurious output... no checking how to switch to text section... .text checking how to switch to data section... .data checking for assembler label suffix... : checking for assembler global directive... .globl checking for assembler global directive attribute...=20 checking if globals are prefixed by underscore... no checking how to switch to read-only data section... .section .rdata,"dr" checking for assembler .type directive...=20 checking for assembler .size directive...=20 checking for assembler local label prefix... L checking for assembler byte directive... .byte checking how to define a 32-bit word... .long checking if .align assembly directive is logarithmic... no checking if the .align directive accepts an 0x90 fill in .text... yes checking for unsigned short... yes checking size of unsigned short... 2 checking for unsigned... yes checking size of unsigned... 4 checking for unsigned long... yes checking size of unsigned long... 8 checking for mp_limb_t... yes checking size of mp_limb_t... 8 checking for stack_t... yes checking for tputs in -lncurses... yes checking for readline in -lreadline... no checking readline detected... no checking for bison... no checking for byacc... no checking for flex... no checking for lex... no checking for ranlib... (cached) ranlib creating config.m4 configure: creating ./config.status config.status: creating demos/pexpr-config.h config.status: creating demos/calc/calc-config.h config.status: creating Makefile config.status: creating mpbsd/Makefile config.status: creating mpf/Makefile config.status: creating mpn/Makefile config.status: creating mpq/Makefile config.status: creating mpz/Makefile config.status: creating printf/Makefile config.status: creating scanf/Makefile config.status: creating cxx/Makefile config.status: creating tests/Makefile config.status: creating tests/devel/Makefile config.status: creating tests/mpbsd/Makefile config.status: creating tests/mpf/Makefile config.status: creating tests/mpn/Makefile config.status: creating tests/mpq/Makefile config.status: creating tests/mpz/Makefile config.status: creating tests/rand/Makefile config.status: creating tests/misc/Makefile config.status: creating tests/cxx/Makefile config.status: creating doc/Makefile config.status: creating tune/Makefile config.status: creating demos/Makefile config.status: creating demos/calc/Makefile config.status: creating demos/expr/Makefile config.status: creating gmp.h config.status: creating mp.h config.status: creating config.h config.status: linking ./mpn/generic/add.c to mpn/add.c config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c config.status: linking ./mpn/x86_64/aors_n.asm to mpn/add_n.asm config.status: linking ./mpn/generic/sub.c to mpn/sub.c config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c config.status: linking ./mpn/x86_64/aors_n.asm to mpn/sub_n.asm config.status: linking ./mpn/generic/neg_n.c to mpn/neg_n.c config.status: linking ./mpn/x86_64/mul_1.asm to mpn/mul_1.asm config.status: linking ./mpn/x86_64/aorsmul_1.asm to mpn/addmul_1.asm config.status: linking ./mpn/x86_64/aorsmul_1.asm to mpn/submul_1.asm config.status: linking ./mpn/x86_64/lshift.asm to mpn/lshift.asm config.status: linking ./mpn/x86_64/rshift.asm to mpn/rshift.asm config.status: linking ./mpn/x86_64/dive_1.asm to mpn/dive_1.asm config.status: linking ./mpn/generic/diveby3.c to mpn/diveby3.c config.status: linking ./mpn/generic/divis.c to mpn/divis.c config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c config.status: linking ./mpn/x86_64/divrem_1.asm to mpn/divrem_1.asm config.status: linking ./mpn/x86_64/divrem_2.asm to mpn/divrem_2.asm config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c config.status: linking ./mpn/generic/mod_1.c to mpn/mod_1.c config.status: linking ./mpn/x86_64/mod_34lsub1.asm to mpn/mod_34lsub1.asm config.status: linking ./mpn/x86_64/mode1o.asm to mpn/mode1o.asm config.status: linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c config.status: linking ./mpn/generic/dump.c to mpn/dump.c config.status: linking ./mpn/generic/mod_1_1.c to mpn/mod_1_1.c config.status: linking ./mpn/generic/mod_1_2.c to mpn/mod_1_2.c config.status: linking ./mpn/generic/mod_1_3.c to mpn/mod_1_3.c config.status: linking ./mpn/generic/mod_1_4.c to mpn/mod_1_4.c config.status: linking ./mpn/generic/mul.c to mpn/mul.c config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c config.status: linking ./mpn/x86_64/mul_basecase.asm to mpn/mul_basecase.asm config.status: linking ./mpn/x86_64/sqr_basecase.asm to mpn/sqr_basecase.asm config.status: linking ./mpn/generic/random.c to mpn/random.c config.status: linking ./mpn/generic/random2.c to mpn/random2.c config.status: linking ./mpn/generic/pow_1.c to mpn/pow_1.c config.status: linking ./mpn/generic/rootrem.c to mpn/rootrem.c config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c config.status: linking ./mpn/x86_64/popham.asm to mpn/popcount.asm config.status: linking ./mpn/x86_64/popham.asm to mpn/hamdist.asm config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c config.status: linking ./mpn/generic/gcdext_1.c to mpn/gcdext_1.c config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c config.status: linking ./mpn/generic/gcd_lehmer.c to mpn/gcd_lehmer.c config.status: linking ./mpn/generic/gcd_subdiv_step.c to mpn/gcd_subdiv_st= ep.c config.status: linking ./mpn/generic/gcdext_lehmer.c to mpn/gcdext_lehmer.c config.status: linking ./mpn/generic/gcdext_subdiv_step.c to mpn/gcdext_subdiv_step.c config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c config.status: linking ./mpn/generic/get_d.c to mpn/get_d.c config.status: linking ./mpn/generic/matrix22_mul.c to mpn/matrix22_mul.c config.status: linking ./mpn/generic/hgcd2.c to mpn/hgcd2.c config.status: linking ./mpn/generic/hgcd.c to mpn/hgcd.c config.status: linking ./mpn/generic/mullow_n.c to mpn/mullow_n.c config.status: linking ./mpn/generic/mullow_basecase.c to mpn/mullow_baseca= se.c config.status: linking ./mpn/generic/toom22_mul.c to mpn/toom22_mul.c config.status: linking ./mpn/generic/toom33_mul.c to mpn/toom33_mul.c config.status: linking ./mpn/generic/toom44_mul.c to mpn/toom44_mul.c config.status: linking ./mpn/generic/toom32_mul.c to mpn/toom32_mul.c config.status: linking ./mpn/generic/toom42_mul.c to mpn/toom42_mul.c config.status: linking ./mpn/generic/toom62_mul.c to mpn/toom62_mul.c config.status: linking ./mpn/generic/toom53_mul.c to mpn/toom53_mul.c config.status: linking ./mpn/generic/toom2_sqr.c to mpn/toom2_sqr.c config.status: linking ./mpn/generic/toom3_sqr.c to mpn/toom3_sqr.c config.status: linking ./mpn/generic/toom4_sqr.c to mpn/toom4_sqr.c config.status: linking ./mpn/generic/toom_interpolate_5pts.c to mpn/toom_interpolate_5pts.c config.status: linking ./mpn/generic/toom_interpolate_7pts.c to mpn/toom_interpolate_7pts.c config.status: linking ./mpn/generic/invert.c to mpn/invert.c config.status: linking ./mpn/generic/binvert.c to mpn/binvert.c config.status: linking ./mpn/generic/sb_div_qr.c to mpn/sb_div_qr.c config.status: linking ./mpn/generic/sb_divappr_q.c to mpn/sb_divappr_q.c config.status: linking ./mpn/generic/sb_div_q.c to mpn/sb_div_q.c config.status: linking ./mpn/generic/dc_div_qr.c to mpn/dc_div_qr.c config.status: linking ./mpn/generic/dc_divappr_q.c to mpn/dc_divappr_q.c config.status: linking ./mpn/generic/dc_div_q.c to mpn/dc_div_q.c config.status: linking ./mpn/generic/mu_div_qr.c to mpn/mu_div_qr.c config.status: linking ./mpn/generic/mu_divappr_q.c to mpn/mu_divappr_q.c config.status: linking ./mpn/generic/mu_div_q.c to mpn/mu_div_q.c config.status: linking ./mpn/generic/sb_bdiv_q.c to mpn/sb_bdiv_q.c config.status: linking ./mpn/generic/sb_bdiv_qr.c to mpn/sb_bdiv_qr.c config.status: linking ./mpn/generic/dc_bdiv_q.c to mpn/dc_bdiv_q.c config.status: linking ./mpn/generic/dc_bdiv_qr.c to mpn/dc_bdiv_qr.c config.status: linking ./mpn/generic/mu_bdiv_q.c to mpn/mu_bdiv_q.c config.status: linking ./mpn/generic/mu_bdiv_qr.c to mpn/mu_bdiv_qr.c config.status: linking ./mpn/generic/divexact.c to mpn/divexact.c config.status: linking ./mpn/x86_64/bdiv_dbm1c.asm to mpn/bdiv_dbm1c.asm config.status: linking ./mpn/x86_64/redc_1.asm to mpn/redc_1.asm config.status: linking ./mpn/generic/redc_2.c to mpn/redc_2.c config.status: linking ./mpn/generic/powm.c to mpn/powm.c config.status: linking ./mpn/generic/powlo.c to mpn/powlo.c config.status: linking ./mpn/generic/powm_sec.c to mpn/powm_sec.c config.status: linking ./mpn/generic/subcnd_n.c to mpn/subcnd_n.c config.status: linking ./mpn/x86_64/copyi.asm to mpn/copyi.asm config.status: linking ./mpn/x86_64/copyd.asm to mpn/copyd.asm config.status: linking ./mpn/x86_64/com_n.asm to mpn/com_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/and_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/andn_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/nand_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/ior_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/iorn_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/nior_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/xor_n.asm config.status: linking ./mpn/x86_64/logops_n.asm to mpn/xnor_n.asm config.status: linking ./mpn/x86_64/invert_limb.asm to mpn/invert_limb.asm config.status: linking ./mpn/x86_64/mul_2.asm to mpn/mul_2.asm config.status: linking ./mpn/x86_64/addmul_2.asm to mpn/addmul_2.asm config.status: linking ./mpn/x86_64/addlsh1_n.asm to mpn/addlsh1_n.asm config.status: linking ./mpn/x86_64/sublsh1_n.asm to mpn/sublsh1_n.asm config.status: linking ./mpn/x86_64/rsh1add_n.asm to mpn/rsh1add_n.asm config.status: linking ./mpn/x86_64/rsh1sub_n.asm to mpn/rsh1sub_n.asm config.status: linking ./mpn/generic/addsub_n.c to mpn/addsub_n.c config.status: linking ./mpn/x86_64/addaddmul_1msb0.asm to mpn/addaddmul_1msb0.asm config.status: linking ./mpn/x86_64/gmp-mparam.h to gmp-mparam.h josh@LAPTOP-ILO10OOF /tmp/gmp-4.3.2 $ make && make check && make install gcc `test -f 'gen-fac_ui.c' || echo './'`gen-fac_ui.c -o gen-fac_ui.exe ./gen-fac_ui 64 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1) gcc `test -f 'gen-fib.c' || echo './'`gen-fib.c -o gen-fib.exe ./gen-fib header 64 0 >fib_table.h || (rm -f fib_table.h; exit 1) ./gen-fib table 64 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1) gcc `test -f 'gen-bases.c' || echo './'`gen-bases.c -o gen-bases.exe -lm ./gen-bases header 64 0 >mp_bases.h || (rm -f mp_bases.h; exit 1) ./gen-bases table 64 0 >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1) gcc `test -f 'gen-psqr.c' || echo './'`gen-psqr.c -o gen-psqr.exe -lm gen-psqr.c: In function =E2=80=98print=E2=80=99: gen-psqr.c:443:11: internal compiler error: Segmentation fault (1.0 - sq_res_0x100_fraction) * 100.0, ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Makefile:1349: recipe for target 'gen-psqr.exe' failed make: *** [gen-psqr.exe] Error 1 josh@LAPTOP-ILO10OOF /tmp/gmp-4.3.2 $ >>From gcc-bugs-return-503971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 02:39:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39710 invoked by alias); 26 Nov 2015 02: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 39652 invoked by uid 48); 26 Nov 2015 02:39:07 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/54303] -fdata-sections -ffunction-sections and -fmerge-constants do not work well together Date: Thu, 26 Nov 2015 02:39: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.6.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: segher 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: 2015-11/txt/msg02898.txt.bz2 Content-length: 448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54303 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #18 from Segher Boessenkool --- This is fixed now. >>From gcc-bugs-return-503972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 03:00:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59261 invoked by alias); 26 Nov 2015 03:00: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 59107 invoked by uid 48); 26 Nov 2015 02:59:59 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/192] String literals don't obey -fdata-sections Date: Thu, 26 Nov 2015 03:00: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: 2.95.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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 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: 2015-11/txt/msg02899.txt.bz2 Content-length: 625 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D192 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |segher at gcc dot gnu.org Resolution|--- |FIXED --- Comment #18 from Segher Boessenkool --- I'm closing this bug. If there is some other (still supported) case we do not support well, please open a new bug report. >>From gcc-bugs-return-503973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 03:17:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122852 invoked by alias); 26 Nov 2015 03: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 122759 invoked by uid 48); 26 Nov 2015 03:17:01 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/64860] [5/6 Regression] multiple definition of typeinfo in 5.0 (4.9.2 works) Date: Thu, 26 Nov 2015 03:17: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: 5.0 X-Bugzilla-Keywords: lto, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02900.txt.bz2 Content-length: 971 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64860 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #13 from Jan Hubicka --- This is another bug related to incremental linking and LTO. I will redirect them all to PR67548. The testcase now works on mainline GCC in a sense that= the duplicate is gone and we get missing typeinfo: lib1.lib::typeinfo for CDialogBase: error: undefined reference = to 'vtable for __cxxabiv1::__class_type_info' /usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function collect2: error: ld returned 1 exit status that seems intended. *** This bug has been marked as a duplicate of bug 67548 *** >>From gcc-bugs-return-503974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 03:17:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122922 invoked by alias); 26 Nov 2015 03:17: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 122833 invoked by uid 48); 26 Nov 2015 03:17:05 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/67548] [5/6 Regression] LTO drops weak binding with "ld -r" Date: Thu, 26 Nov 2015 03:17: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02901.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67548 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sirl at gcc dot gnu.org --- Comment #11 from Jan Hubicka --- *** Bug 64860 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-503975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 05:58:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116765 invoked by alias); 26 Nov 2015 05:58: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 116677 invoked by uid 48); 26 Nov 2015 05:58:21 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67581] [6 Regression] ICE on transparent union with -g enabled on x86_64-linux-gnu (verify_type failed) Date: Thu, 26 Nov 2015 05:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02902.txt.bz2 Content-length: 1587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67581 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot = gnu.org --- Comment #2 from Jan Hubicka --- The following should fix it: Index: c-family/c-common.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 --- c-family/c-common.c (revision 230924) +++ c-family/c-common.c (working copy) @@ -7787,7 +7787,8 @@ handle_transparent_union_attribute (tree *node =3D type =3D build_duplicate_type (type); } - TYPE_TRANSPARENT_AGGR (type) =3D 1; + for (tree t =3D TYPE_MAIN_VARIANT (type); t; t =3D TYPE_NEXT_VARIANT= (t)) + TYPE_TRANSPARENT_AGGR (t) =3D 1; return NULL_TREE; } Index: testsuite/g++.dg/torture/pr67581.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 --- testsuite/g++.dg/torture/pr67581.C (revision 0) +++ testsuite/g++.dg/torture/pr67581.C (revision 0) @@ -0,0 +1,6 @@ +/* { dg-do compile } */ +union U=20 +{ + int x;=20 + float y; +} __attribute__ ((__transparent_union__)); >>From gcc-bugs-return-503976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 06:12:56 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19626 invoked by alias); 26 Nov 2015 06: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 19560 invoked by uid 48); 26 Nov 2015 06:12:51 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67106] [6 Regression] ICE: verify_type failed: type variant differs by TYPE_PACKED. with -g -fpack-struct Date: Thu, 26 Nov 2015 06: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2015-11/txt/msg02903.txt.bz2 Content-length: 2014 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67106 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph at codesourcery dot= com Component|debug |c --- Comment #2 from Jan Hubicka --- Here start_struct set TYPE_PACKED in: start_struct (loc=3D8576, code=3DRECORD_TYPE, name=3D0x7ffff6beeaf0, enclosing_struct_parse_info=3D0x7fffffffe848) at ../../gcc/c/c-decl.c:7218 7218 *enclosing_struct_parse_info =3D struct_parse_info; (gdb) l 7213 } 7214=20=20 7215 C_TYPE_BEING_DEFINED (ref) =3D 1; 7216 TYPE_PACKED (ref) =3D flag_pack_struct; 7217=20=20 7218 *enclosing_struct_parse_info =3D struct_parse_info; 7219 struct_parse_info =3D XNEW (struct c_struct_parse_info); 7220 struct_parse_info->struct_types.create (0); 7221 struct_parse_info->fields.create (0); 7222 struct_parse_info->typedefs_seen.create (0); ( normally the TYPE_PACKED is copied to variants in finish_record_layout but = in this testcase the structure is never finished: typedef struct S S; struct S { struct { S *s; }; int a; }; chain > chain > I see three options 1) make start_struct to copy the flag to variants 2) drop verify_type checking for incomplette structures as TYPE_PACKED on these is irrelevant 3) make C FE to set the flag only on functions being completed somewhere in finish_struct. I would preffer 1 or 3. Joseph, what would be best? >>From gcc-bugs-return-503977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 06:17:06 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24895 invoked by alias); 26 Nov 2015 06:17: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 24826 invoked by uid 48); 26 Nov 2015 06:17:01 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67106] [6 Regression] ICE: verify_type failed: type variant differs by TYPE_PACKED. with -g -fpack-struct Date: Thu, 26 Nov 2015 06: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02904.txt.bz2 Content-length: 1751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67106 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot = gnu.org --- Comment #3 from Jan Hubicka --- Actually in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66325 I already = went for variant walk. Will thus test: Index: c/c-decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- c/c-decl.c (revision 230924) +++ c/c-decl.c (working copy) @@ -7213,7 +7213,8 @@ start_struct (location_t loc, enum tree_ } C_TYPE_BEING_DEFINED (ref) =3D 1; - TYPE_PACKED (ref) =3D flag_pack_struct; + for (tree v =3D TYPE_MAIN_VARIANT (ref); v; v =3D TYPE_NEXT_VARIANT (v)) + TYPE_PACKED (v) =3D flag_pack_struct; *enclosing_struct_parse_info =3D struct_parse_info; struct_parse_info =3D XNEW (struct c_struct_parse_info); Index: testsuite/gcc.c-torture/compile/pr67106.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 --- testsuite/gcc.c-torture/compile/pr67106.c (revision 0) +++ testsuite/gcc.c-torture/compile/pr67106.c (revision 0) @@ -0,0 +1,12 @@ +/* { dg-options "-g -fpack-struct" } */ +typedef struct S S; + +struct S +{ + struct + { + S *s; + }; + int a; +}; + >>From gcc-bugs-return-503978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 06:17:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25829 invoked by alias); 26 Nov 2015 06:17:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25753 invoked by uid 48); 26 Nov 2015 06:17:41 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66325] [6 Regression] ICE in gcc.c-torture/execute/930408-1.c, verify_type fails with --enable-checking=yes on arm-none-eabi Date: Thu, 26 Nov 2015 06:17: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: 6.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02905.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66325 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jan Hubicka --- I believe this was fixed by the patch above. >>From gcc-bugs-return-503979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 06:19:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27539 invoked by alias); 26 Nov 2015 06:19: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 27479 invoked by uid 48); 26 Nov 2015 06:19:40 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66269] Issues with mixing strict aliasing (verify_type ICE with Ada) Date: Thu, 26 Nov 2015 06: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2015-11/txt/msg02906.txt.bz2 Content-length: 1332 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66269 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Jan Hubicka --- This was fixed (well masked) by: 2015-11-24 Jan Hubicka * alias.c (get_alias_set): Before checking TYPE_ALIAS_SET_KNOWN_P double check that type is main variant. * tree.c (build_variant_type_copy): Clear TYPE_ALIAS_SET when produ= cing variant. (verify_type_variant): Verify that variants have no TYPE_ALIAS_SET_KNOWN_P set * tree-streamer-out.c (pack_ts_type_common_value_fields): Reorder streaming so constant fields come first; stream TYPE_ALIAS_SET=3D= =3D0 only for main variants; stream TYPE_ALIAS_SET as a bit. * tree-streamer-in.c (unpack_ts_type_common_value_fields): Update accordingly. the underlying issue that -fstrict-aliasing does not work correctly across different units or with optimization attribute remains. I will open independent bug for this. At least here was nothing Ada specific. >>From gcc-bugs-return-503980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 06:36:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47347 invoked by alias); 26 Nov 2015 06:36: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 47271 invoked by uid 48); 26 Nov 2015 06:36:54 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/66103] [6 Regression] ICE verify_type failed with LTO and "-g -O0" via dwarf2out.c's gen_type_die_with_usage Date: Thu, 26 Nov 2015 06: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: 6.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: 2015-11/txt/msg02907.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66103 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Jan Hubicka --- This testcase seems to work now even with -ffat-lto-objects, so I am closing the PR. >>From gcc-bugs-return-503981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 07:09:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94066 invoked by alias); 26 Nov 2015 07:09: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 94006 invoked by uid 48); 26 Nov 2015 07:09:18 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/67289] ICE in ipa-devirt.c Date: Thu, 26 Nov 2015 07:09: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02908.txt.bz2 Content-length: 365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67289 --- Comment #1 from Jan Hubicka --- gnat1 build works for me, but similar problem reproduces for me during Fire= fox build. Apparently we manage to set TREE_PUBLIC of TYPE_STUB_DECL of an anonymous type. I will try to track down where it hapepns (probably before= LTO streaming) >>From gcc-bugs-return-503982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 07:27:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68539 invoked by alias); 26 Nov 2015 07: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 68493 invoked by uid 48); 26 Nov 2015 07:27:42 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68546] passing non-contiguous associated array section garbles results Date: Thu, 26 Nov 2015 07:27: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.2.0 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: cc dependson Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02909.txt.bz2 Content-length: 1544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68546 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org Depends on| |64773 --- Comment #2 from Thomas Koenig --- We're missing an internal_pack here. This works, as expected: module x contains subroutine foo(A_sect) real :: A_sect(:) write(*, '(3(1x,f5.1))') A_sect(:) end subroutine foo end module x program assoc use x integer :: i, j real :: A(3,3) do j =3D 1, 3 do i =3D 1, 3 A(i,j) =3D 100.0*i + j end do end do write(*,'(a)') 'write statement with fixed i section' write(*, '(3(1x,f5.1))') A(2,:) write(*,'(a)') '----------' write(*,'(a)') 'calling foo with fixed i section' call foo(A(2,:)) write(*,'(a)') '----------' write(*,'(a)') 'write statement with associated fixed i section' associate( A2 =3D> A(2,:) ) write(*, '(3(1x,f5.1))') A2 end associate write(*,'(a)') '----------' write(*,'(a)') 'calling foo with associated fixed i section' associate( A2 =3D> A(2,:) ) call foo(A2) end associate write(*,'(a)') '----------' end program assoc Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64773 [Bug 64773] [F2008] Not packing arrays with changing variable used for size= in block >>From gcc-bugs-return-503983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 07:54:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31436 invoked by alias); 26 Nov 2015 07:54: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 31369 invoked by uid 48); 26 Nov 2015 07:54:46 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68549] New: [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 07:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02910.txt.bz2 Content-length: 1548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 Bug ID: 68549 Summary: [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: hubicka at ucw dot cz Target Milestone: --- During final Firefox libxul LTO link: ... /home/trippels/gecko-dev/layout/generic/nsFrame.cpp: In member function =E2=80=98_ZN8nsIFrame10PeekOffsetEP18nsPeekOffsetStruct.part.253.constprop= =E2=80=99: /home/trippels/gecko-dev/layout/generic/nsFrame.cpp:6332:0: error: loop 17= =E2=80=99s latch is missing nsIFrame::PeekOffset(nsPeekOffsetStruct* aPos) /home/trippels/gecko-dev/layout/generic/nsFrame.cpp:6332:0: internal compil= er error: in verify_loop_structure, at cfgloop.c:1669 0x1020444b verify_loop_structure() ../../gcc/gcc/cfgloop.c:1669 0x10507417 checking_verify_loop_structure ../../gcc/gcc/cfgloop.h:325 0x10507417 loop_optimizer_init(unsigned int) ../../gcc/gcc/loop-init.c:106 0x108fb3d3 execute ../../gcc/gcc/tree-ssa-pre.c:4777 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make: *** [/home/trippels/tmp/ccuTrM43.ltrans34.ltrans.o] Error 1 Reducing... >>From gcc-bugs-return-503984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 07:56:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33303 invoked by alias); 26 Nov 2015 07:56: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 33220 invoked by uid 48); 26 Nov 2015 07:56:28 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64773] [F2008] Not packing arrays with changing variable used for size in block Date: Thu, 26 Nov 2015 07: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: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 2015-11/txt/msg02911.txt.bz2 Content-length: 1032 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64773 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Thomas Koenig --- I just realized that gfortran actually does the Right Thing here. We pass the array to baz using seqence association, so the first 16 elements of a are set to one. This is what is supposed to happen. When we use program main integer :: n n =3D 5 block integer, dimension(n, n) :: a a =3D 0 n =3D n - 1 call baz(a) print '(5I2)',a end block contains subroutine baz(a) integer, dimension(:,:), intent(inout) :: a a =3D 1 end subroutine baz end program main everything works perfectly. Resolving as invalid (and grumbling about the pitfalls of sequence association). >>From gcc-bugs-return-503985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 07:56:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33311 invoked by alias); 26 Nov 2015 07:56: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 33228 invoked by uid 48); 26 Nov 2015 07:56:29 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68546] passing non-contiguous associated array section garbles results Date: Thu, 26 Nov 2015 07:56: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.2.0 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 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: 2015-11/txt/msg02912.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68546 Bug 68546 depends on bug 64773, which changed state. Bug 64773 Summary: [F2008] Not packing arrays with changing variable used f= or size in block https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64773 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID >>From gcc-bugs-return-503986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:02:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57619 invoked by alias); 26 Nov 2015 08:02:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57542 invoked by uid 48); 26 Nov 2015 08:02:28 -0000 From: "ismail at i10z dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68227] ICE on using variable limit in forall header (gfc_do_allocate) Date: Thu, 26 Nov 2015 08: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ismail at i10z dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02913.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68227 --- Comment #11 from =C4=B0smail D=C3=B6nmez --- (In reply to Dominique d'Humieres from comment #10) > > This test currently fails on Linux x86-64 machine. Is there a way to ge= t a > > better debug output for the failure. For now I see: > > > > FAIL: gfortran.dg/pr68227.f90 -O (internal compiler error) > > FAIL: gfortran.dg/pr68227.f90 -O (test for excess errors) >=20 > It should be fixed after r230873. Indeed it is, thanks! >>From gcc-bugs-return-503987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:28:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82719 invoked by alias); 26 Nov 2015 08:28: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 82659 invoked by uid 48); 26 Nov 2015 08:28:02 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/67289] ICE in ipa-devirt.c Date: Thu, 26 Nov 2015 08:28: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: 2015-11/txt/msg02914.txt.bz2 Content-length: 7232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67289 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 CC| |jason at redhat dot com, | |rguenther at suse dot de Ever confirmed|0 |1 --- Comment #2 from Jan Hubicka --- I reproduced the problem on firefox. What happens is that we call DECL_ASSEMBER_NAME on TYPE_DECL before its visibility is finalized. This me= ans that the name "" is produced and we never revisit it to real assembler name. The DECL_ASSEMBLER_NAME on the TYPE_DECL is triggered by: #0 contains_struct_check (__g=3D0x169b10a "mangle_decl", __l=3D3602, __f=3D0x= 1592b00 "../../gcc/cp/mangle.c", __s=3DTS_DECL_MINIMAL, __t=3D0x7fffe53e17b8) at ../../gcc/tree.h:3105 #1 mangle_decl (decl=3D0x7fffe53e17b8) at ../../gcc/cp/mangle.c:3602 #2 0x0000000000fb64f4 in decl_assembler_name (decl=3D0x7fffe53e17b8) at ../../gcc/tree.c:670 #3 0x00000000009ca36e in add_linkage_attr (die=3D0x7fffe5393be0, decl=3D) at ../../gcc/dwarf2out.c:17255 #4 0x00000000009edb45 in gen_typedef_die (context_die=3D0x7fffe5393b90, decl=3D0x7fffe53e17b8) at ../../gcc/dwarf2out.c:20633 #5 gen_typedef_die (decl=3D0x7fffe53e17b8, context_die=3D0x7fffe5393b90) at ../../gcc/dwarf2out.c:20569 #6 0x00000000009d4c76 in gen_decl_die (decl=3D0x7fffe53e17b8, origin=3D, context_die=3D0x7fffe5393b90) at ../../gcc/dwarf2out.c:21522 #7 0x00000000009d87f7 in gen_type_die_with_usage (type=3D0x7fffe53e0b28, context_die=3D0x7fffe5393b90, usage=3DDINFO_USAGE_DIR_USE) at ../../gcc/dwarf2out.c:20780 #8 0x00000000009d9f47 in gen_type_die (type=3D0x7fffe53e0b28, context_die=3D) at ../../gcc/dwarf2out.c:20932 #9 0x00000000009d483e in gen_decl_die (decl=3D0x7fffe53e12f8, origin=3D, context_die=3D0x7fffe5393b90) at ../../gcc/dwarf2out.c:21519 #10 0x00000000009d6d1b in gen_member_die (context_die=3D0x7fffe5393b90, type=3D0x7fffe53e09d8) at ../../gcc/dwarf2out.c:20411 #11 gen_struct_or_union_type_die (usage=3D, context_die=3D0x7ffff6b01000, type=3D0x7fffe53e09d8) at ../../gcc/dwarf2out= .c:20516 #12 gen_tagged_type_die (usage=3D, context_die=3D0x7ffff6b01= 000, type=3D0x7fffe53e09d8) at ../../gcc/dwarf2out.c:20717 #13 gen_tagged_type_die (type=3D0x7fffe53e09d8, context_die=3D, usage=3D) at ../../gcc/dwarf2out.c:20658 #14 0x00000000009d8d9a in gen_type_die_with_usage (type=3D0x7fffe53e09d8, context_die=3D0x7ffff6b01000, usage=3DDINFO_USAGE_DIR_USE) at ../../gcc/dwarf2out.c:20877 #15 0x00000000009d9f47 in gen_type_die (type=3D0x7fffe53e09d8, context_die=3D) at ../../gcc/dwarf2out.c:20932 #16 0x00000000009d483e in gen_decl_die (decl=3D0x7fffe5392390, origin=3D, context_die=3D0x7ffff6b01000) at ../../gcc/dwarf2out.c:21519 #17 0x00000000009d5bbd in dwarf2out_decl (decl=3D0x7fffe5392390) at ../../gcc/dwarf2out.c:21978 #18 0x00000000009d5eb3 in dwarf2out_type_decl (decl=3D, local=3D) at ../../gcc/dwarf2out.c:21688 #19 dwarf2out_type_decl (decl=3D, local=3D) at ../../gcc/dwarf2out.c:21683 #20 0x0000000000c582fc in rest_of_type_compilation (type=3D0x7fffe53e09d8, toplev=3D1) at ../../gcc/passes.c:335 #21 0x00000000006d161f in finish_struct_1 (t=3D0x7fffe53e09d8) at ../../gcc/cp/class.c:6776 This happens by: type =3D TREE_TYPE (decl); if (type =3D=3D error_mark_node) return; if (is_naming_typedef_decl (TYPE_NAME (type))) { /* Here, we are in the case of decl being a typedef naming an anonymous type, e.g: typedef struct {...} foo; In that case TREE_TYPE (decl) is not a typedef variant type and TYPE_NAME of the anonymous type is set to the TYPE_DECL of the typedef. This construct is emitted by the C++ FE. TYPE is the anonymous struct named by the typedef DECL. As we need the DW_AT_type attribute of the DW_TAG_typedef to point to the DIE of TYPE, let's generate that DIE right away. add_type_attribute called below will then pick (via lookup_type_die) that anonymous struct DIE. */ if (!TREE_ASM_WRITTEN (type)) gen_tagged_type_die (type, context_die, DINFO_USAGE_DIR_USE= ); /* This is a GNU Extension. We are adding a DW_AT_linkage_name attribute to the DIE of the anonymous struct TYPE. The value of that attribute is the name of the typedef decl naming the anonymous struct. This greatly eases the work of consumers of this debug info. */ add_linkage_attr (lookup_type_die (type), decl); } lookup_type_die does: static void add_linkage_attr (dw_die_ref die, tree decl) { const char *name =3D IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); /* Mimic what assemble_name_raw does with a leading '*'. */ if (name[0] =3D=3D '*') name =3D &name[1]; if (dwarf_version >=3D 4) add_AT_string (die, DW_AT_linkage_name, name); else add_AT_string (die, DW_AT_MIPS_linkage_name, name); } I wonder what that GNU extensionis about. Clearly attributing the types with assembler name is not going to win anything. Moreover I think with e= arly debug we now apparently manage to consider typedefs anonymous when they rea= lly are not. The TREE_PUBLIC is later revisited by: #0 set_linkage_according_to_type (decl=3D0x7fffe53e12f8) at ../../gcc/cp/class.c:757 #1 0x00000000006d4fbf in reset_type_linkage_1 (type=3D0x7fffe53e0b28) at ../../gcc/cp/decl2.c:2632 #2 0x00000000007efa08 in binding_table_foreach (table=3D0x7fffe53b2f00, proc=3D0x6d5090 , data=3D0x0) at ../../gcc/cp/name-lookup.c:258 #3 0x00000000006e1b19 in reset_type_linkage (type=3D0x7fffe53e09d8) at ../../gcc/cp/decl2.c:2700 #4 0x0000000000628374 in grokdeclarator (declarator=3D0x219ff00, declspecs=3D, decl_context=3DNORMAL, initialized=3D0, attrlist=3D0x7fffffffd618) at ../../gcc/cp/decl.c:10700 #5 0x000000000062b606 in start_decl (declarator=3D0x219ff00, declspecs=3D0x7fffffffd730, initialized=3D0, attributes=3D0x0, prefix_attri= butes=3D0x0, pushed_scope_p=3D0x7fffffffd6b0) at ../../gcc/cp/decl.c:4788 #6 0x0000000000706fff in cp_parser_init_declarator (parser=3D0x7ffff1f87f3= 0, decl_specifiers=3D0x7fffffffd730, checks=3D0x0, function_definition_allowed= _p=3D22, member_p=3Dfalse,=20 declares_class_or_enum=3D0, function_definition_p=3D0x7fffffffd7cf, maybe_range_for_decl=3D0x0, init_loc=3D0x7fffffffd7c8) at ../../gcc/cp/parser.c:18070 >>From gcc-bugs-return-503988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:30:03 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85555 invoked by alias); 26 Nov 2015 08:30: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 85468 invoked by uid 48); 26 Nov 2015 08:29:58 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 08:30: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: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02915.txt.bz2 Content-length: 202 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 --- Comment #1 from Markus Trippelsdorf --- This will take a while: 8 input files required, 46MB preprocessed code... >>From gcc-bugs-return-503989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:40:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109852 invoked by alias); 26 Nov 2015 08: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 109589 invoked by uid 48); 26 Nov 2015 08:40:16 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/67289] ICE in ipa-devirt.c Date: Thu, 26 Nov 2015 08:40: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: 2015-11/txt/msg02916.txt.bz2 Content-length: 336 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67289 --- Comment #3 from Jan Hubicka --- I am reducing testcase. BTW it seems wasteful to build all the dwarfs we a= re going to throw away for slim LTO -g. Can't we just disable the dwarf produc= tion at slim LTO build time until early dwarf materializes? >>From gcc-bugs-return-503990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:43:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115589 invoked by alias); 26 Nov 2015 08:43: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 114493 invoked by uid 48); 26 Nov 2015 08:43:05 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 08: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: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02917.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #2 from Jan Hubicka --- Interesting, I hit number of other ICEs before getting to final build. I h= ave old firefox tree however. >>From gcc-bugs-return-503991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:44:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119762 invoked by alias); 26 Nov 2015 08:44: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 119176 invoked by uid 48); 26 Nov 2015 08:44:32 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68453] [6 Regression] graphite ICE: segfault Date: Thu, 26 Nov 2015 08: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02918.txt.bz2 Content-length: 335 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68453 --- Comment #3 from Joost VandeVondele --- at r230923 this testcase seems not to fail anymore. Should this be closed as fixed (maybe after adding the testcase ?) I ran into a new ICE however, but I'll open a PR once I have this reduced. >>From gcc-bugs-return-503992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:48:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7264 invoked by alias); 26 Nov 2015 08:48: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 7219 invoked by uid 48); 26 Nov 2015 08:48:54 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 08: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: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg02919.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 --- Comment #3 from Markus Trippelsdorf --- My Firofox tree is quite old, too: Oct 15 2014 But it is good enough as a guinea pig for finding compiler bugs... >>From gcc-bugs-return-503993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:50:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11325 invoked by alias); 26 Nov 2015 08:50: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 11285 invoked by uid 48); 26 Nov 2015 08:50:42 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68550] New: [6 Regression] ICE: verify_gimple failed Error: missing PHI def Date: Thu, 26 Nov 2015 08:50: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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: 2015-11/txt/msg02920.txt.bz2 Content-length: 3080 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68550 Bug ID: 68550 Summary: [6 Regression] ICE: verify_gimple failed Error: missing PHI def Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- graphite-triggered ICE in current trunk. > cat bug.f90 SUBROUTINE integrate_core_1(grid,coef_xyz,pol_x,pol_y,& pol_z,map,sphere_bounds,cmax,gridbounds) INTEGER, PARAMETER :: dp=3D8 INTEGER, INTENT(IN) :: sphere_bounds(*), cmax, & map(-cmax:cmax,1:3), & gridbounds(2,3) REAL(dp), INTENT(IN) :: grid(gridbounds(1,1):gridbounds(2,1), & gridbounds(1,2):gridbounds(2,2),& gridbounds(1,3):gridbounds(2,3)) INTEGER, PARAMETER :: lp =3D 1 REAL(dp), INTENT(IN) :: pol_x(0:lp,-cmax:cmax), & pol_y(1:2,0:lp,-cmax:0), & pol_z(1:2,0:lp,-cmax:0) REAL(dp), INTENT(OUT) :: coef_xyz(((lp+1)*(lp+2)*(lp+3))/6) INTEGER :: i, ig, igmax, igmin, j, j2, & jg, jg2, jgmin, k, k2, kg, & kg2, kgmin, lxp, sci REAL(dp) :: coef_x(4,0:lp), & coef_xy(2,((lp+1)*(lp+2))/2), & s(4) DO kg=3Dkgmin,0 DO jg=3Djgmin,0 coef_x=3D0.0_dp DO ig=3Digmin,igmax DO lxp=3D0,lp coef_x(:,lxp)=3Dcoef_x(:,lxp)+s(:)*pol_x(lxp,ig) ENDDO END DO coef_xy(:,3)=3Dcoef_xy(:,3)+coef_x(3:4,0)*pol_y(2,1,jg) END DO coef_xyz(3)=3Dcoef_xyz(3)+coef_xy(1,3)*pol_z(1,0,kg) END DO END SUBROUTINE integrate_core_1 > gfortran -c -O2 -floop-nest-optimize bug.f90 bug.f90:1:0: SUBROUTINE integrate_core_1(grid,coef_xyz,pol_x,pol_y,& Error: missing PHI def bug.f90:1:0: Error: missing PHI def prephitmp_133 =3D PHI <(8), (16)> bug.f90:1:0: internal compiler error: verify_gimple failed 0xbab969 verify_gimple_in_cfg(function*, bool) ../../gcc/gcc/tree-cfg.c:5082 0xa92b8c execute_function_todo ../../gcc/gcc/passes.c:1958 0xa9361b execute_todo ../../gcc/gcc/passes.c:2010 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. > gfortran -v Using built-in specs. COLLECT_GCC=3Dgfortran COLLECT_LTO_WRAPPER=3D/data/vjoost/gnu/gcc_trunk/install/libexec/gcc/x86_64= -pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=3D/data/vjoost/gnu/gcc_trunk/ins= tall --enable-languages=3Dc,c++,fortran --disable-multilib --enable-plugins --enable-lto --disable-bootstrap Thread model: posix gcc version 6.0.0 20151126 (experimental) [trunk revision 230923] (GCC) >>From gcc-bugs-return-503994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:53:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35637 invoked by alias); 26 Nov 2015 08:53: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 35605 invoked by uid 55); 26 Nov 2015 08:53:41 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/67289] ICE in ipa-devirt.c Date: Thu, 26 Nov 2015 08:53: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: 6.0 X-Bugzilla-Keywords: 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: 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: 2015-11/txt/msg02921.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67289 --- Comment #4 from rguenther at suse dot de --- On Thu, 26 Nov 2015, hubicka at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67289 >=20 > --- Comment #3 from Jan Hubicka --- > I am reducing testcase. BTW it seems wasteful to build all the dwarfs we= are > going to throw away for slim LTO -g. Can't we just disable the dwarf prod= uction > at slim LTO build time until early dwarf materializes? You could do that by adjusting debug hooks to the _none variants for slim LTO. >>From gcc-bugs-return-503995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 08:56:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51873 invoked by alias); 26 Nov 2015 08: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 47524 invoked by uid 55); 26 Nov 2015 08:56:30 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Thu, 26 Nov 2015 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 2015-11/txt/msg02922.txt.bz2 Content-length: 326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #30 from ro at CeBiTec dot Uni-Bielefeld.DE --- With Xcode 6.4 as, 32-bit bootstrap is now well into running the testsuite. I've filed bug 23669324 Xcode 7 as creates relocation ld cannot handle Rainer >>From gcc-bugs-return-503996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 09:09:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77922 invoked by alias); 26 Nov 2015 09:09: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 77669 invoked by uid 48); 26 Nov 2015 09:09:24 -0000 From: "aurelien at aurel32 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips Date: Thu, 26 Nov 2015 09:09: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 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: 5.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: 2015-11/txt/msg02923.txt.bz2 Content-length: 696 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68302 --- Comment #3 from Aurelien Jarno --- I built GCC with the following options: configure --enable-languages=3Dc --prefix=3D/usr --target=3Dmipsel-linux-gnu --includedir=3D/usr/mipsel-linux-gnu/include=20 Then I build the file with -O2 -g -o test.o -c test.c -march=3Dmips32r2. The ICE disappears when I don't use -g. All that said, I am still able to reproduce the issue with the gcc-5-branch, but not with trunk. I start to wonder if I correctly tested trunk or if the problem has been fixed in the meantime. Anyway if it's not reproducible with trunk, that's something that can be bisected. I'll do that. >>From gcc-bugs-return-503997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 09:11:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80220 invoked by alias); 26 Nov 2015 09: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 80165 invoked by uid 48); 26 Nov 2015 09:11:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68550] [6 Regression] ICE: verify_gimple failed Error: missing PHI def Date: Thu, 26 Nov 2015 09: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: 6.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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2015-11/txt/msg02924.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68550 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-503998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 09:12:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81403 invoked by alias); 26 Nov 2015 09:12: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 81343 invoked by uid 48); 26 Nov 2015 09:12:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 09:12: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: lto 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc component version target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02925.txt.bz2 Content-length: 674 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto CC| |rguenth at gcc dot gnu.org Component|lto |tree-optimization Version|lto |6.0 Target Milestone|--- |6.0 --- Comment #4 from Richard Biener --- Heh, at least I hoped that the checking code would find sth... >>From gcc-bugs-return-503999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 09:17:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13361 invoked by alias); 26 Nov 2015 09:17: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 13287 invoked by uid 48); 26 Nov 2015 09:16:56 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Thu, 26 Nov 2015 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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2015-11/txt/msg02926.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #31 from Iain Sandoe --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #30) > With Xcode 6.4 as, 32-bit bootstrap is now well into running the testsuit= e. >=20 > I've filed bug >=20 > 23669324 Xcode 7 as creates relocation ld cannot handle Thanks! The .s file in your attachment crashes TOT llvm/clang (clang -target i686-apple-darwin12 xxxx.s -o t.o ) with an assertion "Value does not fit in Fixup field". Will try to investigate if I have any spare cycles today. >>From gcc-bugs-return-504000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 09:53:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44305 invoked by alias); 26 Nov 2015 09:53: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 44246 invoked by uid 55); 26 Nov 2015 09:53:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] [5/6 Regression] Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Thu, 26 Nov 2015 09: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: 5.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02927.txt.bz2 Content-length: 944 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Nov 26 09:52:48 2015 New Revision: 230928 URL: https://gcc.gnu.org/viewcvs?rev=3D230928&root=3Dgcc&view=3Drev Log: PR c++/68508 * cp-tree.h (cp_ubsan_maybe_instrument_downcast): Add INTYPE argume= nt. * cp-ubsan.c (cp_ubsan_maybe_instrument_downcast): Likewise. Use it instead of or in addition to TREE_TYPE (op). Use is_properly_derived_from, return NULL_TREE if TREE_TYPE (intype) and TREE_TYPE (type) are the same type minus qualifiers. * typeck.c (build_static_cast_1): Adjust callers. * g++.dg/ubsan/pr68508.C: New test. Added: trunk/gcc/testsuite/g++.dg/ubsan/pr68508.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/cp-ubsan.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 09:56:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51198 invoked by alias); 26 Nov 2015 09:56:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50886 invoked by uid 48); 26 Nov 2015 09:56:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/67239] [6 Regression] FAIL: 23_containers/unordered_set/insert/hash_policy.cc execution test Date: Thu, 26 Nov 2015 09:56: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: 6.0 X-Bugzilla-Keywords: ABI 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.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: 2015-11/txt/msg02928.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67239 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ABI Status|ASSIGNED |NEW Assignee|rguenth at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #19 from Richard Biener --- Thus not mine. >>From gcc-bugs-return-504002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 09:59:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56875 invoked by alias); 26 Nov 2015 09:59: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 56823 invoked by uid 55); 26 Nov 2015 09:59:00 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67226] Incorrect code generated for tail call, where parameters are structs passed by value, -O2 is used, and target is ARM Date: Thu, 26 Nov 2015 09: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: 5.2.1 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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02929.txt.bz2 Content-length: 938 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67226 --- Comment #6 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Nov 26 09:58:28 2015 New Revision: 230929 URL: https://gcc.gnu.org/viewcvs?rev=3D230929&root=3Dgcc&view=3Drev Log: [calls.c] PR rtl-optimization/67226: Take into account pretend_args_size wh= en checking stack offsets for sibcall optimisation 2015-11-26 Kyrylo Tkachov Bernd Schmidt PR rtl-optimization/67226 * calls.c (store_one_arg): Take into account crtl->args.pretend_args_size when checking for overlap between arg->value and argblock + arg->locate.offset during sibcall optimization. * gcc.c-torture/execute/pr67226.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr67226.c Modified: trunk/gcc/ChangeLog trunk/gcc/calls.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:00:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70771 invoked by alias); 26 Nov 2015 10:00: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 70707 invoked by uid 48); 26 Nov 2015 10:00:41 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67226] Incorrect code generated for tail call, where parameters are structs passed by value, -O2 is used, and target is ARM Date: Thu, 26 Nov 2015 10:00: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: 5.2.1 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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02930.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67226 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0 |4.9.5 Known to fail| |4.9.4 --- Comment #7 from ktkachov at gcc dot gnu.org --- Fixed on trunk. This occurs on 4.9 as well (and earlier too from what I can tell). I'm testing the backports >>From gcc-bugs-return-504004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:02:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77918 invoked by alias); 26 Nov 2015 10:02: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 77827 invoked by uid 48); 26 Nov 2015 10:02:05 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67876] [6 Regression] ICE when compiling Firefox 38 Date: Thu, 26 Nov 2015 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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02931.txt.bz2 Content-length: 776 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67876 --- Comment #8 from Andreas Schwab --- FAIL: g++.dg/pr67876.C -std=3Dc++11 (test for excess errors) Excess errors: /usr/local/gcc/gcc-20151126/gcc/testsuite/g++.dg/pr67876.C:23:8: error: redefinition of 'struct S' /usr/local/gcc/gcc-20151126/gcc/testsuite/g++.dg/pr67876.C:7:8: error: prev= ious definition of 'struct S' /usr/local/gcc/gcc-20151126/gcc/testsuite/g++.dg/pr67876.C:28:6: error: redefinition of 'template void bar(S&)' /usr/local/gcc/gcc-20151126/gcc/testsuite/g++.dg/pr67876.C:30:13: error: redefinition of 'S s' /usr/local/gcc/gcc-20151126/gcc/testsuite/g++.dg/pr67876.C:32:6: error: redefinition of 'void foobar(S&)' >>From gcc-bugs-return-504005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:19:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80104 invoked by alias); 26 Nov 2015 10:19:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79998 invoked by uid 55); 26 Nov 2015 10:19:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68128] A huge regression in Parboil v2.5 OpenMP CUTCP test (2.5 times lower performance) Date: Thu, 26 Nov 2015 10: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: 5.3.0 X-Bugzilla-Keywords: missed-optimization, openmp 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.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: 2015-11/txt/msg02932.txt.bz2 Content-length: 2656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68128 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Nov 26 10:18:50 2015 New Revision: 230932 URL: https://gcc.gnu.org/viewcvs?rev=3D230932&root=3Dgcc&view=3Drev Log: PR tree-optimization/68128 * tree.h (OMP_CLAUSE_SHARED_READONLY): Define. * gimplify.c: Include gimple-walk.h. (enum gimplify_omp_var_data): Add GOVD_WRITTEN. (omp_notice_variable): Set flags to n->value if n already exists in target region, but we need to jump to do_outer. (omp_shared_to_firstprivate_optimizable_decl_p, omp_mark_stores, omp_find_stores_op, omp_find_stores_stmt): New functions. (gimplify_adjust_omp_clauses_1): Set OMP_CLAUSE_SHARED_READONLY on OMP_CLAUSE_SHARED if it is a scalar non-addressable that is not modified in the body. Call omp_mark_stores for outer contexts on OMP_CLAUSE_SHARED clauses if they could be written in the body or on OMP_CLAUSE_LASTPRIVATE. (gimplify_adjust_omp_clauses): Add body argument, call omp_find_stores_{stmt,op} on the body through walk_gimple_seq. Set OMP_CLAUSE_SHARED_READONLY on OMP_CLAUSE_SHARED if it is a scalar non-addressable that is not modified in the body. Call omp_mark_stores for outer contexts on OMP_CLAUSE_SHARED clauses if they could be written in the body or on OMP_CLAUSE_LASTPRIVATE or on OMP_CLAUSE_LINEAR without OMP_CLAUSE_LINEAR_NO_COPYOUT or on OMP_CLAUSE_REDUCTION. (gimplify_oacc_cache, gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for, gimplify_omp_workshare, gimplify_omp_target_updat= e, gimplify_expr): Adjust gimplify_adjust_omp_clauses callers. * tree-nested.c (convert_nonlocal_omp_clauses, convert_local_omp_clauses): Clear OMP_CLAUSE_SHARED_READONLY on non-local vars or local vars referenced from nested routines. * omp-low.c (scan_sharing_clauses): For OMP_CLAUSE_SHARED_READONLY attempt to optimize it into OMP_CLAUSE_FIRSTPRIVATE. Even for TREE_READONLY, don't call use_pointer_for_field with non-NULL second argument until we are sure we are keeping OMP_CLAUSE_SHARED. * gcc.dg/gomp/pr68128-1.c: New test. * gcc.dg/gomp/pr68128-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/gomp/pr68128-1.c trunk/gcc/testsuite/gcc.dg/gomp/pr68128-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/omp-low.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-nested.c trunk/gcc/tree.h >>From gcc-bugs-return-504006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:20:43 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117264 invoked by alias); 26 Nov 2015 10:20: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 113101 invoked by uid 48); 26 Nov 2015 10:20:38 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02933.txt.bz2 Content-length: 601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #5 from David Binderman --- Created attachment 36843 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36843&action=3Dedit gzipped C source code Might be a simpler test case. Found on gcc trunk dated 20151126. Compiler flag -O3 required. >>From gcc-bugs-return-504007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:22:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119351 invoked by alias); 26 Nov 2015 10:22: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 119311 invoked by uid 48); 26 Nov 2015 10:22:02 -0000 From: "tan.dejun.alvin at dhs dot sg" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68551] New: GCC 5.2 build broken on arm/rasbian Date: Thu, 26 Nov 2015 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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tan.dejun.alvin at dhs dot sg 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: 2015-11/txt/msg02934.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68551 Bug ID: 68551 Summary: GCC 5.2 build broken on arm/rasbian Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tan.dejun.alvin at dhs dot sg Target Milestone: --- Compiling OpenWRT on my raspberry pi throws me this error: http://pastebin.com/5aXUjKVR >>From gcc-bugs-return-504008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:22:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120254 invoked by alias); 26 Nov 2015 10:22: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 120171 invoked by uid 55); 26 Nov 2015 10:22:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] [5/6 Regression] Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Thu, 26 Nov 2015 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: 5.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02935.txt.bz2 Content-length: 1040 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu Nov 26 10:21:42 2015 New Revision: 230933 URL: https://gcc.gnu.org/viewcvs?rev=3D230933&root=3Dgcc&view=3Drev Log: PR c++/68508 * cp-tree.h (cp_ubsan_maybe_instrument_downcast): Add INTYPE argume= nt. * cp-ubsan.c (cp_ubsan_maybe_instrument_downcast): Likewise. Use it instead of or in addition to TREE_TYPE (op). Use is_properly_derived_from, return NULL_TREE if TREE_TYPE (intype) and TREE_TYPE (type) are the same type minus qualifiers. * typeck.c (build_static_cast_1): Adjust callers. * g++.dg/ubsan/pr68508.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/pr68508.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/cp-tree.h branches/gcc-5-branch/gcc/cp/cp-ubsan.c branches/gcc-5-branch/gcc/cp/typeck.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:24:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124476 invoked by alias); 26 Nov 2015 10:24: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 124403 invoked by uid 48); 26 Nov 2015 10:24:18 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68551] GCC 5.2 build broken on arm/rasbian Date: Thu, 26 Nov 2015 10: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 2015-11/txt/msg02936.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68551 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktkachov at gcc dot gnu.org --- Comment #1 from ktkachov at gcc dot gnu.org --- Can you please provide a preprocessed testcase and, the gcc configure optio= ns and the compilation command line as per: https://gcc.gnu.org/bugs/ >>From gcc-bugs-return-504010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:24:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125271 invoked by alias); 26 Nov 2015 10:24: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 125164 invoked by uid 48); 26 Nov 2015 10:24:31 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67313] [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template Date: Thu, 26 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 6.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: 2015-11/txt/msg02937.txt.bz2 Content-length: 194 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67313 --- Comment #2 from Paolo Carlini --- This is already fixed, I'm adding the testcase and closing the bug. >>From gcc-bugs-return-504011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:26:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49265 invoked by alias); 26 Nov 2015 10:26: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 49200 invoked by uid 48); 26 Nov 2015 10:26:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68508] [5/6 Regression] Internal compiler error with parentheses around return value in C++14 with ASan enabled Date: Thu, 26 Nov 2015 10:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02938.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68508 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jakub Jelinek --- Fixed for 5.3+. >>From gcc-bugs-return-504012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:26:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49986 invoked by alias); 26 Nov 2015 10:26: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 49909 invoked by uid 48); 26 Nov 2015 10:26:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68551] GCC 5.2 build broken on arm/rasbian Date: Thu, 26 Nov 2015 10:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.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: 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: 2015-11/txt/msg02939.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68551 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-11-26 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Note the error is from the installed host cross-compiler which we'd need version info for. Not sure why you build a native GCC for raspi though. >>From gcc-bugs-return-504014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:38:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92140 invoked by alias); 26 Nov 2015 10:38: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 91759 invoked by uid 48); 26 Nov 2015 10:38:36 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67313] [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template Date: Thu, 26 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02941.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67313 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Paolo Carlini --- Done. >>From gcc-bugs-return-504013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:38:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90533 invoked by alias); 26 Nov 2015 10:38:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90432 invoked by uid 55); 26 Nov 2015 10:38:05 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67313] [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template Date: Thu, 26 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 6.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: 2015-11/txt/msg02940.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67313 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Nov 26 10:37:33 2015 New Revision: 230934 URL: https://gcc.gnu.org/viewcvs?rev=3D230934&root=3Dgcc&view=3Drev Log: 2015-11-26 Paolo Carlini PR c++/67313 * g++.dg/cpp0x/no-weak1.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/no-weak1.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:46:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98462 invoked by alias); 26 Nov 2015 10:46: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 98404 invoked by uid 48); 26 Nov 2015 10:46:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02942.txt.bz2 Content-length: 1620 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 CC| |vries at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #6 from Richard Biener --- It's a different cause though as it is from rtl_loop_init checking for the case LOOPS_NEED_FIXUP is not set. Thus a pass preceeding isn't updating loop->latch. I think that was by design (LOOPS_MAY_HAVE_MULTIPLE_LATCHES was supposed to be "->latch doesn't matter, only keep header correct" which is what we require from passes not having initialized loops). Of course that's a somewhat conflicting requirement and thus the cleanest approach would be to split the latch flags even more. LOOPS_HAVE_LATCHES (otherwise ->latch cannot be relied on), LOOPS_MAY_HAVE_MULTIPLE_LATCHES (->latch may be NULL and do not disambiguate such loops), ~LOOPS_MAY_HAVE_MULTIPLE_LATCHES (disambiguate, all loops have ->latch non-NULL), LOOPS_HAVE_SIMPLE_LATCHES (latches are forwarders). The current state is really broken though in case we have LOOPS_MAY_HAVE_MULTIPLE_LATCHES users that rely on ->latch reflecting reality. The flag is not explicitely requested by any pass though so a simple option would be to revert the checking bits for now and revisit the whole issue in stage1. >>From gcc-bugs-return-504016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 10:56:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30430 invoked by alias); 26 Nov 2015 10:56: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 26324 invoked by uid 48); 26 Nov 2015 10:56:19 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 10: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: 6.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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.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: 2015-11/txt/msg02943.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 --- Comment #7 from Markus Trippelsdorf --- Rough reduction: a; fn1() { int b =3D 0; char *c; unsigned d, e =3D &d; for (; a; a++) if (*c) { char **f =3D &c; lbl72855FC2: c =3D b > (**f =3D c && b); d =3D 2; lbl4BD212AD: for (; d; d++) ; goto lbl72855FC2; } c =3D &b; goto lbl4BD212AD; } >>From gcc-bugs-return-504017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:07:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102285 invoked by alias); 26 Nov 2015 11:07: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 102254 invoked by uid 48); 26 Nov 2015 11:07:45 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67249] [concepts] ICE parsing f(pair) Date: Thu, 26 Nov 2015 11:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02944.txt.bz2 Content-length: 194 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67249 --- Comment #1 from Paolo Carlini --- This is already fixed. I'm adding the testcase and closing the bug. >>From gcc-bugs-return-504018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:32:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60595 invoked by alias); 26 Nov 2015 11: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 60269 invoked by uid 48); 26 Nov 2015 11:32:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/61034] Optimizing takes too many passes Date: Thu, 26 Nov 2015 11: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: 5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02945.txt.bz2 Content-length: 813 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61034 --- Comment #13 from Richard Biener --- We arrive at different final optimizations depending on PUSH_ARGS_REVERSED (see PR67203). Current (GCC 6) final state is either 3 or 4 calls depending on that. And this is only because the final DCE (which removes malloc/free pairs) needs some more DSE (which only follows DCE). The late dce/dse passes are the only ones with this particular odering, all other pairs come the other way around which would end up removing all malloc/free pairs in this (finally). Of course DSE and DCE depend on each other so exchanging the last two isn't a trivial surgery. Ideally DSE would have at least a basic DCE embedded or we'd finally merge both passes (given that DSE is quite ad-hoc anyway). >>From gcc-bugs-return-504019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:37:16 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67188 invoked by alias); 26 Nov 2015 11:37: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 67146 invoked by uid 55); 26 Nov 2015 11:37:12 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67226] Incorrect code generated for tail call, where parameters are structs passed by value, -O2 is used, and target is ARM Date: Thu, 26 Nov 2015 11:37: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: 5.2.1 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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02946.txt.bz2 Content-length: 1049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67226 --- Comment #8 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Nov 26 11:36:40 2015 New Revision: 230936 URL: https://gcc.gnu.org/viewcvs?rev=3D230936&root=3Dgcc&view=3Drev Log: [calls.c] PR rtl-optimization/67226: Take into account pretend_args_size wh= en checking stack offsets for sibcall optimisation Backport from mainline 2015-11-26 Kyrylo Tkachov Bernd Schmidt PR rtl-optimization/67226 * calls.c (store_one_arg): Take into account crtl->args.pretend_args_size when checking for overlap between arg->value and argblock + arg->locate.offset during sibcall optimization. * gcc.c-torture/execute/pr67226.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr67226.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/calls.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:40:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78719 invoked by alias); 26 Nov 2015 11: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 78676 invoked by uid 55); 26 Nov 2015 11:40:48 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67226] Incorrect code generated for tail call, where parameters are structs passed by value, -O2 is used, and target is ARM Date: Thu, 26 Nov 2015 11:40: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: 5.2.1 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: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02947.txt.bz2 Content-length: 1057 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67226 --- Comment #9 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Nov 26 11:40:16 2015 New Revision: 230937 URL: https://gcc.gnu.org/viewcvs?rev=3D230937&root=3Dgcc&view=3Drev Log: [calls.c] PR rtl-optimization/67226: Take into account pretend_args_size wh= en checking stack offsets for sibcall optimisation Backport from mainline 2015-11-26 Kyrylo Tkachov Bernd Schmidt PR rtl-optimization/67226 * calls.c (store_one_arg): Take into account crtl->args.pretend_args_size when checking for overlap between arg->value and argblock + arg->locate.offset during sibcall optimization. * gcc.c-torture/execute/pr67226.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr67226.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/calls.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:41:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79915 invoked by alias); 26 Nov 2015 11:41: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 79780 invoked by uid 48); 26 Nov 2015 11:41:28 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67226] Incorrect code generated for tail call, where parameters are structs passed by value, -O2 is used, and target is ARM Date: Thu, 26 Nov 2015 11:41: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: 5.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02948.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67226 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from ktkachov at gcc dot gnu.org --- Fixed on all active branches >>From gcc-bugs-return-504022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:41:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80210 invoked by alias); 26 Nov 2015 11: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 79839 invoked by uid 48); 26 Nov 2015 11:41:30 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65358] wrong parameter passing code with tail call optimization on arm Date: Thu, 26 Nov 2015 11:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.6.3 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: critical X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02949.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65358 Bug 65358 depends on bug 67226, which changed state. Bug 67226 Summary: Incorrect code generated for tail call, where parameters= are structs passed by value, -O2 is used, and target is ARM https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67226 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-504023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:48:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88726 invoked by alias); 26 Nov 2015 11:48: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 88619 invoked by uid 48); 26 Nov 2015 11:48:04 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68416] [MPX] GCC emits a lot of redundant bndmov instructions Date: Thu, 26 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 2015-11/txt/msg02950.txt.bz2 Content-length: 718 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68416 --- Comment #4 from Ilya Enkovich --- (In reply to Vladimir Makarov from comment #3) > The first I thought it is a LRA inheritance bug but after more thorough > analysis I found that the problem comes from IRA. IRA never assigns BND > hard registers to pseudos because it never assigns BNDREGS class to pseud= os. > After some investigation I found that ALL_REGS does not contain BNDREGS.= =20 > IRA starts with ALL_REGS and uses narrow reg class if the mode is prohibi= ted > for some hard registers. That is why class BNDREGS is never used for > pseudos. Thanks a lot for the patch! It significantly improves MPX code quality. >>From gcc-bugs-return-504024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:49:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92713 invoked by alias); 26 Nov 2015 11:49: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 92286 invoked by uid 55); 26 Nov 2015 11:49:52 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68416] [MPX] GCC emits a lot of redundant bndmov instructions Date: Thu, 26 Nov 2015 11: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 2015-11/txt/msg02951.txt.bz2 Content-length: 747 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68416 --- Comment #5 from Ilya Enkovich --- Author: ienkovich Date: Thu Nov 26 11:49:20 2015 New Revision: 230938 URL: https://gcc.gnu.org/viewcvs?rev=3D230938&root=3Dgcc&view=3Drev Log: gcc/ 2015-11-26 Vladimir Makarov PR target/68416 * config/i386/i386.h (enum reg_class): Add bounds registers to ALL_REGS. gcc/testsuite/ 2015-11-26 Ilya Enkovich PR target/68416 * gcc.target/i386/mpx/pr68416.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/mpx/pr68416.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.h trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:52:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98376 invoked by alias); 26 Nov 2015 11:52: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 98264 invoked by uid 55); 26 Nov 2015 11:52:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68249] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Thu, 26 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02952.txt.bz2 Content-length: 597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68249 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Nov 26 11:52:11 2015 New Revision: 230939 URL: https://gcc.gnu.org/viewcvs?rev=3D230939&root=3Dgcc&view=3Drev Log: PR rtl-optimization/68249 PR rtl-optimization/68321 * gcc.c-torture/execute/pr68249.c: New test. * gcc.c-torture/execute/pr68321.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr68249.c trunk/gcc/testsuite/gcc.c-torture/execute/pr68321.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:52:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98534 invoked by alias); 26 Nov 2015 11: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 98267 invoked by uid 55); 26 Nov 2015 11:52:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68321] [5/6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Thu, 26 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02953.txt.bz2 Content-length: 597 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68321 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Nov 26 11:52:11 2015 New Revision: 230939 URL: https://gcc.gnu.org/viewcvs?rev=3D230939&root=3Dgcc&view=3Drev Log: PR rtl-optimization/68249 PR rtl-optimization/68321 * gcc.c-torture/execute/pr68249.c: New test. * gcc.c-torture/execute/pr68321.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr68249.c trunk/gcc/testsuite/gcc.c-torture/execute/pr68321.c Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:53:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108453 invoked by alias); 26 Nov 2015 11:53: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 107888 invoked by uid 48); 26 Nov 2015 11:53:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/67203] [6 regression] FAIL: g++.dg/tree-ssa/pr61034.C -std=gnu++11 scan-tree-dump-times fre2 "free" 10 Date: Thu, 26 Nov 2015 11:53: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02955.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67203 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed by adjusting the testcase. >>From gcc-bugs-return-504027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:53:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107813 invoked by alias); 26 Nov 2015 11:53: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 107328 invoked by uid 55); 26 Nov 2015 11:53:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/67203] [6 regression] FAIL: g++.dg/tree-ssa/pr61034.C -std=gnu++11 scan-tree-dump-times fre2 "free" 10 Date: Thu, 26 Nov 2015 11:53: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02954.txt.bz2 Content-length: 624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67203 --- Comment #3 from Richard Biener --- Author: rguenth Date: Thu Nov 26 11:53:13 2015 New Revision: 230940 URL: https://gcc.gnu.org/viewcvs?rev=3D230940&root=3Dgcc&view=3Drev Log: 2015-11-26 Richard Biener PR testsuite/67203 * g++.dg/tree-ssa/pr61034.C: Make expected optimization result dependent on PUSH_ARGS_REVERSED. Drop optimization level and also monitor final optimization result. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/tree-ssa/pr61034.C >>From gcc-bugs-return-504030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:54:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111976 invoked by alias); 26 Nov 2015 11:54: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 111912 invoked by uid 48); 26 Nov 2015 11:54:54 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 11:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code 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: --- 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: 2015-11/txt/msg02957.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #2 from Eric Botcazou --- Fixing. >>From gcc-bugs-return-504029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:54:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111218 invoked by alias); 26 Nov 2015 11:54: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 111176 invoked by uid 48); 26 Nov 2015 11:54:28 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 11:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02956.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- Curious to know under what circumstances you ran into this? >>From gcc-bugs-return-504032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:55:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114267 invoked by alias); 26 Nov 2015 11: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 113598 invoked by uid 55); 26 Nov 2015 11:55:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68249] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Thu, 26 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02959.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68249 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Nov 26 11:55:14 2015 New Revision: 230941 URL: https://gcc.gnu.org/viewcvs?rev=3D230941&root=3Dgcc&view=3Drev Log: PR rtl-optimization/68249 PR rtl-optimization/68321 * gcc.c-torture/execute/pr68249.c: New test. * gcc.c-torture/execute/pr68321.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68249.c branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68321.c Modified: branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:55:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113686 invoked by alias); 26 Nov 2015 11:55: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 113601 invoked by uid 55); 26 Nov 2015 11:55:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68321] [5/6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Thu, 26 Nov 2015 11: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: 6.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg02958.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68321 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Nov 26 11:55:14 2015 New Revision: 230941 URL: https://gcc.gnu.org/viewcvs?rev=3D230941&root=3Dgcc&view=3Drev Log: PR rtl-optimization/68249 PR rtl-optimization/68321 * gcc.c-torture/execute/pr68249.c: New test. * gcc.c-torture/execute/pr68321.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68249.c branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68321.c Modified: branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:58:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126191 invoked by alias); 26 Nov 2015 11: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 125952 invoked by uid 48); 26 Nov 2015 11:58:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Thu, 26 Nov 2015 11: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: 6.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: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02961.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #15 from Jakub Jelinek --- *** Bug 68321 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-504033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:58:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126027 invoked by alias); 26 Nov 2015 11:58: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 125908 invoked by uid 48); 26 Nov 2015 11:58:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68321] [5/6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Thu, 26 Nov 2015 11: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: 6.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: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02960.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68321 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #9 from Jakub Jelinek --- Dup. *** This bug has been marked as a duplicate of bug 68194 *** >>From gcc-bugs-return-504035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:58:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127604 invoked by alias); 26 Nov 2015 11:58: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 127506 invoked by uid 48); 26 Nov 2015 11:58:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68249] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Thu, 26 Nov 2015 11: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: 6.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: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2015-11/txt/msg02962.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68249 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #6 from Jakub Jelinek --- Dup. *** This bug has been marked as a duplicate of bug 68194 *** >>From gcc-bugs-return-504036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 11:58:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127682 invoked by alias); 26 Nov 2015 11:58: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 127543 invoked by uid 48); 26 Nov 2015 11:58:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68194] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu Date: Thu, 26 Nov 2015 11: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: 6.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: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02963.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68194 --- Comment #16 from Jakub Jelinek --- *** Bug 68249 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-504037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:05:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7076 invoked by alias); 26 Nov 2015 12:05: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 6609 invoked by uid 55); 26 Nov 2015 12:05:22 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 12: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: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02964.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Thu Nov 26 12:04:50 2015 New Revision: 230942 URL: https://gcc.gnu.org/viewcvs?rev=3D230942&root=3Dgcc&view=3Drev Log: PR c++/68527 * c-ada-spec.c (dump_nested_types): Add guard for error_mark_node. (print_ada_struct_decl): Likewise. Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-ada-spec.c >>From gcc-bugs-return-504038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:06:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9003 invoked by alias); 26 Nov 2015 12:06: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 8945 invoked by uid 48); 26 Nov 2015 12:06:51 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02965.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #4 from Eric Botcazou --- Fixed (but please avoid throwing junk at -fdump-ada-spec). >>From gcc-bugs-return-504039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:09:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10811 invoked by alias); 26 Nov 2015 12:09: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 10710 invoked by uid 48); 26 Nov 2015 12:09:20 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Thu, 26 Nov 2015 12: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2015-11/txt/msg02966.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #32 from Iain Sandoe --- reduced testcase: .text .align 4,0x90 .globl _choose_tmpdir _choose_tmpdir: sbbl $3+_vartmp, %esi ret .space 254 .const .align 2 _vartmp: .byte 47 =3D=3D=3D It seems that the reloc length is expected to be 1 (which will not, indeed, accommodate the offset). cctools (877.5) using -Q and my local port of GAS both produce; address pcrel length extern type scattered symbolnum/value 00000002 False long n/a VANILLA True 0x00000108 >>From gcc-bugs-return-504040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:11:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22858 invoked by alias); 26 Nov 2015 12: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 22789 invoked by uid 48); 26 Nov 2015 12:11:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/66799] [6 regression] gcc.dg/vect/pr20122.c FAILs Date: Thu, 26 Nov 2015 12:11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02967.txt.bz2 Content-length: 957 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66799 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED Component|tree-optimization |testsuite --- Comment #3 from Richard Biener --- Ok, sorry for responding so late. The testcase has aligned accesses only and we now might be able to propagate simply via IPA alignment propagation. Not sure why it started to "work" in the revision range but the vectorizer indeed analyzes all accesses to be aligned. I think fixing the testcase is best (not align the source array) as only that triggers a runtime error if we get things wrong (and miss the versioning check). The testcase was made to align that array with r104445 but I don't see a good reason for this today. >>From gcc-bugs-return-504041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:12:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24403 invoked by alias); 26 Nov 2015 12:12: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 24375 invoked by uid 48); 26 Nov 2015 12:12:45 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68552] New: [6 Regression]: ICE in in expand_expr_real_2 with -O2 -ftree-vectorize Date: Thu, 26 Nov 2015 12:12: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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 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: 2015-11/txt/msg02968.txt.bz2 Content-length: 2313 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68552 Bug ID: 68552 Summary: [6 Regression]: ICE in in expand_expr_real_2 with -O2 -ftree-vectorize Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ubizjak at gmail dot com Target Milestone: --- Target: alpha-linux-gnu Recent regression on alpha-linux-gnu: FAIL: gcc.c-torture/compile/pr52255.c -O3 This ICE can be triggered with a crosscompiler to alpha-linux-gnu with '-O2 -ftree-vectorize': Starting program: /home/uros/gcc-build-alpha/gcc/cc1 -O2 -ftree-vectorize -quiet -fpreprocessed pr52255.c Breakpoint 1, internal_error (gmsgid=3D0x12a0c4c "in %s, at %s:%d") at ../../gcc-svn/trunk/gcc/diagnostic.c:1255 1255 internal_error (const char *gmsgid, ...) (gdb) bt #0 internal_error (gmsgid=3D0x12a0c4c "in %s, at %s:%d") at ../../gcc-svn/trunk/gcc/diagnostic.c:1255 #1 0x00000000010bf6cc in fancy_abort (file=3D, line=3D9260,= =20 function=3D0x1185a40 "expand_expr_real_2") at ../../gcc-svn/trunk/gcc/diagnostic.c:1332 #2 0x0000000000790930 in expand_expr_real_2 (ops=3D0x7fffffffbdb0, target=3D, tmode=3D, modifier=3DEXPAND_NORMAL) at ../../gcc-svn/trunk/gcc/expr.c:9260 #3 0x0000000000685b5f in expand_gimple_stmt_1 (stmt=3D0x2aaaae88e300) at ../../gcc-svn/trunk/gcc/cfgexpand.c:3628 #4 0x0000000000685e87 in expand_gimple_stmt (stmt=3D0x2aaaae88e300) at ../../gcc-svn/trunk/gcc/cfgexpand.c:3688 (gdb) f 2 #2 0x0000000000790930 in expand_expr_real_2 (ops=3D0x7fffffffbdb0, target=3D, tmode=3D, modifier=3DEXPAND_NORMAL) at ../../gcc-svn/trunk/gcc/expr.c:9260 9260 gcc_assert (temp); (gdb) list 9255 } 9256 else 9257 gcc_assert (GET_MODE_CLASS (GET_MODE (op2)) =3D=3D MODE_VECTOR_INT); 9258 9259 temp =3D expand_vec_perm (mode, op0, op1, op2, target); 9260 gcc_assert (temp); 9261 return temp; 9262 9263 case DOT_PROD_EXPR: 9264 { >>From gcc-bugs-return-504043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:16:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50669 invoked by alias); 26 Nov 2015 12:16: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 50503 invoked by uid 55); 26 Nov 2015 12:16:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/66799] [6 regression] gcc.dg/vect/pr20122.c FAILs Date: Thu, 26 Nov 2015 12:16: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02970.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66799 --- Comment #5 from Richard Biener --- Author: rguenth Date: Thu Nov 26 12:15:43 2015 New Revision: 230943 URL: https://gcc.gnu.org/viewcvs?rev=3D230943&root=3Dgcc&view=3Drev Log: 2015-11-26 Richard Biener PR testsuite/66799 * gcc.dg/vect/pr20122.c (main): Do not align Kernel, do not vectorize init loop and adjust expected outcome. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/pr20122.c >>From gcc-bugs-return-504042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:16:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49731 invoked by alias); 26 Nov 2015 12:16: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 49427 invoked by uid 48); 26 Nov 2015 12:15:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/66799] [6 regression] gcc.dg/vect/pr20122.c FAILs Date: Thu, 26 Nov 2015 12:16: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02969.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66799 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-504044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:19:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68985 invoked by alias); 26 Nov 2015 12: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 68332 invoked by uid 48); 26 Nov 2015 12:19:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66678] loop counter not accurately described by vrp Date: Thu, 26 Nov 2015 12: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc 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: 2015-11/txt/msg02971.txt.bz2 Content-length: 610 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66678 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 CC| |rguenth at gcc dot gnu.org Ever confirmed|0 |1 Severity|minor |enhancement >>From gcc-bugs-return-504045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:23:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74714 invoked by alias); 26 Nov 2015 12:23: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 74665 invoked by uid 48); 26 Nov 2015 12:23:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66598] [4.9/5 Regression] With -O3 gcc incorrectly assumes aligned SSE instructions (e.g. movapd) can be used Date: Thu, 26 Nov 2015 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: 4.9.2 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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02972.txt.bz2 Content-length: 649 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66598 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.8.5 Target Milestone|--- |4.9.4 Summary|With -O3 gcc incorrectly |[4.9/5 Regression] With -O3 |assumes aligned SSE |gcc incorrectly assumes |instructions (e.g. movapd) |aligned SSE instructions |can be used |(e.g. movapd) can be used >>From gcc-bugs-return-504046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:27:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78263 invoked by alias); 26 Nov 2015 12:27: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 78238 invoked by uid 48); 26 Nov 2015 12:27:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66379] SCCVN doesn't handle aggregate array element accesses very well Date: Thu, 26 Nov 2015 12:27: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2015-11/txt/msg02973.txt.bz2 Content-length: 628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66379 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-26 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Works now with -fno-tree-sra as the patch was committed but SRA still confu= ses FRE so this is a testcase for the "stupid address-forwarding" issue. >>From gcc-bugs-return-504047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:29:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81323 invoked by alias); 26 Nov 2015 12:29: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 81199 invoked by uid 55); 26 Nov 2015 12:29:30 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68416] [MPX] GCC emits a lot of redundant bndmov instructions Date: Thu, 26 Nov 2015 12: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 2015-11/txt/msg02974.txt.bz2 Content-length: 907 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68416 --- Comment #6 from Ilya Enkovich --- Author: ienkovich Date: Thu Nov 26 12:28:57 2015 New Revision: 230945 URL: https://gcc.gnu.org/viewcvs?rev=3D230945&root=3Dgcc&view=3Drev Log: gcc/ Backport from mainline r230938. 2015-11-26 Vladimir Makarov PR target/68416 * config/i386/i386.h (enum reg_class): Add bounds registers to ALL_REGS. gcc/testsuite/ Backport from mainline r230938. 2015-11-26 Ilya Enkovich PR target/68416 * gcc.target/i386/mpx/pr68416.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/pr68416.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/i386/i386.h branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:34:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99933 invoked by alias); 26 Nov 2015 12:34: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 99758 invoked by uid 48); 26 Nov 2015 12:34:03 -0000 From: "ienkovich at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68416] [MPX] GCC emits a lot of redundant bndmov instructions Date: Thu, 26 Nov 2015 12: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ienkovich 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: 2015-11/txt/msg02975.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68416 Ilya Enkovich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Ilya Enkovich --- Fixed >>From gcc-bugs-return-504049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 12:54:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37348 invoked by alias); 26 Nov 2015 12:54: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 37297 invoked by uid 48); 26 Nov 2015 12:54:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66598] [4.9/5 Regression] With -O3 gcc incorrectly assumes aligned SSE instructions (e.g. movapd) can be used Date: Thu, 26 Nov 2015 12: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: 4.9.2 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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02976.txt.bz2 Content-length: 2132 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66598 --- Comment #4 from Richard Biener --- The relevant hunk is the following but as it requires us to know the final vectorization factor it requires us to re-order (and split) the pipeline quite a bit. r223670 has bits of the prerequesites but not all and r224598 has the fix below (and some unrelated bits). Index: gcc/tree-vect-data-refs.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-vect-data-refs.c (revision 230924) +++ gcc/tree-vect-data-refs.c (working copy) @@ -701,21 +701,22 @@ vect_compute_data_ref_alignment (struct } } - /* Similarly, if we're doing basic-block vectorization, we can only use - base and misalignment information relative to an innermost loop if the - misalignment stays the same throughout the execution of the loop. - As above, this is the case if the stride of the dataref evenly divides - by the vector size. */ - if (!loop) + /* Similarly we can only use base and misalignment information relative = to + an innermost loop if the misalignment stays the same throughout the + execution of the loop. As above, this is the case if the stride of + the dataref evenly divides by the vector size. */ + else { tree step =3D DR_STEP (dr); - HOST_WIDE_INT dr_step =3D TREE_INT_CST_LOW (step); + unsigned vf =3D loop ? LOOP_VINFO_VECT_FACTOR (loop_vinfo) : 1; - if (dr_step % GET_MODE_SIZE (TYPE_MODE (vectype)) !=3D 0) + if (tree_fits_shwi_p (step) + && ((tree_to_shwi (step) * vf) + % GET_MODE_SIZE (TYPE_MODE (vectype)) !=3D 0)) { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, - "SLP: step doesn't divide the vector-size.\n"); + "step doesn't divide the vector-size.\n"); misalign =3D NULL_TREE; } } >>From gcc-bugs-return-504050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:07:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94297 invoked by alias); 26 Nov 2015 13:07: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 93988 invoked by uid 48); 26 Nov 2015 13:07:28 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68553] New: gcc.dg/vect/pr68445.c FAILs Date: Thu, 26 Nov 2015 13:07: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild 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: 2015-11/txt/msg02977.txt.bz2 Content-length: 1013 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68553 Bug ID: 68553 Summary: gcc.dg/vect/pr68445.c FAILs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Host: sparc*-sun-solaris2.* Target: sparc*-sun-solaris2.* Build: sparc*-sun-solaris2.* Created attachment 36844 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36844&action=3Dedit pr68445.c.134t.vect The new gcc.dg/vect/pr68445.c testcase FAILs on Solaris/SPARC FAIL: gcc.dg/vect/pr68445.c -flto -ffat-lto-objects scan-tree-dump vect "vectorizing stmts using SLP" FAIL: gcc.dg/vect/pr68445.c scan-tree-dump vect "vectorizing stmts using SL= P" for both 32 and 64-bit. I'm attaching the dump. Rainer >>From gcc-bugs-return-504051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:07:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95123 invoked by alias); 26 Nov 2015 13:07: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 95027 invoked by uid 48); 26 Nov 2015 13:07:42 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68553] gcc.dg/vect/pr68445.c FAILs Date: Thu, 26 Nov 2015 13:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02978.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68553 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-504052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:12:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59232 invoked by alias); 26 Nov 2015 13:12: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 59181 invoked by uid 48); 26 Nov 2015 13:12:52 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68554] New: gcc.dg/vect/bb-slp-subgroups-2.c FAILs Date: Thu, 26 Nov 2015 13:12: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild 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: 2015-11/txt/msg02979.txt.bz2 Content-length: 1328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68554 Bug ID: 68554 Summary: gcc.dg/vect/bb-slp-subgroups-2.c FAILs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: alan.lawrence at arm dot com Target Milestone: --- Host: sparc*-sun-solaris2.* Target: sparc*-sun-solaris2.* Build: sparc*-sun-solaris2.* Created attachment 36845 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36845&action=3Dedit bb-slp-subgroups-2.c.144t.slp2 The new gcc.dg/vect/bb-slp-subgroups-2.c testcase FAILs on Solaris/SPARC FAIL: gcc.dg/vect/bb-slp-subgroups-2.c -flto -ffat-lto-objects=20 scan-tree-dump-times slp2 "Basic block will be vectorized using SLP" 1 FAIL: gcc.dg/vect/bb-slp-subgroups-2.c -flto -ffat-lto-objects=20 scan-tree-dump-times slp2 "basic block vectorized" 1 FAIL: gcc.dg/vect/bb-slp-subgroups-2.c scan-tree-dump-times slp2 "Basic blo= ck will be vectorized using SLP" 1 FAIL: gcc.dg/vect/bb-slp-subgroups-2.c scan-tree-dump-times slp2 "basic blo= ck vectorized" 1 for both 32- and 64-bit. I'm attaching the dump. Rainer >>From gcc-bugs-return-504053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:13:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61142 invoked by alias); 26 Nov 2015 13:13: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 61095 invoked by uid 48); 26 Nov 2015 13:13:21 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68554] gcc.dg/vect/bb-slp-subgroups-2.c FAILs Date: Thu, 26 Nov 2015 13:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02980.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68554 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-504054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:15:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63796 invoked by alias); 26 Nov 2015 13:15: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 63747 invoked by uid 55); 26 Nov 2015 13:15:18 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67249] [concepts] ICE parsing f(pair) Date: Thu, 26 Nov 2015 13: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.0 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: 2015-11/txt/msg02981.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67249 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Nov 26 13:14:45 2015 New Revision: 230947 URL: https://gcc.gnu.org/viewcvs?rev=3D230947&root=3Dgcc&view=3Drev Log: 2015-11-26 Paolo Carlini PR c++/67249 * g++.dg/concepts/pr67249.C: New. Added: trunk/gcc/testsuite/g++.dg/concepts/pr67249.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:15:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64707 invoked by alias); 26 Nov 2015 13:15: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 64603 invoked by uid 48); 26 Nov 2015 13:15:46 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67249] [concepts] ICE parsing f(pair) Date: Thu, 26 Nov 2015 13: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.0 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: 6.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: 2015-11/txt/msg02982.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67249 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #3 from Paolo Carlini --- Done. >>From gcc-bugs-return-504056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:15:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64925 invoked by alias); 26 Nov 2015 13:15: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 64643 invoked by uid 48); 26 Nov 2015 13:15:47 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67491] [meta-bug] concepts issues Date: Thu, 26 Nov 2015 13:15: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: 6.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: 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: 2015-11/txt/msg02983.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67491 Bug 67491 depends on bug 67249, which changed state. Bug 67249 Summary: [concepts] ICE parsing f(pair) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67249 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-504057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:17:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76830 invoked by alias); 26 Nov 2015 13:17: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 76784 invoked by uid 48); 26 Nov 2015 13:17:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66598] [4.9/5 Regression] With -O3 gcc incorrectly assumes aligned SSE instructions (e.g. movapd) can be used Date: Thu, 26 Nov 2015 13: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: 4.9.2 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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg02984.txt.bz2 Content-length: 148 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66598 --- Comment #5 from Richard Biener --- Oh, and it needs r223798. >>From gcc-bugs-return-504059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:20:54 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87946 invoked by alias); 26 Nov 2015 13: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 87918 invoked by uid 48); 26 Nov 2015 13:20:50 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68555] [6 regression] gcc.dg/vect/bb-slp-10.c FAILs Date: Thu, 26 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02986.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68555 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 >>From gcc-bugs-return-504058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:20:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87189 invoked by alias); 26 Nov 2015 13:20: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 87118 invoked by uid 48); 26 Nov 2015 13:20:29 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68555] New: [6 regression] gcc.dg/vect/bb-slp-10.c FAILs Date: Thu, 26 Nov 2015 13:20: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild 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: 2015-11/txt/msg02985.txt.bz2 Content-length: 1064 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68555 Bug ID: 68555 Summary: [6 regression] gcc.dg/vect/bb-slp-10.c FAILs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: sparc*-sun-solaris2.* Target: sparc*-sun-solaris2.* Build: sparc*-sun-solaris2.* Created attachment 36846 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36846&action=3Dedit bb-slp-10.c.144t.slp2 Between 20151111 (r230155) and 20151113 (r230309), the gcc.dg/vect/bb-slp-1= 0.c testcase started to FAIL on Solaris/SPARC, both 32 and 64-bit: FAIL: gcc.dg/vect/bb-slp-10.c -flto -ffat-lto-objects scan-tree-dump slp2 "unsupported alignment in basic block." FAIL: gcc.dg/vect/bb-slp-10.c scan-tree-dump slp2 "unsupported alignment in basic block." I'm attaching the dump. Rainer >>From gcc-bugs-return-504060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:25:40 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105128 invoked by alias); 26 Nov 2015 13:25: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 105039 invoked by uid 48); 26 Nov 2015 13:25:34 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68556] New: [6 Regression] -r -flto test failures Date: Thu, 26 Nov 2015 13:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.0 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 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: 2015-11/txt/msg02987.txt.bz2 Content-length: 1336 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68556 Bug ID: 68556 Summary: [6 Regression] -r -flto test failures Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: hubicka at ucw dot cz Target Milestone: --- On Linux/x86, r230922 gave FAIL: g++.dg/lto/20081118 cp_lto_20081118_0.o-cp_lto_20081118_1.o link, -fP= IC -flto -flto-partition=3D1to1 -r -nostdlib (internal compiler error) FAIL: g++.dg/lto/20081204-1 cp_lto_20081204-1_0.o-cp_lto_20081204-1_1.o lin= k, -flto -flto-partition=3D1to1 -fPIC -r -nostdlib (internal compiler error) FAIL: g++.dg/lto/20081219 cp_lto_20081219_0.o-cp_lto_20081219_1.o link, -fP= IC -flto -flto-partition=3D1to1 -O2 (internal compiler error) FAIL: g++.dg/lto/20090302 cp_lto_20090302_0.o-cp_lto_20090302_1.o link, -fP= IC -flto -flto-partition=3D1to1 -r -nostdlib (internal compiler error) FAIL: g++.dg/lto/20091002-1 cp_lto_20091002-1_0.o-cp_lto_20091002-1_0.o lin= k, -fPIC -flto (internal compiler error) FAIL: g++.dg/lto/pr65193 cp_lto_pr65193_0.o-cp_lto_pr65193_0.o link, -fPIC = -r -nostdlib -flto -O2 -g (internal compiler error) r230910 is OK. >>From gcc-bugs-return-504061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:28:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108400 invoked by alias); 26 Nov 2015 13:28:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108292 invoked by uid 48); 26 Nov 2015 13:28:24 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68556] [6 Regression] -r -flto test failures Date: Thu, 26 Nov 2015 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: 6.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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2015-11/txt/msg02988.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68556 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- r230915 is bad. >>From gcc-bugs-return-504062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:35:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129003 invoked by alias); 26 Nov 2015 13:35: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 128934 invoked by uid 48); 26 Nov 2015 13:35:04 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68552] [6 Regression]: ICE in in expand_expr_real_2 with -O2 -ftree-vectorize Date: Thu, 26 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg02989.txt.bz2 Content-length: 999 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68552 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Uro=C5=A1 Bizjak --- Caused by r230797: 2015-11-24 Jakub Jelinek PR target/68483 * tree-vect-generic.c (lower_vec_perm): If VEC_PERM_EXPR is valid vec_shr pattern, don't lower it even if can_vec_perm_p returns false. * optabs.c (shift_amt_for_vec_perm_mask): Return NULL_RTX whenever first is nelt or above. Don't mask expected with 2 * nelt - 1. >>From gcc-bugs-return-504063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:45:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49617 invoked by alias); 26 Nov 2015 13:45: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 49543 invoked by uid 48); 26 Nov 2015 13:45:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68553] gcc.dg/vect/pr68445.c FAILs Date: Thu, 26 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02990.txt.bz2 Content-length: 1133 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68553 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-26 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr68445.c:7:3: note: = Load permutation 0 1 2 3 0 1 2 3 /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr68445.c:7:3: note: = no vect permute for _13 =3D *p1f_35; /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr68445.c:7:3: note: Build SLP failed: unsupported load permutation *destf_33 =3D _13; and then /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/pr68445.c:7:3: note: extract even/odd not supported by target so it hits the missed "optimization" of simply omitting a 1:1 permutation. >>From gcc-bugs-return-504065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:47:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54334 invoked by alias); 26 Nov 2015 13:47: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 54263 invoked by uid 48); 26 Nov 2015 13:47:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67323] Use non-unit stride loads by preference when applicable Date: Thu, 26 Nov 2015 13:47: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2015-11/txt/msg02992.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67323 Bug 67323 depends on bug 66721, which changed state. Bug 66721 Summary: [6 regression] gcc.target/i386/pr61403.c FAILs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66721 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-504066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:47:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55431 invoked by alias); 26 Nov 2015 13:47: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 55069 invoked by uid 55); 26 Nov 2015 13:47:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66721] [6 regression] gcc.target/i386/pr61403.c FAILs Date: Thu, 26 Nov 2015 13: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02993.txt.bz2 Content-length: 619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66721 --- Comment #5 from Richard Biener --- Author: rguenth Date: Thu Nov 26 13:46:59 2015 New Revision: 230956 URL: https://gcc.gnu.org/viewcvs?rev=3D230956&root=3Dgcc&view=3Drev Log: 2015-11-26 Richard Biener PR tree-optimization/66721 * tree-vect-loop.c (vect_analyze_loop_2): Compute scalar iteration cost earlier. Re-do analysis without SLP when vectorization using SLP fails and without has a chance to succeed. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-loop.c >>From gcc-bugs-return-504064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:47:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54326 invoked by alias); 26 Nov 2015 13: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 54241 invoked by uid 48); 26 Nov 2015 13:47:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66721] [6 regression] gcc.target/i386/pr61403.c FAILs Date: Thu, 26 Nov 2015 13: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02991.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66721 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-504067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:49:59 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59130 invoked by alias); 26 Nov 2015 13: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 59066 invoked by uid 48); 26 Nov 2015 13:49:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68554] gcc.dg/vect/bb-slp-subgroups-2.c FAILs Date: Thu, 26 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02994.txt.bz2 Content-length: 1117 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68554 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-26 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-2.c:= 20:1: note: Load permutation 3 0 2 1 /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-2.c:= 20:1: note: no vect permute for _13 =3D b[3]; /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-2.c:= 20:1: note: unsupported load permutation /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-2.c:= 20:1: note: Build SLP failed: unsupported load permutation a[4] =3D _14; The testcase needs vect_perm effective target >>From gcc-bugs-return-504068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:51:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74897 invoked by alias); 26 Nov 2015 13:51: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 74839 invoked by uid 48); 26 Nov 2015 13:51:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68554] gcc.dg/vect/bb-slp-subgroups-2.c FAILs Date: Thu, 26 Nov 2015 13: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02995.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68554 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Richard Biener --- Fixed. >>From gcc-bugs-return-504069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:52:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77655 invoked by alias); 26 Nov 2015 13:52: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 77004 invoked by uid 55); 26 Nov 2015 13:52:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68554] gcc.dg/vect/bb-slp-subgroups-2.c FAILs Date: Thu, 26 Nov 2015 13: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: 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02996.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68554 --- Comment #3 from Richard Biener --- Author: rguenth Date: Thu Nov 26 13:51:40 2015 New Revision: 230961 URL: https://gcc.gnu.org/viewcvs?rev=3D230961&root=3Dgcc&view=3Drev Log: 2015-11-26 Richard Biener PR testsuite/68554 * gcc.dg/vect/bb-slp-subgroups-2.c: Require vect_perm. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-2.c >>From gcc-bugs-return-504070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:55:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119315 invoked by alias); 26 Nov 2015 13:55: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 119261 invoked by uid 48); 26 Nov 2015 13:55:44 -0000 From: "alalaw01 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68549] [6 Regression] ICE: in verify_loop_structure, at cfgloop.c:1669 Date: Thu, 26 Nov 2015 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: 6.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: alalaw01 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.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: 2015-11/txt/msg02997.txt.bz2 Content-length: 1787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68549 alalaw01 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alalaw01 at gcc dot gnu.org --- Comment #8 from alalaw01 at gcc dot gnu.org --- Here's another testcase, reduced from value.c in gdb - ICEs at -O2 on (at least) x86_64 and AArch64: typedef long unsigned int size_t; extern void *xmalloc (size_t) __attribute__ ((__malloc__)) __attribute__ ((__returns_nonnull__)); struct __jmp_buf_tag { }; extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; extern sigjmp_buf *exceptions_state_mc_init (void); extern int exceptions_state_mc_action_iter (void); extern void printf_unfiltered (const char *, ...) ; extern struct gdbarch *get_current_arch (void); struct internalvar { struct internalvar *next; }; static struct internalvar *internalvars; struct internalvar * create_internalvar (const char *name) { struct internalvar *var =3D ((struct internalvar *) xmalloc (sizeof (stru= ct internalvar))); internalvars =3D var; } void show_convenience () { struct gdbarch *gdbarch =3D get_current_arch (); int varseen =3D 0; for (struct internalvar *var =3D internalvars; var; var =3D var->next) { if (!varseen) varseen =3D 1; sigjmp_buf *buf =3D exceptions_state_mc_init (); __sigsetjmp ( (*buf), 1); while (exceptions_state_mc_action_iter ()) while (exceptions_state_mc_action_iter ()) ; } if (!varseen) printf_unfiltered ( "" ); } >>From gcc-bugs-return-504071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 13:59:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127188 invoked by alias); 26 Nov 2015 13:59: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 127146 invoked by uid 48); 26 Nov 2015 13:59:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68555] [6 regression] gcc.dg/vect/bb-slp-10.c FAILs Date: Thu, 26 Nov 2015 13: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg02998.txt.bz2 Content-length: 891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68555 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-26 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Ah, that's expected now after my re-orgs /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/bb-slp-10.c:30:6: not= e: not vectorized: unsupported unaligned store.MEM[(unsigned int *)&out + 4B] /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/bb-slp-10.c:30:6: not= e: not vectorized: bad data alignment in basic block. >>From gcc-bugs-return-504072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:00:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129926 invoked by alias); 26 Nov 2015 14:00: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 128865 invoked by uid 48); 26 Nov 2015 14:00:40 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68557] New: Missed x86 peephole optimization for multiplying by a bool Date: Thu, 26 Nov 2015 14:00: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: 2015-11/txt/msg02999.txt.bz2 Content-length: 1036 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68557 Bug ID: 68557 Summary: Missed x86 peephole optimization for multiplying by a bool Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- On x86 the following code void bar (int x); void baz (int x, bool b) { bar (x * b); } is compiled to bar: movzbl %sil, %esi imull %esi, %edi jmp baz when it could instead be compiled to bar: movzbl %sil, %esi negl %esi andl %esi, %edi jmp baz On modern processors the "neg" and "and" instructions takes a minimum of one cycle each, whereas the "imul" instruction takes a minimum three cycles. So transforming "x * (int)b" to "x & -(int)b" would save one cycle in the best case. >>From gcc-bugs-return-504073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:02:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2923 invoked by alias); 26 Nov 2015 14:02: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 2865 invoked by uid 55); 26 Nov 2015 14:01:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68555] [6 regression] gcc.dg/vect/bb-slp-10.c FAILs Date: Thu, 26 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03000.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68555 --- Comment #2 from Richard Biener --- Author: rguenth Date: Thu Nov 26 14:01:26 2015 New Revision: 230963 URL: https://gcc.gnu.org/viewcvs?rev=3D230963&root=3Dgcc&view=3Drev Log: 2015-11-26 Richard Biener PR testsuite/68555 * gcc.dg/vect/bb-slp-10.c: Adjust pattern, use target selector and not XFAIL. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/bb-slp-10.c >>From gcc-bugs-return-504074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:08:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30128 invoked by alias); 26 Nov 2015 14:08: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 30064 invoked by uid 55); 26 Nov 2015 14:08:29 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67037] [4.9/5 Regression] Wrong code at -O1 and above on ARM Date: Thu, 26 Nov 2015 14: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: 4.9.3 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03001.txt.bz2 Content-length: 1010 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67037 --- Comment #8 from Bernd Edlinger --- Author: edlinger Date: Thu Nov 26 14:07:55 2015 New Revision: 230964 URL: https://gcc.gnu.org/viewcvs?rev=3D230964&root=3Dgcc&view=3Drev Log: 2015-11-26 Bernd Edlinger Backport from mainline 2015-09-30 Bernd Edlinger PR rtl-optimization/67037 * lra-constraints.c (process_addr_reg): Use copy_rtx when necessary. testsuite: 2015-11-26 Bernd Edlinger Backport from mainline 2015-09-30 Bernd Edlinger PR rtl-optimization/67037 * gcc.c-torture/execute/pr67037.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr67037.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/lra-constraints.c branches/gcc-5-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:12:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52076 invoked by alias); 26 Nov 2015 14:12: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 52026 invoked by uid 48); 26 Nov 2015 14:12:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68555] [6 regression] gcc.dg/vect/bb-slp-10.c FAILs Date: Thu, 26 Nov 2015 14:12: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: 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: 6.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: 2015-11/txt/msg03002.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68555 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener --- Fixed. >>From gcc-bugs-return-504076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:21:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87206 invoked by alias); 26 Nov 2015 14:21: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 86777 invoked by uid 48); 26 Nov 2015 14:21:26 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/66238] C/Fortran interoperability broken with -flto Date: Thu, 26 Nov 2015 14:21: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: 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: 2015-11/txt/msg03003.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66238 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dominique d'Humieres --- This PR has been fixed between revisions r230847 (FAIL) and r230925 (PASS), closing. >>From gcc-bugs-return-504078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:44:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36925 invoked by alias); 26 Nov 2015 14:44: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 36883 invoked by uid 48); 26 Nov 2015 14:44:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68558] Fails to SLP loop Date: Thu, 26 Nov 2015 14: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg03005.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68558 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-26 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >>From gcc-bugs-return-504077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:44:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36196 invoked by alias); 26 Nov 2015 14:44: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 36145 invoked by uid 48); 26 Nov 2015 14:44:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68558] New: Fails to SLP loop Date: Thu, 26 Nov 2015 14:44: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter blocked target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03004.txt.bz2 Content-length: 1846 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68558 Bug ID: 68558 Summary: Fails to SLP loop Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Blocks: 53947 Target Milestone: --- void IMB_double_fast_x (int *destf, int *dest, int y, int *p1f) { int i; for (i =3D y; i > 0; i--) { *dest++ =3D 0; destf[0] =3D p1f[0]; destf[1] =3D p1f[1]; destf[2] =3D p1f[2]; destf[3] =3D p1f[3]; destf[4] =3D p1f[8]; destf[5] =3D p1f[9]; destf[6] =3D p1f[10]; destf[7] =3D p1f[11]; destf +=3D 8; p1f +=3D 12; } } fails to SLP because of t.c:4:3: note: Detected interleaving store of size 8 starting with *destf_3= 7 =3D _13; t.c:4:3: note: Detected interleaving load of size 12 starting with _13 =3D *p1f_39; t.c:4:3: note: Data access with gaps requires scalar epilogue loop ... t.c:4:3: note: Build SLP failed: the number of interleaved loads is greater than the SLP group size _13 =3D *p1f_39; splitting the load group doesn't help because then we'll hit t.c:4:3: note: Build SLP failed: differen interleaving chains in one node splitting the store group to vector-size pieces would generally make sense but may have interesting effects on SLP discovery like w/o also splitting loads will hit the first issue above. The best fix would be to lift the above restrictions and let permutation support decide whether it can create the required loads or not. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-504079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:50:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47635 invoked by alias); 26 Nov 2015 14:50: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 47198 invoked by uid 48); 26 Nov 2015 14:50:34 -0000 From: "jgreenhalgh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68551] GCC 5.2 build broken on arm/rasbian Date: Thu, 26 Nov 2015 14: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jgreenhalgh 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: 2015-11/txt/msg03006.txt.bz2 Content-length: 944 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68551 James Greenhalgh changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |jgreenhalgh at gcc dot gnu= .org Resolution|--- |INVALID --- Comment #3 from James Greenhalgh --- Either the log file on the pastebin has been changed since this bug was ope= ned, or this bug has nothing to do with GCC? At the time I closed this bug as invalid the pastebin link said: fatal: unable to access 'https://git.infradead.org/mtd-utils.git/': SSL certificate problem: Invalid certificate chain make[3]: *** [/Volumes/OpenWrt/openwrt/dl/mtd-utils-1.5.1-92686f212c9a4e16891c6a3c57629c= bf4f0f8360.tar.gz] Error 128 >>From gcc-bugs-return-504080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:51:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50040 invoked by alias); 26 Nov 2015 14:51: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 50003 invoked by uid 48); 26 Nov 2015 14:51:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68557] Missed x86 peephole optimization for multiplying by a bool Date: Thu, 26 Nov 2015 14: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: 5.1.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 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: 2015-11/txt/msg03007.txt.bz2 Content-length: 1067 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68557 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-*-*, i?86-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- it's larger though (so not -Os). If 'b' is already available as condition = code then a conditonal move from zero would also work. So I wonder how to represent this on the GIMPLE level. _2 =3D COND_EXPR ; is a possibility and of course _2 =3D COND_EXPR ; _5 =3D x_4 & _2; or _3 =3D (int) b_2; _4 =3D -_3; // only if bool is unsigned _5 =3D x_6 & _4; the latter rely on the bool having only a the LSB set. >>From gcc-bugs-return-504081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 14:57:02 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67195 invoked by alias); 26 Nov 2015 14:57: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 66812 invoked by uid 55); 26 Nov 2015 14:56:58 -0000 From: "pmderodat at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/53927] wrong value for DW_AT_static_link Date: Thu, 26 Nov 2015 14: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.6.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pmderodat 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: 2015-11/txt/msg03008.txt.bz2 Content-length: 696 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53927 --- Comment #24 from pmderodat at gcc dot gnu.org --- Author: pmderodat Date: Thu Nov 26 14:56:24 2015 New Revision: 230968 URL: https://gcc.gnu.org/viewcvs?rev=3D230968&root=3Dgcc&view=3Drev Log: DWARF: fix loc. descr. generation for DW_AT_static_link gcc/ChangeLog: PR debug/53927 * tree-nested.c (finalize_nesting_tree_1): Append a field to hold the frame base address. * dwarf2out.c (gen_subprogram_die): Generate for DW_AT_static_link a location description that computes the value of this field. Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/tree-nested.c >>From gcc-bugs-return-504082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:09:05 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94482 invoked by alias); 26 Nov 2015 15:09: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 94439 invoked by uid 48); 26 Nov 2015 15:09:01 -0000 From: "chrbr at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123 Date: Thu, 26 Nov 2015 15:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chrbr at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 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: 2015-11/txt/msg03009.txt.bz2 Content-length: 712 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68368 chrbr at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |FIXED --- Comment #7 from chrbr at gcc dot gnu.org --- fixed @r230871 with: r230871 | jason | 2015-11-25 15:35:24 +0100 (Wed, 25 Nov 2015) | 6 lines PR c++/68385 * tree.c (integer_zerop, integer_onep, integer_each_onep) (integer_all_onesp, integer_minus_onep, integer_pow2p) (integer_nonzerop, integer_truep, tree_log2, tree_floor_log2) (real_zerop, real_onep, real_minus_onep): Remove STRIP_NOPS. >>From gcc-bugs-return-504083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:10:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98272 invoked by alias); 26 Nov 2015 15:10: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 98189 invoked by uid 48); 26 Nov 2015 15:10:52 -0000 From: "chrbr at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68368] [6 regression] ICE tree check: expected integer_cst, have nop_expr in decompose, at tree.h:5123 Date: Thu, 26 Nov 2015 15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chrbr at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 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: 2015-11/txt/msg03010.txt.bz2 Content-length: 393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68368 chrbr at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE --- Comment #8 from chrbr at gcc dot gnu.org --- *** This bug has been marked as a duplicate of bug 68385 *** >>From gcc-bugs-return-504084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:10:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98443 invoked by alias); 26 Nov 2015 15:10: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 98230 invoked by uid 48); 26 Nov 2015 15:10:53 -0000 From: "chrbr at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68385] [6 Regression] ICE building libstdc++ on arm-none-eabi Date: Thu, 26 Nov 2015 15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chrbr 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.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: 2015-11/txt/msg03011.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68385 --- Comment #5 from chrbr at gcc dot gnu.org --- *** Bug 68368 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-504085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:24:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1160 invoked by alias); 26 Nov 2015 15:24: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 1101 invoked by uid 48); 26 Nov 2015 15:24:37 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/51509] Inefficient neon intrinsic code sequence Date: Thu, 26 Nov 2015 15: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: 4.7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cbaylis 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: 2015-11/txt/msg03012.txt.bz2 Content-length: 1753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51509 Allan Jensen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linux at carewolf dot com --- Comment #6 from Allan Jensen --- I have run into a similar problem with vld3 and vst4. uint8x16x3_t tmp =3D vld3q_u8(src); vst4q_u8((uint8_t *)dst, {tmp.val[2], tmp.val[1], tmp.val[0], fullVector}); produces: 70: 4cdf4061 ld3 {v1.16b-v3.16b}, [x3], #48 74: 4e083c04 mov x4, v0.d[0] 78: 4e183c05 mov x5, v0.d[1] 7c: 6f000400 mvni v0.4s, #0x0 80: 4e083c4a mov x10, v2.d[0] 84: 4e183c4b mov x11, v2.d[1] 88: aa0403e2 mov x2, x4 8c: aa0503e1 mov x1, x5 90: 4e083c24 mov x4, v1.d[0] 94: 4e183c25 mov x5, v1.d[1] 98: a90007e2 stp x2, x1, [sp] 9c: 3d800fe0 str q0, [sp,#48] a0: a9012fea stp x10, x11, [sp,#16] a4: aa0403e6 mov x6, x4 a8: a90217e6 stp x6, x5, [sp,#32] ac: 4c4023e0 ld1 {v0.16b-v3.16b}, [sp] b0: 4c9f0000 st4 {v0.16b-v3.16b}, [x0], #64 But if I add -fno-split-wide-types it compiles to: 68: 4cdf4064 ld3 {v4.16b-v6.16b}, [x3], #48 6c: 4f000400 movi v0.4s, #0x0 70: 6f000403 mvni v3.4s, #0x0 74: 4ea51ca1 mov v1.16b, v5.16b 78: 4ea41c82 mov v2.16b, v4.16b 7c: 4c9f0000 st4 {v0.16b-v3.16b}, [x0], #64 This happens with both 4.9 and 5.1 that I have tried. >>From gcc-bugs-return-504087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:34:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34270 invoked by alias); 26 Nov 2015 15:34: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 34211 invoked by uid 48); 26 Nov 2015 15:34:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68559] Excessive peeling for gaps Date: Thu, 26 Nov 2015 15:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2015-11/txt/msg03014.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68559 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-26 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >>From gcc-bugs-return-504086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:34:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33392 invoked by alias); 26 Nov 2015 15:34: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 33333 invoked by uid 48); 26 Nov 2015 15:34:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68559] New: Excessive peeling for gaps Date: Thu, 26 Nov 2015 15:34: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter blocked target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03013.txt.bz2 Content-length: 2051 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68559 Bug ID: 68559 Summary: Excessive peeling for gaps Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Blocks: 53947 Target Milestone: --- With N =3D=3D 20 gcc.dg/vect/pr45752.c only contains the peeling-for-gap co= py because of the following premature check which doesn't consider the group being vectorized using SLP (or three-element interleaving). SLP will never require gap peeling for exact_log2 (groupsize) =3D=3D -1 and three-element interleaving neither. The LOOP_VINFO_PEELING_FOR_GAPS analysis should be postponed (apart from the single-element interleaving case). static bool vect_analyze_group_access_1 (struct data_reference *dr) { ... /* If there is a gap in the end of the group or the group size cannot be made a multiple of the vector element count then we access exce= ss elements in the last iteration and thus need to peel that off. */ if (loop_vinfo && (groupsize - last_accessed_element > 0 || exact_log2 (groupsize) =3D=3D -1)) { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, "Data access with gaps requires scalar " "epilogue loop\n"); if (loop->inner) { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, "Peeling for outer loop is not supported\n= "); return false; } LOOP_VINFO_PEELING_FOR_GAPS (loop_vinfo) =3D true; Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-504088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:38:48 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41860 invoked by alias); 26 Nov 2015 15:38:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41821 invoked by uid 48); 26 Nov 2015 15:38:44 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68560] New: [6 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto Date: Thu, 26 Nov 2015 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.0 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 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: 2015-11/txt/msg03015.txt.bz2 Content-length: 1197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68560 Bug ID: 68560 Summary: [6 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: hubicka at gcc dot gnu.org Target Milestone: --- The test gfortran.dg/shape_8.f90 now (between r230703 and r230726) fails wh= en compiled with -flto /opt/gcc/_clean/gcc/testsuite/gfortran.dg/shape_8.f90:10:0: warning: type of '_gfortran_shape_4' does not match original declaration [-Wlto-type-mismatc= h] if (any(shape(x) /=3D [ 2, 5 ])) call abort /opt/gcc/_clean/gcc/testsuite/gfortran.dg/shape_8.f90:13:0: note: type mism= atch in parameter 3 if (any(shape(x,kind=3D4) /=3D [ 2, 5 ])) call abort /opt/gcc/_clean/gcc/testsuite/gfortran.dg/shape_8.f90:13:0: note: '_gfortran_shape_4' was previously declared here i.e., the 'kind' argument is not understood as optional (it could be relate= d to pr46846). >>From gcc-bugs-return-504089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:39:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44128 invoked by alias); 26 Nov 2015 15: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 44063 invoked by uid 48); 26 Nov 2015 15:39:47 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/68560] [6 Regression] The test gfortran.dg/shape_8.f90 now fails when compiled with -flto Date: Thu, 26 Nov 2015 15: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: 6.0 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: 2015-11/txt/msg03016.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68560 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 Ever confirmed|0 |1 >>From gcc-bugs-return-504090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:42:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53287 invoked by alias); 26 Nov 2015 15:42: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 53221 invoked by uid 48); 26 Nov 2015 15:42:33 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68357] [6 Regression] FAIL: g++.dg/other/darwin-cfstring1.C -std=* (internal compiler error) on x86_64-apple-darwin1(0|4) Date: Thu, 26 Nov 2015 15: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: 6.0 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: 6.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: 2015-11/txt/msg03017.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68357 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dominique d'Humieres --- It seems to have been fixed between revisions r230734 (FAIL) and r230777 (PASS), closing. >>From gcc-bugs-return-504091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 15:58:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74438 invoked by alias); 26 Nov 2015 15:58: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 74113 invoked by uid 48); 26 Nov 2015 15:58:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68552] [5/6 Regression]: ICE in in expand_expr_real_2 with -O2 -ftree-vectorize Date: Thu, 26 Nov 2015 15: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: 6.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: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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: 2015-11/txt/msg03018.txt.bz2 Content-length: 757 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68552 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Target Milestone|6.0 |5.3 Summary|[6 Regression]: ICE in in |[5/6 Regression]: ICE in in |expand_expr_real_2 with -O2 |expand_expr_real_2 with -O2 |-ftree-vectorize |-ftree-vectorize --- Comment #2 from Jakub Jelinek --- Ugh. Then it is 5/6 Regression though. >>From gcc-bugs-return-504092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:02:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96501 invoked by alias); 26 Nov 2015 16:02:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96444 invoked by uid 48); 26 Nov 2015 16:02:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68552] [5/6 Regression]: ICE in in expand_expr_real_2 with -O2 -ftree-vectorize Date: Thu, 26 Nov 2015 16: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: 6.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: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg03019.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68552 --- Comment #3 from Jakub Jelinek --- Created attachment 36847 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36847&action=3Dedit gcc6-pr68552.patch Untested fix. The issue was that the VEC_PERM expansion through vec_shr op= tab was misplaced, thus it was done only when vec_perm*optab were non-zero for = the particular mode, and Alpha has no permutations, just the whole vector shift= s. >>From gcc-bugs-return-504093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:11:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127118 invoked by alias); 26 Nov 2015 16: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 126558 invoked by uid 48); 26 Nov 2015 16:10:55 -0000 From: "EngyCZ at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/68029] Strange behavior of -fdiagnostics-color option Date: Thu, 26 Nov 2015 16:11: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: EngyCZ 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: 2015-11/txt/msg03020.txt.bz2 Content-length: 176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68029 --- Comment #10 from Ji=C5=99=C3=AD Engelthaler -= -- Will this bug be resolved in 6.0 release? >>From gcc-bugs-return-504094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:12:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1667 invoked by alias); 26 Nov 2015 16:12: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 129718 invoked by uid 48); 26 Nov 2015 16:12:27 -0000 From: "ysrumyan at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68542] [6 Regression] 10% 481.wrf performance regression Date: Thu, 26 Nov 2015 16:12: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ysrumyan 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: 6.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: 2015-11/txt/msg03021.txt.bz2 Content-length: 341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68542 --- Comment #3 from Yuri Rumyantsev --- I enhanced a patch for masked stores movement by guard on zero mask - move = all possible producers for stored value and performance degradation disappeared. the patch will be re-designed and send for review next week. >>From gcc-bugs-return-504095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:18:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13448 invoked by alias); 26 Nov 2015 16:18: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 13191 invoked by uid 48); 26 Nov 2015 16:18:28 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68561] New: An improvement for VRP Date: Thu, 26 Nov 2015 16:18: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03022.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68561 Bug ID: 68561 Summary: An improvement for VRP Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- As mentioned here , it would be nice to implement get_integer_range () function that handles symbolical ranges better. >>From gcc-bugs-return-504096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:18:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14481 invoked by alias); 26 Nov 2015 16:18: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 14447 invoked by uid 48); 26 Nov 2015 16:18:48 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68561] An improvement for VRP Date: Thu, 26 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03023.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68561 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2015-11-26 Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-504097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:31:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84233 invoked by alias); 26 Nov 2015 16:31: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 84199 invoked by uid 48); 26 Nov 2015 16:31:12 -0000 From: "aurelien at aurel32 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips Date: Thu, 26 Nov 2015 16: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 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: 5.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: 2015-11/txt/msg03024.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68302 --- Comment #4 from Aurelien Jarno --- The bisection shows that this commit has fixed the issue on trunk: 2015-07-23 Richard Biener PR middle-end/66916 * match.pd: Guard widen and sign-change comparison simplification with single_use. That said, it just seems to be a side effect of this commit and not a fix f= or the original issue. >>From gcc-bugs-return-504098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:33:20 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89088 invoked by alias); 26 Nov 2015 16:33:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88983 invoked by uid 48); 26 Nov 2015 16:33:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68250] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (in 64-bit mode) Date: Thu, 26 Nov 2015 16:33: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: 6.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: 6.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: 2015-11/txt/msg03025.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68250 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- But this got fixed with r230795, so maybe yet another dup of the -free issu= e? >>From gcc-bugs-return-504099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:35:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86238 invoked by alias); 26 Nov 2015 16:35:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70211 invoked by uid 48); 26 Nov 2015 16:35:31 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/68562] New: config/i386/morestack.S misaligns stack on x86_64 Date: Thu, 26 Nov 2015 16:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg03026.txt.bz2 Content-length: 7733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68562 Bug ID: 68562 Summary: config/i386/morestack.S misaligns stack on x86_64 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: ian at gcc dot gnu.org Target Milestone: --- markus@x4 tmp % gdb --args /lib/ld-2.22.90.so =3Dgo Reading symbols from /lib/ld-2.22.90.so...done. (gdb) run Starting program: /lib64/ld-2.22.90.so /usr/x86_64-pc-linux-gnu/gcc-bin/6.0.0/go [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. _dl_lookup_symbol_x (undef_name=3D0x7ffff6e28038 "__tls_get_addr", undef_map=3D0x7ffff7ffa5d8, ref=3Dref@entry=3D0x7fffffffe310, symbol_scope=3D0x7ffff7ffa930,=20 version=3D0x7ffff64c32d0, type_class=3Dtype_class@entry=3D1, flags=3D1, skip_map=3D0x0) at dl-lookup.c:809 809 struct sym_val current_value =3D { NULL, NULL }; (gdb) bt #0 _dl_lookup_symbol_x (undef_name=3D0x7ffff6e28038 "__tls_get_addr", undef_map=3D0x7ffff7ffa5d8, ref=3Dref@entry=3D0x7fffffffe310, symbol_scope=3D0x7ffff7ffa930,=20 version=3D0x7ffff64c32d0, type_class=3Dtype_class@entry=3D1, flags=3D1, skip_map=3D0x0) at dl-lookup.c:809 #1 0x0000555555564413 in _dl_fixup (l=3D, reloc_arg=3D) at ../elf/dl-runtime.c:111 #2 0x000055555556ce1f in _dl_runtime_resolve_sse () at ../sysdeps/x86_64/dl-trampoline.h:112 #3 0x00007ffff79a35e7 in __generic_morestack_set_initial_sp (sp=3D0x7fffffffe600, len=3D16000) at ../../../gcc/libgcc/generic-morestack= .c:508 #4 0x00007ffff79a4d37 in __stack_split_initialize () at ../../../gcc/libgcc/config/i386/morestack.S:752 #5 0x0000555555565112 in call_init (l=3D, argc=3Dargc@entry= =3D1, argv=3Dargv@entry=3D0x7fffffffe510, env=3Denv@entry=3D0x7fffffffe520) at dl= -init.c:72 #6 0x0000555555565345 in call_init (env=3D0x7fffffffe520, argv=3D0x7ffffff= fe510, argc=3D1, l=3D) at dl-init.c:30 #7 _dl_init (main_map=3D0x55555577c158, argc=3D1, argv=3D0x7fffffffe510, env=3D0x7fffffffe520) at dl-init.c:120 #8 0x0000555555554c7a in _dl_start_user () from /lib64/ld-2.22.90.so #9 0x0000000000000002 in ?? () #10 0x0000000000000001 in ?? () #11 0x00007fffffffe86c in ?? () #12 0x0000000000000000 in ?? () (gdb) disass Dump of assembler code for function _dl_lookup_symbol_x: 0x000055555555e8a0 <+0>: push %rbp 0x000055555555e8a1 <+1>: mov %rsp,%rbp 0x000055555555e8a4 <+4>: push %r15 0x000055555555e8a6 <+6>: push %r14 0x000055555555e8a8 <+8>: push %r13 0x000055555555e8aa <+10>: push %r12 0x000055555555e8ac <+12>: mov %rdx,%r15 0x000055555555e8af <+15>: push %rbx 0x000055555555e8b0 <+16>: mov %rsi,%r14 0x000055555555e8b3 <+19>: mov %r8,%r12 0x000055555555e8b6 <+22>: sub $0xc8,%rsp 0x000055555555e8bd <+29>: movzbl (%rdi),%edx 0x000055555555e8c0 <+32>: mov %rdi,-0xa8(%rbp) 0x000055555555e8c7 <+39>: mov %rcx,-0xd0(%rbp) 0x000055555555e8ce <+46>: mov %r9d,-0xbc(%rbp) 0x000055555555e8d5 <+53>: mov 0x18(%rbp),%r13 0x000055555555e8d9 <+57>: test %dl,%dl 0x000055555555e8db <+59>: je 0x55555555ec01 <_dl_lookup_symbol_x+= 865> 0x000055555555e8e1 <+65>: mov %rdi,%rcx 0x000055555555e8e4 <+68>: mov $0x1505,%eax 0x000055555555e8e9 <+73>: nopl (%rax) 0x000055555555e8ec <+76>: nopw %cs:0x0(%rax,%rax,1) 0x000055555555e8f6 <+86>: nopw %cs:0x0(%rax,%rax,1) 0x000055555555e900 <+96>: mov %rax,%rsi 0x000055555555e903 <+99>: inc %rcx 0x000055555555e906 <+102>: shl $0x5,%rsi 0x000055555555e90a <+106>: add %rsi,%rax 0x000055555555e90d <+109>: add %rdx,%rax 0x000055555555e910 <+112>: movzbl (%rcx),%edx 0x000055555555e913 <+115>: test %dl,%dl 0x000055555555e915 <+117>: jne 0x55555555e900 <_dl_lookup_symbol_x+= 96> 0x000055555555e917 <+119>: mov %eax,%eax 0x000055555555e919 <+121>: mov %rax,-0xb0(%rbp) 0x000055555555e920 <+128>: pxor %xmm0,%xmm0 0x000055555555e924 <+132>: mov $0xffffffff,%eax 0x000055555555e929 <+137>: incq 0x21d048(%rip) # 0x55555577b9= 78 <_rtld_local+2424> 0x000055555555e930 <+144>: test %r12,%r12 0x000055555555e933 <+147>: mov %rax,-0xa0(%rbp) =3D> 0x000055555555e93a <+154>: movaps %xmm0,-0x90(%rbp) ... (gdb) info registers=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 rax 0xffffffff 4294967295 rbx 0x7ffff7b78d58 140737349389656 rcx 0x7ffff6e28046 140737335427142 rdx 0x0 0 rsi 0x48fd0643617edba0 5259366826306886560 rdi 0x7ffff6e28038 140737335427128 rbp 0x7fffffffe2e8 0x7fffffffe2e8 rsp 0x7fffffffe1f8 0x7fffffffe1f8 r8 0x7ffff64c32d0 140737325576912 r9 0x1 1 r10 0x7ffff7ffa5d8 140737354114520 r11 0x7fffffffe41c 140737488348188 r12 0x7ffff64c32d0 140737325576912 r13 0x0 0 r14 0x7ffff7ffa5d8 140737354114520 r15 0x7fffffffe310 140737488347920 rip 0x55555555e93a 0x55555555e93a <_dl_lookup_symbol_x+154> eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (0x7fffffffe1f8 + 0xc8) % 16 =3D=3D 0 (instead of correct 8) =46rom config/i386/morestack.S: 745 #else /* defined(__x86_64__) */=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 746=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 747 leaq -16000(%rsp),%rax # We should have at least 16K.=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 748 X86_64_SAVE_NEW_STACK_BOUNDARY (ax)=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 749 movq %rsp,%rdi=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 750 movq $16000,%rsi=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 751 #ifdef __PIC__=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 752 call __generic_morestack_set_initial_sp@PLT=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 753 #else=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 754 call __generic_morestack_set_initial_sp=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 755 #endif >>From gcc-bugs-return-504100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:43:13 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95083 invoked by alias); 26 Nov 2015 16:43: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 95048 invoked by uid 48); 26 Nov 2015 16:43:09 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68552] [5/6 Regression]: ICE in in expand_expr_real_2 with -O2 -ftree-vectorize Date: Thu, 26 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2015-11/txt/msg03027.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68552 --- Comment #4 from Uro=C5=A1 Bizjak --- (In reply to Jakub Jelinek from comment #3) > Created attachment 36847 [details] > gcc6-pr68552.patch I have started a bootstrap + regtest with the above patch on alpha-linux-gnu native, please expect results in ~10 hours. >>From gcc-bugs-return-504101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:49:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106762 invoked by alias); 26 Nov 2015 16:49: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 106721 invoked by uid 48); 26 Nov 2015 16:49:15 -0000 From: "torvald at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libitm/66453] In a deadlock libitm allocates all available RAM until oom is called Date: Thu, 26 Nov 2015 16:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libitm X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: torvald 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 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: 2015-11/txt/msg03028.txt.bz2 Content-length: 897 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66453 torvald at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |torvald at gcc dot gnu.org --- Comment #1 from torvald at gcc dot gnu.org --- Created attachment 36848 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36848&action=3Dedit test case of original bug report I can't reproduce this with the attached test case with current trunl. The only difference to your test case is that the non-synchronization while loo= p is technically undefined behavior, and to try to prevent this, I added the hack that prevents the loop from being optimized out. Please test again, and re= open the bug if you still see the OOM situation, ideally with more data on your = test environment. >>From gcc-bugs-return-504102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:50:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109366 invoked by alias); 26 Nov 2015 16: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 109339 invoked by uid 48); 26 Nov 2015 16:50:22 -0000 From: "torvald at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libitm/66453] In a deadlock libitm allocates all available RAM until oom is called Date: Thu, 26 Nov 2015 16:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libitm X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: torvald 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: 2015-11/txt/msg03029.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66453 torvald at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from torvald at gcc dot gnu.org --- Can't reproduce, so close this for now. >>From gcc-bugs-return-504103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:51:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123968 invoked by alias); 26 Nov 2015 16:50: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 123945 invoked by uid 48); 26 Nov 2015 16:50:56 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/68563] New: LTO bootstrap fails on aarch64-linux-gnu Date: Thu, 26 Nov 2015 16: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: 6.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_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: 2015-11/txt/msg03030.txt.bz2 Content-length: 2889 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68563 Bug ID: 68563 Summary: LTO bootstrap fails on aarch64-linux-gnu Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Target: aarch64-linux-gnu An aarch64-none-linux-gnu native LTO bootstrap fails for me. configure line is --enable-languages=3Dc,c++,fortran --with-build-config=3Dbootstrap-lto. I'm seeing a number of -Werror=3Dlto-type-mismatch failures in libdecnumber, including: $SRC/libdecnumber/dpd/decimal32.c:53:0: error: type of =E2=80=98decDigitsFr= omDPD=E2=80=99 does not match original declaration [-Werror=3Dlto-type-mismatch] extern void decDigitsFromDPD(decNumber *, const uInt *, Int); $SRC/libdecnumber/dpd/decimal128.c:52:0: error: type of =E2=80=98decDigitsF= romDPD=E2=80=99 does not match original declaration [-Werror=3Dlto-type-mismatch] extern void decDigitsFromDPD(decNumber *, const uInt *, Int); $SRC/libdecnumber/dpd/decimal64.c:741:0: note: =E2=80=98decDigitsFromDPD=E2= =80=99 was previously declared here void decDigitsFromDPD(decNumber *dn, const uInt *sour, Int declets) { $SRC/libdecnumber/dpd/decimal64.c:741:0: note: code may be misoptimized unl= ess -fno-strict-aliasing is used $SRC/libdecnumber/dpd/decimal32.c:52:0: error: type of =E2=80=98decDigitsTo= DPD=E2=80=99 does not match original declaration [-Werror=3Dlto-type-mismatch] extern void decDigitsToDPD(const decNumber *, uInt *, Int); $SRC/libdecnumber/dpd/decimal128.c:53:0: error: type of =E2=80=98decDigitsT= oDPD=E2=80=99 does not match original declaration [-Werror=3Dlto-type-mismatch] extern void decDigitsToDPD(const decNumber *, uInt *, Int); $SRC/libdecnumber/dpd/decimal64.c:615:0: note: =E2=80=98decDigitsToDPD=E2= =80=99 was previously declared here void decDigitsToDPD(const decNumber *dn, uInt *targ, Int shift) { $SRC/libdecnumber/dpd/decimal64.c:615:0: note: code may be misoptimized unl= ess -fno-strict-aliasing is used $SRC/libdecnumber/decNumber.h:150:0: error: type of =E2=80=98decNumberPlus= =E2=80=99 does not match original declaration [-Werror=3Dlto-type-mismatch] decNumber * decNumberPlus(decNumber *, const decNumber *, decContext *); $SRC/libdecnumber/decNumber.h:150:0: error: type of =E2=80=98decNumberPlus= =E2=80=99 does not match original declaration [-Werror=3Dlto-type-mismatch] decNumber * decNumberPlus(decNumber *, const decNumber *, decContext *); $SRC/libdecnumber/decNumber.h:150:0: error: type of =E2=80=98decNumberPlus= =E2=80=99 does not match original declaration [-Werror=3Dlto-type-mismatch] decNumber * decNumberPlus(decNumber *, const decNumber *, decContext *); >>From gcc-bugs-return-504104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 16:58:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23796 invoked by alias); 26 Nov 2015 16:58: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 23742 invoked by uid 48); 26 Nov 2015 16:58:22 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68290] g++.dg/concepts/auto1.C FAILs Date: Thu, 26 Nov 2015 16:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 6.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: 2015-11/txt/msg03031.txt.bz2 Content-length: 2356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68290 --- Comment #5 from Eric Botcazou --- > This issue is host-dependent, it doesn't reproduce with a cross to 64-bit > SPARC. >=20 > The problematic types are: >=20 > (gdb) p debug_tree(t1) > align 8 symtab 0 alias set -1 canonical type fb4ccae0 > index 0 level 1 orig_level 1 > chain > >=20 > (gdb) p debug_tree(t2) > align 8 symtab 0 alias set -1 canonical type fb4cd0e0 > index 0 level 1 orig_level 1 > chain > >=20 > and they compare equal according to structural_comptypes but have distinct > TYPE_CANONICAL (themselves actually). IIUC that's the bug: being equivalent as per structural_comptypes, they rea= lly should have the same TYPE_CANONICAL. The problem then comes from: /* Make a "constrained auto" type-specifier. This is an auto type with constraints that must be associated after deduction. The constraint is formed from the given CONC and its optional sequence of arguments, which are non-null if written as partial-concept-id. */ tree make_constrained_auto (tree con, tree args) { tree type =3D make_auto(); /* Build the constraint. */ tree tmpl =3D DECL_TI_TEMPLATE (con); tree expr; if (VAR_P (con)) expr =3D build_concept_check (tmpl, type, args); else expr =3D build_concept_check (build_overload (tmpl, NULL_TREE), type, a= rgs); tree constr =3D make_predicate_constraint (expr); PLACEHOLDER_TYPE_CONSTRAINTS (type) =3D constr; /* Attach the constraint to the type declaration. */ tree decl =3D TYPE_NAME (type); return decl; } The call to make_auto (make_auto_1) creates them with their TYPE_CANONICAL = set by means of canonical_type_parameter. Now canonical_type_parameter calls structural_comptypes, which calls equivalent_placeholder_constraints, which looks at the PLACEHOLDER_TYPE_CONSTRAINTS... which are not yet set above. IOW, the first call to structural_comptypes on them returns false so the TYPE_CANONICAL of the second one is not set to the first one, then the PLACEHOLDER_TYPE_CONSTRAINTS of the second one is set so the second call to structural_comptypes on them returns true, leading to the checking failure. >>From gcc-bugs-return-504105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 17:09:21 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59942 invoked by alias); 26 Nov 2015 17:09: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 59904 invoked by uid 48); 26 Nov 2015 17:09:17 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/68029] Strange behavior of -fdiagnostics-color option Date: Thu, 26 Nov 2015 17:09: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu 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: 2015-11/txt/msg03032.txt.bz2 Content-length: 371 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68029 --- Comment #11 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Ji=C5=99=C3=AD Engelthaler from comment #10) > Will this bug be resolved in 6.0 release? Could you submit your patch to gcc-patches@gcc.gnu.org? See https://gcc.gnu.org/ml/gcc-patches/2015-11/ for how people do it. >>From gcc-bugs-return-504106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 17:11:42 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63840 invoked by alias); 26 Nov 2015 17:11: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 63786 invoked by uid 48); 26 Nov 2015 17:11:39 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68453] [6 Regression] graphite ICE: segfault Date: Thu, 26 Nov 2015 17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03033.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68453 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Sebastian Pop --- fixed in r230918 >>From gcc-bugs-return-504107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 17:15:36 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77162 invoked by alias); 26 Nov 2015 17:15: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 77103 invoked by uid 48); 26 Nov 2015 17:15:31 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68453] [6 Regression] graphite ICE: segfault Date: Thu, 26 Nov 2015 17:15: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: Joost.VandeVondele at mat dot ethz.ch X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: spop at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03034.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68453 --- Comment #5 from Joost VandeVondele --- (In reply to Sebastian Pop from comment #4) > fixed in r230918 Thanks! I think if you make the changelog part of the commit message (in particular= the line containing PR tree-optimization/68453) an entry should appear automatically in bugzilla (or else I don't quite know why this doesn't happ= en in your case, but normally it does). >>From gcc-bugs-return-504108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 17:43:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8385 invoked by alias); 26 Nov 2015 17:43: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 8340 invoked by uid 48); 26 Nov 2015 17:43:34 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/67289] ICE in ipa-devirt.c Date: Thu, 26 Nov 2015 17:43: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: 2015-11/txt/msg03035.txt.bz2 Content-length: 310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67289 --- Comment #5 from Jan Hubicka --- Created attachment 36849 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36849&action=3Dedit testcase Compile with g++ -O2 -flto -g -fPIC -std=3Dgnu++0x -march=3Dbdver1c testcase.ii >>From gcc-bugs-return-504109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 17:49:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14703 invoked by alias); 26 Nov 2015 17: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 14650 invoked by uid 48); 26 Nov 2015 17:49:43 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 17: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.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03036.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 --- Comment #5 from Martin Sebor --- (In reply to Eric Botcazou from comment #1) The nsdmi-union6.C test failed after some of my (local) changes to the C++ implementation of flexible array members and I was able to trigger the fail= ure with an unmodified GCC and the modified test case in the description. (I wasn't actively looking for a way to break things.) >>From gcc-bugs-return-504110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 18:01:26 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31304 invoked by alias); 26 Nov 2015 18:01: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 30794 invoked by uid 48); 26 Nov 2015 18:01:21 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67876] [6 Regression] ICE when compiling Firefox 38 Date: Thu, 26 Nov 2015 18: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03037.txt.bz2 Content-length: 315 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67876 --- Comment #9 from Martin Sebor --- (In reply to Andreas Schwab from comment #8) > FAIL: g++.dg/pr67876.C -std=3Dc++11 (test for excess errors) I inadvertently patched in the same test twice. It should be fixed now with r230980. >>From gcc-bugs-return-504111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 18:14:49 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80461 invoked by alias); 26 Nov 2015 18:14: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 80420 invoked by uid 48); 26 Nov 2015 18:14:45 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/68562] morestack misaligns stack on x86_64 Date: Thu, 26 Nov 2015 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 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: 2015-11/txt/msg03038.txt.bz2 Content-length: 2163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68562 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|config/i386/morestack.S |morestack misaligns stack |misaligns stack on x86_64 |on x86_64 --- Comment #1 from Markus Trippelsdorf --- Actually I think the misalignment starts here: libgcc/generic-morestack.c: 495 void=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 496 __generic_morestack_set_initial_sp (void *sp, size_t len)=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 497 {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 498 /* The stack pointer most likely starts on a page boundary. Adjus= t=20=20=20=20 499 to the nearest 512 byte boundary. It's not essential that we b= e=20=20=20=20 500 precise here; getting it wrong will just leave some stack space= =20=20=20=20=20 501 unused. */=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 502 #ifdef __LIBGCC_STACK_GROWS_DOWNWARD__=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 503 sp =3D (void *) ((((__UINTPTR_TYPE__) sp + 511U) / 512U) * 512U);= =20=20=20=20=20=20=20=20 504 #else=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 505 sp =3D (void *) ((((__UINTPTR_TYPE__) sp - 511U) / 512U) * 512U);= =20=20=20=20=20=20=20=20 506 #endif >>From gcc-bugs-return-504112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 18:36:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48374 invoked by alias); 26 Nov 2015 18: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 48311 invoked by uid 48); 26 Nov 2015 18:36:13 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67238] [C++11][C++14]cc1plus crash for nested decltype expression in parameter pack in trailing return type when '-g' enabled Date: Thu, 26 Nov 2015 18: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: 5.2.0 X-Bugzilla-Keywords: 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: 2015-11/txt/msg03039.txt.bz2 Content-length: 185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67238 --- Comment #2 from Paolo Carlini --- Let's add the testcase and close the bug as fixed for 6.0. >>From gcc-bugs-return-504114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 18:44:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80479 invoked by alias); 26 Nov 2015 18:44: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 80435 invoked by uid 48); 26 Nov 2015 18:44:48 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67238] [C++11][C++14]cc1plus crash for nested decltype expression in parameter pack in trailing return type when '-g' enabled Date: Thu, 26 Nov 2015 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: 5.2.0 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: 6.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: 2015-11/txt/msg03041.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67238 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |6.0 --- Comment #4 from Paolo Carlini --- Done. >>From gcc-bugs-return-504113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 18:44:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79645 invoked by alias); 26 Nov 2015 18:44: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 79321 invoked by uid 55); 26 Nov 2015 18:44:20 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67238] [C++11][C++14]cc1plus crash for nested decltype expression in parameter pack in trailing return type when '-g' enabled Date: Thu, 26 Nov 2015 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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo 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: 2015-11/txt/msg03040.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67238 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Nov 26 18:43:47 2015 New Revision: 230981 URL: https://gcc.gnu.org/viewcvs?rev=3D230981&root=3Dgcc&view=3Drev Log: 2015-11-26 Paolo Carlini PR c++/67238 * g++.dg/cpp0x/pr67238.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr67238.C Modified: trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-504115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 18:49:32 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84246 invoked by alias); 26 Nov 2015 18: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 84202 invoked by uid 48); 26 Nov 2015 18:49:25 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/68564] New: ada fails to bootstrap on sparc64-linux-gnu Date: Thu, 26 Nov 2015 18:49: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: 2015-11/txt/msg03042.txt.bz2 Content-length: 1655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68564 Bug ID: 68564 Summary: ada fails to bootstrap on sparc64-linux-gnu Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- trying to cross-build sparc64-linux-gnu ada with the gcc-5-branch 20151125 = on a x86_64-linux-gnu host, I get a build error building gnatlib /scratch/packages/cross/5/p/gcc-5-cross-ports-1/gcc/build/./gcc/xgcc -B/scratch/packages/cross/5/p/gcc-5-cross-ports-1/gcc/build/./gcc/ -B/usr/sparc64-linux-gnu/bin/ -B/usr/sparc64-linux-gnu/lib/ -isystem /usr/sparc64-linux-gnu/include -isystem /usr/sparc64-linux-gnu/sys-include -isystem /scratch/packages/cross/5/p/gcc-5-cross-ports-1/gcc/build/sys-incl= ude=20 -c -g -O2 -W -Wall -gnatpg -nostdinc a-cfinve.adb -o a-cfinve.o a-cfinve.ads:240:04: warning: in instantiation at a-coboho.adb:47 a-cfinve.ads:240:04: warning: types for unchecked conversion have different sizes ../gcc-interface/Makefile:321: recipe for target 'a-cfinve.o' failed make[8]: *** [a-cfinve.o] Error 1 make[8]: Leaving directory '/scratch/packages/cross/5/p/gcc-5-cross-ports-1/gcc/build/gcc/ada/rts' gcc-interface/Makefile:2667: recipe for target 'gnatlib' failed make[7]: *** [gnatlib] Error 2 make[7]: Leaving directory '/scratch/packages/cross/5/p/gcc-5-cross-ports-1/gcc/build/gcc/ada' gcc-interface/Makefile:2744: recipe for target 'gnatlib-shared-dual' failed make[6]: *** [gnatlib-shared-dual] Error 2 >>From gcc-bugs-return-504116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 18:50:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89932 invoked by alias); 26 Nov 2015 18:50: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 89892 invoked by uid 48); 26 Nov 2015 18:50:54 -0000 From: "andreast at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libffi/65726] [5/6 Regression] libffi fails to build when not bootstrapping: configure: error: C++ preprocessor "/lib/cpp" fails sanity check Date: Thu, 26 Nov 2015 18:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libffi X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andreast at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: andreast at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 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: 2015-11/txt/msg03043.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65726 Andreas Tobler changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED Last reconfirmed|2015-04-09 00:00:00 |2015-11-26 --- Comment #7 from Andreas Tobler --- Here the proposed patch: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03289.html >>From gcc-bugs-return-504117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 19:41:31 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19378 invoked by alias); 26 Nov 2015 19:41: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 19324 invoked by uid 48); 26 Nov 2015 19:41:27 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 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: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03044.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 --- Comment #6 from Eric Botcazou --- > The nsdmi-union6.C test failed after some of my (local) changes to the C++ > implementation of flexible array members and I was able to trigger the > failure with an unmodified GCC and the modified test case in the > description. (I wasn't actively looking for a way to break things.) OK, but how come you used -fdump-ada-spec on it? >>From gcc-bugs-return-504118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:05:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71506 invoked by alias); 26 Nov 2015 20:05: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 71462 invoked by uid 48); 26 Nov 2015 20:05:09 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68565] New: [6 Regression] graphite : -O2 -floop-nest-optimize miscompile Date: Thu, 26 Nov 2015 20:05: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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: 2015-11/txt/msg03045.txt.bz2 Content-length: 2365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68565 Bug ID: 68565 Summary: [6 Regression] graphite : -O2 -floop-nest-optimize miscompile Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- current trunk lead to wrong code for the following testcase if -floop-nest-optimize is used: > cat test.f90 MODULE test IMPLICIT NONE TYPE subset_type INTEGER :: ncon_tot REAL(KIND=3D8),DIMENSION(:,:),ALLOCATABLE :: coeff END TYPE CONTAINS SUBROUTINE foo(subset) TYPE(subset_type) :: subset INTEGER :: icon1 DO icon1=3D1,subset%ncon_tot subset%coeff(:,icon1)=3Dsubset%coeff(:,icon1)/& SQRT(DOT_PRODUCT(subset%coeff(:,icon1),subset%coeff(:,icon1))) END DO END SUBROUTINE END MODULE USE test TYPE(subset_type) :: subset INTEGER, VOLATILE :: n1=3D7,n2=3D4 ALLOCATE(subset%coeff(n1,n2)) CALL RANDOM_NUMBER(subset%coeff) subset%coeff=3Dsubset%coeff-0.5 subset%ncon_tot=3Dn2 CALL foo(subset) WRITE(6,*) MAXVAL(subset%coeff) END > gfortran -g -O2 -floop-nest-optimize test.f90 && ./a.out Program received signal SIGFPE: Floating-point exception - erroneous arithm= etic operation. Backtrace for this error: #0 0x302a43269f in ??? #1 0x40095a in __test_MOD_foo at /data/vjoost/gnu/bugs/test.f90:13 #2 0x400bb8 in MAIN__ at /data/vjoost/gnu/bugs/test.f90:25 #3 0x4007dc in main at /data/vjoost/gnu/bugs/test.f90:18 Floating point exception > gfortran -g -O2 test.f90 && ./a.out 0.75457607554184802=20=20=20=20=20 > gfortran -v Using built-in specs. COLLECT_GCC=3Dgfortran COLLECT_LTO_WRAPPER=3D/data/vjoost/gnu/gcc_trunk/install/libexec/gcc/x86_64= -pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=3D/data/vjoost/gnu/gcc_trunk/ins= tall --enable-languages=3Dc,c++,fortran --disable-multilib --enable-plugins --enable-lto --disable-bootstrap Thread model: posix gcc version 6.0.0 20151126 (experimental) [trunk revision 230923] (GCC) >>From gcc-bugs-return-504119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:06:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122787 invoked by alias); 26 Nov 2015 20:06: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 118664 invoked by uid 48); 26 Nov 2015 20:06:00 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68565] [6 Regression] graphite : -O2 -floop-nest-optimize miscompile Date: Thu, 26 Nov 2015 20:06: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc 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: 2015-11/txt/msg03046.txt.bz2 Content-length: 587 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68565 Joost VandeVondele changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2015-11-26 CC| |Joost.VandeVondele at mat = dot ethz | |.ch, spop at gcc dot gnu.o= rg Target Milestone|--- |6.0 Known to fail| |6.0 >>From gcc-bugs-return-504120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:23:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45415 invoked by alias); 26 Nov 2015 20:23: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 45387 invoked by uid 48); 26 Nov 2015 20:23:19 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68566] New: ICE on using unusable array in reshape (double free or corruption) Date: Thu, 26 Nov 2015 20:23: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03047.txt.bz2 Content-length: 876 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68566 Bug ID: 68566 Summary: ICE on using unusable array in reshape (double free or corruption) Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- Using wrong defined array a : $ cat z1.f90 program p integer, parameter :: n =3D 2 integer, parameter :: a(:) =3D 0 integer, parameter :: b(n, n) =3D reshape([a, 1+a], [n, n]) end $ gfortran -g -O0 -Wall -fcheck=3Dall z1.f90 *** Error in `/usr/lib64/gcc/x86_64-suse-linux/5/f951': double free or corruption (fasttop): 0x00000000028e93f0 *** ... f951: internal compiler error: Aborted >>From gcc-bugs-return-504121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:24:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46613 invoked by alias); 26 Nov 2015 20:24: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 46579 invoked by uid 48); 26 Nov 2015 20:24:30 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68566] ICE on using unusable array in reshape (double free or corruption) Date: Thu, 26 Nov 2015 20:24: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03048.txt.bz2 Content-length: 899 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68566 --- Comment #1 from Gerhard Steinmetz --- Same issue with variants ... $ cat z2.f90 program p integer, parameter :: n =3D 2 integer, parameter :: a(2.) =3D 1 integer, parameter :: b(n, n) =3D reshape([a, -a], [n, n]) end $ cat z3.f90 program p integer, parameter :: n =3D 2 integer, parameter :: a('2') =3D 1 integer, parameter :: b(n, n) =3D reshape([a, -a], [n, n]) end $ cat z4.f90 program p integer, parameter :: n =3D 2 integer, parameter :: a(.true.) =3D 1 integer, parameter :: b(n, n) =3D reshape([a, -a], [n, n]) end $ cat z5.f90 program p integer, parameter :: n =3D 2 integer, parameter :: a((0.,1.)) =3D 1 integer, parameter :: b(n, n) =3D reshape([a, -a], [n, n]) end Same issue with other intrinsic types, and without parameter attribute for = b. >>From gcc-bugs-return-504122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:27:53 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49138 invoked by alias); 26 Nov 2015 20:27: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 49097 invoked by uid 48); 26 Nov 2015 20:27:50 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68567] New: ICE on using wrong defined arrays (different cases/messages) Date: Thu, 26 Nov 2015 20:27: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03049.txt.bz2 Content-length: 1199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68567 Bug ID: 68567 Summary: ICE on using wrong defined arrays (different cases/messages) Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- Different examples (incl. DATA) with different error messages, but strong related to pr68566. $ cat zz3.f90 program p integer, parameter :: a(:) =3D [2, 1] integer :: b data b / a(a(1)) / print *, b end $ gfortran -g -O0 -Wall -fcheck=3Dall zz3.f90 f951: internal compiler error: Segmentation fault --- $ cat zz1.f90 program p integer, parameter :: a(:) =3D [2, 1] integer, parameter :: b =3D a(a(1)) end $ gfortran -g -O0 -Wall -fcheck=3Dall zz1.f90 f951: internal compiler error: Segmentation fault --- $ cat zz2.f90 program p integer, parameter :: a(:) =3D [2, 1] integer :: b =3D a(a(1)) end $ gfortran -g -O0 -Wall -fcheck=3Dall zz2.f90 f951: internal compiler error: Segmentation fault >>From gcc-bugs-return-504123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:28:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50622 invoked by alias); 26 Nov 2015 20: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 50602 invoked by uid 48); 26 Nov 2015 20:28:29 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68567] ICE on using wrong defined arrays (different cases/messages) Date: Thu, 26 Nov 2015 20: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03050.txt.bz2 Content-length: 619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68567 --- Comment #1 from Gerhard Steinmetz --- $ cat z1.f90 program p integer, parameter :: a(2.,2) =3D 1 integer, parameter :: b(2) =3D a(1:2, 2) end $ gfortran -g -O0 -Wall -fcheck=3Dall z1.f90 f951: internal compiler error: compare_bound_int(): Bad expression --- $ cat z2.f90 program p integer :: i integer, parameter :: a('',2) =3D 1 integer, parameter :: b(4) =3D [a(1:2, 2), a(1:2, 1)] end $ gfortran -g -O0 -Wall -fcheck=3Dall z2.f90 f951: internal compiler error: compare_bound_int(): Bad expression >>From gcc-bugs-return-504124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:31:17 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55967 invoked by alias); 26 Nov 2015 20:31: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 55540 invoked by uid 48); 26 Nov 2015 20:31:13 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68566] ICE on using unusable array in reshape (double free or corruption) Date: Thu, 26 Nov 2015 20: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 2015-11/txt/msg03051.txt.bz2 Content-length: 1041 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68566 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to Gerhard Steinmetz from comment #0) > Using wrong defined array a : >=20 > $ cat z1.f90 > program p > integer, parameter :: n =3D 2 > integer, parameter :: a(:) =3D 0 > integer, parameter :: b(n, n) =3D reshape([a, 1+a], [n, n]) > end >=20 >=20 > $ gfortran -g -O0 -Wall -fcheck=3Dall z1.f90 > *** Error in `/usr/lib64/gcc/x86_64-suse-linux/5/f951': double free or > corruption (fasttop): 0x00000000028e93f0 *** > ... > f951: internal compiler error: Aborted With trunk, I get laptop-kargl:kargl[247] gfc -c c1.f90 c1.f90:3:29: integer, parameter :: a(:) =3D 0 1 Error: Parameter array 'a' at (1) cannot be automatic or of deferred shape >>From gcc-bugs-return-504125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:33:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58192 invoked by alias); 26 Nov 2015 20:33: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 58159 invoked by uid 48); 26 Nov 2015 20:33:34 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68568] New: ICE with automatic character object and save, in combination with some options Date: Thu, 26 Nov 2015 20:33: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03052.txt.bz2 Content-length: 1045 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68568 Bug ID: 68568 Summary: ICE with automatic character object and save, in combination with some options Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- Compiling with "-finit-character" gives an internal error here : $ cat z1a.f90 subroutine s(n) integer, intent(in) :: n character(n) :: x save x =3D 'a' end $ gfortran -finit-character=3D7 -c z1a.f90 z1a.f90:1:0: subroutine s(n) 1 internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:15= 75 $ gfortran -Wall -finit-character=3D7 -c z1a.f90 f951: internal compiler error: Segmentation fault # effectivly: $ gfortran -Wsurprising -finit-character=3D7 -c z1a.f90 f951: internal compiler error: Segmentation fault >>From gcc-bugs-return-504126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:34:14 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59107 invoked by alias); 26 Nov 2015 20:34: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 59082 invoked by uid 48); 26 Nov 2015 20:34:10 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68568] ICE with automatic character object and save, in combination with some options Date: Thu, 26 Nov 2015 20: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03053.txt.bz2 Content-length: 764 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68568 --- Comment #1 from Gerhard Steinmetz --- As already known, this works without an error : (A SAVE statement without a saved entity list is treated as though it contained the names of all allowed items in the same scoping unit.) $ gfortran -g -O0 -Wall -fcheck=3Dall -c z1a.f90 And this is detected : (The SAVE attribute shall not be specified for an automatic data object.) $ cat z1b.f90 subroutine s(n) integer, intent(in) :: n character(n), save :: x x =3D 'a' end $ gfortran -g -O0 -Wall -fcheck=3Dall -c z1b.f90 z1b.f90:3:26: character(n), save :: x 1 Error: Automatic object 'x' at (1) cannot have the SAVE attribute >>From gcc-bugs-return-504127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:35:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60353 invoked by alias); 26 Nov 2015 20:35: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 60089 invoked by uid 48); 26 Nov 2015 20:35:07 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68568] ICE with automatic character object and save, in combination with some options Date: Thu, 26 Nov 2015 20: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03054.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68568 --- Comment #2 from Gerhard Steinmetz --- Personal usage of "-finit-character" : ONLY for debugging/checking, NEVER for production builds. Issue is related to pr59537, where : array , dimension(n) , -finit-real This pr68568 differs in : scalar, character(n) , -finit-character Maybe a possible improvement in the long run. >>From gcc-bugs-return-504128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:39:25 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75562 invoked by alias); 26 Nov 2015 20:39: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 75525 invoked by uid 48); 26 Nov 2015 20:39:21 -0000 From: "gerhard.steinmetz.fortran@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68569] New: ICE with automatic character object and DATA Date: Thu, 26 Nov 2015 20:39: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.steinmetz.fortran@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: 2015-11/txt/msg03055.txt.bz2 Content-length: 966 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68569 Bug ID: 68569 Summary: ICE with automatic character object and DATA Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fortran@t-online.de Target Milestone: --- This issue is strong related to pr68568, but differs : - initialization with DATA - no explicit SAVE - it does NOT depend on "-finit-character" nor "-Wall" etc. $ cat z2a.f90 subroutine s(n) integer, intent(in) :: n character(n) :: x data x /'a'/ end $ gfortran -c z2a.f90 z2a.f90:4:12: data x /'a'/ 1 Warning: Initialization string at (1) was truncated to fit the variable (0/= 1) z2a.f90:1:0: subroutine s(n) 1 internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:15= 75 >>From gcc-bugs-return-504129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 20:44:03 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79509 invoked by alias); 26 Nov 2015 20:44:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79458 invoked by uid 48); 26 Nov 2015 20:43:59 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/61321] demangler crash on casts in template parameters Date: Thu, 26 Nov 2015 20:44: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: trippels at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: palves at redhat dot com 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: 2015-11/txt/msg03056.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61321 --- Comment #15 from Markus Trippelsdorf --- Yet another example: template struct S {}; template S f() {} int main() {f();} (with Ian's go demangler:) markus@x4 tmp % c++filt_ _Z1fIiE1SIDTdecvPT_Li0EEEv S f() markus@x4 tmp % c++filt _Z1fIiE1SIDTdecvPT_Li0EEEv [1] 7743 segmentation fault c++filt _Z1fIiE1SIDTdecvPT_Li0EEEv >>From gcc-bugs-return-504130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 21:58:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62010 invoked by alias); 26 Nov 2015 21:58: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 61932 invoked by uid 55); 26 Nov 2015 21:58:14 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67753] [6 Regression] FAIL: cxg1005, cxg2002, cxg2006, cxg2007, cxg2008, cxg2018, cxg2019 and cxg2020 Date: Thu, 26 Nov 2015 21: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: 6.0 X-Bugzilla-Keywords: 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.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: 2015-11/txt/msg03057.txt.bz2 Content-length: 1168 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67753 --- Comment #8 from Alexandre Oliva --- Author: aoliva Date: Thu Nov 26 21:57:40 2015 New Revision: 230985 URL: https://gcc.gnu.org/viewcvs?rev=3D230985&root=3Dgcc&view=3Drev Log: [PR67753] adjust for padding when bypassing memory in assign_parm_setup_blo= ck Storing a register in memory as a full word and then accessing the same memory address under a smaller-than-word mode amounts to right-shifting of the register word on big endian machines. So, if BLOCK_REG_PADDING chooses upward padding for BYTES_BIG_ENDIAN, and we're copying from the entry_parm REG directly to a pseudo, bypassing any stack slot, perform the shifting explicitly. This fixes the miscompile of function_return_val_10 in gcc.target/aarch64/aapcs64/func-ret-4.c for target aarch64_be-elf introduced in the first patch for 67753. for gcc/ChangeLog PR rtl-optimization/67753 PR rtl-optimization/64164 * function.c (assign_parm_setup_block): Right-shift upward-padded big-endian args when bypassing the stack slot. Modified: trunk/gcc/ChangeLog trunk/gcc/function.c >>From gcc-bugs-return-504131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 21:58:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62836 invoked by alias); 26 Nov 2015 21: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 62512 invoked by uid 55); 26 Nov 2015 21:58:27 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/64164] [4.9/5/6 Regression] one more stack slot used due to one less inlining level Date: Thu, 26 Nov 2015 21: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: 5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03058.txt.bz2 Content-length: 1169 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64164 --- Comment #57 from Alexandre Oliva --- Author: aoliva Date: Thu Nov 26 21:57:40 2015 New Revision: 230985 URL: https://gcc.gnu.org/viewcvs?rev=3D230985&root=3Dgcc&view=3Drev Log: [PR67753] adjust for padding when bypassing memory in assign_parm_setup_blo= ck Storing a register in memory as a full word and then accessing the same memory address under a smaller-than-word mode amounts to right-shifting of the register word on big endian machines. So, if BLOCK_REG_PADDING chooses upward padding for BYTES_BIG_ENDIAN, and we're copying from the entry_parm REG directly to a pseudo, bypassing any stack slot, perform the shifting explicitly. This fixes the miscompile of function_return_val_10 in gcc.target/aarch64/aapcs64/func-ret-4.c for target aarch64_be-elf introduced in the first patch for 67753. for gcc/ChangeLog PR rtl-optimization/67753 PR rtl-optimization/64164 * function.c (assign_parm_setup_block): Right-shift upward-padded big-endian args when bypassing the stack slot. Modified: trunk/gcc/ChangeLog trunk/gcc/function.c >>From gcc-bugs-return-504132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:10:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71500 invoked by alias); 26 Nov 2015 22: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 71448 invoked by uid 48); 26 Nov 2015 22:10:41 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67753] [6 Regression] FAIL: cxg1005, cxg2002, cxg2006, cxg2007, cxg2008, cxg2018, cxg2019 and cxg2020 Date: Thu, 26 Nov 2015 22:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: 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.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: 2015-11/txt/msg03059.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67753 --- Comment #9 from Alexandre Oliva --- In case someone gets here digging for more information about the patch above than what's in comments, see https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02018.html >>From gcc-bugs-return-504133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:14:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76168 invoked by alias); 26 Nov 2015 22:14: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 76111 invoked by uid 55); 26 Nov 2015 22:14:08 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Thu, 26 Nov 2015 22:14: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: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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.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: 2015-11/txt/msg03060.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 --- Comment #10 from Vladimir Makarov --- Author: vmakarov Date: Thu Nov 26 22:13:36 2015 New Revision: 230986 URL: https://gcc.gnu.org/viewcvs?rev=3D230986&root=3Dgcc&view=3Drev Log: 2015-11-25 Vladimir Makarov PR rtl-optimization/67954 * lra-constraints.c (curr_insn_transform): Add check on scratch pseudo when change class to NO_REGS. Add an assert. Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/lra-constraints.c >>From gcc-bugs-return-504134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:15:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77367 invoked by alias); 26 Nov 2015 22:15: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 77302 invoked by uid 48); 26 Nov 2015 22:15:31 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67954] [5 / 6 Regression] internal compiler error: in patch_jump_insn, at cfgrtl.c:1303 Date: Thu, 26 Nov 2015 22:15: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: 5.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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.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: 2015-11/txt/msg03061.txt.bz2 Content-length: 356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67954 --- Comment #11 from Vladimir Makarov --- (In reply to Dmitry Eremin-Solenikov from comment #9) > This also needs to be applied to the 4.9 branch -- it also contains an > offending commit. Thanks for the remainder. I've just committed the patch into gcc-4.9 branch too. >>From gcc-bugs-return-504136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:18:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79763 invoked by alias); 26 Nov 2015 22:18: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 79637 invoked by uid 48); 26 Nov 2015 22:18:33 -0000 From: "su at cs dot ucdavis.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68570] New: ICE on valid code at -O1, -O2 and -O3 on x86_64-linux-gnu Date: Thu, 26 Nov 2015 22:18: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: 6.0 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: 2015-11/txt/msg03063.txt.bz2 Content-length: 3209 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68570 Bug ID: 68570 Summary: ICE on valid code at -O1, -O2 and -O3 on x86_64-linux-gnu Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: su at cs dot ucdavis.edu Target Milestone: --- The following code causes an ICE when compiled with the current gcc trunk at -O1, -O2 and -O3 on x86_64-linux-gnu in both 32-bit and 64-bit modes. It is a regression from 5.2.x. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/usr/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/= 6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-trunk/configure --prefix=3D/usr/local/gcc-trunk --enable-languages=3Dc,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20151125 (experimental) [trunk revision 230867] (GCC) $ $ gcc-trunk -O0 -c small.c $ gcc-5.2 -O1 -c small.c $ $ gcc-trunk -O1 -c small.c small.c: In function =E2=80=98fn1=E2=80=99: small.c:4:1: internal compiler error: Segmentation fault fn1 () ^~~ 0xaf378f crash_signal ../../gcc-trunk/gcc/toplev.c:334 0xe4db44 gimple_truth_valued_p(tree_node*, tree_node* (*)(tree_node*)) /tmp/objdir/gcc/gimple-match.c:162 0xec0d99 gimple_simplify_NE_EXPR /tmp/objdir/gcc/gimple-match.c:47863 0xe53881 gimple_simplify /tmp/objdir/gcc/gimple-match.c:52160 0xe5610d gimple_resimplify2(gimple**, code_helper*, tree_node*, tree_node**, tree_node* (*)(tree_node*)) ../../gcc-trunk/gcc/gimple-match-head.c:159 0xebebf0 gimple_simplify(gimple*, code_helper*, tree_node**, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) ../../gcc-trunk/gcc/gimple-match-head.c:748 0xb3b20f cleanup_control_expr_graph ../../gcc-trunk/gcc/tree-cfgcleanup.c:101 0xb3b20f cleanup_control_flow_bb ../../gcc-trunk/gcc/tree-cfgcleanup.c:200 0xb3b20f cleanup_tree_cfg_bb ../../gcc-trunk/gcc/tree-cfgcleanup.c:617 0xb3b878 cleanup_tree_cfg_1 ../../gcc-trunk/gcc/tree-cfgcleanup.c:670 0xb3b878 cleanup_tree_cfg_noloop ../../gcc-trunk/gcc/tree-cfgcleanup.c:720 0xb3b878 cleanup_tree_cfg() ../../gcc-trunk/gcc/tree-cfgcleanup.c:771 0xa27ce4 execute_function_todo ../../gcc-trunk/gcc/passes.c:1911 0xa2873b execute_todo ../../gcc-trunk/gcc/passes.c:2010 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ ---------------------------------- int a, d, e, f, h, i, k; void fn1 () {=20 char m; for (;;) {=20 for (;;) {=20 e =3D f =3D 1; if (i) d =3D h =3D 0; else a =3D 0; break; } k =3D 0; if (f) a =3D 3; if (d) f =3D 0; if (a > (i < 1)) {=20 if (e) break; } else i =3D m; k =3D i ? a : i; } } >>From gcc-bugs-return-504135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:18:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78582 invoked by alias); 26 Nov 2015 22:18: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 78520 invoked by uid 48); 26 Nov 2015 22:17:56 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68565] [6 Regression] graphite : -O2 -floop-nest-optimize miscompile Date: Thu, 26 Nov 2015 22: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: 6.0 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03062.txt.bz2 Content-length: 460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68565 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed at r230977, r230903 is OK. >>From gcc-bugs-return-504137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:27:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89130 invoked by alias); 26 Nov 2015 22:27: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 89085 invoked by uid 48); 26 Nov 2015 22:27:00 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68566] ICE on using unusable array in reshape (double free or corruption) Date: Thu, 26 Nov 2015 22:27: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.2.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: 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: 2015-11/txt/msg03064.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68566 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres --- I get pointer being freed was not allocated from 4.8 up to trunk (6.0). >>From gcc-bugs-return-504138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:33:37 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93703 invoked by alias); 26 Nov 2015 22:33: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 93661 invoked by uid 48); 26 Nov 2015 22:33:32 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68567] ICE on using wrong defined arrays (different cases/messages) Date: Thu, 26 Nov 2015 22: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: 5.2.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: 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: 2015-11/txt/msg03065.txt.bz2 Content-length: 3146 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68567 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (6.0). Backtrace Program received signal SIGSEGV, Segmentation fault. gfc_reduce_init_expr (expr=3D0x0) at ../../_clean/gcc/fortran/expr.c:2676 2676 if (expr->expr_type =3D=3D EXPR_ARRAY) (gdb) bt #0 gfc_reduce_init_expr (expr=3Dwarning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.) 0x0) at ../../_clean/gcc/fortran/expr.c:2676 #1 0x0000000100036aa9 in simplify_const_ref (p=3D0x14221db60) at ../../_clean/gcc/fortran/expr.c:1206 #2 0x000000010003759f in gfc_simplify_expr (p=3D0x14221db60, type=3D0) at ../../_clean/gcc/fortran/expr.c:1922 #3 0x00000001000376ae in simplify_parameter_variable (p=3D0x14221d930, typ= e=3D0) at ../../_clean/gcc/fortran/expr.c:1787 #4 0x0000000100037581 in gfc_simplify_expr (p=3D0x14221d930, type=3D0) at ../../_clean/gcc/fortran/expr.c:1894 #5 0x00000001000377b3 in simplify_ref_chain (ref=3D0x14221d490, type=3D0) = at ../../_clean/gcc/fortran/expr.c:1746 #6 0x0000000100037069 in gfc_simplify_expr (p=3D0x14221d3d0, type=3D0) at ../../_clean/gcc/fortran/expr.c:1912 #7 0x00000001000376ae in simplify_parameter_variable (p=3D0x14221ceb0, typ= e=3D0) at ../../_clean/gcc/fortran/expr.c:1787 #8 0x0000000100036748 in gfc_reduce_init_expr (expr=3D0x14221ceb0) at ../../_clean/gcc/fortran/expr.c:2670 #9 0x000000010003781a in gfc_match_init_expr (result=3D0x7fff5fbfed88) at ../../_clean/gcc/fortran/expr.c:2709 #10 0x000000010001f8b5 in match_data_constant (result=3D) at ../../_clean/gcc/fortran/decl.c:408 #11 0x000000010001f9a5 in top_val_list (data=3D) at ../../_clean/gcc/fortran/decl.c:446 #12 0x000000010001fbf9 in gfc_match_data () at ../../_clean/gcc/fortran/decl.c:575 #13 0x000000010007fdaa in match_word_omp_simd (subr=3D, old_locus=3D, simd_matched=3D, str=3D) at ../../_clean/gcc/fortran/parse.c:93 #14 0x0000000100083b90 in decode_statement () at ../../_clean/gcc/fortran/parse.c:461 #15 0x0000000100085125 in next_statement () at ../../_clean/gcc/fortran/parse.c:1074 #16 0x000000010008691d in parse_spec (st=3D) at ../../_clean/gcc/fortran/parse.c:3344 #17 0x000000010008a4f7 in parse_progunit (st=3D) at ../../_clean/gcc/fortran/parse.c:5126 #18 0x000000010008bdd2 in gfc_parse_file () at ../../_clean/gcc/fortran/parse.c:5635 #19 0x00000001000d2756 in gfc_be_parse_file () at ../../_clean/gcc/fortran/f95-lang.c:199 #20 0x000000010098f9ea in compile_file () at ../../_clean/gcc/toplev.c:464 #21 0x0000000100d8c9c3 in ?? () #22 0x0000000100d8e389 in main (argc=3D2, argv=3D0x7fff5fbff308) at ../../_clean/gcc/main.c:39 >>From gcc-bugs-return-504139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:38:55 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39157 invoked by alias); 26 Nov 2015 22:38: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 39063 invoked by uid 48); 26 Nov 2015 22:38:50 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68536] LRA ICEs with new arm pattern Date: Thu, 26 Nov 2015 22:38: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 2015-11/txt/msg03066.txt.bz2 Content-length: 1337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68536 Vladimir Makarov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at gcc dot gnu.org --- Comment #1 from Vladimir Makarov --- (In reply to ktkachov from comment #0) > I'm trying to add support in arm for the smmlar instruction from ARMv6. > The pattern for it looks like this: > (define_insn "*mulsidi3siaddsi_round_v6" > [(set (match_operand:SI 0 "s_register_operand" "=3Dr") > (plus:SI > (match_operator:SI 3 "subreg_highpart_operator" > [(plus:DI > (mult:DI > (sign_extend:DI > (match_operand:SI 1 "s_register_operand" "%r")) > (sign_extend:DI > (match_operand:SI 2 "s_register_operand" "r"))) > (const_int 2147483648))]) > (match_operand:SI 4 "s_register_operand" "r")))] > "TARGET_32BIT && arm_arch6" > "smmlar%?\\t%0, %1, %2, %4" > [(set_attr "type" "smmla") > (set_attr "predicable" "yes") > (set_attr "predicable_short_it" "no")] > ) >=20 When I try to build GCC with this pattern, I have =E2=80=98subreg_highpart_operator=E2=80=99 was not declared in this scope Could you provide the predicate definition. >>From gcc-bugs-return-504140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 22:47:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43790 invoked by alias); 26 Nov 2015 22:47: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 43755 invoked by uid 48); 26 Nov 2015 22:47:48 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68569] ICE with automatic character object and DATA Date: Thu, 26 Nov 2015 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.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: 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: 2015-11/txt/msg03067.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68569 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-26 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- I don't get the warning, but I get the ICE from 4.8 up to trunk (5.0). >>From gcc-bugs-return-504141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 23:06:19 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125970 invoked by alias); 26 Nov 2015 23:06: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 125940 invoked by uid 48); 26 Nov 2015 23:06:15 -0000 From: "luser.droog at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/68454] internal compiler error: Segmentation fault Date: Thu, 26 Nov 2015 23: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luser.droog 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: 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: 2015-11/txt/msg03068.txt.bz2 Content-length: 3305 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68454 --- Comment #14 from M Joshua Ryan --- Created attachment 36850 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36850&action=3Dedit gmp component triggering the same error I've been able to modify some of the gmp sources to avoid this bug, by chan= ging fp constants to integer. But this one won't work since 1e37 is way outside `int` range. josh@LAPTOP-ILO10OOF /tmp/gmp-4.3.2 $ make CFLAGS=3D-save-temps make all-recursive make[1]: Entering directory '/tmp/gmp-4.3.2' Making all in tests make[2]: Entering directory '/tmp/gmp-4.3.2/tests' Making all in . make[3]: Entering directory '/tmp/gmp-4.3.2/tests' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests' Making all in devel make[3]: Entering directory '/tmp/gmp-4.3.2/tests/devel' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/devel' Making all in mpn make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpn' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpn' Making all in mpz make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpz' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpz' Making all in mpq make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpq' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpq' Making all in mpf make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpf' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpf' Making all in rand make[3]: Entering directory '/tmp/gmp-4.3.2/tests/rand' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/rand' Making all in misc make[3]: Entering directory '/tmp/gmp-4.3.2/tests/misc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/misc' Making all in cxx make[3]: Entering directory '/tmp/gmp-4.3.2/tests/cxx' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/cxx' Making all in mpbsd make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpbsd' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpbsd' make[2]: Leaving directory '/tmp/gmp-4.3.2/tests' Making all in mpn make[2]: Entering directory '/tmp/gmp-4.3.2/mpn' /bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mp_bases | sed 's/_$//'`=20=20=20 -save-temps -c -o mp_bases.lo mp_bases.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mp_ba= ses -save-temps -c mp_bases.c -o mp_bases.o mp_bases.c:13:13: internal compiler error: Segmentation fault /* 1 */ { 0, 1e37, 0 }, ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Makefile:385: recipe for target 'mp_bases.lo' failed make[2]: *** [mp_bases.lo] Error 1 make[2]: Leaving directory '/tmp/gmp-4.3.2/mpn' Makefile:925: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/gmp-4.3.2' Makefile:666: recipe for target 'all' failed make: *** [all] Error 2 >>From gcc-bugs-return-504142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 23:08:34 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130662 invoked by alias); 26 Nov 2015 23: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 130610 invoked by uid 48); 26 Nov 2015 23:08:30 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 23: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.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03069.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 --- Comment #7 from Martin Sebor --- The dump-ada-spec-2.C had failed with my local change (C++ flexible arrays change from 'array(0 .. -1)' to 'array(size_t)'; I expect the latter is more correct). While reproducing the failure, I used the option on the command line. Then, while reproducing another failure in nsdmi-union6.C, I accidentally used the same option again and stumbled into the failure. >>From gcc-bugs-return-504143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 23:32:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69891 invoked by alias); 26 Nov 2015 23:32:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69837 invoked by uid 48); 26 Nov 2015 23:32:23 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68527] ICE with -fdump-ada-spec on invalid C++ 11 code Date: Thu, 26 Nov 2015 23: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: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2015-11/txt/msg03070.txt.bz2 Content-length: 652 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68527 --- Comment #8 from Eric Botcazou --- > The dump-ada-spec-2.C had failed with my local change (C++ flexible arrays > change from 'array(0 .. -1)' to 'array(size_t)'; I expect the latter is m= ore > correct). While reproducing the failure, I used the option on the command > line. Then, while reproducing another failure in nsdmi-union6.C, I > accidentally used the same option again and stumbled into the failure. I see, thanks. We tried very hard to come up with a name that couldn't be typed inadvertently but we are obviously outsmarted by a simple shell. ;-) >>From gcc-bugs-return-504144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 23:35:11 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71943 invoked by alias); 26 Nov 2015 23:35: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 71877 invoked by uid 48); 26 Nov 2015 23:35:07 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68536] LRA ICEs with new arm pattern Date: Thu, 26 Nov 2015 23:35: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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: 2015-11/txt/msg03071.txt.bz2 Content-length: 638 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68536 --- Comment #2 from ktkachov at gcc dot gnu.org --- Sorry, I was doing this on top of the patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00686.html The subreg_highpart_operator predicate is defined as: (define_special_predicate "subreg_highpart_operator" (and (match_code "subreg") (match_test "GET_MODE_SIZE (mode) < GET_MODE_SIZE (GET_MODE (SUBREG_REG (op))) && SUBREG_BYTE (op) =3D=3D subreg_highpart_offset (mode, GET_MODE (SUBREG_REG (op)))"))) >>From gcc-bugs-return-504145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 23:47:03 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80984 invoked by alias); 26 Nov 2015 23:47: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 80905 invoked by uid 48); 26 Nov 2015 23:46:59 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/67355] [5 Regression] ICE compiling LTP testcase, endless cselib recursion from var-tracking Date: Thu, 26 Nov 2015 23:47: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.2.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: 5.3 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: 2015-11/txt/msg03072.txt.bz2 Content-length: 533 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67355 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot g= nu.org --- Comment #7 from Alexandre Oliva --- Mine. Patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03302.= html >>From gcc-bugs-return-504146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 26 23:57:15 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118360 invoked by alias); 26 Nov 2015 23:57: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 118239 invoked by uid 48); 26 Nov 2015 23:57:11 -0000 From: "anthony.brandon at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor Date: Thu, 26 Nov 2015 23: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: 3.4.4 X-Bugzilla-Keywords: diagnostic, easyhack X-Bugzilla-Severity: enhancement X-Bugzilla-Who: anthony.brandon at gmail 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete 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: 2015-11/txt/msg03073.txt.bz2 Content-length: 867 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D19808 Anthony Brandon changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #36706|0 |1 is obsolete| | --- Comment #29 from Anthony Brandon --- Created attachment 36851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36851&action=3Dedit Updated patch for PR19808. I updated my patch to include a testcase, and I also fixed the case for anonymous unions. Things not working right (as far as i know) in this patch yet are: * references * pointers * multiple uninitialized values being used to initialize a single field. (I= 'm also not sure how to test for this in the testsuite) >>From gcc-bugs-return-504147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 00:31:41 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32558 invoked by alias); 27 Nov 2015 00:31: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 32519 invoked by uid 48); 27 Nov 2015 00:31:36 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68571] New: provide __builtin_cookie_size Date: Fri, 27 Nov 2015 00: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03074.txt.bz2 Content-length: 2958 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68571 Bug ID: 68571 Summary: provide __builtin_cookie_size Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The array forms of the C++ new expression are specified to invoke the corresponding operator new with a size_t argument set to the product of the number elements, nelems, and the size of the type, sizeof(T), plus some (possibly zero) overhead, X. The C++ standard doesn't specify the amount of overhead that is added, except that it may be different from one invocation= of the new expression to another. This makes it difficult to write portable programs that use the array placement new expression to construct an array = of objects into a fixed size buffer: how much bigger than nelems * sizeof(T) should the buffer be? On all targets but one, GCC uses the greater of sizeof(size_t) and alignof(= T) as the amount of overhead. On ARM, however, the EABI specifies the minimum overhead to be 8 bytes, regardless of the data model (i.e., ILP32 or LP64).= =20 See Section 3.2.2 of the ARM EABI: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0041d/IHI0041D_cppabi.p= df. To make it less error-prone to write programs that are portable to all targ= ets supported by GCC, the compiler should provide an API to query the size of t= he cookie for a given new expression. The API should take as operands the typ= e of the new expression (in a form such as a pointer to the type), and the numbe= r of elements to be allocated. Below is a proposed outline of the the API in a style suitable for the GCC manual: -- Built-in Function: size_t __builtin_cookie_size (type *ptr, size_t nelem= s) Returns the amount of overhead, in bytes, that an array form of a new expression adds to the number of bytes it requests the corresponding operat= or new to allocate for an array of nelems elements of the specified type. The pointer ptr is not evaluated. The result is a constant expression when nel= ems is a constant expression. The overhead should be queried when determining = the amount of storage to allocate before invoking the array form of a placement= new expression to construct an array of objects in place. For example: const size_t Overhead =3D __builtin_cookie_size((T*)0, NELEMS); unsigned char buf [NELEMS * sizeof(MyType) + Overhead]; new (buf) MyType [NELEMS] For additional background on some of the problems that providing such an API can prevent, see the Noncompliant Code Example (Failure to Account For Array Overhead) in the CERT C++ Secure Coding Standard rule MEM54-CPP. Provide placement new with properly aligned pointers to sufficient storage capacity: https://www.securecoding.cert.org/confluence/x/KQBEAw >>From gcc-bugs-return-504148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 01:35:24 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47830 invoked by alias); 27 Nov 2015 01:35:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47716 invoked by uid 48); 27 Nov 2015 01:35:19 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68572] New: [4.9/5/6 Regression] ICE (segmentation fault) Date: Fri, 27 Nov 2015 01:35: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: 5.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: 2015-11/txt/msg03075.txt.bz2 Content-length: 1165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68572 Bug ID: 68572 Summary: [4.9/5/6 Regression] ICE (segmentation fault) Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- Created attachment 36852 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36852&action=3Dedit test case seen with 4.9 branch, 5 branch and trunk on x86_64-linux-gnu, building with= -O1 works around it. $ /usr/lib/gcc-snapshot/bin/g++ -std=3Dgnu++11 -fno-strict-aliasing -O2 -c 16_min.hM.min.ii=20 16_min.hM.min.ii: In member function 'virtual void J::PopClip()': 16_min.hM.min.ii:77:1: error: statement uses released SSA name: } ^ # .MEM_31 =3D VDEF <.MEM> MEM[(struct &)_19] =3D{v} {CLOBBER}; The use of _19 should have been replaced 16_min.hM.min.ii:77:1: internal compiler error: cannot update SSA form Please submit a full bug report, with preprocessed source if appropriate. I don't get a sensible backtrace from gdb. >>From gcc-bugs-return-504149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 02:01:33 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73946 invoked by alias); 27 Nov 2015 02:01: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 73788 invoked by uid 48); 27 Nov 2015 02:01:27 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/68573] New: [4.8/4.9/5/6 Regression] -ftree-vectorizer-verbose= discarded without notice Date: Fri, 27 Nov 2015 02:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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: 2015-11/txt/msg03076.txt.bz2 Content-length: 1125 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68573 Bug ID: 68573 Summary: [4.8/4.9/5/6 Regression] -ftree-vectorizer-verbose=3D discarded without notice Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- [forwarded from https://bugs.debian.org/PR805044] In 4.7, -ftree-vectorizer-verbose=3D had some output, however in newer versions this option is just discarded without giving any output. Test case from PR50680. $ gcc-4.7 -Ofast -ftree-vectorizer-verbose=3D1 --std=3Dc99 -msse -c vector= izeme.c |tail Analyzing loop at vectorizeme.c:54 Analyzing loop at vectorizeme.c:58 Vectorizing loop at vectorizeme.c:58 58: LOOP VECTORIZED. vectorizeme.c:57: note: vectorized 1 loops in function. Analyzing loop at vectorizeme.c:62 Vectorizing loop at vectorizeme.c:62 62: LOOP VECTORIZED. vectorizeme.c:61: note: vectorized 1 loops in function. >>From gcc-bugs-return-504150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 04:46:09 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45289 invoked by alias); 27 Nov 2015 04:46:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45271 invoked by uid 48); 27 Nov 2015 04:46:04 -0000 From: "programmerjake at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68574] New: add -W#pragma-messages equivalent Date: Fri, 27 Nov 2015 04: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: programmerjake 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: 2015-11/txt/msg03077.txt.bz2 Content-length: 4276 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68574 Bug ID: 68574 Summary: add -W#pragma-messages equivalent Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: programmerjake at gmail dot com Target Milestone: --- There is no -Wno-error=3D... option to prevent conversion of warnings from #pragma GCC warning "..." to error messages when using -Werror Test Case: Source: #pragma GCC warning "my warning" Command Line: g++ -v -fdiagnostics-show-option -Werror test.cpp Using built-in specs. COLLECT_GCC=3D/opt/gcc-5.2.0/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-5.2.0/configure --prefix /data/teamcity/work/sud-chibld05-002-RHEL6/cd26a0c570c605bd/scratch/gcc/5.2= .0/staging --build=3Dx86_64-linux-gnu --disable-multilibs --enable-clocale=3Dgnu --enable-languages=3Dc,c++ --enable-ld=3Dyes --enable-gold=3Dyes --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --enable-linker-buil= d-id --enable-lto --enable-plugins --enable-threads=3Dposix --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu --with-pkgversion=3DGCC-explorer-build --with-system-zlib --disable-werror --with-libelf=3D/data/teamcity/work/sud-chibld05-002-RHEL6/cd26a0c570c605bd= /scratch/gcc/5.2.0/build/libelf-0.8.13 Thread model: posix gcc version 5.2.0 (GCC-explorer-build) COLLECT_GCC_OPTIONS=3D'-v' '-fdiagnostics-show-option' '-Werror' '-masm=3Di= ntel' '-g' '-o' '/tmp/gcc-explorer-compiler1151027-68-1cy2m3d/output.S' '-S' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64' /opt/gcc-5.2.0/bin/../libexec/gcc/x86_64-linux-gnu/5.2.0/cc1plus -quiet -v -iprefix /opt/gcc-5.2.0/bin/../lib/gcc/x86_64-linux-gnu/5.2.0/ -D_GNU_SOURCE /tmp/gcc-explorer-compiler1151027-68-1cy2m3d/example.cpp -quiet -dumpbase example.cpp -masm=3Dintel -mtune=3Dgeneric -march=3Dx86-64 -auxbase-strip /tmp/gcc-explorer-compiler1151027-68-1cy2m3d/output.S -g -Werror -version -fdiagnostics-show-option -o /tmp/gcc-explorer-compiler1151027-68-1cy2m3d/output.S GNU C++ (GCC-explorer-build) version 5.2.0 (x86_64-linux-gnu) compiled by GNU C version 5.2.0, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=3D63 --param ggc-min-heapsize=3D1310= 72 ignoring nonexistent directory "/opt/gcc-5.2.0/bin/../lib/gcc/x86_64-linux-gnu/5.2.0/../../../../x86_64-li= nux-gnu/include" ignoring duplicate directory "/opt/gcc-5.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/5.2.0/../../.= ./../include/c++/5.2.0" ignoring duplicate directory "/opt/gcc-5.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/5.2.0/../../.= ./../include/c++/5.2.0/x86_64-linux-gnu" ignoring duplicate directory "/opt/gcc-5.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/5.2.0/../../.= ./../include/c++/5.2.0/backward" ignoring duplicate directory "/opt/gcc-5.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/5.2.0/include" ignoring duplicate directory "/opt/gcc-5.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/5.2.0/include= -fixed" ignoring nonexistent directory "/opt/gcc-5.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/5.2.0/../../.= ./../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /opt/gcc-5.2.0/bin/../lib/gcc/x86_64-linux-gnu/5.2.0/../../../../include/c+= +/5.2.0 /opt/gcc-5.2.0/bin/../lib/gcc/x86_64-linux-gnu/5.2.0/../../../../include/c+= +/5.2.0/x86_64-linux-gnu /opt/gcc-5.2.0/bin/../lib/gcc/x86_64-linux-gnu/5.2.0/../../../../include/c+= +/5.2.0/backward /opt/gcc-5.2.0/bin/../lib/gcc/x86_64-linux-gnu/5.2.0/include /opt/gcc-5.2.0/bin/../lib/gcc/x86_64-linux-gnu/5.2.0/include-fixed /usr/local/include /opt/gcc-5.2.0/bin/../lib/gcc/../../include /usr/include End of search list. GNU C++ (GCC-explorer-build) version 5.2.0 (x86_64-linux-gnu) compiled by GNU C version 5.2.0, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=3D63 --param ggc-min-heapsize=3D1310= 72 Compiler executable checksum: 1179f1e221bf82c10f9efb16cae24728 1 : error: my warning [-Werror] #pragma GCC warning "my warning" ^ cc1plus: all warnings being treated as errors Compilation failed >>From gcc-bugs-return-504151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 04:48:46 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47465 invoked by alias); 27 Nov 2015 04: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 47443 invoked by uid 48); 27 Nov 2015 04:48:42 -0000 From: "programmerjake at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68574] add -W#pragma-messages equivalent Date: Fri, 27 Nov 2015 04: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: programmerjake at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-11/txt/msg03078.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68574 programmerjake at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |programmerjake at gmail do= t com --- Comment #1 from programmerjake at gmail dot com --- I suggest either adding clang's option -W#pragma-messages or adding -Wpragma-messages. >>From gcc-bugs-return-504152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 06:21:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54877 invoked by alias); 27 Nov 2015 06:21: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 54793 invoked by uid 48); 27 Nov 2015 06:21:34 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68572] [4.9/5/6 Regression] ICE (segmentation fault) Date: Fri, 27 Nov 2015 06:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg03079.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68572 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Markus Trippelsdorf --- dup *** This bug has been marked as a duplicate of bug 68470 *** >>From gcc-bugs-return-504153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 06:21:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54891 invoked by alias); 27 Nov 2015 06:21: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 54831 invoked by uid 48); 27 Nov 2015 06:21:35 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/68470] [4.9/5/6 Regression] Internal Compiler Error observed by g++-4.9.2 and a few other versions (reported to Debian) Date: Fri, 27 Nov 2015 06:21: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: 4.9.2 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 4.9.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: 2015-11/txt/msg03080.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68470 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doko at gcc dot gnu.org --- Comment #5 from Markus Trippelsdorf --- *** Bug 68572 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-504154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 06:32:07 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60392 invoked by alias); 27 Nov 2015 06:32: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 60355 invoked by uid 48); 27 Nov 2015 06:32:02 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/68568] ICE with automatic character object and save, in combination with some options Date: Fri, 27 Nov 2015 06: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: 5.2.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: 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: 2015-11/txt/msg03081.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68568 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-27 Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (6.0). >>From gcc-bugs-return-504155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 06:45:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92898 invoked by alias); 27 Nov 2015 06:45: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 92800 invoked by uid 48); 27 Nov 2015 06:44:58 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68575] New: [6 Regression] ice: verify_ssa failed, definition in block 2 follows the use Date: Fri, 27 Nov 2015 06:45: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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: 2015-11/txt/msg03082.txt.bz2 Content-length: 2529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68575 Bug ID: 68575 Summary: [6 Regression] ice: verify_ssa failed, definition in block 2 follows the use Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- overnight regression with current trunk: > cat bug.f90 MODULE qs_efield_berry TYPE cp_error_type END TYPE INTEGER, PARAMETER :: dp=3D8 TYPE qs_energy_type REAL(KIND=3Ddp), POINTER :: efield END TYPE TYPE qs_environment_type END TYPE INTERFACE=20 SUBROUTINE foo(qs_env,energy,error) IMPORT=20 TYPE(qs_environment_type), POINTER :: qs_env TYPE(cp_error_type) :: error TYPE(qs_energy_type), POINTER :: energy END SUBROUTINE END INTERFACE CONTAINS SUBROUTINE qs_efield_mo_derivatives() TYPE(qs_environment_type), POINTER :: qs_env TYPE(cp_error_type) :: error COMPLEX(dp) :: zi(3), zphase(3) REAL(dp) :: ci(3) TYPE(qs_energy_type), POINTER :: energy CALL foo(qs_env, energy, error) zi =3D zi * zphase ci =3D AIMAG(LOG(zi)) DO idir=3D1,3 ener_field=3Dener_field+ci(idir)*fieldfac(idir) END DO energy%efield=3Dener_field END SUBROUTINE qs_efield_mo_derivatives END MODULE qs_efield_berry > gfortran -c -O3 bug.f90 bug.f90:19:0: SUBROUTINE qs_efield_mo_derivatives() Error: definition in block 2 follows the use for SSA_NAME: _65 in statement: vectp.27_93 =3D &REALPART_EXPR ; bug.f90:19:0: internal compiler error: verify_ssa failed 0xd78664 verify_ssa(bool, bool) ../../gcc/gcc/tree-ssa.c:1039 0xa9346d execute_function_todo ../../gcc/gcc/passes.c:1965 0xa93e0b execute_todo ../../gcc/gcc/passes.c:2010 Please submit a full bug report, with preprocessed source if appropriate. > gfortran -v Using built-in specs. COLLECT_GCC=3Dgfortran COLLECT_LTO_WRAPPER=3D/data/vjoost/gnu/gcc_trunk/install/libexec/gcc/x86_64= -pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=3D/data/vjoost/gnu/gcc_trunk/ins= tall --enable-languages=3Dc,c++,fortran --disable-multilib --enable-plugins --enable-lto --disable-bootstrap Thread model: posix gcc version 6.0.0 20151127 (experimental) [trunk revision 230990] (GCC) >>From gcc-bugs-return-504157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 06:57:51 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111828 invoked by alias); 27 Nov 2015 06: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 111699 invoked by uid 48); 27 Nov 2015 06:57:46 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68379] [6 Regression] BB vectorization: definition in block 13 follows the use for SSA_NAME Date: Fri, 27 Nov 2015 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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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.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: 2015-11/txt/msg03084.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68379 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Joost.VandeVondele at mat = dot ethz | |.ch --- Comment #1 from Markus Trippelsdorf --- *** Bug 68575 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-504156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 06:57:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111794 invoked by alias); 27 Nov 2015 06: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 111686 invoked by uid 48); 27 Nov 2015 06:57:46 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68575] [6 Regression] ice: verify_ssa failed, definition in block 2 follows the use Date: Fri, 27 Nov 2015 06:57: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg03083.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68575 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Markus Trippelsdorf --- dup *** This bug has been marked as a duplicate of bug 68379 *** >>From gcc-bugs-return-504158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 06:59:58 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19338 invoked by alias); 27 Nov 2015 06:59: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 12814 invoked by uid 48); 27 Nov 2015 06:59:53 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/68536] LRA ICEs with new arm pattern Date: Fri, 27 Nov 2015 06: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: 6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 2015-11/txt/msg03085.txt.bz2 Content-length: 1661 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68536 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #3 from amker at gcc dot gnu.org --- (In reply to Vladimir Makarov from comment #1) > (In reply to ktkachov from comment #0) > > I'm trying to add support in arm for the smmlar instruction from ARMv6. > > The pattern for it looks like this: > > (define_insn "*mulsidi3siaddsi_round_v6" > > [(set (match_operand:SI 0 "s_register_operand" "=3Dr") > > (plus:SI > > (match_operator:SI 3 "subreg_highpart_operator" > > [(plus:DI > > (mult:DI > > (sign_extend:DI > > (match_operand:SI 1 "s_register_operand" "%r")) > > (sign_extend:DI > > (match_operand:SI 2 "s_register_operand" "r"))) > > (const_int 2147483648))]) > > (match_operand:SI 4 "s_register_operand" "r")))] > > "TARGET_32BIT && arm_arch6" > > "smmlar%?\\t%0, %1, %2, %4" > > [(set_attr "type" "smmla") > > (set_attr "predicable" "yes") > > (set_attr "predicable_short_it" "no")] > > ) > >=20 >=20 > When I try to build GCC with this pattern, I have >=20 > =E2=80=98subreg_highpart_operator=E2=80=99 was not declared in this scope >=20 > Could you provide the predicate definition. Hi Vlad, I also ran into ICE with lra_emit_add, though it might be another issue. I have done preliminary investigation, so could you please give some suggesti= ons? The thread is at https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02446.html Thanks very much. >>From gcc-bugs-return-504159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 07:44:39 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99939 invoked by alias); 27 Nov 2015 07: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 99879 invoked by uid 48); 27 Nov 2015 07:44:35 -0000 From: "majun4950646 at 163 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68576] New: scev failed for loop auto parallelize Date: Fri, 27 Nov 2015 07:44: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: majun4950646 at 163 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: 2015-11/txt/msg03086.txt.bz2 Content-length: 3039 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68576 Bug ID: 68576 Summary: scev failed for loop auto parallelize Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: majun4950646 at 163 dot com Target Milestone: --- scev failed to analyze the 1st and 2nd loop in the following example (come = from testsuit interchange-2.f,which is the kernel extracted from bwaves) --- subroutine foo(f1,f2,f3,f4,f5,f6,f7,f8,f9,f0,g1,g2,g3) implicit none integer f4,f3,f2,f1 integer g4,g5,g6,g7,g8,g9 integer i1,i2,i3,i4,i5 real*8 g1(f4,f3,f2,f1),g2(f4,f4,f3,f2,f1),g3(f4,f3,f2,f1) real*8 f0(f4,f4,f3,f2,f1),f9(f4,f4,f3,f2,f1),f8(f4,f4,f3,f2,f1) real*8 f7(f4,f4,f3,f2,f1),f6(f4,f4,f3,f2,f1),f5(f4,f4,f3,f2,f1) do i3=3D1,f1 g8=3Dmod(i3+f1-2,f1)+1 g9=3Dmod(i3,f1)+1 do i4=3D1,f2 g6=3Dmod(i4+f2-2,f2)+1 g7=3Dmod(i4,f2)+1 do i5=3D1,f3 g4=3Dmod(i5+f3-2,f3)+1 g5=3Dmod(i5,f3)+1 do i1=3D1,f4 g3(i1,i5,i4,i3)=3D0.0d0 do i2=3D1,f4 g3(i1,i5,i4,i3)=3Dg3(i1,i5,i4,i3)+ 1 g2(i1,i2,i5,i4,i3)*g1(i2,i5,i4,i3)+ 2 f0(i1,i2,i5,i4,i3)*g1(i2,g5,i4,i3)+ 3 f9(i1,i2,i5,i4,i3)*g1(i2,i5,g7,i3)+ 4 f8(i1,i2,i5,i4,i3)*g1(i2,i5,i4,g9)+ 5 f7(i1,i2,i5,i4,i3)*g1(i2,g4,i4,i3)+ 6 f6(i1,i2,i5,i4,i3)*g1(i2,i5,g6,i3)+ 7 f5(i1,i2,i5,i4,i3)*g1(i2,i5,i4,g8) enddo enddo enddo enddo enddo return end --- scev analysis for the first loop cause some data ref's access function is scev_not_known, dump info like this: --- Creating dr for *g3_77(D)[_76] base_address: g3_77(D) offset from base address: (ssizetype) ((sizetype) (_370 + _372) * 8) constant offset from base address: 8 step: 8 aligned to: 8 base_object: *g3_77(D) Access function 0: scev_not_known; Creating dr for *g2_90(D)[_89] base_address: g2_90(D) offset from base address: (ssizetype) ((sizetype) (((_378 + _379) + stride.88_19) + (integer(kind=3D8)) i1_1) * 8) constant offset from base address: 0 step: (ssizetype) ((sizetype) stride.88_19 * 8) aligned to: 8 base_object: *g2_90(D) Access function 0: scev_not_known; --- this will cause data dep check failed because of access function not affine= or constant,and cause this loop cannot be paralleled. the 2nd loop is the same with the 1st loop, it can only be paralleled on the 3rd loop,which this can parallel on the 1st loop apparently. so,it looks like scev issue? --- Thanks Jun >>From gcc-bugs-return-504160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 07:48:28 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103915 invoked by alias); 27 Nov 2015 07:48: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 103864 invoked by uid 48); 27 Nov 2015 07:48:24 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68379] [6 Regression] BB vectorization: definition in block 13 follows the use for SSA_NAME Date: Fri, 27 Nov 2015 07: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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.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: 2015-11/txt/msg03087.txt.bz2 Content-length: 337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68379 --- Comment #2 from Joost VandeVondele --- (In reply to Markus Trippelsdorf from comment #1) > *** Bug 68575 has been marked as a duplicate of this bug. *** The testcase in PR68575 doesn't require avx, so might be useful for the testsuite. >>From gcc-bugs-return-504162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 07:50:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105725 invoked by alias); 27 Nov 2015 07:50: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 105434 invoked by uid 48); 27 Nov 2015 07:50:24 -0000 From: "Joost.VandeVondele at mat dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68379] [6 Regression] BB vectorization: definition in block 13 follows the use for SSA_NAME Date: Fri, 27 Nov 2015 07: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: 6.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch 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.0 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: 2015-11/txt/msg03089.txt.bz2 Content-length: 680 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68379 Joost VandeVondele changed: What |Removed |Added ---------------------------------------------------------------------------- Target|aarch64 |aarch64, | |x86_64-pc-linux-gnu Status|UNCONFIRMED |NEW Last reconfirmed| |2015-11-27 Ever confirmed|0 |1 --- Comment #3 from Joost VandeVondele --- additionally, the target is x86_64-pc-linux-gnu >>From gcc-bugs-return-504161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 27 07:50:22 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105186 invoked by alias); 27 Nov 2015 07:50:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105137 invoked by uid 48); 27 Nov 2015 07:50:17 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68434] [concepts] ICE: same canonical type node for different types Date: Fri, 27 Nov 2015 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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2015-11/txt/msg03088.txt.bz2 Content-length: 7133 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68434 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #3 from Markus Trippelsdorf --- I hit the issue today when compiling the cmcstl2 lib. It might even be caused by Jason's patch: markus@x4 test % cat meta.ii namespace std { typedef int size_t; template struct A { static constexpr _Tp value =3D __v; typedef _Tp value_type; }; typedef A true_type; template struct conditional; struct B : true_type {}; template struct is_integral : B {}; template struct is_same : true_type {}; template struct conditional { typedef _Iffalse type; }; } template struct list; template