aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-08-09 00:33:42 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-08-09 00:33:42 -0400
commit7dc2b4a235481acda5ae9e51f4cc0401b1fb192f (patch)
treeaf1d5b910d980f8803fa3cb95c390dfbf608337e /libgcc
parentb08e71f9e8afbdf264d159627760aa2bf8a8ca1a (diff)
downloadgcc-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 'libgcc')
0 files changed, 0 insertions, 0 deletions