[PATCH] gcc: Add tree walk case to reach A pack from B in ...B>. [PR118265]

2025-01-01 Thread A J Ryan Solutions Ltd
Hi and happy new year, this patch is to fix a compiler seg-fault as encountered in the following example: template struct Class1{}; template class Class2; template...Un> class Class2 { public: void apply(){} }; Class1 class1_bool; Class1 class1_char; int main() { Class2 class2; cla

Re: [PATCH] gcc: Add tree walk case to reach A pack from B in ...B>. [PR118265]

2025-02-02 Thread A J Ryan Solutions Ltd
On Monday, 27 January 2025 at 19:48, Jason Merrill - jason at redhat.com wrote: > > On 1/27/25 1:26 PM, Patrick Palka wrote: > > > On Wed, 1 Jan 2025, A J Ryan Solutions Ltd wrote: > > > > > Hi and happy new year, this patch is to fix a compiler seg-fault as >

[PATCH v2] c++: Add tree walk case to reach A pack from B in ...B> [PR118265]

2025-02-02 Thread A J Ryan Solutions Ltd
This version has all the updates as per feedback from version 1. It makes a minor correction to the code styling, reformats the commit message and moves the test into the cpp1z directory. In addition I've updated the test to conform with c++17 for better coverage. Andrew Pinski had put one up on