This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libgfortran] Use -std=gnu11


PING

On Thu, May 1, 2014 at 12:57 AM, Janne Blomqvist
<blomqvist.janne@gmail.com> wrote:
> Hello,
>
> the attached patch switches libgfortran C sources to be compiled in
> gnu11 mode instead of gnu99. As the 4.9 release notes
> http://gcc.gnu.org/gcc-4.9/changes.html say,
>
> "ISO C11 support is now at a similar level of completeness to ISO C99
> support: substantially complete modulo bugs, extended identifiers
> (supported except for corner cases when -fextended-identifiers is
> used), floating-point issues (mainly but not entirely relating to
> optional C99 features from Annexes F and G) and the optional Annexes K
> (Bounds-checking interfaces) and L (Analyzability)."
>
> An overview of new features in C11 can be seen e.g. at
>
> https://en.wikipedia.org/wiki/C11_%28C_standard_revision%29
>
> And the current status of C11 support in GCC is at
>
> http://gcc.gnu.org/wiki/C11Status
>
> Similar to the case of C99 support, we cannot rely on the new library
> features being present, but the language features can be used, e.g.
> _Noreturn, _Static_assert, anonymous structs and unions could
> potentially be useful for libgfortran.
>
> Since libgfortran is compiled by the stage 3 compiler, there shouldn't
> be any bootstrapping issues wrt. older (stage 1) compilers.
>
> Ok for trunk?
>
> 2014-05-01  Janne Blomqvist  <jb@gcc.gnu.org>
>
>     * configure.ac (AM_CFLAGS): Use -std=gnu11.
>     (CFLAGS): Likewise.
>     * configure: Regenerated.
>
>
> --
> Janne Blomqvist



-- 
Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]