http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58723
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #31299|0 |1
is obsolete| |
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 31305
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31305&action=edit
updated patch
lto1 also does not get -fopenmp[-simd] passed, not sure if that is needed
though.
The simple testcase from comment #2 already fails with
> ./xgcc -B. -B ../x86_64-unknown-linux-gnu/libgomp/ -B
> ../x86_64-unknown-linux-gnu/libgomp/.libs -O -flto -fopenmp t.i -r -nostdlib
t.i: In function 'foo':
t.i:1:6: internal compiler error: in expand_GOMP_SIMD_VF, at internal-fn.c:137
void foo(int n)
^
0x8c4d19 expand_GOMP_SIMD_VF
updated patch attached that fixes the streaming and thus runs the vectorizer
at -O1 during LTRANs (but it does nothing).