diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-15 04:12:42 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-15 04:12:42 +0000 |
commit | 7cc1628dc8ce029afc72194d0453c430bfab0db6 (patch) | |
tree | 81ed436a3f3d4a9f5b0b733a5af9b9a8d1df7ab8 | |
parent | 9d45592a7ce7917cfd2aa12242bd8714bbe07cc6 (diff) | |
download | gcc-7cc1628dc8ce029afc72194d0453c430bfab0db6.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48033 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/builtins.c | 2 | ||||
-rw-r--r-- | gcc/cfgcleanup.c | 2 | ||||
-rw-r--r-- | gcc/gcc.c | 2 | ||||
-rw-r--r-- | gcc/regrename.c | 2 |
5 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 56e17a4a2f7..f4321c37d4e 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 d006b97546b..27b37dd13f9 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 2f0115323a8..09b889bcbe3 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 6c9beb579e9..1e150c838a2 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 ddef8378eee..6014274acfe 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; |