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 c/33069] New: equalty of 2 rtx's are not checked with rtx_equal_p in count_occurrences


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


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