[Bug target/80732] target_clones does not work with dlsym

2017-06-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #10 from Martin Liška --- (In reply to Yichao Yu from comment #9) > Thanks for the fix! > > Does it fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366 at the same > time? No as we're planning to document current behavior mention

[Bug target/80732] target_clones does not work with dlsym

2017-06-19 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #9 from Yichao Yu --- Thanks for the fix! Does it fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366 at the same time?

[Bug target/80732] target_clones does not work with dlsym

2017-06-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/80732] target_clones does not work with dlsym

2017-06-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #7 from Martin Liška --- Author: marxin Date: Mon Jun 19 13:12:51 2017 New Revision: 249365 URL: https://gcc.gnu.org/viewcvs?rev=249365&root=gcc&view=rev Log: Fix multi-versioning issues (PR ipa/80732). 2017-06-19 Martin Liska

[Bug target/80732] target_clones does not work with dlsym

2017-05-17 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #6 from Yichao Yu --- Good to know. Thanks.

[Bug target/80732] target_clones does not work with dlsym

2017-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #5 from Martin Liška --- (In reply to Yichao Yu from comment #4) > `double (*pf1)(double, double, double) = dlsym(hdl, "f1.ifunc");` > > Wouldn't it be better if GCC generates local functions `f1.default`, > `f1.fma` as implementatio

[Bug target/80732] target_clones does not work with dlsym

2017-05-17 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #4 from Yichao Yu --- `double (*pf1)(double, double, double) = dlsym(hdl, "f1.ifunc");` Wouldn't it be better if GCC generates local functions `f1.default`, `f1.fma` as implementation and `f1` to replace `f1.ifunc`? It's quite incont

[Bug target/80732] target_clones does not work with dlsym

2017-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #3 from Martin Liška --- Created attachment 41376 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41376&action=edit Candidate patch

[Bug target/80732] target_clones does not work with dlsym

2017-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 --- Comment #2 from Martin Liška --- > double (*pf1)(double, double, double) = dlsym(hdl, "f1"); Ok, so here we have problem that usage of target_attribute for a function f1, generates: f1 (default implementation), f1.fma (fma implementation

[Bug target/80732] target_clones does not work with dlsym

2017-05-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/80732] target_clones does not work with dlsym

2017-05-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80732 Martin Liška changed: What|Removed |Added Last reconfirmed||2017-5-15 CC|