aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index ca966fc..d530e7d 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -87,7 +87,8 @@ main (argc, argv)
(void) textdomain (PACKAGE);
cpp_init ();
- cpp_reader_init (pfile);
+ /* Default language is GNU C89. */
+ cpp_reader_init (pfile, CLK_GNUC89);
argi += cpp_handle_options (pfile, argc - argi , argv + argi);
if (argi < argc && ! CPP_FATAL_ERRORS (pfile))