diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 212f1a4..03f04c1 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -1787,8 +1787,9 @@ cpp_post_options (pfile) /* The compiler front ends override this, but I think this is the appropriate setting for the library. */ - CPP_OPTION (pfile, warn_long_long) = (CPP_OPTION (pfile, pedantic) - && !CPP_OPTION (pfile, c99)); + CPP_OPTION (pfile, warn_long_long) + = ((CPP_OPTION (pfile, pedantic) && !CPP_OPTION (pfile, c99)) + || CPP_OPTION (pfile, warn_traditional)); /* Permanently disable macro expansion if we are rescanning preprocessed text. Read preprocesed source in ISO mode. */ |