[Bug c/64062] New: AVX Segfaults

2014-11-24 Thread steven.harrington at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64062

Bug ID: 64062
   Summary: AVX Segfaults
   Product: gcc
   Version: 4.8.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
  Assignee: unassigned at gcc dot gnu.org
  Reporter: steven.harrington at comcast dot net

Created attachment 34105
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34105&action=edit
Source file

assigning a value to one of an array of vectors segfaults only if the base type
is double.


[Bug c/64062] AVX Segfaults

2014-11-24 Thread steven.harrington at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64062

--- Comment #1 from Steve  ---
Created attachment 34106
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34106&action=edit
.i file


[Bug c/64062] AVX Segfaults

2014-11-24 Thread steven.harrington at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64062

--- Comment #2 from Steve  ---
Created attachment 34107
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34107&action=edit
terminal output from gcc -save-temps


[Bug target/64062] AVX Segfaults

2014-11-24 Thread steven.harrington at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64062

--- Comment #4 from Steve  ---
On 11/24/2014 02:03 PM, pinskia at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64062
>
> Andrew Pinski  changed:
>
> What|Removed |Added
> 
>   Status|UNCONFIRMED |RESOLVED
>   Resolution|--- |INVALID
>
> --- Comment #3 from Andrew Pinski  ---
> malloc does not return a correctly aligned space.   This is a glibc issue, use
> posix_memalign instead to get the needed aligned space.
>
Thank you for your quick response.  I'll use posix_memalign.

Would this be considered a bug in glibc and should I report it to them?