Commit 022a8174 by Dale Johannesen Committed by Dale Johannesen

tree-nested.c (finalize_nesting_tree_1): Disable warn_padded around layout_type call.

2005-06-07  Dale Johannesen  <dalej@apple.com>

        * tree-nested.c (finalize_nesting_tree_1):  Disable
        warn_padded around layout_type call.

From-SVN: r100728
parent e2cf9dd1
2005-06-07 Dale Johannesen <dalej@apple.com>
* tree-nested.c (finalize_nesting_tree_1): Disable
warn_padded around layout_type call.
2005-06-08 Zdenek Dvorak <dvorakz@suse.cz> 2005-06-08 Zdenek Dvorak <dvorakz@suse.cz>
* tree-ssa-loop-ivopts.c (rewrite_use_outer): Unshare the expression * tree-ssa-loop-ivopts.c (rewrite_use_outer): Unshare the expression
......
...@@ -1327,7 +1327,12 @@ finalize_nesting_tree_1 (struct nesting_info *root) ...@@ -1327,7 +1327,12 @@ finalize_nesting_tree_1 (struct nesting_info *root)
out at this time. */ out at this time. */
if (root->frame_type) if (root->frame_type)
{ {
/* In some cases the frame type will trigger the -Wpadded warning.
This is not helpful; suppress it. */
int save_warn_padded = warn_padded;
warn_padded = 0;
layout_type (root->frame_type); layout_type (root->frame_type);
warn_padded = save_warn_padded;
layout_decl (root->frame_decl, 0); layout_decl (root->frame_decl, 0);
} }
......
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