This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52450] FAIL: gcc.dg/torture/pr52402.c at -O1 and above
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Mar 2012 00:12:35 +0000
- Subject: [Bug target/52450] FAIL: gcc.dg/torture/pr52402.c at -O1 and above
- Auto-submitted: auto-generated
- References: <bug-52450-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52450
--- Comment #3 from dave.anglin at bell dot net 2012-03-05 00:12:35 UTC ---
On 1-Mar-12, at 10:52 AM, rguenth at gcc dot gnu.org wrote:
> I think that's expected if your target does not provide a
> movmisalign optab
> for whatever mode is used for
>
> typedef int v4si __attribute__((vector_size(16)));
>
> because of the ever-existing bug with misaligned stores on
> STRICT_ALIGNMENT
> targets.
>
> Consider xfailing it.
I'm not convinced that implementing the movmisalign optab would fix
the problem
without a major degradation in performance. Sparc and mips also don't
implement
movmisalign.
Structs are passed by reference on this target if they are larger than
64 bits and
the reference is misaligned in this testcase.
So, I agree the test should be xfailed.
Dave
--
John David Anglin dave.anglin@bell.net