[Bug other/78808] target_clones not applying to openmp functions

2018-03-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/78808] target_clones not applying to openmp functions

2017-10-21 Thread steven at uplinklabs dot net
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

[Bug other/78808] target_clones not applying to openmp functions

2017-10-20 Thread steven at uplinklabs dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808 Steven Noonan changed: What|Removed |Added Attachment #42417|0 |1 is obsolete|

[Bug other/78808] target_clones not applying to openmp functions

2017-10-20 Thread steven at uplinklabs dot net
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=edit nbody_CPU_AOS compile error testcase preprocessed source Compile error case, preprocessed source. Compile with: $

[Bug other/78808] target_clones not applying to openmp functions

2017-10-20 Thread steven at uplinklabs dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808 Steven Noonan changed: What|Removed |Added Attachment #40333|0 |1 is obsolete|

[Bug other/78808] target_clones not applying to openmp functions

2017-10-20 Thread jakub at gcc dot gnu.org
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?

[Bug other/78808] target_clones not applying to openmp functions

2017-10-16 Thread steven at uplinklabs dot net
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

[Bug other/78808] target_clones not applying to openmp functions

2017-10-11 Thread steven at uplinklabs dot net
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.

[Bug other/78808] target_clones not applying to openmp functions

2017-10-11 Thread jakub at gcc dot gnu.org
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.

[Bug other/78808] target_clones not applying to openmp functions

2017-10-11 Thread steven at uplinklabs dot net
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

[Bug other/78808] target_clones not applying to openmp functions

2016-12-20 Thread jakub at gcc dot gnu.org
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

[Bug other/78808] target_clones not applying to openmp functions

2016-12-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/78808] target_clones not applying to openmp functions

2016-12-14 Thread steven at uplinklabs dot net
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=edit compiled with -fopenmp

[Bug other/78808] target_clones not applying to openmp functions

2016-12-14 Thread steven at uplinklabs dot net
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=edit compiled without -fopenmp

[Bug other/78808] target_clones not applying to openmp functions

2016-12-14 Thread steven at uplinklabs dot net
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=edit test.c - test case for target_clones with(out) -fopenmp