]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR ipa/60665
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Sep 2014 00:21:33 +0000 (00:21 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Sep 2014 00:21:33 +0000 (00:21 +0000)
* ipa-devirt.c (possible_polymorphic_call_targets): Silence clang warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215656 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-devirt.c

index 203e1f53e07607cbedcb956d16b0656594ef6352..2c416972b0f52edec8f9366d30a1d9906ed8e346 100644 (file)
@@ -1,3 +1,8 @@
+2014-09-26  Jan Hubicka  <hubicka@ucw.cz>      
+       
+       PR ipa/60665
+       * ipa-devirt.c (possible_polymorphic_call_targets): Silence clang warning.
+
 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
 
        PR ipa/62121
index cbc9dd589065a0c643023ba941f518e784add348..dc47e99f6b511da51549c60c6bdcec532881c451 100644 (file)
@@ -2217,7 +2217,7 @@ possible_polymorphic_call_targets (tree otr_type,
   unsigned int i;
   tree binfo, target;
   bool complete;
-  bool can_refer;
+  bool can_refer = false;
   bool skipped = false;
 
   otr_type = TYPE_MAIN_VARIANT (otr_type);