]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
builtins.c (expand_builtin_memcmp): Mark parameter with ATTRIBUTE_UNUSED.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sat, 15 Dec 2001 04:12:42 +0000 (04:12 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sat, 15 Dec 2001 04:12:42 +0000 (04:12 +0000)
* builtins.c (expand_builtin_memcmp): Mark parameter with
ATTRIBUTE_UNUSED.
* cfgcleanup.c (insns_match_p): Likewise.
* regrename.c (mode_change_ok): Likewise.
* gcc.c (execute): Const-ify.

From-SVN: r48033

gcc/ChangeLog
gcc/builtins.c
gcc/cfgcleanup.c
gcc/gcc.c
gcc/regrename.c

index 56e17a4a2f771e735eb6b2f7feff30b83af2b3d1..f4321c37d4e6a3c6ea6cf1e35730d1beaf9fdd97 100644 (file)
@@ -1,3 +1,11 @@
+2001-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * builtins.c (expand_builtin_memcmp): Mark parameter with
+       ATTRIBUTE_UNUSED.
+       * cfgcleanup.c (insns_match_p): Likewise.
+       * regrename.c (mode_change_ok): Likewise.
+       * gcc.c (execute): Const-ify.
+
 2001-12-14  Aldy Hernandez  <aldyh@redhat.com>
 
        * c-parse.in (typename): Do not split attributes.
index d006b97546b513aae212fe9783d3522608478d63..27b37dd13f93b8f3431cf1be5389aaee89aaf7d3 100644 (file)
@@ -2245,7 +2245,7 @@ expand_builtin_bzero (exp)
 
 static rtx
 expand_builtin_memcmp (exp, arglist, target, mode)
-     tree exp;
+     tree exp ATTRIBUTE_UNUSED;
      tree arglist;
      rtx target;
      enum machine_mode mode;
index 2f0115323a8ec33aff9913c468f6548aba5552fb..09b889bcbe30d97bd298640dd222607c2d441266 100644 (file)
@@ -553,7 +553,7 @@ merge_blocks (e, b, c, mode)
 
 static bool
 insns_match_p (mode, i1, i2)
-       int mode;
+       int mode ATTRIBUTE_UNUSED;
        rtx i1, i2;
 {
   rtx p1, p2;
index 6c9beb579e934af983219818be631b38fa9990ad..1e150c838a2f79e342ed471c3aeb645b2d2467e1 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2737,7 +2737,7 @@ execute ()
            {
              for (j = commands[i].argv; *j; j++)
                {
-                 char *p;
+                 const char *p;
                  fprintf (stderr, " \"");
                  for (p = *j; *p; ++p)
                    {
index ddef8378eee3bf9153ac0e30f42706a3a5f552b5..6014274acfe17102239276e935458552a15c8f9c 100644 (file)
@@ -1219,7 +1219,7 @@ copy_value (dest, src, vd)
 static bool
 mode_change_ok (orig_mode, new_mode, regno)
      enum machine_mode orig_mode, new_mode;
-     unsigned int regno;
+     unsigned int regno ATTRIBUTE_UNUSED;
 {
   if (GET_MODE_SIZE (orig_mode) < GET_MODE_SIZE (new_mode))
     return false;