Verify that context of local DECLs is the current function
authorMartin Jambor <mjambor@suse.cz>
Thu, 28 Apr 2016 14:35:04 +0000 (16:35 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 28 Apr 2016 14:35:04 +0000 (16:35 +0200)
commita6bf99f00f8e86c98bdc797c18b171d8958ddb9a
tree346c86e56b2716b7dcadf2398ff8a34b23eafcfe
parent208b85bb9135f1e59ed79855001439948a2b5a74
Verify that context of local DECLs is the current function

2016-04-28  Martin Jambor  <mjambor@suse.cz>

* tree-cfg.c (verify_expr): Verify that local declarations belong to
this function.  Call verify_expr on MEM_REFs and bases of other
handled_components.

From-SVN: r235570
gcc/ChangeLog
gcc/tree-cfg.c