]> gcc.gnu.org Git - gcc.git/commitdiff
* stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
authorRichard Henderson <rth@redhat.com>
Sun, 19 Nov 2000 19:09:35 +0000 (11:09 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 19 Nov 2000 19:09:35 +0000 (11:09 -0800)
From-SVN: r37570

gcc/ChangeLog
gcc/stor-layout.c

index 18358d4c73c44c5383c597ca8df9574a2af1e225..d814fadafd36f79dc1508f5040fc18515d616bfd 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-19  Richard Henderson  <rth@redhat.com>
+
+       * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
+
 2000-11-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
index 8d41cd182219ccefd6008fa438c74d400dbbd5cf..c03ccddb7ca84ef7784c363ac30ffb6185a8d6df 100644 (file)
@@ -139,7 +139,7 @@ variable_size (size)
     /* The front-end doesn't want us to keep a list of the expressions
        that determine sizes for variable size objects.  */
     ;
-  else
+  else if (TREE_CODE (size) == SAVE_EXPR)
     pending_sizes = tree_cons (NULL_TREE, size, pending_sizes);
 
   return size;
This page took 0.073205 seconds and 5 git commands to generate.