From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 329013857C62; Mon, 20 Dec 2021 09:56:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 329013857C62 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/support-Oz-in-hints)] opts: Support -Oz in -Ox option hints. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/support-Oz-in-hints X-Git-Oldrev: 8d1e342b4afbad77cb92f8057cf6d1e996bfb077 X-Git-Newrev: 26b89333fae95903ac5ee5a2722058ad3bf7b626 Message-Id: <20211220095622.329013857C62@sourceware.org> Date: Mon, 20 Dec 2021 09:56:22 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2021 09:56:22 -0000 https://gcc.gnu.org/g:26b89333fae95903ac5ee5a2722058ad3bf7b626 commit 26b89333fae95903ac5ee5a2722058ad3bf7b626 Author: Martin Liska 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, %, % or %"); + "integer, %, %, % or %"); else { opts->x_optimize = optimize_val;