https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69865
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-02-18 CC| |manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Bernd Edlinger from comment #2) > in gcc/c-family/c-opts.c: > > following code in line 805: > > /* Set C++ standard to C++14 if not specified on the command line. */ > if (c_dialect_cxx () && cxx_dialect == cxx_unset) > set_std_cxx14 (/*ISO*/false); The default for C is set in c_common_init_options, which seems more logical. > > case OPT_trigraphs: > cpp_opts->trigraphs = 1; > break; If you use CPP(trigraphs) in c.opt, this code is auto-generated (and also the default of libcpp becomes the default of GCC, unless overriden).