From: David Edelsohn Date: Fri, 4 Nov 2016 23:20:50 +0000 (+0000) Subject: re PR ipa/78188 (AIX Bootstrap broken by tree-vrp.c change) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d48126dc7fc47684bf655d298951766a456c7ec;p=gcc.git re PR ipa/78188 (AIX Bootstrap broken by tree-vrp.c change) PR bootstrap/78188 PR c++/71848 * ipa-comdats.c (pass_ipa_comdats::gate): Require HAVE_COMDAT_GROUP. From-SVN: r241863 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e4a50df854..1992d34a74f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-11-05 David Edelsohn + + PR bootstrap/78188 + PR c++/71848 + * ipa-comdats.c (pass_ipa_comdats::gate): Require HAVE_COMDAT_GROUP. + 2016-11-04 Jakub Jelinek PR target/77834 diff --git a/gcc/ipa-comdats.c b/gcc/ipa-comdats.c index 6e0f7622366..321bc0fc788 100644 --- a/gcc/ipa-comdats.c +++ b/gcc/ipa-comdats.c @@ -416,7 +416,7 @@ public: bool pass_ipa_comdats::gate (function *) { - return optimize; + return HAVE_COMDAT_GROUP && optimize; } } // anon namespace