This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran, patch] IEEE intrinsic modules (ping)
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, Tobias Burnus <burnus at net-b dot de>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Fortran List <fortran at gcc dot gnu dot org>
- Date: Mon, 7 Jul 2014 09:44:54 +0300
- Subject: Re: [fortran, patch] IEEE intrinsic modules (ping)
- Authentication-results: sourceware.org; auth=none
- References: <20140623192339 dot GA25679 at troutmask dot apl dot washington dot edu> <20140623202005 dot GA31501 at troutmask dot apl dot washington dot edu> <6CA4B0CC-09B5-439C-A766-B27664B2DB12 at gmail dot com> <20140624164936 dot GA38820 at troutmask dot apl dot washington dot edu> <20140624174601 dot GA39016 at troutmask dot apl dot washington dot edu> <53A9C4AF dot 6020700 at net-b dot de> <20140624191947 dot GA70297 at troutmask dot apl dot washington dot edu> <DB1AFC53-68AF-495C-9083-135F73FBD0AC at gmail dot com> <20140624202327 dot GA81301 at troutmask dot apl dot washington dot edu> <4006CA91-3464-4A9A-A228-66FA6C02673B at gmail dot com> <20140624203658 dot GA81560 at troutmask dot apl dot washington dot edu> <yddegxzk05e dot fsf at CeBiTec dot Uni-Bielefeld dot DE> <AB6EFD49-7F94-4652-9B60-E27C47FDB2FD at gmail dot com>
On Sun, Jul 6, 2014 at 11:13 PM, FX <fxcoudert@gmail.com> wrote:
> Actually, it makes a lot of sense to change these into static assertions: this way, any target-specific issues with FP-state buffer size will show up at libgfortran-building-time, rather than be swept under the rug.
>
> Since libgfortran is compiled with GCC, which supports _Static_assert since 4.6, I propose the attached patch.
Furthermore, on 2014-05-12 I committed a patch changing libgfortran to
be built with -std=gnu11 instead of -std=gnu99, so that we can make
use of C11 functionality; see
https://gcc.gnu.org/ml/fortran/2014-04/msg00101.html .
> Built and tested on x86_64-linux, OK to commit?
Ok, thanks.
--
Janne Blomqvist