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] |
This fixes the problem reported by Andrey Belevatsev on the gcc mailing list. Trying to bootstrap with BOOT_CFLAGS set to "-g -O0 -fschedule-insns2" results in an ICE in the scheduler. We should not be trying to schedule at -O0. The problem is a trivial bug in the ia64.c file which tries to run a scheduler pass in ia64_reorg, but fails to check for optimize first. This was tested with a C only ia64-linux BOOT_CFLAGS="-g -O0 -fschedule-insns2" build. I get an ICE without the patch. The build succeeds with the patch, and there are no meaningful regressions. A few of the larger testcases got timeouts because a -O0 built compiler is so slow, which is not unexpected. -- Jim Wilson, GNU Tools Support, http://www.specifix.com
Attachment:
patch.optimize.sched2
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |