On Sun, Jul 6, 2014 at 11:13 PM, FX <fxcoud...@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