]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/56858 (alpha looks for NOTE_INSN_EH_REGION notes that cannot exist)
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 11 Jul 2014 07:42:50 +0000 (09:42 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 11 Jul 2014 07:42:50 +0000 (09:42 +0200)
commit4bdf641875669a5f94a5acb2cd54100f5e52a835
tree07bc9f05cb6956bbbd90edf7dd1c55245df2aa98
parentc77556a5d1e225024a4f9dafe5a1a6c316a86b83
re PR target/56858 (alpha looks for NOTE_INSN_EH_REGION notes that cannot exist)

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.

From-SVN: r212449
gcc/ChangeLog
gcc/config/alpha/alpha.c