re PR lto/46911 (ICE: SIGSEGV in add_name_and_src_coords_attributes (dwarf2out.c...
authorRichard Guenther <rguenther@suse.de>
Tue, 1 Mar 2011 09:45:05 +0000 (09:45 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 1 Mar 2011 09:45:05 +0000 (09:45 +0000)
commit06c7edcc27e82d457693e971b2f7a7830b12a0a5
treecafb8fcad8e9b58d7db10092019913f456bcc23f
parentd610c25e4a375648bdea9a44dc4c602bd44bf6bd
re PR lto/46911 (ICE: SIGSEGV in add_name_and_src_coords_attributes (dwarf2out.c:17792) with -flto -g)

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.

From-SVN: r170588
gcc/ChangeLog
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/lto/pr46911_0.f [new file with mode: 0644]