Commit 3b123595 by Simon Baldwin Committed by Simon Baldwin

cfgexpand.c (gimple_expand_cfg): Clarify warning message text.

	
	* cfgexpand.c (gimple_expand_cfg): Clarify warning message text.

From-SVN: r158256
parent 76af763d
2010-04-13 Simon Baldwin <simonb@google.com>
* cfgexpand.c (gimple_expand_cfg): Clarify warning message text.
2010-04-13 Eric Botcazou <ebotcazou@adacore.com> 2010-04-13 Eric Botcazou <ebotcazou@adacore.com>
* gimple.c (walk_gimple_op) <GIMPLE_ASSIGN>: Do not request a pure * gimple.c (walk_gimple_op) <GIMPLE_ASSIGN>: Do not request a pure
......
...@@ -3764,10 +3764,12 @@ gimple_expand_cfg (void) ...@@ -3764,10 +3764,12 @@ gimple_expand_cfg (void)
{ {
if (cfun->calls_alloca) if (cfun->calls_alloca)
warning (OPT_Wstack_protector, warning (OPT_Wstack_protector,
"not protecting local variables: variable length buffer"); "stack protector not protecting local variables: "
"variable length buffer");
if (has_short_buffer && !crtl->stack_protect_guard) if (has_short_buffer && !crtl->stack_protect_guard)
warning (OPT_Wstack_protector, warning (OPT_Wstack_protector,
"not protecting function: no buffer at least %d bytes long", "stack protector not protecting function: "
"all local arrays are less than %d bytes long",
(int) PARAM_VALUE (PARAM_SSP_BUFFER_SIZE)); (int) PARAM_VALUE (PARAM_SSP_BUFFER_SIZE));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment