https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61730

            Bug ID: 61730
           Summary: Cygwin AVX __m256i return value misaligned
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland at rschulz dot eu

Created attachment 33079
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33079&action=edit
Testcase which segfaults on Cygwin because of incorrect alignment

The attached testcase segfault compiled with gcc 4.8.3 on Cygwin. It is fine
when run&compiled on Linux and MingW. The debugger shows that it segfaults on
vmovdqa generated for the return of type __m256i, because memory isn't aligned.
Compiled with: g++ -mavx test2.cc.i  -g

Possible duplicates (reason why I think it probably isn't in parentheses): 
16890 (this is suppose to be fixed, so I don't think it is a duplicate)
33774 (the subject says Cygwin/mingw but the text only mentions mingw - and
this is only Cygwin)

Reply via email to