re PR c/62024 (__atomic_always_lock_free is not a constant expression)
authorMarek Polacek <polacek@redhat.com>
Wed, 3 Sep 2014 11:16:29 +0000 (11:16 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 3 Sep 2014 11:16:29 +0000 (11:16 +0000)
commit8d95fe25c52092393ae58669bc956fab9802e390
treea416ed9d4087d51d053c526af41c24e59842ce38
parentd40f3c40304c9086d7ff2c5239f58de8bc0c2218
re PR c/62024 (__atomic_always_lock_free is not a constant expression)

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.

From-SVN: r214871
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr62024.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr62024.c [new file with mode: 0644]