public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.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 [thread overview]
Message-ID: <bug-67055-4-EEfw4oWuBK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-67055-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055
Markus Trippelsdorf <trippels at gcc dot gnu.org> 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 <trippels at gcc dot gnu.org> ---
Another testcase:
trippels@gcc2-power8 ~ % cat syn.i
struct list_head
{
struct list_head *prev;
};
extern void __wait_rcu_gp (void*);
const int a = 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[] = { rcu_barrier, rcu_barrier_sched };
trippels@gcc2-power8 ~ % /home/trippels/gcc_5/usr/local/bin/gcc -c -O2 syn.i
syn.i: In function ‘rcu_barrier_sched’:
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 <http://gcc.gnu.org/bugs.html> 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: <gcc-bugs-return-495576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
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: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
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" <gcc-bugzilla@gcc.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: <bug-67055-4-5W3wwoC6Dc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67055-4@http.gcc.gnu.org/bugzilla/>
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?idg055
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ysato at users dot sourceforge.jp
--- Comment #12 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
*** Bug 67349 has been marked as a duplicate of this bug. ***
next prev parent reply other threads:[~2015-08-25 7:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-29 10:49 [Bug c++/67055] New: " balder@yahoo-inc.com
2015-07-29 11:08 ` [Bug c++/67055] " trippels at gcc dot gnu.org
2015-07-29 11:43 ` balder@yahoo-inc.com
2015-07-29 11:45 ` balder@yahoo-inc.com
2015-07-29 11:48 ` balder@yahoo-inc.com
2015-07-29 12:21 ` [Bug tree-optimization/67055] 5/6 Regression] " trippels at gcc dot gnu.org
2015-07-29 12:51 ` [Bug tree-optimization/67055] [5/6 " trippels at gcc dot gnu.org
2015-07-29 12:52 ` trippels at gcc dot gnu.org
2015-07-29 13:01 ` rguenth at gcc dot gnu.org
2015-08-05 4:24 ` hp at gcc dot gnu.org
2015-08-05 7:59 ` rguenth at gcc dot gnu.org
2015-08-25 7:41 ` trippels at gcc dot gnu.org [this message]
2015-09-10 15:51 ` [Bug tree-optimization/67055] [5 " trippels at gcc dot gnu.org
2015-09-21 9:57 ` rguenth at gcc dot gnu.org
2015-09-21 9:57 ` rguenth at gcc dot gnu.org
2015-09-25 8:03 ` trippels at gcc dot gnu.org
2015-10-17 10:08 ` ebotcazou at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-67055-4-EEfw4oWuBK@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).