diff options
author | Steven Bosscher <stevenb@suse.de> | 2004-07-05 07:22:45 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-07-05 07:22:45 +0000 |
commit | acf8677f4e8df04a0285d37c653eb69d12e0cb64 (patch) | |
tree | 873c2f42ad5a1b4c9c7a9bc0578d0021f4e63898 | |
parent | e0ec4c3b6bd191bc92fdab60bd4636480d68f870 (diff) | |
download | gcc-acf8677f4e8df04a0285d37c653eb69d12e0cb64.zip gcc-acf8677f4e8df04a0285d37c653eb69d12e0cb64.tar.gz gcc-acf8677f4e8df04a0285d37c653eb69d12e0cb64.tar.bz2 |
rtl.h (struct rtx_def): Remove the integrated flag.
* rtl.h (struct rtx_def): Remove the integrated flag.
Use the return_val flag for MEM_SCALAR_P.
Reshuffle and update flags in CLEAR_RTX_FLAGS
From-SVN: r84109
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/rtl.h | 19 |
2 files changed, 14 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d77ac0..e609cab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-07-05 Steven Bosscher <stevenb@suse.de> + + * rtl.h (struct rtx_def): Remove the integrated flag. + Use the return_val flag for MEM_SCALAR_P. + Reshuffle and update flags in CLEAR_RTX_FLAGS. + 2004-07-05 Richard Sandiford <rsandifo@redhat.com> PR target/16357 @@ -240,10 +240,6 @@ struct rtx_def GTY((chain_next ("RTX_NEXT (&%h)"), 1 in a SYMBOL_REF, means that emit_library_call has used it as the function. */ unsigned int used : 1; - /* FIXME. This should be unused now that we do inlinining on trees, - but it is now being used for MEM_SCALAR_P. It should be renamed, - or some other field should be overloaded. */ - unsigned integrated : 1; /* 1 in an INSN or a SET if this rtx is related to the call frame, either changing how we compute the frame address or saving and restoring registers in the prologue and epilogue. @@ -252,6 +248,7 @@ struct rtx_def GTY((chain_next ("RTX_NEXT (&%h)"), constant string pool. */ unsigned frame_related : 1; /* 1 in a REG or PARALLEL that is the current function's return value. + 1 in a MEM if it refers to a scalar. 1 in a SYMBOL_REF for a weak symbol. */ unsigned return_val : 1; @@ -597,14 +594,14 @@ extern void rtl_check_failed_flag (const char *, rtx, const char *, #define CLEAR_RTX_FLAGS(RTX) \ do { \ rtx const _rtx = (RTX); \ - _rtx->call = 0; \ - _rtx->frame_related = 0; \ - _rtx->in_struct = 0; \ _rtx->jump = 0; \ + _rtx->call = 0; \ _rtx->unchanging = 0; \ - _rtx->used = 0; \ _rtx->volatil = 0; \ - _rtx->unused_flag = 0; \ + _rtx->in_struct = 0; \ + _rtx->used = 0; \ + _rtx->frame_related = 0; \ + _rtx->return_val = 0; \ } while (0) #define XINT(RTX, N) (RTL_CHECK2 (RTX, N, 'i', 'n').rtint) @@ -1280,10 +1277,10 @@ do { \ #define MEM_IN_STRUCT_P(RTX) \ (RTL_FLAG_CHECK1("MEM_IN_STRUCT_P", (RTX), MEM)->in_struct) -/* 1 if RTX is a mem that refers to a scalar. If zero, RTX may or may +/* 1 if RTX is a MEM that refers to a scalar. If zero, RTX may or may not refer to a scalar. */ #define MEM_SCALAR_P(RTX) \ - (RTL_FLAG_CHECK1("MEM_SCALAR_P", (RTX), MEM)->integrated) + (RTL_FLAG_CHECK1("MEM_SCALAR_P", (RTX), MEM)->return_val) /* 1 if RTX is a mem that cannot trap. */ #define MEM_NOTRAP_P(RTX) \ |