Commit 668fb0e8 by Cary Coutant Committed by Cary Coutant

* tree-flow-inline.h (get_lineno): Fix inverted test.

From-SVN: r146299
parent 4d4014c1
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> 2009-04-17 Diego Novillo <dnovillo@google.com>
* tree-ssa-pre.c (create_expression_by_pieces): Remove * tree-ssa-pre.c (create_expression_by_pieces): Remove
......
...@@ -234,7 +234,7 @@ get_lineno (const_gimple stmt) ...@@ -234,7 +234,7 @@ get_lineno (const_gimple stmt)
return -1; return -1;
loc = gimple_location (stmt); loc = gimple_location (stmt);
if (loc != UNKNOWN_LOCATION) if (loc == UNKNOWN_LOCATION)
return -1; return -1;
return LOCATION_LINE (loc); return LOCATION_LINE (loc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment