From: Daniel Grund Date: Tue, 17 Jan 2006 10:26:58 +0000 (+0000) Subject: bugfix in arch_reg_req_is ## macro X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c675b5d864c110cca59fd91351ec318fc19188e0;p=libfirm bugfix in arch_reg_req_is ## macro --- diff --git a/ir/be/bearch.h b/ir/be/bearch.h index caf929434..534a1df5d 100644 --- a/ir/be/bearch.h +++ b/ir/be/bearch.h @@ -143,7 +143,7 @@ typedef enum _arch_register_req_type_t { * @return 1, If the kind of constraint is present, 0 if not. */ #define arch_register_req_is(req, kind) \ - ((req)->type & (arch_register_req_type_ ## kind) != 0) + (((req)->type & (arch_register_req_type_ ## kind)) != 0) /** * Expresses requirements to register allocation for an operand.