[Bug rtl-optimization/79728] [7 Regression] ICE in setup_pressure_classes, at ira.c:912
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 14 17:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79728
--- Comment #7 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Mar 14 17:50:46 2017
New Revision: 246138
URL: https://gcc.gnu.org/viewcvs?rev=246138&root=gcc&view=rev
Log:
PR rtl-optimization/79728
* regs.h (struct target_regs): New field
x_contains_allocatable_regs_of_mode.
(contains_allocatable_regs_of_mode): New macro.
* reginfo.c (init_reg_sets_1): Initialize it, and change
contains_reg_of_mode so it includes global regs as well.
* reload.c (push_reload): Use contains_allocatable_regs_of_mode
rather than contains_regs_of_mode.
PR rtl-optimization/79728
* gcc.target/i386/sse-globalreg.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/sse-globalreg.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reginfo.c
trunk/gcc/regs.h
trunk/gcc/reload.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list