Summary: | [4.10 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu in decompose, at rtl.h:1456 | ||
---|---|---|---|
Product: | gcc | Reporter: | Zhendong Su <su> |
Component: | rtl-optimization | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jakub, rsandifo |
Priority: | P3 | ||
Version: | 5.0 | ||
Target Milestone: | 5.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2014-05-19 00:00:00 |
Description
Zhendong Su
2014-05-19 01:02:16 UTC
Confirmed. *** Bug 61224 has been marked as a duplicate of this bug. *** Combine is getting confused about which mode it's using. Author: rsandifo Date: Mon May 26 18:50:55 2014 New Revision: 210945 URL: http://gcc.gnu.org/viewcvs?rev=210945&root=gcc&view=rev Log: gcc/ PR rtl-optimization/61222 * combine.c (simplify_shift_const_1): When moving a PLUS outside the shift, truncate the PLUS operand to the result mode. gcc/testsuite/ PR rtl-optimization/61222 * gcc.c-torture/compile/pr61222-1.c: New test. * gcc.c-torture/compile/pr61222-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr61222-1.c trunk/gcc/testsuite/gcc.c-torture/compile/pr61222-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c trunk/gcc/testsuite/ChangeLog Fixed on trunk. |