attributes in function arguments broken

Aldy Hernandez aldyh@redhat.com
Tue Jan 15 23:05:00 GMT 2002


i've been staring at this too long, and my skills at debugging
yacc code are close to 0.

attributes in function parameters are completely broken.

can anyone take a peek at this?

thanks a lot.
aldy

p.s. the grammar looks correct (parmlist, maybe_attribute, etc).  how
does one generally go about debugging this?

culebra:/build/t3/gcc$ ./cc1 c.c -quiet
c.c:3: parse error before "__attribute__"
culebra:/build/t3/gcc$ cat c.c
#define blah __attribute__(__mode__(SI))

void foo (blah int abc);
culebra:/build/t3/gcc$ 



More information about the Gcc mailing list