diff options
author | Dale Johannesen <dalej@apple.com> | 2005-06-13 22:09:18 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2005-06-13 22:09:18 +0000 |
commit | 1e940660edf063c3ec298c456f947a723d7e39bc (patch) | |
tree | 35c65d07fdaa2fe474c2ab1c76ca3e6487ee43fc /gcc/tree-nested.c | |
parent | d4224c342119c7e0e27e5825a6e82c03de4480f4 (diff) |
2005-06-10 Dale Johannesen <dalej@apple.com>
Fixes from mainline.
Radar 4137102, 4141805, 4104248
* config/i386/i386.md (movqi_1): Fix case where source
is memory and destination EDI.
* tree-nested.c (finalize_nesting_tree_1): Disable
warn_padded around layout_type call.
* cfgcleanup.c (try_crossjump_to_edge): update_forwarder_flag for
src2 if src2 has been split.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@100900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index 67f7617db7a..3d43b6e5453 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -1304,8 +1304,15 @@ finalize_nesting_tree_1 (struct nesting_info *root) out at this time. */ if (root->frame_type) { + /* APPLE LOCAL begin mainline 4137012 */ + /* 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); + warn_padded = save_warn_padded; layout_decl (root->frame_decl, 0); + /* APPLE LOCAL end mainline 4137012 */ } /* If any parameters were referenced non-locally, then we need to |