Another incompatibility of a CPPLIB based cpp?
Manfred Hollstein
mhollstein@cygnus.com
Sat Jul 31 23:33:00 GMT 1999
Zack,
thanks for your patch; it fixes my problem indeed! I just ran a full
bootstrap and check without a regression to the sources without your
patch being applied.
BTW, I just saw that you installed a testcase for this problem; although
it was semantically correct, it failed to compile properly due to a
missing ';' after a variable's definition. I installed a patch for
that under the "fixes obvious prob" rule.
Later,
manfred
On Sun, 4 July 1999, 17:41:04, zack@rabi.columbia.edu wrote:
>
> I'm not sure you should be counting on this behavior; 210x70-108-0 is
> not a legal C token. However, please try this patch.
>
> zw
>
> p.s. I haven't received your mail for some reason (I'm not on the list right
> now).
>
> 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
>
> * cpphash.c (unsafe_chars): Correct rule about extending a
> pp-number with + or -.
> (macroexpand): If raw_before, trim leading space and markers
> from argument.
>
gcc/testsuite/ChangeLog:
1999-07-05 Manfred Hollstein <mhollstein@cygnus.com>
* gcc.dg/990703-1.c (y): Terminate definition syntactically correctly.
1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.dg/990703-1.c: New test.
diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-19990704.orig/gcc/testsuite/gcc.dg/990703-1.c egcs-19990704/gcc/testsuite/gcc.dg/990703-1.c
--- egcs-19990704.orig/gcc/testsuite/gcc.dg/990703-1.c Sun Jul 4 18:28:56 1999
+++ egcs-19990704/gcc/testsuite/gcc.dg/990703-1.c Mon Jul 5 09:39:21 1999
@@ -15,7 +15,7 @@ int
main(void)
{
char *x = SP1(0,MZ);
- char *y = "0-0" /* should be the expansion of SP1(0,MZ) */
+ char *y = "0-0"; /* should be the expansion of SP1(0,MZ) */
if(strcmp(x, y))
return 1;
More information about the Gcc-bugs
mailing list