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 aliasing bug introduced with September gcc2 merge


Am Fri, 08 Feb 2036 schrieb Richard Kenner:
>store_field (target, bitsize, bitpos, mode, exp, VOIDmode, 0, 
>     		 (align + BITS_PER_UNIT - 1) / BITS_PER_UNIT,
>    -		 int_size_in_bytes (type), cleared);
>    +		 int_size_in_bytes (type), 0);
>     }
>
>The original code looks right to me.  What makes you think it's wrong?
>The fact that it caused a blowup isn't enough to say that the problem
>is there.

I don't think it's correct that CLEARED is passed as the ALIAS_SET parameter to
store_field().

Franz.

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