[Bug rtl-optimization/62146] CSE replaces constant with an expression incorrectly

eraman at google dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 14 23:37:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62146

--- Comment #1 from Easwaran Raman <eraman at google dot com> ---
Created attachment 33331
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33331&action=edit
Patch to remove obsolete REG_EQUAL note during RTL copy prop

This patch kills the REG_EQUAL note during cprop when the propagated value is a
constant. This doesn't the CSE problem that conflates 0 and the symbol.



More information about the Gcc-bugs mailing list