https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
Iain Sandoe changed:
What|Removed |Added
Target Milestone|--- |10.0
Assignee|unassigned at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #11 from Iain Sandoe ---
Created attachment 48251
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48251=edit
Patch for testing
coroutines: Fix compile error with symmetric transfers [PR94359]
For symmetric transfers to work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #10 from Eric Botcazou ---
> No. I guess Eric (Cc'ed) is in a better position to answer that.
Same as for PowerPC: look at the function_ok_for_sibcall predicate.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
Rainer Orth changed:
What|Removed |Added
CC||ebotcazou at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #8 from Iain Sandoe ---
(In reply to Rainer Orth from comment #7)
> I'm seeing the same failure on Solaris/SPARC (32 and 64-bit).
Do you have any info on why the tail-call fails there?
(e.g. is it not possible to make an indirect
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
Rainer Orth changed:
What|Removed |Added
CC||ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #6 from Iain Sandoe ---
(In reply to Iain Sandoe from comment #5)
> (In reply to Iain Sandoe from comment #4)
> I'm going to discuss this with the coroutines paper authors - as to whether
> any constraints had been considered.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #5 from Iain Sandoe ---
(In reply to Iain Sandoe from comment #4)
> So not sure how to proceed here at the moment (I wonder if this works for
> PPC on the clang impl).
It does work for X86 (and ironically, on PPC Darwin too - where
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #4 from Iain Sandoe ---
so, it seems:
rs6000_function_ok_for_sibcall ()
calls rs6000_decl_ok_for_sibcall ()
which gets a NULL decl and thus this returns false
/* Under the AIX or ELFv2 ABIs we can't allow calls to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #3 from Iain Sandoe ---
Note1 : the 32b multilib works without any error.
Note2 : The dumps are gimple from symmetric-transfer-00-basic.C.020t.fixup_cfg1
which is the pass after all the coroutine-specific stuff is complete.
thus,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
--- Comment #2 from Iain Sandoe ---
it is not mandatory (for C++20 compliance) that the implementation provides
symmetric transfer - so it could be switched off - or XFAILed.
However, users state that an impl. that can't do the symmetric
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94359
Iain Sandoe changed:
What|Removed |Added
Last reconfirmed||2020-03-27
Ever confirmed|0
12 matches
Mail list logo