]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree-flow-inline.h (get_lineno): Fix inverted test.
authorCary Coutant <ccoutant@google.com>
Fri, 17 Apr 2009 23:58:12 +0000 (23:58 +0000)
committerCary Coutant <ccoutant@gcc.gnu.org>
Fri, 17 Apr 2009 23:58:12 +0000 (16:58 -0700)
From-SVN: r146299

gcc/ChangeLog
gcc/tree-flow-inline.h

index 2eee991f0d802c41e5ffe9daccf3c09ac5805df2..fb6bbdd5d4b8522c29bd13e5740458f501b45509 100644 (file)
@@ -1,3 +1,7 @@
+2009-04-17  Cary Coutant  <ccoutant@google.com>
+
+       * tree-flow-inline.h (get_lineno): Fix inverted test.
+
 2009-04-17  Diego Novillo  <dnovillo@google.com>
 
        * tree-ssa-pre.c (create_expression_by_pieces): Remove
index 7de8db8d321532992fef55184986e4c154b8b1e9..536a111bb44197af5df80e7d4c3f973ef8385de8 100644 (file)
@@ -234,7 +234,7 @@ get_lineno (const_gimple stmt)
     return -1;
 
   loc = gimple_location (stmt);
-  if (loc != UNKNOWN_LOCATION)
+  if (loc == UNKNOWN_LOCATION)
     return -1;
 
   return LOCATION_LINE (loc);