https://bugs.llvm.org/show_bug.cgi?id=50943
Paul Robinson <paul_robin...@playstation.sony.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Paul Robinson <paul_robin...@playstation.sony.com> ---
(In reply to Craig Topper from comment #3)
> I'm not sure there's an alignment requirement for that array other than what
> is implied by float. Versions of gcc prior to 5 use align 16 with -Os and
> align 32 with -O2.
>
> Adding __attribute__ ((aligned (32))) to the struct definition also appears
> to fix the crash.
I was coming to the same conclusion. I threw in some alignof() expressions
and they all report 4. Pumping up the alignment in the generated code seems
rather optional.
I'll resolve this as invalid and we'll patch the test to enforce the required
alignment.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs