From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18840 invoked by alias); 7 Jul 2014 05:56:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18760 invoked by uid 48); 7 Jul 2014 05:55:56 -0000 From: "roland at rschulz dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61730] New: Cygwin AVX __m256i return value misaligned Date: Mon, 07 Jul 2014 05:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: roland at rschulz dot eu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00328.txt.bz2 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)