Reapply r270597.
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 14 May 2019 11:43:55 +0000 (11:43 +0000)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 14 May 2019 11:43:55 +0000 (11:43 +0000)
commit4593483f15ca2a82049500b9434e736996bb0891
tree1db41e29d9b2779229d2b18744399e2df7b9f898
parent19eda56db6c7a6aff1064efb49c18734e82eb382
Reapply r270597.

2019-05-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR preprocessor/90382
* decl.c (grokdeclarator): Fix value assigned to typespec_loc, use
min_location.
2019-05-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR preprocessor/90382
* g++.dg/diagnostic/trailing1.C: New test.

From-SVN: r271164
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/diagnostic/trailing1.C [new file with mode: 0644]