This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25180] [4.1/4.2 Regression] ICE during kernel build.
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2005 17:36:04 -0000
- Subject: [Bug target/25180] [4.1/4.2 Regression] ICE during kernel build.
- References: <bug-25180-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from bonzini at gnu dot org 2005-11-30 17:36 -------
Created an attachment (id=10369)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10369&action=view)
proposed patch
This patch enables the peephole2 only if operands[1] and operands[2] are
constant.
An alternative patch would add a check for CONSTANT_P (operands[1]) &&
CONSTANT_P (operands[2]) in the peephole's C code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25180