https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90382
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue May 14 11:43:55 2019 New Revision: 271164 URL: https://gcc.gnu.org/viewcvs?rev=271164&root=gcc&view=rev Log: Reapply r270597. 2019-05-14 Paolo Carlini <paolo.carl...@oracle.com> PR preprocessor/90382 * decl.c (grokdeclarator): Fix value assigned to typespec_loc, use min_location. 2019-05-14 Paolo Carlini <paolo.carl...@oracle.com> PR preprocessor/90382 * g++.dg/diagnostic/trailing1.C: New test. Added: trunk/gcc/testsuite/g++.dg/diagnostic/trailing1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog