gcse.c (set_hash_table_size): Now unsigned.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 20 Oct 2000 20:49:27 +0000 (16:49 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 20 Oct 2000 20:49:27 +0000 (16:49 -0400)
* gcse.c (set_hash_table_size): Now unsigned.
* sdbout.c (template_name_p): Add "const" to avoid warnings.
(sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
(sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
(sdbout_end_epilogue): Remove variable NAME.
* system.h (getopt): Add default definition.
* config/alpha/alpha.c (print_operand): Don't continue processing
after issuing error.
(summarize_insn): Avoid use of UL in constant.

From-SVN: r36978

gcc/config/alpha/alpha.c

index 87455423811644b33a9042e0c4fc7b85ac08a767..a1d1b10b303fd4a127c37fc7a42a6770c19ec08e 100644 (file)
@@ -3794,7 +3794,7 @@ print_operand (file, x, code)
         if (GET_RTX_CLASS (c) != '<')
          output_operand_lossage ("invalid %%C value");
 
-       if (code == 'D')
+       else if (code == 'D')
          c = reverse_condition (c);
        else if (code == 'c')
          c = swap_condition (c);
@@ -5220,7 +5220,7 @@ summarize_insn (x, sum, set)
     case REG:
       {
        int regno = REGNO (x);
-       unsigned long mask = 1UL << (regno % 32);
+       unsigned long mask = ((unsigned long) 1) << (regno % 32);
 
        if (regno == 31 || regno == 63)
          break;