* c-pragma.c (mark_align_stack): Dereference the void* properly.
authorRichard Henderson <rth@cygnus.com>
Sun, 19 Sep 1999 21:19:38 +0000 (14:19 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 19 Sep 1999 21:19:38 +0000 (14:19 -0700)
From-SVN: r29512

gcc/ChangeLog
gcc/c-pragma.c

index 811c849..b7e6382 100644 (file)
@@ -1,3 +1,7 @@
+Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
+
+       * c-pragma.c (mark_align_stack): Dereference the void* properly.
+
 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
 
        * rtl.h (insns_safe_to_move_p): New function.
index 47f9ce4..7cb7421 100644 (file)
@@ -519,7 +519,7 @@ static void
 mark_align_stack (p)
     void *p;
 {
-  align_stack *a = (align_stack *) p;
+  align_stack *a = *(align_stack **) p;
 
   while (a)
     {