diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-03-06 16:43:51 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-03-06 16:43:51 +0100 |
commit | 345edb3701a0e99d10a532736f27675846ca5dec (patch) | |
tree | 1355c38d33b486b38764e67d763dc2e6de156709 /gcc/incpath.c | |
parent | 90d9a8e6ef72bd85839fb092605aa6d945616178 (diff) | |
download | gcc-345edb3701a0e99d10a532736f27675846ca5dec.zip gcc-345edb3701a0e99d10a532736f27675846ca5dec.tar.gz gcc-345edb3701a0e99d10a532736f27675846ca5dec.tar.bz2 |
re PR c++/79822 (ICE with void statement expression)
PR c++/79822
* constexpr.c (cxx_eval_statement_list): Treat empty ({ }) like
({ (void) 0; }).
* g++.dg/cpp0x/constexpr-79822.C: New test.
From-SVN: r245925
Diffstat (limited to 'gcc/incpath.c')
0 files changed, 0 insertions, 0 deletions