This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR target/30383 (ICE in i386 stringops rewrite)


> >
> >! 	  if (code == LABEL_DECL)
> >! 	    DECL_ALIGN (t) = BITS_PER_UNIT;
> >! 	  else if (code != FUNCTION_DECL)
> >
> 
> I think you want bytes not bits here.

DECL_ALIGN is bit based:
/* Holds the alignment required for the datum, in bits.  */
#define DECL_ALIGN(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.u1.a.align)

Honza
> 
> -eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]