preprocessor/5498: indirect self-reference is not recognized
neil@gcc.gnu.org
neil@gcc.gnu.org
Sat Jan 26 13:23:00 GMT 2002
Synopsis: indirect self-reference is not recognized
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Sat Jan 26 09:57:27 2002
State-Changed-Why:
This is not a bug; the expansion of macro A has terminated
by the time you get to the ')', and therefore the second
invocation of A is not nested, and A is re-expanded.
The EDG front end does the same as GCC too; see
http://www.comeaucomputing.com/tryitout/
with the -E option.
If you have a compiler that behaves differently, that
compiler is buggy.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5498
More information about the Gcc-bugs
mailing list