[PATCH] Fix ICE for sparc targets in function_arg_record_value (PR target/77759)
Eric Botcazou
ebotcazou@adacore.com
Thu Oct 6 10:33:00 GMT 2016
> 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
More information about the Gcc-patches
mailing list