Barry Smith <[email protected]> writes:

>    The problem is that CFLAGS can have all kind of flags having
>    nothing to do with optimization. 

Right.  Do we really need to classify and do things differently?

>    Could we do the following?
>
>    Look through any provided CFLAGS (FFLAGS, CXXFLAGS) if we detect
>    something that looks like optimization then act as if COPTFLAGS was
>    set and do not set our own optimization default flag? We can also
>    keep support for the COPTFLAGS stuff
>
>    We can look for -O%d , are there other things to look for?  This seems 
> easy enough to add.

-ftree-vectorize, -fast, -qhot -qsimd=auto

Attachment: pgphLxKNM4mEz.pgp
Description: PGP signature

Reply via email to