OSDN Git Service

* c-lang.c (lang_init_options): Update call to
[pf3gnuchains/gcc-fork.git] / gcc / cppexp.c
index 98bd94e..6665380 100644 (file)
@@ -205,7 +205,9 @@ 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)
+      if (CPP_OPTION (pfile, c89)
+         && sufftab[i].l == 2
+         && pfile->spec_nodes.n__STRICT_ANSI__->type == NT_MACRO)
        SYNTAX_ERROR ("too many 'l' suffixes in integer constant");
     }