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]

Re: [PATCH] Fix for the C++ testcase submitted today


>>>>> Jakub Jelinek <jakub@redhat.com> writes:

 > --- gcc/tree.c.jj	Fri May  5 22:09:58 2000
 > +++ gcc/tree.c	Fri May  5 22:10:16 2000
 > @@ -1066,7 +1066,7 @@ make_node (code)
 
 >      case 'd':
 >        if (code != FUNCTION_DECL)
 > -	DECL_ALIGN (t) = 1;
 > +	DECL_ALIGN (t) = BITS_PER_UNIT;
 >        DECL_IN_SYSTEM_HEADER (t) = in_system_header;
 >        DECL_SOURCE_LINE (t) = lineno;
 >        DECL_SOURCE_FILE (t) = 

Looks good, but you'll need to make a similar change for types as well, in
the case where we're copying from a pointer variable.

I don't understand why we've been giving things one-bit alignment to begin
with.  Can anyone shed some light?

Jason

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