diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2008-09-23 17:47:32 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2008-09-23 17:47:32 +0000 |
commit | c9891b705812b5b23c8f071752cf4b64a703a258 (patch) | |
tree | d73fd59f3546730fef5c59b6fa2e5136f9740f66 /gcc/c-ppoutput.c | |
parent | 8839907955ae3ad3240fc48dd082f5758e8dfa41 (diff) | |
download | gcc-c9891b705812b5b23c8f071752cf4b64a703a258.tar.gz |
* c-ppoutput.c (cb_used_define): Do nothing for a builtin node.
From-SVN: r140604
Diffstat (limited to 'gcc/c-ppoutput.c')
-rw-r--r-- | gcc/c-ppoutput.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c index 9475b213dbc..f5a3a788256 100644 --- a/gcc/c-ppoutput.c +++ b/gcc/c-ppoutput.c @@ -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; |