aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 6665380..882908f 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -205,9 +205,7 @@ parse_number (pfile, tok)
if (CPP_WTRADITIONAL (pfile) && sufftab[i].u)
cpp_warning (pfile, "traditional C rejects the `U' suffix");
- if (CPP_OPTION (pfile, c89)
- && sufftab[i].l == 2
- && pfile->spec_nodes.n__STRICT_ANSI__->type == NT_MACRO)
+ if (sufftab[i].l == 2 && !CPP_OPTION (pfile, extended_numbers))
SYNTAX_ERROR ("too many 'l' suffixes in integer constant");
}