Re: [C++ Patch] Use declspecs->locations more in grokdeclarator (and grokvardecl)

2018-06-22 Thread Jason Merrill
OK. On Fri, Jun 22, 2018 at 1:18 PM, Paolo Carlini wrote: > Hi, > > this rather straightforward patch simply uses available location information > - in the form of declspecs->locations - in diagnostic messages. In order to > do that, the information is also propagated to bad_specifiers and > mark

Re: [C++ Patch] Use declspecs->locations more

2015-06-04 Thread Paolo CARLINI
Hi, Il 04 giugno 2015 11:15:33 CEST, Andreas Schwab ha scritto: >/opt/gcc/gcc-20150604/gcc/testsuite/obj-c++.dg/tls/diag-5.mm:4:1: >error: '__thr\ >ead' can only be specified for objects and functions^M Thanks Andreas. Looks like I missed a trivial testcase adjustment in the obj-c++ testsuit

Re: [C++ Patch] Use declspecs->locations more

2015-06-04 Thread Andreas Schwab
/opt/gcc/gcc-20150604/gcc/testsuite/obj-c++.dg/tls/diag-5.mm:4:1: error: '__thr\ ead' can only be specified for objects and functions^M FAIL: obj-c++.dg/tls/diag-5.mm -fgnu-runtime (test for errors, line 4) FAIL: obj-c++.dg/tls/diag-5.mm -fgnu-runtime (test for excess errors) Excess errors: /opt/

Re: [C++ Patch] Use declspecs->locations more

2015-06-03 Thread Jason Merrill
OK, thanks. Jason