This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix ICE for sparc targets in function_arg_record_value (PR target/77759)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: James Clarke <jrtc27 at jrtc27 dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 06 Oct 2016 12:32:55 +0200
- Subject: Re: [PATCH] Fix ICE for sparc targets in function_arg_record_value (PR target/77759)
- Authentication-results: sourceware.org; auth=none
- References: <20161005121226.17590-1-jrtc27@jrtc27.com>
> gcc/
> PR target/77759
> * config/sparc/sparc.c (classify_data_t): Remove unused int_regs
field.
> (classify_registers): Don't set int_regs.
> (function_arg_slotno): Don't initialise int_regs. Check slotno is
> within range for empty structs, just like int register-only structs.
>
> gcc/testsuite/
> PR target/77759
> * g++.dg/other/pr77759.C: New test.
Thanks, applied on the mainline and 6 branch in a slightly modified form,
after testing and compat-testing on SPARC/Solaris.
--
Eric Botcazou