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

            Bug ID: 67055
           Summary: Segmentation fault in fold_builtin_alloca_with_align
                    in tree-ssa-ccp.c
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bal...@yahoo-inc.com
  Target Milestone: ---

Created attachment 36087
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36087&action=edit
This is the full output from the build with stdout and stdin redirected to
file.

When upgrading our compiler version from 4.9.3 to 5.2.0 our build fails with
following message.

....
....
In file included from mallocdst16.cpp:31:0:
../../vespamalloc/malloc/overload.h: In function ‘void* operator
new(std::size_t, const std::nothrow_t&)’:
../../vespamalloc/malloc/overload.h:41:7: internal compiler error: Segmentation
fault
 void* operator new(std::size_t sz, const std::nothrow_t&) noexcept {
       ^
0xa34c65 crash_signal
        ../.././gcc/toplev.c:383
0xaf7486 fold_builtin_alloca_with_align
        ../.././gcc/tree-ssa-ccp.c:2066
0xaf7486 ccp_fold_stmt
        ../.././gcc/tree-ssa-ccp.c:2172
0xb6738a substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
        ../.././gcc/tree-ssa-propagate.c:1176
0xfcdd3a dom_walker::walk(basic_block_def*)
        ../.././gcc/domwalk.c:188
0xb65a1b substitute_and_fold(tree_node* (*)(tree_node*), bool
(*)(gimple_stmt_iterator*), bool)
        ../.././gcc/tree-ssa-propagate.c:1272
0xaf196b ccp_finalize
        ../.././gcc/tree-ssa-ccp.c:941
0xaf2adf do_ssa_ccp
        ../.././gcc/tree-ssa-ccp.c:2382
0xaf2adf execute
        ../.././gcc/tree-ssa-ccp.c:2414
Please submit a full bug report,
...
...

Reply via email to