From 8220334aba6972297dc4409274fa428aff724696 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 27 Feb 2008 14:59:50 +0000 Subject: [PATCH] c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to update the respective field on newdecl. gcc/ 2008-02-27 Jan Beulich * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to update the respective field on newdecl. From-SVN: r132719 --- gcc/ChangeLog | 5 +++++ gcc/c-decl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c71d6fc2e3..2ba91ba2863 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-02-27 Jan Beulich + + * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to + update the respective field on newdecl. + 2008-02-27 Revital Eres PR rtl-optimization/34999 diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 7a600409cbb..04b36d50d88 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1667,7 +1667,7 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype) if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl)) { DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl); - DECL_USER_ALIGN (newdecl) |= DECL_ALIGN (olddecl); + DECL_USER_ALIGN (newdecl) |= DECL_USER_ALIGN (olddecl); } } -- 2.30.2