This is the mail archive of the gcc-help@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]

Re: gcc 4.3 generates less efficient code than gcc 4.1 or 4.2


Hi Vincent,

> In fact, -march solved the problem, and after all, it's not abnormal
> that a later gcc version generates less efficient code if the
> architecture is incorrect. Now, I thought that gcc would have used
> sensible default values (I couldn't find anything in the manual about
> the default architecture).

I think the value used is the one specified when GCC is built.

If the builder does not specify an architecture explicitly, then the lowest
common denominator for that platform is used (typically).  That's the safest
assumption for configure.

HTH,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]