diff options
| author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-30 18:26:17 +0000 |
|---|---|---|
| committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-30 18:26:17 +0000 |
| commit | 3cbcf73c5927020a88f3b75bc94ca16d8a959ec6 (patch) | |
| tree | 2963f5c222bee37aab1a36d8413eb52c9575e160 | |
| parent | 4f4d5f3610dc416ca91e216906a2879bfcdd5954 (diff) | |
| download | ppe42-gcc-3cbcf73c5927020a88f3b75bc94ca16d8a959ec6.tar.gz ppe42-gcc-3cbcf73c5927020a88f3b75bc94ca16d8a959ec6.zip | |
PR target/47097
* config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid
mixing signed and unsigned types in conditional expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168349 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/i386/lynx.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8eff4b36dc1..ac064a01c45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -67,6 +67,10 @@ * vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename. (vmsdbgout_finish): Likewise. + PR target/47097 + * config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid + mixing signed and unsigned types in conditional expression. + 2010-12-29 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/47074 diff --git a/gcc/config/i386/lynx.h b/gcc/config/i386/lynx.h index cd8386231a3..a8ee3567a61 100644 --- a/gcc/config/i386/lynx.h +++ b/gcc/config/i386/lynx.h @@ -51,7 +51,7 @@ along with GCC; see the file COPYING3. If not see : (n) == 5 ? 7 \ : (n) == 6 ? 5 \ : (n) == 7 ? 4 \ - : ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n) + 8 \ + : ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (int) (n) + 8 \ : (-1)) /* A C statement to output to the stdio stream FILE an assembler |

