This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Warnings, standards and flags
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Terry Frankcombe <terry at chem dot gu dot se>
- Cc: Fortran List <fortran at gcc dot gnu dot org>
- Date: Wed, 16 May 2007 07:55:23 -0700
- Subject: Re: Warnings, standards and flags
- References: <1179323695.6103.103.camel@fkpc167.phc.chalmers.se>
On Wed, May 16, 2007 at 03:54:55PM +0200, Terry Frankcombe wrote:
>
> Why does -Wtabs work with -std=gnu, but -std=f95 not allow the
> over-ride?
>
The two options obviously conflict. -Wtabs permits the use of
tabs in a non-conforming way. -std=f95 tells the compiler
to enforce the F95 standard. I chose to have -std=f95 take
precedence over -Wtabs. This is not subject to change.
I'm curious to see the normal set of options that you use.
I typically use less than five options: -O2 -pipe -funroll-loops
-march=native. For debugging purposes, I sometimes use -Wall
and -fbounds-check. This is far short of your 36 options.
--
Steve