aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r--gcc/gimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index 27887e8..c4cdb1a 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -1240,7 +1240,7 @@ gimple_set_location (gimple g, location_t location)
static inline bool
gimple_has_location (const_gimple g)
{
- return !IS_UNKNOWN_LOCATION (gimple_location (g));
+ return LOCATION_LOCUS (gimple_location (g)) != UNKNOWN_LOCATION;
}