Re: [PATCH] c++/modules: ICE with GMF variable later defined inline [PR126783]
Jason Merrill <[email protected]>
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
On 8/12/26 3:20 PM, Patrick Palka wrote: > On Wed, 12 Aug 2026, Patrick Palka wrote: > >> Tested on x86_64-pc-linux-gnu, does this look OK for trunk/16? OK. > We can be lazier about allocating DECL_LANG_SPECIFIC here, and only do > it if DECL_MODULE_PURVIEW_P is set: > > But I don't think this micro-optimization is worth it, since apparently > it's quite rare that DECL_LANG_SPECIFIC isn't already allocated on the > old decl. Agreed. Jason