[PR 82027] Also stream opt_info of former_clones
authorMartin Jambor <mjambor@suse.cz>
Fri, 22 Dec 2017 17:03:16 +0000 (18:03 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 22 Dec 2017 17:03:16 +0000 (18:03 +0100)
commita50e9b2f5d4be81e7da7cf55e6ade4c6c575de03
tree24dc8c5619b99187259be97646cc81c8b04e937d
parentd7b24d5556b2dae71e1ed3c907d33db21cd2ce72
[PR 82027] Also stream opt_info of former_clones

2017-12-22  Martin Jambor  <mjambor@suse.cz>

PR lto/82027
* lto-cgraph.c (output_cgraph_opt_summary_p): Also check former
clones.

testsuite/
* g++.dg/lto/pr82027_0.C: New test.

From-SVN: r255978
gcc/ChangeLog
gcc/lto-cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr82027_0.C [new file with mode: 0644]