[Bug lto/46911] [4.6 Regression] ICE: SIGSEGV in add_name_and_src_coords_attributes (dwarf2out.c:17792) with -flto -g
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 1 09:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46911
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-01 09:45:09 UTC ---
Author: rguenth
Date: Tue Mar 1 09:45:05 2011
New Revision: 170588
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170588
Log:
2011-03-01 Richard Guenther <rguenther@suse.de>
PR lto/46911
* lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
Do not stream DECL_ABSTRACT_ORIGIN.
(lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
* lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
Do not stream DECL_ABSTRACT_ORIGIN.
(lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
* gfortran.dg/lto/pr46911_0.f: New testcase.
Added:
trunk/gcc/testsuite/gfortran.dg/lto/pr46911_0.f
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-streamer-in.c
trunk/gcc/lto-streamer-out.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list