public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6073] opts: Support -Oz in -Ox option hints.
@ 2021-12-20 11:35 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-12-20 11:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8d081c0093a42713afd1d4f7f07d09abb6eabc9a

commit r12-6073-g8d081c0093a42713afd1d4f7f07d09abb6eabc9a
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Dec 20 10:55:50 2021 +0100

    opts: Support -Oz in -Ox option hints.
    
    gcc/ChangeLog:
    
            * opts.c (default_options_optimization): Support -Oz in -Ox option hints.

Diff:
---
 gcc/opts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/opts.c b/gcc/opts.c
index f45ecc56726..cdd6463e49b 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -723,7 +723,7 @@ default_options_optimization (struct gcc_options *opts,
 	      const int optimize_val = integral_argument (opt->arg);
 	      if (optimize_val == -1)
 		error_at (loc, "argument to %<-O%> should be a non-negative "
-			       "integer, %<g%>, %<s%> or %<fast%>");
+			       "integer, %<g%>, %<s%>, %<z%> or %<fast%>");
 	      else
 		{
 		  opts->x_optimize = optimize_val;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-20 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-20 11:35 [gcc r12-6073] opts: Support -Oz in -Ox option hints Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).