* gcc-interface/misc.c (gnat_post_options): Disable caret by default.

From-SVN: r187207
This commit is contained in:
Eric Botcazou 2012-05-06 10:46:17 +00:00 committed by Eric Botcazou
parent 842d4ee2ad
commit 1a5b6cd2af
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-05-06 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/misc.c (gnat_post_options): Disable caret by default.
2012-05-06 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/gigi.h (make_packable_type): Declare.

View File

@ -235,6 +235,10 @@ gnat_post_options (const char **pfilename ATTRIBUTE_UNUSED)
/* No psABI change warnings for Ada. */
warn_psabi = 0;
/* No caret by default for Ada. */
if (!global_options_set.x_flag_diagnostics_show_caret)
global_dc->show_caret = false;
optimize = global_options.x_optimize;
optimize_size = global_options.x_optimize_size;
flag_compare_debug = global_options.x_flag_compare_debug;