This is the mail archive of the gcc-patches@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] |
Other format: | [Raw text] |
Hi!
If try_combine turns a JUMP_INSN into a noop move, it correctly calls update_cfg_for_uncondjump on it and sets *new_direct_jump_p if the noop move is in i3, but as shown on the testcase below, a jump can be turned into a noop move also when adjusting the only CC user and in that case we wouldn't do the necessary cfg adjustments.
Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |