Fix parenthesis in auto-profile.c (PR other/80909).
authorMartin Liska <mliska@suse.cz>
Tue, 30 May 2017 08:02:03 +0000 (10:02 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 30 May 2017 08:02:03 +0000 (08:02 +0000)
2017-05-30  Martin Liska  <mliska@suse.cz>

PR other/80909
* auto-profile.c (get_function_decl_from_block): Fix
parenthesis.

From-SVN: r248647

gcc/ChangeLog
gcc/auto-profile.c

index cf7edfd02528f7834e3dec7a5e36badaf5d16ecc..4700b36069a6f52404ee2ae81505c2dcc0c62ded 100644 (file)
@@ -1,3 +1,9 @@
+2017-05-30  Martin Liska  <mliska@suse.cz>
+
+       PR other/80909
+       * auto-profile.c (get_function_decl_from_block): Fix
+       parenthesis.
+
 2017-05-30  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/80876
index ff5714a6cbcc9b8b1a5475ee14cdbd760c3d4953..0de10402f10b99991480b4817499c9f5db692b40 100644 (file)
@@ -356,7 +356,7 @@ get_function_decl_from_block (tree block)
 {
   tree decl;
 
-  if (LOCATION_LOCUS (BLOCK_SOURCE_LOCATION (block) == UNKNOWN_LOCATION))
+  if (LOCATION_LOCUS (BLOCK_SOURCE_LOCATION (block)) == UNKNOWN_LOCATION)
     return NULL_TREE;
 
   for (decl = BLOCK_ABSTRACT_ORIGIN (block);