https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45821
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45821&action=edit
Unreduced test-case

Started to fail with r268745 which is definitely a culprit:

$ gcc 11.i 22.i 33.i 44.i -fPIC -O3 -fno-semantic-interposition -flto=8 -shared
during GIMPLE pass: vrp
ppd-localize.c: In function ‘ppdLocalize’:
ppd-localize.c:51:1: internal compiler error: Segmentation fault
 ppdLocalize(ppd_file_t *ppd)  /* I - PPD file */
 ^
0xdfd704 crash_signal
        ../../gcc/toplev.c:325
0x7ffff79b1e0f ???
       
/usr/src/debug/glibc-2.29-1.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xf2ac71 ptr_derefs_may_alias_p(tree_node*, tree_node*)
        ../../gcc/tree-ssa-alias.c:284
0xf2d2de indirect_refs_may_alias_p
        ../../gcc/tree-ssa-alias.c:1303
0xf2dbfa refs_may_alias_p_1(ao_ref*, ao_ref*, bool)
        ../../gcc/tree-ssa-alias.c:1498
0xaa0876 gimple_fold_builtin_memory_op
        ../../gcc/gimple-fold.c:918
0xaa79ca gimple_fold_builtin
        ../../gcc/gimple-fold.c:3657
0xaa95c9 gimple_fold_call
        ../../gcc/gimple-fold.c:4159
0xaaba38 fold_stmt_1
        ../../gcc/gimple-fold.c:4834
0xaac069 fold_stmt(gimple_stmt_iterator*)
        ../../gcc/gimple-fold.c:4981
0xe44b2a replace_uses_by(tree_node*, tree_node*)
        ../../gcc/tree-cfg.c:2025
0xe44fac gimple_merge_blocks
        ../../gcc/tree-cfg.c:2111
0x8c1c5a merge_blocks(basic_block_def*, basic_block_def*)
        ../../gcc/cfghooks.c:793
0xe5cccc cleanup_tree_cfg_bb
        ../../gcc/tree-cfgcleanup.c:715
0xe5cfae cleanup_tree_cfg_1
        ../../gcc/tree-cfgcleanup.c:797
0xe5d2f6 cleanup_tree_cfg_noloop
        ../../gcc/tree-cfgcleanup.c:911
0xe5d410 cleanup_tree_cfg()
        ../../gcc/tree-cfgcleanup.c:971
0xcdc9ef execute_function_todo
        ../../gcc/passes.c:1947
0xcdbb84 do_per_function
        ../../gcc/passes.c:1659
0xcdcd6d execute_todo
        ../../gcc/passes.c:2048

Reply via email to