+2000-12-01 Geoffrey Keating <geoffk@redhat.com>
+
+ * cpplib.c (do_ifdef): Add check_eol() call.
+ (do_ifndef): Likewise.
+
2000-12-02 Daniel Berlin <dberlin@redhat.com>
Bruce Korb <bkorb@gnu.org>
if (node)
skip = node->type != NT_MACRO;
+
+ if (node)
+ check_eol (pfile);
}
push_conditional (pfile, skip, T_IFDEF, 0);
node = lex_macro_node (pfile);
if (node)
skip = node->type == NT_MACRO;
+
+ if (node)
+ check_eol (pfile);
}
push_conditional (pfile, skip, T_IFNDEF, node);
+2000-12-01 Geoffrey Keating <geoffk@redhat.com>
+
+ * gcc.dg/20001201-1.c: New testcase.
+
2000-12-02 Neil Booth <neilb@earthling.net>
* g++.old-deja/g++.other/externC4.C,
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-pedantic" } */
+char *s =
+"0123456789101214161820222426283032343638404244464850525456586062646668707274767880828486889092949698100103106109112115118121124127130133136139142145148151154157160163166169172175178181184187190193196199202205208211214217220223226229232235238241244247250253256259262265268271274277280283286289292295298301304307310313316319322325328331334337340343346349352355358361364367370373376379382385388391394397400403406409412415418421424427430433436439442445448451454457460463466469472475478481484487490493496499502"
+"505x"; /* { dg-bogus "greater than the minimum length" } */
+
+