diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-10-26 11:16:09 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-10-26 07:16:09 -0400 |
commit | 6cf3f6e7f0b56f5d81ac5930c42c35fcae63ec2c (patch) | |
tree | ffc5c2ea73f7a7689048d0b14e667711e9701c61 /gcc/cfgcleanup.c | |
parent | 16e99e29fc887f116f767e8cb727e9fe6054307b (diff) | |
download | gcc-6cf3f6e7f0b56f5d81ac5930c42c35fcae63ec2c.zip gcc-6cf3f6e7f0b56f5d81ac5930c42c35fcae63ec2c.tar.gz gcc-6cf3f6e7f0b56f5d81ac5930c42c35fcae63ec2c.tar.bz2 |
cfgcleanup.c (BB_SET_FLAG, [...]): Add cast to avoid warning.
* cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
* local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
ASM_OPERANDS.
From-SVN: r46538
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r-- | gcc/cfgcleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index cdf2b8a..a1c13f5 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -56,9 +56,9 @@ enum bb_flags { #define BB_FLAGS(bb) (enum bb_flags)(bb)->aux #define BB_SET_FLAG(bb,flag) \ - (bb)->aux = (void *)((enum bb_flags)(bb)->aux | (flag)) + (bb)->aux = (void *) (long) ((enum bb_flags)(bb)->aux | (flag)) #define BB_CLEAR_FLAG(bb,flag) \ - (bb)->aux = (void *)((enum bb_flags)(bb)->aux & ~(flag)) + (bb)->aux = (void *) (long) ((enum bb_flags)(bb)->aux & ~(flag)) #define FORWARDER_BLOCK_P(bb) (BB_FLAGS(bb) & BB_FORWARDER_BLOCK) |