This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Double semicolon patch



Perhaps you are interested in this... (It's against the 19990824 snapshot.)

/Finn


Wed Sep  1 16:50:55 1999  Finn Hakansson  <finn@axis.com>

	* combine.c: Remove extra semicolon.
	* dwarf2out.c: Likewise.
	* expmed.c: Likewise.
	* gcov.c: Likewise.
	* reorg.c: Likewise.


diff -rup combine.c_OLD combine.c
--- combine.c_OLD       Tue Aug 31 18:28:35 1999
+++ combine.c   Tue Aug 31 18:29:45 1999
@@ -8552,7 +8552,7 @@ simplify_shift_const (x, code, result_mo
              && exact_log2 (INTVAL (XEXP (varop, 1))) >= 0)
            {
              varop = gen_binary (ASHIFT, GET_MODE (varop), XEXP (varop, 0),
-                                 GEN_INT (exact_log2 (INTVAL (XEXP (varop, 1)))));;
+                                 GEN_INT (exact_log2 (INTVAL (XEXP (varop, 1)))));
              continue;
            }
          break;


diff -rup dwarf2out.c_OLD dwarf2out.c
--- dwarf2out.c_OLD     Tue Aug 31 18:28:45 1999
+++ dwarf2out.c Tue Aug 31 18:30:22 1999
@@ -4086,7 +4086,7 @@ remove_AT (die, attr_kind)
      register enum dwarf_attribute attr_kind;
 {
   register dw_attr_ref a;
-  register dw_attr_ref removed = NULL;;
+  register dw_attr_ref removed = NULL;
 
   if (die != NULL)
     {


diff -rup expmed.c_OLD expmed.c
--- expmed.c_OLD        Tue Aug 31 18:28:53 1999
+++ expmed.c    Tue Aug 31 18:30:54 1999
@@ -2467,7 +2467,7 @@ expand_mult (mode, op0, op1, target, uns
                  break;
 
                default:
-                 abort ();;
+                 abort ();
                }
 
              /* Write a REG_EQUAL note on the last insn so that we can cse


diff -rup gcov.c_OLD gcov.c
--- gcov.c_OLD  Tue Aug 31 18:28:59 1999
+++ gcov.c      Tue Aug 31 18:31:11 1999
@@ -569,7 +569,7 @@ create_program_flow_graph (bptr)
     for (arcptr = bb_graph[i].succ; arcptr; arcptr = arcptr->succ_next)
       if (! arcptr->on_tree)
        {
-         long tmp_count = 0;;
+         long tmp_count = 0;
          if (da_file && __read_long (&tmp_count, da_file, 8))
            abort();
 


diff -rup reorg.c_OLD reorg.c
--- reorg.c_OLD Wed Sep  1 15:54:26 1999
+++ reorg.c     Wed Sep  1 15:54:34 1999
@@ -1004,7 +1004,7 @@ mostly_true_jump (jump_insn, condition)
   return (target_label == 0 || INSN_UID (jump_insn) > max_uid
          || INSN_UID (target_label) > max_uid
          || (uid_to_ruid[INSN_UID (jump_insn)]
-             > uid_to_ruid[INSN_UID (target_label)]));;
+             > uid_to_ruid[INSN_UID (target_label)]));
 }
 
 /* Return the condition under which INSN will branch to TARGET.  If TARGET



-- 
Axis Communications AB      Email: Finn.Hakansson@axis.com
Landerigränden 4            Phone: Int+46(0)46-385999
S-223 55 Lund, Sweden       Fax:   Int+46(0)46-136130


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]