summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-30 18:22:36 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-30 18:22:36 +0000
commit01039648309fba2fdc925f06b255b81530a086c3 (patch)
treeb9890556d88b42960428a24ef0412359882bfff5 /gcc
parent2bd7894764c834b0a5420126754572b1fc7a9fab (diff)
downloadgcc-01039648309fba2fdc925f06b255b81530a086c3.tar.gz
* unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60640 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/unwind-dw2-fde.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5549bc1124a..49e615102a0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-30 Andreas Jaeger <aj@suse.de>
+
+ * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
+
2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
diff --git a/gcc/unwind-dw2-fde.h b/gcc/unwind-dw2-fde.h
index b7d96cfe992..58e44145318 100644
--- a/gcc/unwind-dw2-fde.h
+++ b/gcc/unwind-dw2-fde.h
@@ -166,7 +166,7 @@ next_fde (fde *f)
extern fde * _Unwind_Find_FDE (void *, struct dwarf_eh_bases *);
static inline int
-last_fde (struct object *obj, fde *f)
+last_fde (struct object *obj ATTRIBUTE_UNUSED, fde *f)
{
#ifdef DWARF2_OBJECT_END_PTR_EXTENSION
return (char *)f == obj->fde_end || f->length == 0;