defer mark_addressable calls during expand till the end of expand
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 3 Nov 2015 03:57:07 +0000 (03:57 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 3 Nov 2015 03:57:07 +0000 (03:57 +0000)
commit1b223a9f3489296c625bdb7cc764196d04fd9231
tree1ca88d2602206178e1b174d26f9a22c25e3f13a8
parentec95cd47926915a7a50a5d94008b4fbfcd46eb46
defer mark_addressable calls during expand till the end of expand

for  gcc/ChangeLog

* gimple-expr.c: Include hash-set.h and rtl.h.
(mark_addressable_queue): New var.
(mark_addressable): Factor actual marking into...
(mark_addressable_1): ... this.  Queue it up during expand.
(mark_addressable_2): New.
(flush_mark_addressable_queue): New.
* gimple-expr.h (flush_mark_addressable_queue): Declare.
* cfgexpand.c: Include gimple-expr.h.
(pass_expand::execute): Flush mark_addressable queue.

From-SVN: r229696
gcc/ChangeLog
gcc/cfgexpand.c
gcc/gimple-expr.c
gcc/gimple-expr.h