diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-20 23:47:35 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-20 23:47:35 +0000 |
commit | 6b40961666f073231ed8a76e6e33deeda063cde7 (patch) | |
tree | 8247eb4232e8be98b7f61bd68bab2fd1a9f06ca3 /gcc/cse.c | |
parent | e6b1b76450af5f98696ecedd4bd9a0ed18cdb2a6 (diff) | |
parent | fc1ce0cf396bf638746d546a557158d87f13849b (diff) | |
download | gcc-6b40961666f073231ed8a76e6e33deeda063cde7.tar.gz |
Merge in trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@203881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index 57db5dc3141..4b3226c2411 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -468,7 +468,7 @@ struct table_elt a cost of 2. Aside from these special cases, call `rtx_cost'. */ #define CHEAP_REGNO(N) \ - (REGNO_PTR_FRAME_P(N) \ + (REGNO_PTR_FRAME_P (N) \ || (HARD_REGISTER_NUM_P (N) \ && FIXED_REGNO_P (N) && REGNO_REG_CLASS (N) != NO_REGS)) @@ -4848,7 +4848,7 @@ cse_insn (rtx insn) /* Set what we are trying to extend and the operation it might have been extended with. */ - memset (memory_extend_rtx, 0, sizeof(*memory_extend_rtx)); + memset (memory_extend_rtx, 0, sizeof (*memory_extend_rtx)); PUT_CODE (memory_extend_rtx, LOAD_EXTEND_OP (mode)); XEXP (memory_extend_rtx, 0) = src; @@ -6077,9 +6077,12 @@ cse_process_notes_1 (rtx x, rtx object, bool *changed) return x; case EXPR_LIST: - case INSN_LIST: if (REG_NOTE_KIND (x) == REG_EQUAL) XEXP (x, 0) = cse_process_notes (XEXP (x, 0), NULL_RTX, changed); + /* Fall through. */ + + case INSN_LIST: + case INT_LIST: if (XEXP (x, 1)) XEXP (x, 1) = cse_process_notes (XEXP (x, 1), NULL_RTX, changed); return x; @@ -6745,6 +6748,7 @@ count_reg_usage (rtx x, int *counts, rtx dest, int incr) return; case INSN_LIST: + case INT_LIST: gcc_unreachable (); default: @@ -7484,8 +7488,8 @@ const pass_data pass_data_cse = class pass_cse : public rtl_opt_pass { public: - pass_cse(gcc::context *ctxt) - : rtl_opt_pass(pass_data_cse, ctxt) + pass_cse (gcc::context *ctxt) + : rtl_opt_pass (pass_data_cse, ctxt) {} /* opt_pass methods: */ @@ -7564,8 +7568,8 @@ const pass_data pass_data_cse2 = class pass_cse2 : public rtl_opt_pass { public: - pass_cse2(gcc::context *ctxt) - : rtl_opt_pass(pass_data_cse2, ctxt) + pass_cse2 (gcc::context *ctxt) + : rtl_opt_pass (pass_data_cse2, ctxt) {} /* opt_pass methods: */ @@ -7642,8 +7646,8 @@ const pass_data pass_data_cse_after_global_opts = class pass_cse_after_global_opts : public rtl_opt_pass { public: - pass_cse_after_global_opts(gcc::context *ctxt) - : rtl_opt_pass(pass_data_cse_after_global_opts, ctxt) + pass_cse_after_global_opts (gcc::context *ctxt) + : rtl_opt_pass (pass_data_cse_after_global_opts, ctxt) {} /* opt_pass methods: */ |