From: Martin Liska Date: Mon, 20 Dec 2021 09:55:50 +0000 (+0100) Subject: opts: Support -Oz in -Ox option hints. X-Git-Tag: basepoints/gcc-13~2240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d081c0093a42713afd1d4f7f07d09abb6eabc9a;p=thirdparty%2Fgcc.git opts: Support -Oz in -Ox option hints. gcc/ChangeLog: * opts.c (default_options_optimization): Support -Oz in -Ox option hints. --- 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;