summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index f47ddac4440..fe1d03f4420 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1568,7 +1568,7 @@ yylex ()
{
if (c == '.')
{
- if (base == 16 && pedantic)
+ if (base == 16 && pedantic && !flag_isoc99)
pedwarn ("floating constant may not be in radix 16");
if (floatflag == TOO_MANY_POINTS)
/* We have already emitted an error. Don't need another. */