summaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorsimonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-13 08:58:15 +0000
committersimonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-13 08:58:15 +0000
commitb15b8239fdab2bdd0b5718361792d997c8985546 (patch)
treed06809d8f941e81aa264287915375e61fbf17a22 /gcc/cfgexpand.c
parentcfc3dd357931bfbc550006ceaf6af6c5230d07d8 (diff)
downloadgcc-b15b8239fdab2bdd0b5718361792d997c8985546.tar.gz
* cfgexpand.c (gimple_expand_cfg): Clarify warning message text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 7bc6609a74f..454f61a4175 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -3764,10 +3764,12 @@ gimple_expand_cfg (void)
{
if (cfun->calls_alloca)
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)
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));
}