[8250] in Athena Bugs
AIX 3.1 xlc
daemon@ATHENA.MIT.EDU (John Carr)
Sun Sep 22 12:46:27 1991
To: bugs@Athena.mit.edu
Cc: probe@Athena.mit.edu
Date: Sun, 22 Sep 91 12:44:32 EDT
From: John Carr <jfc@Athena.mit.edu>
ANSI C allows the following with well defined results:
#define foo foo
foo
(result should be "foo").
xlc gets this right, but goes into an infinite loop in the following case:
% cat test.c
foo
% cc -E -Dfoo=foo test.c
The difference is that "foo" is defined to "foo" on the command line, not in
a #define.