Commit c9891b70 by Eric Botcazou Committed by Eric Botcazou

* c-ppoutput.c (cb_used_define): Do nothing for a builtin node.

From-SVN: r140604
parent 88399079
2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
* c-ppoutput.c (cb_used_define): Do nothing for a builtin node.
2008-09-23 Aldy Hernandez <aldyh@redhat.com>
* c-tree.h: Add argument to c_objc_common_truthvalue_conversion,
......
......@@ -406,6 +406,8 @@ cb_used_define (cpp_reader *pfile, source_location line ATTRIBUTE_UNUSED,
cpp_hashnode *node)
{
macro_queue *q;
if (node->flags & NODE_BUILTIN)
return;
q = XNEW (macro_queue);
q->macro = xstrdup ((const char *) cpp_macro_definition (pfile, node));
q->next = define_queue;
......
2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/cpp/cmdlne-dU-23.c: New test.
2008-09-23 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/Walways-true-1.c: Test column numbers.
......
/* { dg-do preprocess } */
/* { dg-options "-P -dU" } */
/* { dg-final { scan-file-not cmdlne-dU-23.i "__FILE__" } } */
#ifdef __FILE__
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment