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 other/25131] New: genpreds.c doesn't correctly mark predicates as special


The logic in mark_mode_tests is broken and doesn't match the comment.  Here is
a testcase, a simple predicate that is just an alias for address_operand, which
is a special predicate.

(define_predicate "foo" (match_operand 0 "address_operand"))

This will incorrectly have mode tests added.


-- 
           Summary: genpreds.c doesn't correctly mark predicates as special
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amodra at bigpond dot net dot au


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25131


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