From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93511 invoked by alias); 25 Aug 2015 07:41: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 Received: (qmail 93454 invoked by uid 48); 25 Aug 2015 07:41:50 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67055] [5 Regression] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c Date: Tue, 25 Aug 2015 07:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: ice-on-valid-code 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: rguenth 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-08/txt/msg01719.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67055 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[5/6 Regression] |[5 Regression] Segmentation |Segmentation fault in |fault in |fold_builtin_alloca_with_al |fold_builtin_alloca_with_al |ign in tree-ssa-ccp.c |ign in tree-ssa-ccp.c --- Comment #13 from Markus Trippelsdorf --- Another testcase: trippels@gcc2-power8 ~ % cat syn.i struct list_head { struct list_head *prev; }; extern void __wait_rcu_gp (void*); const int a =3D sizeof 0; static inline __attribute__ ((always_inline no_instrument_function)) void rcu_barrier_sched (void) { struct list_head b[a]; __wait_rcu_gp (b); } static inline __attribute__ ((always_inline no_instrument_function)) void rcu_barrier (void) { rcu_barrier_sched (); } struct { void *wait; } c[] =3D { rcu_barrier, rcu_barrier_sched }; trippels@gcc2-power8 ~ % /home/trippels/gcc_5/usr/local/bin/gcc -c -O2 syn.i syn.i: In function =E2=80=98rcu_barrier_sched=E2=80=99: syn.i:8:1: internal compiler error: Segmentation fault rcu_barrier_sched (void) ^ 0x107e9053 crash_signal ../../gcc/gcc/toplev.c:383 0x10937a64 tree_check ../../gcc/gcc/tree.h:2850 0x10937a64 fold_builtin_alloca_with_align ../../gcc/gcc/tree-ssa-ccp.c:2067 0x10937a64 ccp_fold_stmt ../../gcc/gcc/tree-ssa-ccp.c:2172 0x109d85a3 substitute_and_fold_dom_walker::before_dom_children(basic_block_def*) ../../gcc/gcc/tree-ssa-propagate.c:1177 0x10dd228b dom_walker::walk(basic_block_def*) ../../gcc/gcc/domwalk.c:188 0x109d7993 substitute_and_fold(tree_node* (*)(tree_node*), bool (*)(gimple_stmt_iterator*), bool) ../../gcc/gcc/tree-ssa-propagate.c:1272 0x1092f0eb ccp_finalize ../../gcc/gcc/tree-ssa-ccp.c:941 0x1092f0eb do_ssa_ccp ../../gcc/gcc/tree-ssa-ccp.c:2382 0x1092f0eb execute ../../gcc/gcc/tree-ssa-ccp.c:2414 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-495576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Aug 25 07:41:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92182 invoked by alias); 25 Aug 2015 07:41:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92010 invoked by uid 48); 25 Aug 2015 07:41:08 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67055] [5/6 Regression] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c Date: Tue, 25 Aug 2015 07:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: ice-on-valid-code 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: rguenth 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg01718.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ysato at users dot sourceforge.jp --- Comment #12 from Markus Trippelsdorf --- *** Bug 67349 has been marked as a duplicate of this bug. ***