diff options
author | Simon Baldwin <simonb@google.com> | 2010-04-13 08:58:15 +0000 |
---|---|---|
committer | Simon Baldwin <simonb@gcc.gnu.org> | 2010-04-13 08:58:15 +0000 |
commit | 3b123595194847e323c1312c502266caf61d67f7 (patch) | |
tree | d06809d8f941e81aa264287915375e61fbf17a22 /gcc | |
parent | 76af763dfeb704b85edf79c87dfda0cead34d698 (diff) | |
download | gcc-3b123595194847e323c1312c502266caf61d67f7.zip gcc-3b123595194847e323c1312c502266caf61d67f7.tar.gz gcc-3b123595194847e323c1312c502266caf61d67f7.tar.bz2 |
cfgexpand.c (gimple_expand_cfg): Clarify warning message text.
* cfgexpand.c (gimple_expand_cfg): Clarify warning message text.
From-SVN: r158256
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cfgexpand.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c011b80..9f40b04 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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> * gimple.c (walk_gimple_op) <GIMPLE_ASSIGN>: Do not request a pure diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 7bc6609..454f61a 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)); } |