]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tracebak.c (__gnat_backtrace): Mark top_stack with
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2010 09:59:29 +0000 (09:59 +0000)
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2010 09:59:29 +0000 (09:59 +0000)
ATTRIBUTE_UNUSED.

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

gcc/ada/ChangeLog
gcc/ada/tracebak.c

index 1f0d92e037de2249891aa61ecfc3fb1ba5524df0..cd848f709e8cc346defe58f67f39043f8a7b0927 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-13  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * tracebak.c (__gnat_backtrace): Mark top_stack with
+       ATTRIBUTE_UNUSED.
+
 2010-05-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Tidy up
index 835b7a8d620a87db196b85d62f7e80cd2353d4f1..9e5366a78ccf9bda3aa8a0ca5aadbba23a74685f 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                          C Implementation File                           *
  *                                                                          *
- *                     Copyright (C) 2000-2009, AdaCore                     *
+ *                     Copyright (C) 2000-2010, AdaCore                     *
  *                                                                          *
  * GNAT is free software;  you can  redistribute it  and/or modify it under *
  * terms of the  GNU General Public License as published  by the Free Soft- *
@@ -435,7 +435,7 @@ __gnat_backtrace (void **array,
 {
   struct layout *current;
   void *top_frame;
-  void *top_stack;
+  void *top_stack ATTRIBUTE_UNUSED;
   int cnt = 0;
 
   if (FORCE_CALL)