re PR preprocessor/45457 (ICE: invalid built-in macro "__DBL_DENORM_MIN__")
PR preprocessor/45457 * expr.c (parse_defined): Call pfile->cb.user_builtin_macro hook if needed. * directives.c (do_ifdef, do_ifndef): Likewise. * c-c++-common/cpp/pr45457.c: New test. From-SVN: r163705
This commit is contained in:
parent
0c1bebc414
commit
a69d2520e0
5 changed files with 40 additions and 1 deletions
|
@ -700,6 +700,9 @@ parse_defined (cpp_reader *pfile)
|
|||
node->flags |= NODE_USED;
|
||||
if (node->type == NT_MACRO)
|
||||
{
|
||||
if ((node->flags & NODE_BUILTIN)
|
||||
&& pfile->cb.user_builtin_macro)
|
||||
pfile->cb.user_builtin_macro (pfile, node);
|
||||
if (pfile->cb.used_define)
|
||||
pfile->cb.used_define (pfile, pfile->directive_line, node);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue