From 8d081c0093a42713afd1d4f7f07d09abb6eabc9a Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 20 Dec 2021 10:55:50 +0100 Subject: [PATCH] opts: Support -Oz in -Ox option hints. gcc/ChangeLog: * opts.c (default_options_optimization): Support -Oz in -Ox option hints. --- gcc/opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/opts.c b/gcc/opts.c index f45ecc567260..cdd6463e49b9 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; -- 2.47.3