http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51737
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-03
Component|c++ |tree-optimization
Known to work| |4.5.3
Target Milestone|--- |4.6.3
Summary|g++ crashes (internal |[4.6 Regression] g++
|compiler error: |crashes (internal compiler
|Segmentation fault) when |error: Segmentation fault)
|compiling quickbook |when compiling quickbook
Ever Confirmed|0 |1
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-03
09:21:16 UTC ---
Confirmed (on the unreduced testcase) with 4.6.2 and the 4.6 branch head
with just -O2:
#0 0x0000000000b7f910 in delete_unreachable_blocks_update_callgraph (
id=<optimized out>)
at /space/rguenther/src/svn/gcc-4_6-branch/gcc/tree-inline.c:4972
#1 0x0000000000b8d2b0 in tree_function_versioning (old_decl=0x7ffff1f18f00,
new_decl=0x7ffff0649600, tree_map=<optimized out>,
update_clones=128 '\200', args_to_skip=<optimized out>,
blocks_to_copy=0x0, new_entry=0x0)
at /space/rguenther/src/svn/gcc-4_6-branch/gcc/tree-inline.c:5232
#2 0x0000000000b52961 in save_inline_function_body (node=0x7ffff1886160)
at /space/rguenther/src/svn/gcc-4_6-branch/gcc/cgraphunit.c:2149
#3 0x0000000000b5c1f8 in inline_transform (node=0x7ffff1886160)
at /space/rguenther/src/svn/gcc-4_6-branch/gcc/ipa-inline.c:2122
#4 inline_transform (node=0x7ffff1886160)
at /space/rguenther/src/svn/gcc-4_6-branch/gcc/ipa-inline.c:2108
does not reproduce on trunk, but that may be artificial.
Re-reducing.