https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
Andrew Pinski changed:
What|Removed |Added
Known to work||14.0
--- Comment #5 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
Bug 39787 depends on bug 37565, which changed state.
Bug 37565 Summary: __optimize__ attribute doesn't work correctly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
--- Comment #4 from Andrew Pinski ---
Hmm, does the pragma happen before or after the attribute?
Because I don't get an ICE on any recent GCC but the code is all rejected.
--- Comment #3 from dbaron at dbaron dot org 2009-08-31 20:01 ---
Created an attachment (id=18458)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18458&action=view)
another testcase
Here's another testcase that I just simplified from my attempts to use, in
Mozilla, some SSE2 code w
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 17:42 ---
Here is one reduced testcase (an seg fault);
typedef double __m256d __attribute__ ((__vector_size__ (32) ));
static inline __m256d __attribute__((__always_inline__)) c(){}
#pragma GCC target ("no-avx")
__m256d a, b;
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 17:22 ---
It also ICEs at -O0 on the trunk:
Either:
t.c: In function avx_routine:
t.c:11: internal compiler error: in emit_move_insn, at expr.c:3386
Please submit a full bug report,
with preprocessed source if appropriate.