diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/stor-layout.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 984a703..268d487 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-04-29 Richard Biener <rguenther@suse.de> + + * stor-layout.c (layout_type): Do not build a pointer-to-element + type for arrays. + 2016-04-29 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (Load+RegOp to Mov+MemOp peephole2): diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index cba2e6f..02b8c64 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -2243,8 +2243,6 @@ layout_type (tree type) tree index = TYPE_DOMAIN (type); tree element = TREE_TYPE (type); - build_pointer_type (element); - /* We need to know both bounds in order to compute the size. */ if (index && TYPE_MAX_VALUE (index) && TYPE_MIN_VALUE (index) && TYPE_SIZE (element)) |