This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix ICE for sparc targets in function_arg_record_value (PR target/77759)


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]