This is the mail archive of the
mailing list for the GCC project.
attributes in function arguments broken
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 15 Jan 2002 19:01:31 -0800
- Subject: attributes in function arguments broken
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.
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);