[cfe-dev] regression with function pointers

Chris Lattner clattner at apple.com
Mon Dec 3 13:43:37 PST 2007


On Nov 30, 2007, at 4:04 PM, Steve Naroff wrote:

>
> On Nov 30, 2007, at 3:17 PM, Nuno Lopes wrote:
>
>> Hi,
>>
>> There was some kind of regression in function pointers handling.
>> Attached is a file that triggers an assert failure (when run with
>> e.g. -ast-dump):
>>
>> Sorry for the big file, but I didn't have the time to strip it.
>
>
> Here is a two line test case that exposes the bug (which appears
> specific to -ast-print/-ast-dump)...
>
> snaroff% cat nuno.c
>
> typedef void func_typedef();
>
> func_typedef xxx;
>
> I'll investigate later. Thanks for the bug,

Fixed,

-Chris



More information about the cfe-dev mailing list