diff mbox series

params: Fix up help.exp testing

Message ID 20201015074503.GU2176@tucnak
State New
Headers show
Series params: Fix up help.exp testing | expand

Commit Message

Jakub Jelinek Oct. 15, 2020, 7:45 a.m. UTC
On Wed, Oct 14, 2020 at 11:13:46AM +0200, Jan Hubicka wrote:
> here is updated patch with cap on number of iterations.
> I set the limit to 8 and bootstrapped it with additional assert that the
> limit is not met, it did not fire.
> 
> Bootstrapped/regtested x86_64-linux, OK?

I'm getting:
Running /usr/src/gcc/gcc/testsuite/gcc.misc-tests/help.exp ...
FAIL: compiler driver --help=params option(s): "[^.]$" absent from output: "y"
FAIL: compiler driver --help=param option(s): "^ +-.*[^:.]$" absent from output: "  --param-ipa-jump-function-lookups= Maximum number of statements visited during jump function offset discovery"

Fixed thusly, tested on x86_64-linux, committed to trunk as obvious:

2020-10-15  Jakub Jelinek  <jakub@redhat.com>

	* params.opt (-param-ipa-jump-function-lookups=): Add full stop at
	the end of the parameter description.


	Jakub
diff mbox series

Patch

--- gcc/params.opt.jj	2020-10-14 11:58:38.640297372 +0200
+++ gcc/params.opt	2020-10-15 09:13:55.579607913 +0200
@@ -255,7 +255,7 @@  Maximum size of a list of values associa
 
 -param-ipa-jump-function-lookups=
 Common Joined UInteger Var(param_ipa_jump_function_lookups) Init(8) Param Optimization
-Maximum number of statements visited during jump function offset discovery
+Maximum number of statements visited during jump function offset discovery.
 
 -param=ipa-max-aa-steps=
 Common Joined UInteger Var(param_ipa_max_aa_steps) Init(25000) Param Optimization