This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix decimal floating-point LTO streaming for offloading compilation
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Julian Brown <julian at codesourcery dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, Thomas Schwinge <thomas at codesourcery dot com>
- Date: Thu, 28 Nov 2019 15:04:05 +0000
- Subject: Re: [PATCH] Fix decimal floating-point LTO streaming for offloading compilation
- Ironport-sdr: Jx4IkNtJvR3f1BD/XJAVb2sYgdzz8UM0eCDyKuJHgK2AVSPXIYq6LD+cNSIQ/Qagf0oYNunyAn Or7YhDG31yck01WCHPhwR+Viee3KcfNgDsenE20jdph03wmy2RB6Kz8Xo9bDS7rr+ttBU4ZUVz pKgoCQe2eQQrXemgumkx9QcZXNxI/KHNImFQ47UKeadhDtBb+37udvPMhXExPAuNGf3CE2fcSa cK3q/z1/ttijRQgjcre7lHfQzNmElFIhKIcwQmAtREAAaZfFAFlFUH5lUJLqfZZbO+Kw/s+Hol mgY=
- Ironport-sdr: t9GRIi8iM/ZWcR9C7AX1rlCV2TAZuTq6+L14zEv31LRO1853jaH6+Ie99pXp1lBBQ0aBgd4Ar5 zXJrR8u/ErI0YZifhB8D5A61EdHzEqULkjS/k+9JnnW1/hyUjeduG6AlRf28Q8x1b6H3v3mwoA HHzETwDQl81mMYlnYwAKtKPov1uUcM4048P2RFF/PzzDCTinSXf/rqAsaDpiRta+bgAbQkLUhO DJjNs1V/9YzJhELuuvBZdLm2jGVaRudOV44Vma8aOCg+TF0d35XR0WiglgOzeTtgWvs4tIW/Ou 86E=
- References: <20191128142402.2949931d@squid.athome>
On Thu, 28 Nov 2019, Julian Brown wrote:
> Unlike e.g. the _FloatN types, when decimal floating-point types are
> enabled, common tree nodes are created for each float type size (e.g.
> dfloat32_type_node) and also a pointer to each type is created
> (e.g. dfloat32_ptr_type_node). tree-streamer.c:record_common_node emits
> these like:
As far as I can tell, nothing actually uses those pointer nodes, or the
corresponding BT_DFLOAT32_PTR etc. defined in builtin-types.def. I don't
know if they ever were used, or if they were just added by analogy to e.g.
float_ptr_type_node.
So I'd suggest simply removing all references to those tree nodes and
corresponding BT_*, from builtin-types.def, jit/jit-builtins.c (commented
out), tree-core.h, tree.c, tree.h. Hopefully that will solve the
offloading problem.
--
Joseph S. Myers
joseph@codesourcery.com