This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/79728] [7 Regression] ICE in setup_pressure_classes, at ira.c:912
- From: "law at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Mar 2017 17:51:17 +0000
- Subject: [Bug rtl-optimization/79728] [7 Regression] ICE in setup_pressure_classes, at ira.c:912
- Auto-submitted: auto-generated
- References: <bug-79728-4@http.gcc.gnu.org/bugzilla/>
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