/cp
commitbe54637ac82d820f62ad51e876146e5df86aded9
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 21:13:19 +0000 (11 21:13 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 21:13:19 +0000 (11 21:13 +0000)
tree1e3525eaf4f1a5e052295e7a161178dfd78ff5b8
parente9f29fe5a4fb1f7c5f8afaf218c105c140115947
/cp
2018-06-11  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grok_op_properties): Consistently use the location
of the decl; remove special casing of POSTINCREMENT_EXPR and
POSTDECREMENT_EXPR wrt default arguments.

/testsuite
2018-06-11  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/lookup/new2.C: Test locations too.
* g++.dg/other/ellipsis1.C: Likewise.
* g++.dg/other/operator1.C: Likewise.
* g++.dg/other/operator2.C: Likewise.
* g++.dg/overload/operator2.C: Likewise.
* g++.dg/parse/defarg11.C: Likewise.
* g++.dg/parse/operator4.C: Likewise.
* g++.dg/template/error30.C: Likewise.
* g++.dg/template/explicit-args3.C: Likewise.
* g++.dg/warn/effc1.C: Likewise.
* g++.old-deja/g++.brendan/prepost2.C: Likewise.
* g++.old-deja/g++.brendan/prepost3.C: Likewise.
* g++.old-deja/g++.bugs/900215_01.C: Likewise.
* g++.old-deja/g++.jason/conversion5.C: Likewise.
* g++.old-deja/g++.jason/operator.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261455 138bc75d-0d04-0410-961f-82ee72b054a4
17 files changed:
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/lookup/new2.C
gcc/testsuite/g++.dg/other/ellipsis1.C
gcc/testsuite/g++.dg/other/operator1.C
gcc/testsuite/g++.dg/other/operator2.C
gcc/testsuite/g++.dg/overload/operator2.C
gcc/testsuite/g++.dg/parse/defarg11.C
gcc/testsuite/g++.dg/parse/operator4.C
gcc/testsuite/g++.dg/template/error30.C
gcc/testsuite/g++.dg/template/explicit-args3.C
gcc/testsuite/g++.dg/warn/effc1.C
gcc/testsuite/g++.old-deja/g++.brendan/prepost2.C
gcc/testsuite/g++.old-deja/g++.brendan/prepost3.C
gcc/testsuite/g++.old-deja/g++.bugs/900215_01.C
gcc/testsuite/g++.old-deja/g++.jason/conversion5.C
gcc/testsuite/g++.old-deja/g++.jason/operator.C