Bug ID: 85385
Summary: [8 Regression] Bogus "macro had not yet been defined"
message when macro used with wrong arg count
Assignee: unassigned at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
$ cat test.c
void test ()
$ ./xg++ -B. -c test.c
test.c:5:11: error: macro "MACRO" requires 2 arguments, but only 1 given
test.c: In function ‘void test()’:
test.c:5:3: error: ‘MACRO’ was not declared in this scope
test.c:1: note: it was later defined here
We shouldn't emit the note "the macro ‘MACRO’ had not yet been defined" for
cases like these: the macro *had* been defined.