Re: [PATCH] c++: Allow references to internal-linkage vars in C++11 [PR113266]

2024-10-03 Thread Jason Merrill
On 10/3/24 10:41 PM, Nathaniel Shead wrote: Tested on x86_64-pc-linux-gnu, so far just dg.exp with GXX_TESTSUITE_STDS=98,11,14,17,20,23,26,impcx. OK for trunk if full bootstrap + regtest passes? -- >8 -- [temp.arg.nontype] changed in C++11 to allow naming internal-linkage variables and functio

[PATCH] c++: Allow references to internal-linkage vars in C++11 [PR113266]

2024-10-03 Thread Nathaniel Shead
Tested on x86_64-pc-linux-gnu, so far just dg.exp with GXX_TESTSUITE_STDS=98,11,14,17,20,23,26,impcx. OK for trunk if full bootstrap + regtest passes? -- >8 -- [temp.arg.nontype] changed in C++11 to allow naming internal-linkage variables and functions. We currently already handle internal-link