This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/25131] New: genpreds.c doesn't correctly mark predicates as special
- From: "amodra at bigpond dot net dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2005 03:07:03 -0000
- Subject: [Bug other/25131] New: genpreds.c doesn't correctly mark predicates as special
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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