]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare variable I locally...
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 3 Aug 2001 23:53:56 +0000 (23:53 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 3 Aug 2001 23:53:56 +0000 (23:53 +0000)
* config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
variable I locally, instead of expecting a declaration in the
calling context.

From-SVN: r44617

gcc/ChangeLog
gcc/config/mn10300/mn10300.h

index 65f73d0e91d35fc2d840d67d2f3d3f73ce240f0e..b421705d973970b82bbb4bd6224547fd02e12cb2 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-03  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
+       variable I locally, instead of expecting a declaration in the
+       calling context.
+
 2001-08-03  Richard Henderson  <rth@redhat.com>
 
        * except.c (collect_one_action_chain): Add an explicit cleanup
index 7835c0f08938b93b885f5d565a8fb8b610f277a4..63fef6009f9173da858afaaaa12e2d692df16498 100644 (file)
@@ -189,6 +189,8 @@ extern int target_flags;
 
 #define CONDITIONAL_REGISTER_USAGE \
 {                                              \
+  unsigned int i;                              \
+                                               \
   if (!TARGET_AM33)                            \
     {                                          \
       for (i = FIRST_EXTENDED_REGNUM;          \