OSDN Git Service

* builtins.c (expand_builtin_memcmp): Mark parameter with
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Dec 2001 04:12:42 +0000 (04:12 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Dec 2001 04:12:42 +0000 (04:12 +0000)
ATTRIBUTE_UNUSED.
* cfgcleanup.c (insns_match_p): Likewise.
* regrename.c (mode_change_ok): Likewise.
* gcc.c (execute): Const-ify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48033 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 56e17a4..f4321c3 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 d006b97..27b37dd 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 2f01153..09b889b 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 6c9beb5..1e150c8 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 ddef837..6014274 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;