https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70860
Bug ID: 70860 Summary: [nvptx] Revisit cfun->machine->doing_call Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: amonakov at gcc dot gnu.org, bernds at gcc dot gnu.org, nathan at gcc dot gnu.org Target Milestone: --- Target: nvptx The r235511 changes for PR70760 exposed a problem in gcc/config/nvptx/nvptx.c:nvptx_libcall_value, and Richard generally found that one "fishy", and "suggest[ed] to remove cfun->machine->doing_call and revisit the reason why it was added for PTX", see <http://news.gmane.org/find-root.php?message_id=%3Calpine.LSU.2.11.1604281241260.13384%40t29.fhfr.qr%3E> and following.