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

[Bug regression/43750] -march unconditionally added to COLLECT_GCC_OPTIONS



------- Comment #2 from jue at jue dot li  2010-04-14 19:15 -------
Actually I want a i686 configured gcc and gcc should be able to compile glibc
without setting -march to something different, that's how it works with any
older gcc 4.x.

As you can see in my supplied examples, gcc 4.5.0 sets -march to pentiumpro
whereas gcc 4.4.3 doesn't set -march at all, which is IMO the preferable
behaviour. Adding optimization options should be the task of the calling
application via CFLAGS.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43750


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