This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up 20181120-1.c testcase on big-endian (PR rtl-optimization/85925)
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Mike Stump <mikestump at comcast dot net>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Nov 2018 11:23:38 -0600
- Subject: Re: [PATCH] Fix up 20181120-1.c testcase on big-endian (PR rtl-optimization/85925)
- References: <20181121131355.GM11625@tucnak>
Hi,
On Wed, Nov 21, 2018 at 02:13:55PM +0100, Jakub Jelinek wrote:
> As mentioned in the PR, the testcase fails on big-endian targets.
> The following patch tweaks it so that it does not fail there and still
> checks for the original bug.
It relies on a certain bitfield layout, not just on LE. I think the
testcase should run only on those specific targets where it works. I don't
see how this patch would fix the problem for BE, btw.
Segher