* tree-flow-inline.h (get_lineno): Fix inverted test.
From-SVN: r146299
This commit is contained in:
parent
4d4014c1cd
commit
668fb0e80c
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue