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]
Other format: [Raw text]

Re: Cannot modify jumps after sched2


Quoting Steven Bosscher <stevenb.gcc@gmail.com>:

Paul Matos wrote (http://gcc.gnu.org/ml/gcc/2012-10/msg00123.html):
Is there any good way to define TARGET_CANNOT_MODIFY_JUMPS_P such that
jumps are not modified after sched2?

No, there isn't.

Well, you could add a target-specific pass after sched2 with the sole purpoe of
setting a flag in the machine_function struct.


For simpler prototyping work you could also play with PLUGIN_OVERRIDE_GATE and
use a static/global variable in the target code for the flag.


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