tree-cfg.c (verify_address): Remove base argument, add flag whether to check TREE_ADD...
authorRichard Biener <rguenther@suse.de>
Mon, 30 Apr 2018 13:18:59 +0000 (13:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 30 Apr 2018 13:18:59 +0000 (13:18 +0000)
commitc7b8bff73412d6ed24d7aee7a21d42a46e393d68
tree25383cd8246b747f5bccce4d87cdee282a46e7c1
parent6fe3b9fdd591ea8c5590c87bb5aecd922ada6072
tree-cfg.c (verify_address): Remove base argument, add flag whether to check TREE_ADDRESSABLE and do that.

2018-04-30  Richard Biener  <rguenther@suse.de>

* tree-cfg.c (verify_address): Remove base argument, add
flag whether to check TREE_ADDRESSABLE and do that.
(verify_expr): Remove.
(verify_types_in_gimple_reference): Add pieces from verify_expr.
(verify_gimple_assign_single): Likewise.
(verify_gimple_switch): Likewise.
(verify_expr_location_1): Dereference tp once.  Add (disabled)
piece from verify_expr.
(verify_gimple_in_cfg): Do not call verify_expr on all ops.

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