Commit 88f92c0f by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent d3b4cd6f
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> 2001-12-14 Aldy Hernandez <aldyh@redhat.com>
* c-parse.in (typename): Do not split attributes. * c-parse.in (typename): Do not split attributes.
......
...@@ -2245,7 +2245,7 @@ expand_builtin_bzero (exp) ...@@ -2245,7 +2245,7 @@ expand_builtin_bzero (exp)
static rtx static rtx
expand_builtin_memcmp (exp, arglist, target, mode) expand_builtin_memcmp (exp, arglist, target, mode)
tree exp; tree exp ATTRIBUTE_UNUSED;
tree arglist; tree arglist;
rtx target; rtx target;
enum machine_mode mode; enum machine_mode mode;
......
...@@ -553,7 +553,7 @@ merge_blocks (e, b, c, mode) ...@@ -553,7 +553,7 @@ merge_blocks (e, b, c, mode)
static bool static bool
insns_match_p (mode, i1, i2) insns_match_p (mode, i1, i2)
int mode; int mode ATTRIBUTE_UNUSED;
rtx i1, i2; rtx i1, i2;
{ {
rtx p1, p2; rtx p1, p2;
......
...@@ -2737,7 +2737,7 @@ execute () ...@@ -2737,7 +2737,7 @@ execute ()
{ {
for (j = commands[i].argv; *j; j++) for (j = commands[i].argv; *j; j++)
{ {
char *p; const char *p;
fprintf (stderr, " \""); fprintf (stderr, " \"");
for (p = *j; *p; ++p) for (p = *j; *p; ++p)
{ {
......
...@@ -1219,7 +1219,7 @@ copy_value (dest, src, vd) ...@@ -1219,7 +1219,7 @@ copy_value (dest, src, vd)
static bool static bool
mode_change_ok (orig_mode, new_mode, regno) mode_change_ok (orig_mode, new_mode, regno)
enum machine_mode orig_mode, new_mode; 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)) if (GET_MODE_SIZE (orig_mode) < GET_MODE_SIZE (new_mode))
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment