[trans-mem,c++] PR51928

2012-01-23 Thread Patrick Marlier
Hi, In this PR51928, it tries to look_for_tm_attr_overrides on a thunk but there is no DECL_NAME for thunk. So it fails in lookup_fnfields_idx_nolazy because name is NULL. #0 0x00764b5a in lookup_fnfields_idx_nolazy (type=0x769f77e0, name=0x0) at ../../trunk/gcc/cp/search.c:1384

Re: [trans-mem,c++] PR51928

2012-01-23 Thread Jason Merrill
OK. Jason

Re: [trans-mem,c++] PR51928

2012-01-24 Thread Aldy Hernandez
On 01/23/12 18:34, Patrick Marlier wrote: Hi, In this PR51928, it tries to look_for_tm_attr_overrides on a thunk but there is no DECL_NAME for thunk. So it fails in lookup_fnfields_idx_nolazy because name is NULL. #0 0x00764b5a in lookup_fnfields_idx_nolazy (type=0x769f77e0, name=0x

Re: [trans-mem,c++] PR51928

2012-01-24 Thread Patrick Marlier
On 01/24/2012 08:32 AM, Aldy Hernandez wrote: On 01/23/12 18:34, Patrick Marlier wrote: Hi, In this PR51928, it tries to look_for_tm_attr_overrides on a thunk but there is no DECL_NAME for thunk. So it fails in lookup_fnfields_idx_nolazy because name is NULL. #0 0x00764b5a in lookup_fn