Function count_occurrences in rtlanal.c checks equalty of 2 rtx expressions by
comparing them instead of using rtx_equal_p:
if (x == find)
return 1;
should be:
if (rtx_equal_p (x, find))
return 1;
--
Summary: equalty of 2 rtx's are not checked with rtx_equal_p in
count_occurrences
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tal dot agmon at ceva-dsp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33069