Migration of Cross Compiler from gcc 3.4.6 to gcc 4.1.1

Rohit Arul Raj rohitarulraj@gmail.com
Wed Oct 11 05:44:00 GMT 2006


Hi all,

I am upgrading my cross-compiler from 3.4.6 to 4.1.1. It has built
successfully. But while running the test suites, i am getting lots of
run time errors during optimization tests (Mostly size optimization -
Os). But the same code with same level of optimization works fine with
3.4.6.

1. What are the differences in implementation of optimization levels
of 3.4.6 and 4.1.1?
2. For 4.1.1, The same test code works with all levels of optimization
except -Os.
   Other than flags, what are the ways in which the implementation of
Optimization levels differ?

can any one help me out of this?

Regards,
Rohit



More information about the Gcc mailing list