Remove first_pass_instance from pass_vrp
authorTom de Vries <tom@codesourcery.com>
Mon, 16 Nov 2015 12:40:05 +0000 (12:40 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 16 Nov 2015 12:40:05 +0000 (12:40 +0000)
commitb0c77505ddbc1ebdecb71042e824fa4e36ba59a3
tree5829532adf2249c19f045548c3462a452fd512b8
parent632b09212386db8c68978befb8dc0d2745988b7c
Remove first_pass_instance from pass_vrp

2015-11-16  Tom de Vries  <tom@codesourcery.com>

* gdbhooks.py (class PassNames): Handle extra arg NEXT_PASS argument.
* gen-pass-instances.awk (handle_line): Same.
* pass_manager.h (class pass_manager): Define and undefine
NEXT_PASS_WITH_ARG.
* passes.c (opt_pass::set_pass_param): New function.
(pass_manager::pass_manager): Define and undefine NEXT_PASS_WITH_ARG.
* passes.def: Add extra arg to NEXT_PASS (pass_vrp).
* tree-pass.h (gimple_opt::set_pass_param): Declare.
* tree-vrp.c (vrp_finalize, execute_vrp): Add and handle
warn_array_bounds_p parameter.
(pass_vrp::pass_vrp): Initialize warn_array_bounds_p.
(pass_vrp::set_pass_param): New function.
(pass_vrp::execute): Add warn_array_bounds_p arg to execute_vrp call.
(pass_vrp::warn_array_bounds_p): New private member.

From-SVN: r230415
gcc/ChangeLog
gcc/gdbhooks.py
gcc/gen-pass-instances.awk
gcc/pass_manager.h
gcc/passes.c
gcc/passes.def
gcc/tree-pass.h
gcc/tree-vrp.c