ipa.c (cgraph_build_static_cdtor): Pass optimization_default_node and target_option_d...
authorJan Hubicka <hubicka@ucw.cz>
Wed, 13 Nov 2019 09:05:14 +0000 (10:05 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 13 Nov 2019 09:05:14 +0000 (09:05 +0000)
commitd4b44b834e3ac1b92ffb165e7bdaf641a211c34b
tree0c66c77793960a0e851bba275f631581c0dc0749
parente4020b28d02a00d478a3a769855ae6a8d9cc6b26
ipa.c (cgraph_build_static_cdtor): Pass optimization_default_node and target_option_default_node to get...

* ipa.c (cgraph_build_static_cdtor): Pass optimization_default_node
and target_option_default_node to get -fprofile-generate ctors working
right with LTO.

From-SVN: r278123
gcc/ChangeLog
gcc/ipa.c