var-tracking.c (dv_is_decl_p): Adjust NULL behavior to match comment.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 4 Sep 2009 18:55:25 +0000 (18:55 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 4 Sep 2009 18:55:25 +0000 (18:55 +0000)
commit24277d3405286341523ae1eb3b5bd4e2156dea7b
tree35410dc4adf51ca2f7859c276006c99b0612357d
parent5f1a9ebbc159cb2cad9605777f92e0c73f4cee76
var-tracking.c (dv_is_decl_p): Adjust NULL behavior to match comment.

* var-tracking.c (dv_is_decl_p): Adjust NULL behavior to match
comment.  Use switch statement to catch overlaps between rtx
and tree codes.  Accept FUNCTION_DECLs in addition to those in...
(IS_DECL_CODE): ... here. Remove.
(check_value_is_not_decl): Remove.
(dv_from_decl, dv_from_value): Check after conversion.

From-SVN: r151432
gcc/ChangeLog
gcc/var-tracking.c