defer mark_addressable calls during expand till the end of expand
commitea804f8615005ecd6eb7bfa13202b6ec45179c96
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Nov 2015 03:57:07 +0000 (3 03:57 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Nov 2015 03:57:07 +0000 (3 03:57 +0000)
tree1ca88d2602206178e1b174d26f9a22c25e3f13a8
parent3faefe689e485130a74244ac912675d9dc1a5fbe
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229696 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/gimple-expr.c
gcc/gimple-expr.h