Re: [C++ Patch] Use declspecs->locations more in grokdeclarator (and grokvardecl)
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_inline_variable. Tested x86_64-linux. > > Thanks, Paolo. > > /// >
Re: [C++ Patch] Use declspecs-locations more
Hi, Il 04 giugno 2015 11:15:33 CEST, Andreas Schwab sch...@linux-m68k.org 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++ testsuite. I guess you can do the change as obvious, or just wait a few hours and I will (I'm traveling). Thanks again, Paolo
Re: [C++ Patch] Use declspecs-locations more
/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/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 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different.
Re: [C++ Patch] Use declspecs-locations more
OK, thanks. Jason