Re: C++ PATCH for c++/50800 (ICE with may_alias and templates)

2015-04-29 Thread Jason Merrill
On 04/29/2015 07:41 AM, Markus Trippelsdorf wrote: I'm getting hundreds of new warnings when building LLVM, e.g.: Whoops. Fixed thus. commit 7da5a68ba55cd49c46ff9ac547df59248bd90f7d Author: Jason Merrill Date: Wed Apr 29 16:04:08 2015 -0400 PR c++/50800 * tree.c (apply_identity

Re: C++ PATCH for c++/50800 (ICE with may_alias and templates)

2015-04-29 Thread Markus Trippelsdorf
On 2015.04.28 at 10:42 -0400, Jason Merrill wrote: > On 04/23/2015 01:45 PM, H.J. Lu wrote: > > On Thu, Apr 23, 2015 at 8:52 AM, Jason Merrill wrote: > >> We try to strip attributes that aren't reflected in mangling from template > >> arguments, but were failing to do that in this case. Fixed by

Re: C++ PATCH for c++/50800 (ICE with may_alias and templates)

2015-04-28 Thread Jason Merrill
On 04/23/2015 01:45 PM, H.J. Lu wrote: On Thu, Apr 23, 2015 at 8:52 AM, Jason Merrill wrote: We try to strip attributes that aren't reflected in mangling from template arguments, but were failing to do that in this case. Fixed by making strip_typedefs strip such attributes as well. Tested x86

Re: C++ PATCH for c++/50800 (ICE with may_alias and templates)

2015-04-23 Thread H.J. Lu
On Thu, Apr 23, 2015 at 8:52 AM, Jason Merrill wrote: > We try to strip attributes that aren't reflected in mangling from template > arguments, but were failing to do that in this case. Fixed by making > strip_typedefs strip such attributes as well. > > Tested x86_64-pc-linux-gnu, applying to tru

C++ PATCH for c++/50800 (ICE with may_alias and templates)

2015-04-23 Thread Jason Merrill
We try to strip attributes that aren't reflected in mangling from template arguments, but were failing to do that in this case. Fixed by making strip_typedefs strip such attributes as well. Tested x86_64-pc-linux-gnu, applying to trunk. commit 2068bd13c95465ece265d46daa0f9e3c3c4e2f8e Author: J