https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67349
Bug ID: 67349 Summary: ICE on optimization Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ysato at users dot sourceforge.jp Target Milestone: --- Created attachment 36252 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36252&action=edit problem source I got following error. $ LANG=C h8300-unknown-linux-gcc -c -O2 -fconserve-stack sync.c In file included from include/linux/rcupdate.h:429:0, from include/linux/rcusync.h:5, from kernel/rcu/sync.c:1: include/linux/rcutiny.h: In function 'rcu_barrier_sched': include/linux/rcutiny.h:55:91: internal compiler error: Segmentation fault 0xb11f6f crash_signal ../../gcc/toplev.c:352 0xc1fe56 tree_check ../../gcc/tree.h:2857 0xc1fe56 fold_builtin_alloca_with_align ../../gcc/tree-ssa-ccp.c:2110 0xc1fe56 ccp_fold_stmt ../../gcc/tree-ssa-ccp.c:2215 0xca6cba substitute_and_fold_dom_walker::before_dom_children(basic_block_def*) ../../gcc/tree-ssa-propagate.c:1226 0xe6a7f7 dom_walker::walk(basic_block_def*) ../../gcc/domwalk.c:177 0xca64a9 substitute_and_fold(tree_node* (*)(tree_node*), bool (*)(gimple_stmt_iterator*), bool) ../../gcc/tree-ssa-propagate.c:1319 0xc17efc ccp_finalize ../../gcc/tree-ssa-ccp.c:951 0xc17efc do_ssa_ccp ../../gcc/tree-ssa-ccp.c:2410 0xc17efc execute ../../gcc/tree-ssa-ccp.c:2442 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. without -fconserve-stack in no problem.