This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] Add location_t parameter to grokvardecl


Hi,

the other day I noticed that we weren't getting right the first location of pr53037-4.C, for a variable, whereas the next one, for a function, was Ok. Indeed, we were passing a location only to grokfndecl. In other terms, I found a good empirical reason to move the declaration of the local loc = declarator ? declarator->id_loc : input_location further up ;) Tested x86_64-linux.

Thanks, Paolo.

//////////////////////

Attachment: CL_grokbitfield4
Description: Text document

Attachment: patch_grokbitfield4
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]