This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sh fixup_addr_diff_vecs patch


> I've found a case where cse and jump optimization is changing:
> 
> (jump_insn 178 177 179 (parallel[ 
>             (set (pc)
>                 (plus:SI (reg:SI 97)
>                     (label_ref 0)))
>             (use (label_ref 180))
>         ] ) -1 (nil)
>     (nil))
> 
> into:
> 
> (jump_insn 178 218 179 (set (pc)
>         (label_ref 155)) -1 (insn_list 218 (nil))
>     (expr_list:REG_DEAD (reg:SI 1 r1)
>         (nil)))

Shouldn't jump then delete the ADDR_DIFF_VEC too?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]