trans.c: Fix misplaced #define.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 25 Sep 2007 19:29:23 +0000 (19:29 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 25 Sep 2007 19:29:23 +0000 (19:29 +0000)
* trans.c: Fix misplaced #define.

From-SVN: r128771

gcc/ada/ChangeLog
gcc/ada/trans.c

index 7913e4a..2905687 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * trans.c: Fix misplaced #define.
+
 2007-09-22  Eric Botcazou  <ebotcazou@adacore.com>
 
        * utils2.c (build_unary_op) <ADDR_EXPR> [INDIRECT_REF]: Propagate
index 1a4067c..e6f9ef8 100644 (file)
 #include "ada-tree.h"
 #include "gigi.h"
 
+/* We should avoid allocating more than ALLOCA_THRESHOLD bytes via alloca,
+   for fear of running out of stack space.  If we need more, we use xmalloc
+   instead.  */
+#define ALLOCA_THRESHOLD 1000
+
 /* Let code below know whether we are targetting VMS without need of
    intrusive preprocessor directives.  */
 #ifndef TARGET_ABI_OPEN_VMS
@@ -101,11 +106,6 @@ DEF_VEC_ALLOC_P(parm_attr,gc);
 
 struct language_function GTY(())
 {
-/* We should avoid allocating more than ALLOCA_THRESHOLD bytes via alloca, for
-   fear of running out of stack space. If we need more, we use xmalloc/free
-   instead. */
-#define ALLOCA_THRESHOLD 1000
-
   VEC(parm_attr,gc) *parm_attr_cache;
 };