This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid NULL cfun ICE in gcc/config/nvptx/nvptx.c:nvptx_libcall_value
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Alexander Monakov <amonakov at ispras dot ru>, Richard Biener <rguenther at suse dot de>
- Cc: Thomas Schwinge <thomas at codesourcery dot com>, Nathan Sidwell <nathan at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Apr 2016 13:42:39 +0200
- Subject: Re: Avoid NULL cfun ICE in gcc/config/nvptx/nvptx.c:nvptx_libcall_value
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1604271256500 dot 13384 at t29 dot fhfr dot qr> <87wpnixc4v dot fsf at kepler dot schwinge dot homeip dot net> <alpine dot LSU dot 2 dot 11 dot 1604281241260 dot 13384 at t29 dot fhfr dot qr> <alpine dot LNX dot 2 dot 20 dot 1604281400460 dot 19258 at monopod dot intra dot ispras dot ru>
On 04/28/2016 01:15 PM, Alexander Monakov wrote:
So if my understanding is correct, additional !cfun check can be acceptable as
a fix along the existing hack. Perhaps with a note about the nature of the
hack.
Yes, I think Thomas' patch is ok.
Bernd