diff options
author | Martin Liska <mliska@suse.cz> | 2017-07-14 09:21:40 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-07-14 07:21:40 +0000 |
commit | 4f4b35a0a61ce83891b26ace7794b3213fef96a7 (patch) | |
tree | eccf0e5101f252b7d1e1eafac813dae5227a9bcb /gcc | |
parent | d6d4718ab7b8b6b00468da3bcd14f299d32a32e7 (diff) | |
download | gcc-4f4b35a0a61ce83891b26ace7794b3213fef96a7.zip gcc-4f4b35a0a61ce83891b26ace7794b3213fef96a7.tar.gz gcc-4f4b35a0a61ce83891b26ace7794b3213fef96a7.tar.bz2 |
Add additional quotes to opts.c.
2017-07-14 Martin Liska <mliska@suse.cz>
* opts.c (finish_options): Add quotes.
(common_handle_option): Likewise.
From-SVN: r250198
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/opts.c | 17 |
2 files changed, 14 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e362a9b..3da2f47 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2017-07-14 Martin Liska <mliska@suse.cz> + * opts.c (finish_options): Add quotes. + (common_handle_option): Likewise. + +2017-07-14 Martin Liska <mliska@suse.cz> + * dbxout.c (get_lang_number): Do not handle GNU Pascal. * dbxout.h (extern void dbxout_stab_value_internal_label_diff): Remove N_SO_PASCAL. @@ -823,8 +823,8 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, { if (opts_set->x_flag_reorder_blocks_and_partition) inform (loc, - "-freorder-blocks-and-partition does not work " - "with exceptions on this architecture"); + "%<-freorder-blocks-and-partition%> does not work " + "with exceptions on this architecture"); opts->x_flag_reorder_blocks_and_partition = 0; opts->x_flag_reorder_blocks = 1; } @@ -839,8 +839,8 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, { if (opts_set->x_flag_reorder_blocks_and_partition) inform (loc, - "-freorder-blocks-and-partition does not support " - "unwind info on this architecture"); + "%<-freorder-blocks-and-partition%> does not support " + "unwind info on this architecture"); opts->x_flag_reorder_blocks_and_partition = 0; opts->x_flag_reorder_blocks = 1; } @@ -857,8 +857,8 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, { if (opts_set->x_flag_reorder_blocks_and_partition) inform (loc, - "-freorder-blocks-and-partition does not work " - "on this architecture"); + "%<-freorder-blocks-and-partition%> does not work " + "on this architecture"); opts->x_flag_reorder_blocks_and_partition = 0; opts->x_flag_reorder_blocks = 1; } @@ -895,7 +895,8 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, && !opts->x_flag_use_linker_plugin))) { if (opts_set->x_flag_fat_lto_objects) - error_at (loc, "-fno-fat-lto-objects are supported only with linker plugin"); + error_at (loc, "%<-fno-fat-lto-objects%> are supported only with " + "linker plugin"); opts->x_flag_fat_lto_objects = 1; } } @@ -2127,7 +2128,7 @@ common_handle_option (struct gcc_options *opts, #ifndef ACCEL_COMPILER case OPT_foffload_abi_: - error_at (loc, "-foffload-abi option can be specified only for " + error_at (loc, "%<-foffload-abi%> option can be specified only for " "offload compiler"); break; #endif |