This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Proper test status if gdb test detects a g++ bug?
- To: aoliva at redhat dot com, chastain at cygnus dot com
- Subject: Re: Proper test status if gdb test detects a g++ bug?
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Sun, 4 Feb 2001 15:05:38 -0800
- Cc: gdb at sources dot redhat dot com
Hi Alexandre,
> Nope. It has the form `T = RET (*PTR)(arglist)'. In this case
> `PTR = RET2 (*PTR2)(arglist)'. Substituting PTR in T, you'll get [1],
> not [2].
>
> int hairyfunc5 (PFPc_PFl_i arg) =
> int hairyfunc5 (PFl_i (*arg)(char *)) =
> int hairyfunc5 (int (*(*arg)(char *))(long))
Oh.
I re-read Kernighan and Ritchie, "Complicated Declarations", and your
interpretation is right, and my interpretation is wrong.
I will change my test script and file bug reports accordingly.
Michael