aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-15 04:12:42 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-15 04:12:42 +0000
commit88f92c0f3f41595fb8c7d233f5aacb205495bd87 (patch)
tree81ed436a3f3d4a9f5b0b733a5af9b9a8d1df7ab8 /gcc
parentd3b4cd6f89460f3393850c84be374987d17c210c (diff)
downloadgcc-88f92c0f3f41595fb8c7d233f5aacb205495bd87.zip
gcc-88f92c0f3f41595fb8c7d233f5aacb205495bd87.tar.gz
gcc-88f92c0f3f41595fb8c7d233f5aacb205495bd87.tar.bz2
builtins.c (expand_builtin_memcmp): Mark parameter with ATTRIBUTE_UNUSED.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/builtins.c2
-rw-r--r--gcc/cfgcleanup.c2
-rw-r--r--gcc/gcc.c2
-rw-r--r--gcc/regrename.c2
5 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 56e17a4..f4321c3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/builtins.c b/gcc/builtins.c
index d006b97..27b37dd 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -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;
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 2f01153..09b889b 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -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;
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 6c9beb5..1e150c8 100644
--- 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)
{
diff --git a/gcc/regrename.c b/gcc/regrename.c
index ddef837..6014274 100644
--- a/gcc/regrename.c
+++ b/gcc/regrename.c
@@ -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;