This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58789] "internal compiler error: Segmentation fault" with external definition
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Oct 2013 16:35:30 +0000
- Subject: [Bug c++/58789] "internal compiler error: Segmentation fault" with external definition
- Auto-submitted: auto-generated
- References: <bug-58789-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58789
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-10-18
CC| |hubicka at ucw dot cz
Ever confirmed|0 |1
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I can reproduce in 4_8-branch but I can't in mainline. I doubt however this is
a C++ front-end issue, eg it goes away with -O2. Adding Honza in CC, because
the backtrace includes tree-inline.c:
main.cpp: In function âint main(int, char**)â:
main.cpp:43:9: internal compiler error: Segmentation fault
delete_and_nullify_entries(number_to_copy);
^
0x90401f crash_signal
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/toplev.c:332
0x940ac0 expand_call_inline
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/tree-inline.c:3813
0x940ac0 gimple_expand_calls_inline
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/tree-inline.c:4161
0x940ac0 optimize_inline_calls(tree_node*)
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/tree-inline.c:4315
0xcca7c8 inline_transform(cgraph_node*)
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/ipa-inline-transform.c:415
0x86f0b9 execute_one_ipa_transform_pass
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/passes.c:2175
0x86f0b9 execute_all_ipa_transforms()
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/passes.c:2211
0x6ca0ba expand_function
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/cgraphunit.c:1633
0x6cb562 expand_all_functions
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/cgraphunit.c:1744
0x6cb562 compile()
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/cgraphunit.c:2042
0x6cbac4 finalize_compilation_unit()
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/cgraphunit.c:2119
0x59a4a8 cp_write_global_declarations()
/scratch/Gcc/svn-dirs/gcc-4_8-branch/gcc/cp/decl2.c:4333
Please submit a full bug report,