This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Scheduler questions (related to PR17808)
Andrey Belevantsev wrote:
We've also found that current mainline ICEs compiling the testcase with
"-O0 -fschedule-insns -fschedule-insns2".
I suspect this is a bug in ia64_reorg in ia64.c. It shouldn't be trying
to schedule during a non-optimizing compile. So the line
if (ia64_flag_schedule_insns2)
should be
if (optimize && ia64_flag_schedule_insns2)
That gives us the desired affect that -fschedule-insns2 only works when
optimizing.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com