This is the mail archive of the gcc-bugs@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]

[Bug target/25180] [4.1/4.2 Regression] ICE during kernel build.



------- 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


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