Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)

2019-11-14 Thread Jakub Jelinek
On Thu, Nov 14, 2019 at 12:50:09PM +, Richard Sandiford wrote: > > 2019-11-14 Jakub Jelinek > > > > * g++.dg/cpp0x/alias-decl-pr92206-3.C: Require effective target c++14 > > rather than c++11. > > Thanks, and sorry for the breakage. I obviously messed something up > during the test

Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)

2019-11-14 Thread Richard Sandiford
Jakub Jelinek writes: > On Wed, Nov 13, 2019 at 08:44:31AM +, Richard Sandiford wrote: >> PR c++/92206 >> * g++.dg/cpp0x/alias-decl-pr92206-1.C: New test. >> * g++.dg/cpp0x/alias-decl-pr92206-2.C: Likewise. >> * g++.dg/cpp0x/alias-decl-pr92206-3.C: Likewise. > > This last t

Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)

2019-11-13 Thread Jakub Jelinek
On Wed, Nov 13, 2019 at 08:44:31AM +, Richard Sandiford wrote: > PR c++/92206 > * g++.dg/cpp0x/alias-decl-pr92206-1.C: New test. > * g++.dg/cpp0x/alias-decl-pr92206-2.C: Likewise. > * g++.dg/cpp0x/alias-decl-pr92206-3.C: Likewise. This last test FAILs with -std=c++11: /

Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)

2019-11-13 Thread Richard Sandiford
Jason Merrill writes: > On 10/25/19 2:53 PM, Richard Sandiford wrote: >> One of the changes in r277281 was to make the typedef variant >> handling in strip_typedefs pass the raw DECL_ORIGINAL_TYPE to the >> recursive call, instead of applying TYPE_MAIN_VARIANT first. >> This PR shows that that int

Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)

2019-11-12 Thread Jason Merrill
On 10/25/19 2:53 PM, Richard Sandiford wrote: One of the changes in r277281 was to make the typedef variant handling in strip_typedefs pass the raw DECL_ORIGINAL_TYPE to the recursive call, instead of applying TYPE_MAIN_VARIANT first. This PR shows that that interacts badly with the implementatio

Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)

2019-11-05 Thread Richard Sandiford
Ping Richard Sandiford writes: > One of the changes in r277281 was to make the typedef variant > handling in strip_typedefs pass the raw DECL_ORIGINAL_TYPE to the > recursive call, instead of applying TYPE_MAIN_VARIANT first. > This PR shows that that interacts badly with the implementation > of

[C++] Fix interaction between aka changes and DR1558 (PR92206)

2019-10-25 Thread Richard Sandiford
One of the changes in r277281 was to make the typedef variant handling in strip_typedefs pass the raw DECL_ORIGINAL_TYPE to the recursive call, instead of applying TYPE_MAIN_VARIANT first. This PR shows that that interacts badly with the implementation of DR1558, because we then refuse to strip ali