PR target/56858
commitb80c91bc8eab77b0b96208efc38afd6f4f0ca01a
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jul 2014 07:42:50 +0000 (11 07:42 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Jul 2014 07:42:50 +0000 (11 07:42 +0000)
tree07bc9f05cb6956bbbd90edf7dd1c55245df2aa98
parente76f60400d1f609c364ef4545a2b375546dd100e
PR target/56858
* config/alpha/alpha.c: Include tree-pass.h, context.h
and pass_manager.h.
(pass_data_handle_trap_shadows): New pass.
(pass_handle_trap_shadows::gate): New pass gate function.
(make_pass_handle_trap_shadows): New function.
(rest_of_handle_trap_shadows): Ditto.

(alpha_align_insns_1): Rename from alpha_align_insns.
(pass_data_align_insns): New pass.
(pass_align_insns::gate): New pass gate function.
(make_pass_aling_insns): New function.
(rest_of_align_insns): Ditto.
(alpha_align_insns): Ditto.

(alpha_option_override): Declare handle_trap_shadows info
and align_insns_info.  Register handle_trap_shadows and align_insns
passes here.
(alpha_reorg): Do not call alpha_trap_shadows and
alpha_align_insn from here.

(alpha_pad_function_end): Do not skip BARRIERs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212449 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/alpha/alpha.c