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

From-SVN: r146299
This commit is contained in:
Cary Coutant 2009-04-17 23:58:12 +00:00 committed by Cary Coutant
parent 4d4014c1cd
commit 668fb0e80c
2 changed files with 5 additions and 1 deletions

View 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

View 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);