aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-03-08 11:29:06 +0000
committerRichard Biener <rguenther@suse.de>2013-03-08 11:29:06 +0000
commit696c69d11fd02e849b608810ff488f5e679b0dab (patch)
tree4491ef3341d0f40be0dc705c5a8ca5c4a2d69ca8 /gcc/tree-cfg.c
parentb7e6dbc98a9a4aa26a39f6bfa0ec53b669c4238e (diff)
2013-03-08 Richard Biener <rguenther@suse.de>
* tree-inline.c (expand_call_inline): Do not associate a BLOCK with the location in BLOCK_SOURCE_LOCATION. * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196542 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 83003fb8b44..7be44e42e4b 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -4511,6 +4511,8 @@ verify_location (pointer_set_t *blocks, location_t loc)
error ("location references block not in block tree");
return true;
}
+ if (block != NULL_TREE)
+ return verify_location (blocks, BLOCK_SOURCE_LOCATION (block));
return false;
}