This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Automatic architecture optimization
Eric Christopher <echristo@redhat.com> wrote:
> On Thu, 2003-09-04 at 13:23, Matt Fago wrote:
>>> On Thu, 2003-09-04 at 11:32, Matt Fago wrote:
>>>> I'm curious about why gcc does not support the "-march"
>>>> optimization flag, without an architecture given, to
>>>> automatically set the appropriate optimization flags for the
>>>> processor type the compiler is running on.
...
>> Are there cases when for example -march=pentium3 would not be
>> appropriate (on this processor)?
>
> If you're building something that you wish to run on any x86 processor?
Then you simply wouldn't use this option. Matt isn't asking for this
to be on by default, AFAICT. (Nit: I'd prefer syntax like
-march=current or some such.)
paul