[Bug target/107726] Multiple bugs related to __gnu__::__target__

2022-11-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107726

--- Comment #5 from cqwrteur  ---
(In reply to Andrew Pinski from comment #2)
> We have tests for multiversioning and they are passing with BFD ld.
> 
> Also multiversioning requires ifunc support which is not implemented for
> Windows (I don't know how clang implements theirs, maybe they do a check at
> the beginging of the function to see if a function pointer was assigned).
> 
> For 1, can you provide a full testcase which is failing?

https://sourceware.org/bugzilla/show_bug.cgi?id=29797(In reply to Andrew Pinski
from comment #3)

> Also please file an different issue for the non-ifunc case since it is a new
> feature.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107727

[Bug target/107726] Multiple bugs related to __gnu__::__target__

2022-11-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107726

--- Comment #4 from cqwrteur  ---
(In reply to Andrew Pinski from comment #3)
> Also please file an different issue for the non-ifunc case since it is a new
> feature.

https://godbolt.org/z/z5cexGEMK

[Bug target/107726] Multiple bugs related to __gnu__::__target__

2022-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107726

Andrew Pinski  changed:

   What|Removed |Added

 Target|x86_64-w64-mingw32, |x86_64-linux-gnu
   |x86_64-linux-gnu|
  Component|c++ |target

--- Comment #3 from Andrew Pinski  ---
Also please file an different issue for the non-ifunc case since it is a new
feature.