This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
New #define EDGE_ALL_FLAGS in mainline
- From: Diego Novillo <dnovillo at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 10 Mar 2003 07:38:02 -0500
- Subject: New #define EDGE_ALL_FLAGS in mainline
- Organization: Red Hat Canada
Why is EDGE_ALL_FLAGS #define'd to 255? All the uses of the
flag, are with (EDGE_ALL_FLAGS + 1). Why not just #define it to
256?
gcc/basic-block.h:154:#define EDGE_ALL_FLAGS 255
gcc/cfgloop.c:1286: e->flags |= EDGE_ALL_FLAGS + 1;
gcc/cfgloop.c:1310: && !(e->flags & (EDGE_ALL_FLAGS + 1)))
gcc/cfgloop.c:1317: && (e->flags & (EDGE_ALL_FLAGS + 1)))
gcc/cfgloop.c:1323: e->flags &= ~(EDGE_ALL_FLAGS + 1);
Diego.