This is the mail archive of the gcc-bugs@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]

[Bug c/62024] __atomic_always_lock_free is not a constant expression


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62024

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Sep  3 11:16:29 2014
New Revision: 214871

URL: https://gcc.gnu.org/viewcvs?rev=214871&root=gcc&view=rev
Log:
    PR c/62024
    * c-parser.c (c_parser_static_assert_declaration_no_semi): Strip no-op
    conversions.

    * g++.dg/cpp0x/pr62024.C: New test.
    * gcc.dg/pr62024.c: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr62024.C
    trunk/gcc/testsuite/gcc.dg/pr62024.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog


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