This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PR21969 (large vector causes ICE)
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: rasky at develer dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 Jun 2005 11:29:33 -0700 (PDT)
- Subject: Re: Patch for PR21969 (large vector causes ICE)
> Steve Ellcey <sje@cup.hp.com> wrote:
>
> > + /* nunits is stored in precision field which is "unsigned int : 9",
> > + 256 is the largest value that can be stored. */
> > + if (nunits > 256)
> > + {
> > + error ("number of components of the vector greater than 256");
> > + return NULL_TREE;
> > + }
> > +
>
> Can we keep this in sync with the bitfield, using a macro?
> --
> Giovanni Bajo
I considered that, but I did not see any examples of using a macro for
the size of a integer bitfield anywhere in GCC and I didn't want to be
the first.
Steve Ellcey
sje@cup.hp.com