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]

Re: [patch,c++] Generate correct (i.e., const) debug entries for arrays declared const but not marked READONLY


There's no need to track this on the decl, as the decl's type still reflects the constness of the declaration. The issue is that the const applies to the array element type rather than the array type itself, so the code in dwarf2out.c needs to be fixed to find it there.

Jason


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