I stumbled over this odd call, present since CVS repo import (r348).

Bootstrapped on x86_64-unknown-linux-gnu, testing in progress.

Richard.

2016-04-28  Richard Biener  <rguent...@suse.de>

        * stor-layout.c (layout_type): Do not build a pointer-to-element
        type for arrays.

Index: gcc/stor-layout.c
===================================================================
--- gcc/stor-layout.c   (revision 235557)
+++ gcc/stor-layout.c   (working copy)
@@ -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))

Reply via email to