public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39787] ICE with #pragma GCC target
[not found] <bug-39787-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-09 6:08 ` pinskia at gcc dot gnu.org
2021-11-29 6:47 ` pinskia at gcc dot gnu.org
2024-03-26 8:06 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-09 6:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/39787] ICE with #pragma GCC target
[not found] <bug-39787-4@http.gcc.gnu.org/bugzilla/>
2021-08-09 6:08 ` [Bug target/39787] ICE with #pragma GCC target pinskia at gcc dot gnu.org
@ 2021-11-29 6:47 ` pinskia at gcc dot gnu.org
2024-03-26 8:06 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-29 6:47 UTC (permalink / raw)
To: gcc-bugs
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
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/39787] ICE with #pragma GCC target
[not found] <bug-39787-4@http.gcc.gnu.org/bugzilla/>
2021-08-09 6:08 ` [Bug target/39787] ICE with #pragma GCC target pinskia at gcc dot gnu.org
2021-11-29 6:47 ` pinskia at gcc dot gnu.org
@ 2024-03-26 8:06 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-26 8:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |14.0
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks fully fixed on the trunk, in that we no longer get a warning about the
return type of _mm256_andnot_pd while compiling avx_routine . and _mm_andnot_pd
is rejected from being inlined from sse3_routine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/39787] ICE with #pragma GCC target
2009-04-16 19:26 [Bug target/39787] New: " jakub at gcc dot gnu dot org
2009-04-21 17:22 ` [Bug target/39787] " pinskia at gcc dot gnu dot org
2009-04-21 17:43 ` pinskia at gcc dot gnu dot org
@ 2009-08-31 20:02 ` dbaron at dbaron dot org
2 siblings, 0 replies; 6+ messages in thread
From: dbaron at dbaron dot org @ 2009-08-31 20:02 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
------- 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 with runtime detection using CPUID. (See
https://bugzilla.mozilla.org/show_bug.cgi?id=506430 and
https://bugzilla.mozilla.org/show_bug.cgi?id=513422 .)
I'd simplified this testcase before discovering the existing bug report.
When I compile this testcase with:
/usr/local/gcc-4.4.1/bin/gcc -mno-sse2 ice.c
I get:
ice.c: In function âConvert_ascii_runâ:
ice.c:11: internal compiler error: in emit_move_insn, at expr.c:3405
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/39787] ICE with #pragma GCC target
2009-04-16 19:26 [Bug target/39787] New: " jakub at gcc dot gnu dot org
2009-04-21 17:22 ` [Bug target/39787] " pinskia at gcc dot gnu dot org
@ 2009-04-21 17:43 ` pinskia at gcc dot gnu dot org
2009-08-31 20:02 ` dbaron at dbaron dot org
2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-21 17:43 UTC (permalink / raw)
To: gcc-bugs
------- 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;
void avx_routine (void) { a = c();}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-04-21 17:42:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/39787] ICE with #pragma GCC target
2009-04-16 19:26 [Bug target/39787] New: " jakub at gcc dot gnu dot org
@ 2009-04-21 17:22 ` pinskia at gcc dot gnu dot org
2009-04-21 17:43 ` pinskia at gcc dot gnu dot org
2009-08-31 20:02 ` dbaron at dbaron dot org
2 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-21 17:22 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 631 bytes --]
------- 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.
See <http://gcc.gnu.org/bugs.html> for instructions.
OR:
t.c: In function avx_routine:
t.c:11: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-03-26 8:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-39787-4@http.gcc.gnu.org/bugzilla/>
2021-08-09 6:08 ` [Bug target/39787] ICE with #pragma GCC target pinskia at gcc dot gnu.org
2021-11-29 6:47 ` pinskia at gcc dot gnu.org
2024-03-26 8:06 ` pinskia at gcc dot gnu.org
2009-04-16 19:26 [Bug target/39787] New: " jakub at gcc dot gnu dot org
2009-04-21 17:22 ` [Bug target/39787] " pinskia at gcc dot gnu dot org
2009-04-21 17:43 ` pinskia at gcc dot gnu dot org
2009-08-31 20:02 ` dbaron at dbaron dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).