aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-04-28 12:27:27 -0400
committerJason Merrill <jason@redhat.com>2020-04-28 14:37:36 -0400
commitbce54ed494fd0e61f41986e2bdbcfb2d2a3a1cf1 (patch)
tree6f38b1eb92da669605d2d65982ae70939c525b64 /gcc/tree-loop-distribution.c
parent5eae0ac76dcb6aac1d1d6c4edd8852e0035792e4 (diff)
downloadgcc-bce54ed494fd0e61f41986e2bdbcfb2d2a3a1cf1.zip
gcc-bce54ed494fd0e61f41986e2bdbcfb2d2a3a1cf1.tar.gz
gcc-bce54ed494fd0e61f41986e2bdbcfb2d2a3a1cf1.tar.bz2
c++: Redeclaration of implicit operator== [PR94583]
My last patch rejected a namespace-scope declaration of the implicitly-declared friend operator== before the class, but redeclaring it after the class should be OK. gcc/cp/ChangeLog 2020-04-28 Jason Merrill <jason@redhat.com> PR c++/94583 * decl.c (use_eh_spec_block): Check nothrow type after DECL_DEFAULTED_FN. * pt.c (maybe_instantiate_noexcept): Call synthesize_method for DECL_MAYBE_DELETED fns here. * decl2.c (mark_used): Not here. * method.c (get_defaulted_eh_spec): Reject DECL_MAYBE_DELETED here.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions