https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366
Martin Liška changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366
Martin Liška changed:
What|Removed |Added
Status|NEW |ASSIGNED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366
Thomas Koenig changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|tkoenig at gcc do
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366
--- Comment #4 from Martin Liška ---
(In reply to Thomas Koenig from comment #3)
> OK, so this is more of a documentation issue.
>
> Also not mentioned in the docs is that "default" has to be among
> the architectures in target_clone.
>
> It is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366
Thomas Koenig changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366
--- Comment #2 from Richard Biener ---
Note it is created in the caller context, thus
double foo(double *, double *, int)
__attribute__((target_clones("avx,default")));
double x;
int main()
{
double a,b;
x = foo (&a, &b, 1);
}
creates it i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78366
--- Comment #1 from Richard Biener ---
The resolver is only created when there is a call to the function.