This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: fortran optimization errors
- From: Thomas Koenig <tkoenig at alice-dsl dot net>
- To: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- Cc: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, fortran at gcc dot gnu dot org
- Date: Sun, 08 Jul 2007 15:42:49 +0200
- Subject: Re: fortran optimization errors
- References: <e45b128a0706212035s141c9058x9b2fef7848ea4cf7@mail.gmail.com> <467B4E4D.2050600@myrealbox.com> <20070622050858.GA16079@troutmask.apl.washington.edu> <e45b128a0706221344o5ba8b78ewab0c65f07a57f542@mail.gmail.com> <467C459A.2010500@verizon.net> <e45b128a0706221510k2c5746f9jc7804b9ec955fa10@mail.gmail.com> <20070622222445.GA27075@troutmask.apl.washington.edu> <20070622223457.GA27137@troutmask.apl.washington.edu> <467C6604.40703@physik.uni-muenchen.de> <20070623002842.GA27873@troutmask.apl.washington.edu> <20070623151834.GA14937@bromo.msbb.uc.edu>
On Sat, 2007-06-23 at 11:18 -0400, Jack Howarth wrote:
Hi Jac,
> I wonder if we should have -Wconversion enabled as the
> default for those architectures known to be sensitive to
> these conversions. This would at eliminate the noise on
> the mailing list long term concerning this issue.
At the moment, -Wconversion warns too much, for example about integer to
real conversions such as
real:: a
a = 1
which is why it isn't included in -Wall. This is PR 27866.
Thomas (who is back from his holiday :-)