re PR target/47097 (i686-lynxos fails building dbxout.o)
authorJoern Rennecke <amylaar@spamcop.net>
Thu, 30 Dec 2010 18:26:17 +0000 (18:26 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 30 Dec 2010 18:26:17 +0000 (18:26 +0000)
PR target/47097
* config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid
mixing signed and unsigned types in conditional expression.

From-SVN: r168349

gcc/ChangeLog
gcc/config/i386/lynx.h

index 8eff4b36dc1c93accb105d386dc0ac93318c3788..ac064a01c45bde4c7e8b251af392f93476986e3f 100644 (file)
        * 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
index cd8386231a3dad769f26ef3c749781c89c83fa66..a8ee3567a61b8230bb29c0e6baa6feb71ecc0edf 100644 (file)
@@ -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