diff options
author | Jason Merrill <jason@redhat.com> | 2016-08-09 00:33:42 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-08-09 00:33:42 -0400 |
commit | 7dc2b4a235481acda5ae9e51f4cc0401b1fb192f (patch) | |
tree | af1d5b910d980f8803fa3cb95c390dfbf608337e /libcpp | |
parent | b08e71f9e8afbdf264d159627760aa2bf8a8ca1a (diff) | |
download | gcc-7dc2b4a235481acda5ae9e51f4cc0401b1fb192f.zip gcc-7dc2b4a235481acda5ae9e51f4cc0401b1fb192f.tar.gz gcc-7dc2b4a235481acda5ae9e51f4cc0401b1fb192f.tar.bz2 |
Fix empty class parameters with constexpr.
PR c++/67131
* class.c (is_really_empty_class): Call complete_type.
* constexpr.c (cxx_eval_constant_expression): Check
is_really_empty_class.
(potential_constant_expression_1): Likewise. Check for error type.
From-SVN: r239267
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions