This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/69047] memcpy is not as optimized as union is


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

--- Comment #10 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 30 Aug 2016, mwahab at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69047
> 
> mwahab at gcc dot gnu.org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |mwahab at gcc dot gnu.org
> 
> --- Comment #9 from mwahab at gcc dot gnu.org ---
> The new test gcc.dg/pr69047.c fails on big-endian aarch64 (aarch64_be-none-elf)
> because the expected output isn't generated.
> 
> For big-endian aarch64, the expression in the cddce1 file is
> ----
>   _2 = BIT_FIELD_REF <b_6(D), 8, 0>;
> ----
> 
> For little-endian aarch64, the expression is as expected:
> ----
>   _2 = (unsigned char) b_6(D);
> ----

Fixed this with r239857 I think

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