HAIFA-question/bug
Jeffrey A Law
law@cygnus.com
Sun Jan 25 20:47:00 GMT 1998
In message < 9801201701.AA16194@occam.informatik.uni-dortmund.de >you write:
> I have a question about the usage of the instruction-scheduler on a
> i586-pc-linux-gnu:
> If I understood it right, I have to configure egcs with --enable-haifa,
> build it and then call g++ with -fschedule-insns / -fschedule-insns2.
Correct. If you don't use --enable-haifa, then you get the old scheduler.
> I have got strange results with it:
> 1. First I build a version without --enable-haifa. But objectfiles with
> and without -fschedule-insns were different.
No suprise. The old scheduler will be used if you don't enable haifa.
> 2. Compiled with the "haifa-egcs", the program behaved differently with
> and without -fschedule-insns.
This would indicate either a bug in haifa or a bug in your program. You'll
actually have to debug it to figure out which.
jeff
More information about the Gcc
mailing list