Re: [PATCH] PR c++/52672

2012-03-29 Thread Meador Inge
On 03/26/2012 09:14 AM, Meador Inge wrote: > Hi All, > > This patch fixes an ICE that occurs when attempting to fold nested > INDIRECT_REF > trees that have conversions in between the indirect references. For example: > > constexpr unsigned long b = *((ul_ptr)(*((ul_ptr)0x0))); > > What happe

[PATCH] PR c++/52672

2012-03-26 Thread Meador Inge
Hi All, This patch fixes an ICE that occurs when attempting to fold nested INDIRECT_REF trees that have conversions in between the indirect references. For example: constexpr unsigned long b = *((ul_ptr)(*((ul_ptr)0x0))); What happens is that 'cxx_fold_indirect_ref' gets the top indirect refere