https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #14 from Steven Noonan ---
"testcase.i" can be reduced a lot (thanks creduce!). Literally just this:
---
__attribute__((target_clones("arch=sandybridge", "default"))) static _saxpy() {
#pragma omp parallel
;
}
saxpy() {}
---
is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
Steven Noonan changed:
What|Removed |Added
Attachment #42417|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #12 from Steven Noonan ---
Created attachment 42418
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42418&action=edit
nbody_CPU_AOS compile error testcase preprocessed source
Compile error case, preprocessed source.
Compile wit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
Steven Noonan changed:
What|Removed |Added
Attachment #40333|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #10 from Jakub Jelinek ---
Can you please attach preprocessed sources for both issues (the error and the
undefined external ref to *.omp_fn* function) + full g++ command line options?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #9 from Steven Noonan ---
Actually, I lied. It's not quite working. It's obviously close though.
The following examples of the issue are using my n-body implementation:
https://github.com/tycho/nbody
Each of the variants of n-body
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #8 from Steven Noonan ---
Oh, awesome! I just tested a gcc trunk build and it's definitely working there.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #7 from Jakub Jelinek ---
I believe this might work fine on the trunk after PR82374, but haven't
verified.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
Steven Noonan changed:
What|Removed |Added
Version|6.2.0 |7.2.1
--- Comment #6 from Steven Noonan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #3 from Steven Noonan ---
Created attachment 40335
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40335&action=edit
compiled with -fopenmp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #2 from Steven Noonan ---
Created attachment 40334
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40334&action=edit
compiled without -fopenmp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808
--- Comment #1 from Steven Noonan ---
Created attachment 40333
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40333&action=edit
test.c - test case for target_clones with(out) -fopenmp
15 matches
Mail list logo