* cpphash.c (trad_stringify): Adjust p after stringification as
well.
* gcc.dg/cpp-tradstringify.c: New test.
From-SVN: r33612
+2000-05-02 Jakub Jelinek <jakub@redhat.com>
+
+ * cpphash.c (trad_stringify): Adjust p after stringification as
+ well.
+
2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
* cpplib.h (CPP_POP, parse_cleanup_t): Delete.
argv[i].rest_arg);
last = CPP_WRITTEN (pfile);
base = p + argv[i].len;
+ p = base;
goto proceed;
}
p++;
* gcc.c-torture/compile/20000502-1.c: New test.
* g++.old-deja/g++.other/align.C: New test.
+ * gcc.dg/cpp-tradstringify.c: New test.
Sun Apr 23 14:41:33 2000 Jeffrey A Law (law@cygnus.com)
--- /dev/null
+/* Test whether traditional stringify works. */
+/* { dg-do preprocess } */
+/* { dg-options "-traditional" } */
+#define foo(a, b) c="a"; d="b";