This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33069] New: equalty of 2 rtx's are not checked with rtx_equal_p in count_occurrences
- From: "tal dot agmon at ceva-dsp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2007 17:41:15 -0000
- Subject: [Bug c/33069] New: equalty of 2 rtx's are not checked with rtx_equal_p in count_occurrences
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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