From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40273 invoked by alias); 29 Oct 2015 14:02:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 39799 invoked by uid 48); 29 Oct 2015 14:02:32 -0000 From: "jtaylor.debian at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68145] New: [6 Regression] ICE: in vectorizable_store, at tree-vect-stmts.c:5684 Date: Thu, 29 Oct 2015 14: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jtaylor.debian at googlemail 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-10/txt/msg02464.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68145 Bug ID: 68145 Summary: [6 Regression] ICE: in vectorizable_store, at tree-vect-stmts.c:5684 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jtaylor.debian at googlemail dot com Target Milestone: --- Created attachment 36612 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D36612&action=3Dedit reduced testcase New ICE in current trunk, rev 229522. 5.x is fine. Reduced preprocessed testcase attached. $ g++-6.0 -v Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/scratch/jtaylor/gcc/local-trunk/libexec/gcc/x86_64-p= c-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /scratch/jtaylor/progs/gcc-trunk/configure --disable-werror --enable-languages=3Dc,c++,fortran --enable-tls --prefix=3D/scratch/jtaylor/gcc/local-trunk --with-gmp=3D/usr --with-mpfr= =3D/usr --with-mpc=3D/usr --with-cloog=3D/usr --with-ppl=3D/usr --with-isl=3D/usr --disable-bootstrap --enable-checking=3Drelease Thread model: posix gcc version 6.0.0 20151029 (experimental) (GCC)=20 $ g++-6.0 ExprLogicNodeArray.ii -c -ftree-vectorize -O1 ExprLogicNodeArray.ii: In member function =E2=80=98B D::getArrayBool(const = int&)=E2=80=99: ExprLogicNodeArray.ii:37:3: internal compiler error: in vectorizable_store,= at tree-vect-stmts.c:5684 B D::getArrayBool(const int &) { lnode_p.getArrayBool() && c; } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >>From gcc-bugs-return-500910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 29 14:11:08 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72999 invoked by alias); 29 Oct 2015 14:11:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72967 invoked by uid 55); 29 Oct 2015 14:11:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/68142] unsafe association of multiplication Date: Thu, 29 Oct 2015 14: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: 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg02465.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68142 --- Comment #1 from Richard Biener --- Author: rguenth Date: Thu Oct 29 14:10:31 2015 New Revision: 229528 URL: https://gcc.gnu.org/viewcvs?rev=229528&root=gcc&view=rev Log: 2015-10-29 Richard Biener PR middle-end/68142 * fold-const.c (extract_muldiv_1): Avoid introducing undefined overflow. * c-c++-common/ubsan/pr68142.c: New testcase. Added: trunk/gcc/testsuite/c-c++-common/ubsan/pr68142.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog