summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-25 01:28:21 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-25 01:28:21 +0000
commitbcde57a0fd490846305c7b47cf1446b6c412dc60 (patch)
treedbdb2c3fec9b247df8cbdbf94a7a9569a539909f /gcc/stor-layout.c
parent298f23f1e8eae51f93b43cdf548c4be895dccbc4 (diff)
downloadgcc-bcde57a0fd490846305c7b47cf1446b6c412dc60.tar.gz
Revert:
2015-07-23 Alexandre Oliva <aoliva@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226202 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 288227a93e7..0d4f4a41355 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -794,8 +794,7 @@ layout_decl (tree decl, unsigned int known_align)
{
PUT_MODE (rtl, DECL_MODE (decl));
SET_DECL_RTL (decl, 0);
- if (MEM_P (rtl))
- set_mem_attributes (rtl, decl, 1);
+ set_mem_attributes (rtl, decl, 1);
SET_DECL_RTL (decl, rtl);
}
}