integrate.c (mark_stores): Function definition made void, to match previous declaration.
authorPhilippe De Muyter <phdm@macqel.be>
Sun, 28 Nov 1999 07:47:57 +0000 (08:47 +0100)
committerJeff Law <law@gcc.gnu.org>
Sun, 28 Nov 1999 07:47:57 +0000 (00:47 -0700)
        * integrate.c (mark_stores): Function definition made void, to match
        previous declaration.
        * regclass.c (dump_regclass): Ditto.
        * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.

From-SVN: r30681

gcc/ChangeLog
gcc/Makefile.in
gcc/integrate.c
gcc/regclass.c

index c448f0fedcfd13aedfb670523aacc9d0ec09e79f..27dc939437e4e4b312cf5e3958a01592235ff8b3 100644 (file)
@@ -1,3 +1,10 @@
+Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
+
+       * integrate.c (mark_stores): Function definition made void, to match
+       previous declaration.
+       * regclass.c (dump_regclass): Ditto.
+       * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
+
 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
index 9bebc1733af03470ba4e5931720cfc4d63dabdb1..17a6a2bfef17eb3691c3ced9a056f2da0e40dfd0 100644 (file)
@@ -70,7 +70,7 @@ XCFLAGS =
 TCFLAGS =
 CFLAGS = -g @stage1_warn_cflags@
 BOOT_CFLAGS = -O2 $(CFLAGS)
-WARN_CFLAGS = -W -Wall
+WARN_CFLAGS = -W -Wall -Wtraditional
 # These exists to be overridden by the x-* and t-* files, respectively.
 X_CFLAGS =
 T_CFLAGS =
index 5acc2d1481ff380b311e27a159775730a3d475c2..f8253095872b03e3b11a8ba053da96b30cb10440 100644 (file)
@@ -2353,7 +2353,7 @@ subst_constants (loc, insn, map, memonly)
 /* Show that register modified no longer contain known constants.  We are
    called from note_stores with parts of the new insn.  */
 
-void
+static void
 mark_stores (dest, x, data)
      rtx dest;
      rtx x ATTRIBUTE_UNUSED;
index cba13c48033772189deb607fe6ee5f5c3a5d900b..ea608f8220297374469cca38faf3419cabc8e908 100644 (file)
@@ -772,7 +772,7 @@ regclass_init ()
 }
 \f
 /* Dump register costs.  */
-void
+static void
 dump_regclass (dump)
      FILE *dump;
 {