public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [OBVIOUS][PATCH] Fix parenthesis in auto-profile.c (PR other/80909).
@ 2017-05-30  8:22 Martin Liška
  0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2017-05-30  8:22 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 129 bytes --]

Hello.

Installing obvious patch that has just finished bootstrap on ppc64le-redhat-linux and survives regression tests.

Martin

[-- Attachment #2: 0001-Fix-parenthesis-in-auto-profile.c-PR-other-80909.patch --]
[-- Type: text/x-patch, Size: 887 bytes --]

From 657d83387abccd33b181445e3182fe4af0b10a9a Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Mon, 29 May 2017 14:05:35 +0200
Subject: [PATCH] Fix parenthesis in auto-profile.c (PR other/80909).

gcc/ChangeLog:

2017-05-29  Martin Liska  <mliska@suse.cz>

	PR other/80909
	* auto-profile.c (get_function_decl_from_block): Fix
	parenthesis.
---
 gcc/auto-profile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c
index ff5714a6cbc..0de10402f10 100644
--- a/gcc/auto-profile.c
+++ b/gcc/auto-profile.c
@@ -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);
-- 
2.12.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-30  8:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-30  8:22 [OBVIOUS][PATCH] Fix parenthesis in auto-profile.c (PR other/80909) Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).