gimple-ssa-sprintf.c: Include domwalk.h.
authorJeff Law <law@redhat.com>
Fri, 27 Oct 2017 16:54:49 +0000 (10:54 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 27 Oct 2017 16:54:49 +0000 (10:54 -0600)
commita09ca93a71be0b9b3c2f8ff0181293a6036f0282
tree028b671db983183eab1364f9dfbb600546fcccef
parenta565d95cd0f0ce7b7c44cfd86ea5abfe4fcba1b7
gimple-ssa-sprintf.c: Include domwalk.h.

* gimple-ssa-sprintf.c: Include domwalk.h.
(class sprintf_dom_walker): New class, derived from dom_walker.
(sprintf_dom_walker::before_dom_children): New function.
(struct call_info): Moved into sprintf_dom_walker class
(compute_formath_length, handle_gimple_call): Likewise.
(sprintf_length::execute): Call the dominator walker rather
than walking the statements.

From-SVN: r254156
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c