HAIFA-question/bug

Tobias Polzin polzin00@marvin.informatik.uni-dortmund.de
Tue Jan 20 09:01:00 GMT 1998


Hi,

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.

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.
2. Compiled with the "haifa-egcs", the program behaved differently with
   and without -fschedule-insns. 
   In a large program (36000 lines of C++ code) everything worked right,
   except at least one thing:
   After
      file >> V >> E;
      firstedge=new int[V+1];
      deg=new int[V+1];
   firstedge and deg had some nonsense-values.

Any hint?

Tobias Polzin 



------- End of Unsent Draft





More information about the Gcc mailing list