re PR ipa/60665 (gcc/ipa-devirt.c:1510:7: warning: variable 'can_refer' is used unini...
authorJan Hubicka <hubicka@ucw.cz>
Sat, 27 Sep 2014 00:21:33 +0000 (02:21 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 27 Sep 2014 00:21:33 +0000 (00:21 +0000)
PR ipa/60665
* ipa-devirt.c (possible_polymorphic_call_targets): Silence clang warning.

From-SVN: r215656

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);