Preserve the location of explicitly defaulted functions.
authorJason Merrill <jason@redhat.com>
Fri, 11 Oct 2019 18:55:14 +0000 (14:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 11 Oct 2019 18:55:14 +0000 (14:55 -0400)
commite0365bd388bac7641e1767222b9ddc683dbf057a
treecfff30e5aef5d3a9de926065733b52bd7c1abfcf
parentc6b6fde0bccc82d1a66e36b3a31177b5188cd52e
Preserve the location of explicitly defaulted functions.

* decl2.c (mark_used): Don't clobber DECL_SOURCE_LOCATION on
explicitly defaulted functions.
* method.c (synthesize_method): Likewise.

From-SVN: r276902
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/method.c