[Bug target/52450] FAIL: gcc.dg/torture/pr52402.c at -O1 and above

dave.anglin at bell dot net gcc-bugzilla@gcc.gnu.org
Mon Mar 5 00:13:00 GMT 2012


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



More information about the Gcc-bugs mailing list