]> gcc.gnu.org Git - gcc.git/commitdiff
cfgexpand.c (gimple_expand_cfg): Clarify warning message text.
authorSimon Baldwin <simonb@google.com>
Tue, 13 Apr 2010 08:58:15 +0000 (08:58 +0000)
committerSimon Baldwin <simonb@gcc.gnu.org>
Tue, 13 Apr 2010 08:58:15 +0000 (08:58 +0000)
* cfgexpand.c (gimple_expand_cfg): Clarify warning message text.

From-SVN: r158256

gcc/ChangeLog
gcc/cfgexpand.c

index c011b80865865aea681147c76f4061960c912f46..9f40b047d59774eb00537f79cac005b284711d4c 100644 (file)
@@ -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
index 7bc6609a74f5ca1bd91636ffe5e8a400a533a254..454f61a4175178ed80dbe6ef032fb88d8948bf20 100644 (file)
@@ -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));
     }
 
This page took 0.093155 seconds and 5 git commands to generate.