]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/lto-cgraph.cc
re PR lto/47162 (LTO is broken)
authorMartin Jambor <mjambor@suse.cz>
Wed, 5 Jan 2011 14:55:27 +0000 (15:55 +0100)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 5 Jan 2011 14:55:27 +0000 (06:55 -0800)
commit644e637fcad77383a8f5711901f7e629e8a71e5f
tree931cb4aa88c60a118294f0aa4726fb0a40cbccd9
parent7bd111573699079b760f18e81439cd7dc5268cca
re PR lto/47162 (LTO is broken)

Fix PR lto/47162.

2011-01-05  Martin Jambor  <mjambor@suse.cz>

PR lto/47162
* lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
deltas on streamed outgoing edges.
(output_node_opt_summary): Output info for outgoing edges only when
the node is in new parameter set.
(output_cgraph_opt_summary): New parameter set, passed to the two
aforementioned functions.  Update its forward declaration and its
callee too.

From-SVN: r168515
gcc/ChangeLog
gcc/lto-cgraph.c