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