diff mbox

Add additional quotes to opts.c.

Message ID 9a45b0a0-e987-8ad3-57a6-48c2cfc0abc9@suse.cz
State New
Headers show

Commit Message

Martin Liška July 14, 2017, 7 a.m. UTC
Hi.

There's a small follow up that I've just tested.
Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.

Ready to be installed?
Martin

Comments

Jeff Law July 14, 2017, 7:18 a.m. UTC | #1
On 07/14/2017 01:00 AM, Martin Liška wrote:
> Hi.
> 
> There's a small follow up that I've just tested.
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
> 
> Ready to be installed?
> Martin
> 
> 
> 0001-Add-additional-quotes-to-opts.c.patch
> 
> 
> From 712746caf299546f2e643e9e371c077643c46ad6 Mon Sep 17 00:00:00 2001
> From: marxin <mliska@suse.cz>
> Date: Thu, 13 Jul 2017 14:22:50 +0200
> Subject: [PATCH] Add additional quotes to opts.c.
> 
> gcc/ChangeLog:
> 
> 2017-07-13  Martin Liska  <mliska@suse.cz>
> 
> 	* opts.c (finish_options): Add quotes.
> 	(common_handle_option): Likewise.
OK.
jeff
diff mbox

Patch

From 712746caf299546f2e643e9e371c077643c46ad6 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Thu, 13 Jul 2017 14:22:50 +0200
Subject: [PATCH] Add additional quotes to opts.c.

gcc/ChangeLog:

2017-07-13  Martin Liska  <mliska@suse.cz>

	* opts.c (finish_options): Add quotes.
	(common_handle_option): Likewise.
---
 gcc/opts.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gcc/opts.c b/gcc/opts.c
index e2e684fa009..987a7aff3fc 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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
-- 
2.13.2