From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2582 invoked by alias); 12 Aug 2015 14:46: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 Received: (qmail 2152 invoked by uid 48); 12 Aug 2015 14:46:22 -0000 From: "antoine.balestrat at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67191] [6 Regression] ICE: in before_dom_children, at tree-ssa-sccvn.c:4372 Date: Wed, 12 Aug 2015 14: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: antoine.balestrat 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: 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-08/txt/msg00789.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67191 Antoine Balestrat changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |antoine.balestrat at gmail= dot com --- Comment #5 from Antoine Balestrat = --- Hello ! This simpler C testcase seemingly triggers the exact same ICE at -O= 1 on my x86_64 machine : $ cat tested.c int a; void f(void) { int b; for(a=3D1; a;); for(; b; b++) lbl: b || a; if(a) goto lbl; } $ xgcc -w -O1 tested.c tested.c: In function =E2=80=98f=E2=80=99: tested.c:11:1: internal compiler error: in before_dom_children, at tree-ssa-sccvn.c:4372 } ^ 0xc66ffc sccvn_dom_walker::before_dom_children(basic_block_def*) ../../srcdir/gcc/tree-ssa-sccvn.c:4371 0x10c46a1 dom_walker::walk(basic_block_def*) ../../srcdir/gcc/domwalk.c:177 0xc681d6 run_scc_vn(vn_lookup_kind) ../../srcdir/gcc/tree-ssa-sccvn.c:4459 0xc3a3b2 execute ../../srcdir/gcc/tree-ssa-pre.c:4959 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-494648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Aug 12 14:48:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19148 invoked by alias); 12 Aug 2015 14:48: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 18863 invoked by uid 55); 12 Aug 2015 14:48:31 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/47461] warn_unused_result attribute ignored for templates Date: Wed, 12 Aug 2015 14:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00790.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47461 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Aug 12 14:47:58 2015 New Revision: 226816 URL: https://gcc.gnu.org/viewcvs?rev=226816&root=gcc&view=rev Log: 2015-08-12 Paolo Carlini PR c++/47461 * g++.dg/warn/Wunused-result-1.C: New. Added: trunk/gcc/testsuite/g++.dg/warn/Wunused-result-1.C Modified: trunk/gcc/testsuite/ChangeLog