[Bug tree-optimization/86924] tree-slp-vectorize may create unaligned memory access, causing segmentation fault

2018-08-21 Thread contact at ligh dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86924

--- Comment #3 from Mario Rohkrämer  ---
Created attachment 44567
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44567=edit
Zipped temp output encoder.i by lupo...

This is the "-save-temps" output which user lupo... attached in comment 12 to
the Chromium bug report I linked above.

[Bug tree-optimization/86924] tree-slp-vectorize may create unaligned memory access, causing segmentation fault

2018-08-21 Thread contact at ligh dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86924

--- Comment #2 from Mario Rohkrämer  ---
Unfortunately, I do not have much experience in running a compile manually. I
only let the "media-autobuild suite" batch run.

https://github.com/jb-alvarado/media-autobuild_suite/

I would not know for sure where to manipulate these batch/shell files to add
the requested argument, or how to manually run the compilation for one specific
file. It's all automated. But I will ask around and try to get advice.

[Bug tree-optimization/86924] tree-slp-vectorize may create unaligned memory access, causing segmentation fault

2018-08-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86924

Richard Biener  changed:

   What|Removed |Added

 Target||x86_64-w64-mingw32
 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2018-08-21
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
The question is where rcx comes from and why it isn't suitably aligned.  This
is very likely an issue in chromium, not gcc.  The workaround patch shows the
things to look at, namely the type declarations of *cpi and ordered_bwd and
where they are allocated.

Please attach preprocessed source for encoder.c as you use it when compiling
for x86_64-w64-mingw32 (just add -save-temps to the compile that reproduces the
failure).