[PATCH] Fix for big-endian gcc.c-torture/execute/pr55750.c

Kyrill Tkachov kyrylo.tkachov@foss.arm.com
Wed Nov 2 15:13:00 GMT 2016


Hi all,

I noticed that my patch for PR tree-optimization/78170 broke execute.exp=pr55750.c on big-endian.
The problem with that patch is that we should not forget to clear the padding bits in the temporary
buffer when merging values even when they are less than a byte.

Tested on aarch64_be-none-elf (the test failure goes away)
Bootstrap and test on x86_64 ongoing.
Ok for trunk if successful?

David, does this patch allow AIX bootstrap to proceed by any chance?

Thanks,
Kyrill

2016-11-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * gimple-ssa-store-merging.c (encode_tree_to_bitpos): Don't forget to
     clear padding bits even when they're less than a byte.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: store-merging-padding-2.patch
Type: text/x-patch
Size: 675 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161102/6c0b79f1/attachment.bin>


More information about the Gcc-patches mailing list