Re: Cannot modify jumps after sched2

2012-10-09 Thread Georg-Johann Lay
Paulo Matos schrieb: Hi, Is there any good way to define TARGET_CANNOT_MODIFY_JUMPS_P such that jumps are not modified after sched2? Or in other words, is there a way to recognize if sched2 has already been ran (sched2_completed, maybe)? Such flags would be really helpful, but unfortunately t

Re: Cannot modify jumps after sched2

2012-10-09 Thread Joern Rennecke
Quoting Steven Bosscher : 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

Cannot modify jumps after sched2

2012-10-09 Thread Paulo Matos
Hi, Is there any good way to define TARGET_CANNOT_MODIFY_JUMPS_P such that jumps are not modified after sched2? Or in other words, is there a way to recognize if sched2 has already been ran (sched2_completed, maybe)? Cheers, Paulo Matos