This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/43750] -march unconditionally added to COLLECT_GCC_OPTIONS
- From: "jue at jue dot li" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Apr 2010 19:15:20 -0000
- Subject: [Bug regression/43750] -march unconditionally added to COLLECT_GCC_OPTIONS
- References: <bug-43750-19030@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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