[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fortran flags
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Fortran flags |
Date: |
Tue, 10 May 2011 11:20:45 -0500 |
On 10 May 2011 10:12, Daniel Kraft <address@hidden> wrote:
> Usually, -O2 should be a good thing for gfortran. And in general, please
> report any "problems" -O2 causes as gfortran bug.
I was wondering why it's not enabled in the default Fortran flags.
Instead we merely use -O. I thought the option enabled other
optimisation flags that caused problems. Red Hat for example broke ABI
compatibility by compiling with -O2:
https://bugzilla.redhat.com/show_bug.cgi?id=478856
I seem to recall there was another packaging problem by compiling with
-O2, but I can't find it now.
- Jordi G. H.
- Fortran flags,
Jordi Gutiérrez Hermoso <=
- Fortran flags, John W. Eaton, 2011/05/11