[Bug c/101974] [10/11/12 Regression] ICE on compilable code: in from_mode_char, at attribs.h:304 since r10-4929-g54aa6b58fe2fe73b

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 29 00:33:50 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101974

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
          /* This is a request to merge an internal specification for
             a function declaration involving arrays but no explicit
             attribute access.  */
          tree vblist = TREE_CHAIN (args);
          tree axstr = append_access_attr (node, attrs, NULL, str + 1,
                                           vblist);
          if (!axstr)
            return NULL_TREE;


Should the front-end do the checking to make what is after the + is valid or
should append_access_attr ?


More information about the Gcc-bugs mailing list