diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-21 15:39:31 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-21 15:39:31 +0000 |
commit | 8d780c0b5963fc4e7dbac11b98ab8f26739d1963 (patch) | |
tree | 7dde89ed777a69056f79af262347ed2b943a5199 /gcc/rtl.h | |
parent | 9a3823f4e1492e17419d6d6d0de3f1e3f29c251c (diff) | |
download | gcc-8d780c0b5963fc4e7dbac11b98ab8f26739d1963.tar.gz |
* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
disabling checking, and avoid multiple evaluation of RTX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53687 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index ebcbd4482d0..eac532e612c 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -982,12 +982,12 @@ extern unsigned int subreg_regno PARAMS ((rtx)); #define SUBREG_PROMOTED_UNSIGNED_SET(RTX, VAL) \ do { \ - RTL_FLAG_CHECK1("SUBREG_PROMOTED_UNSIGNED_SET", (RTX), SUBREG); \ + rtx const _rtx = RTL_FLAG_CHECK1("SUBREG_PROMOTED_UNSIGNED_SET", (RTX), SUBREG); \ if ((VAL) < 0) \ - (RTX)->volatil = 1; \ + _rtx->volatil = 1; \ else { \ - (RTX)->volatil = 0; \ - (RTX)->unchanging = (VAL); \ + _rtx->volatil = 0; \ + _rtx->unchanging = (VAL); \ } \ } while (0) #define SUBREG_PROMOTED_UNSIGNED_P(RTX) \ |