From 417953317ffd15a48c585ae9024674545ff344ec Mon Sep 17 00:00:00 2001
From: zesstra <zesstra@zesstra.de>
Date: Thu, 16 Apr 2009 00:11:47 +0200
Subject: [PATCH 09/12] Removed work-around for compiler bug with gcc >= 3.2 on Cygwin.

This compiler bug is most probably fixed in recent versions of gcc.

Signed-off-by: zesstra <zesstra@zesstra.de>
---
 src/lex.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/src/lex.c b/src/lex.c
index 9b59cd3..2878bae 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -6038,32 +6038,14 @@ handle_define (char *yyt, Bool quote)
     source_loc_t loc;         /* Location of the #define */
     char namebuf[NSIZE];      /* temp buffer for read identifiers */
     char args[NARGS][NSIZE];  /* parsed argument names of function macros */
-#if defined(CYGWIN) && __GNUC__ >= 3 && __GNUC_MINOR__ >= 2
-#   define MTEXT_IS_POINTER
-    char *mtext;
-      /* replacement text, with arguments replaced by the MARKS characters.
-       * Under Cygwin and high optimization, the compiler produces faulty
-       * code if the mtext[MLEN] definition is used.
-       */
-#else
     char mtext[MLEN];
       /* replacement text, with arguments replaced by the MARKS characters
        */
-#endif /* CYGWIN and gcc 3.2 or newer */
     char *p;                  /* current text pointer */
     char *q;                  /* destination for parsed text */
 
     loc = current_loc;
 
-#if defined(MTEXT_IS_POINTER)
-    mtext = alloca(MLEN);
-    if (!mtext)
-    {
-        lexerror("Out of stack memory");
-        return;
-    }
-#endif /* MTEXT_IS_POINTER */
-
     p = yyt;
     strcat(p, " "); /* Make sure GETALPHA terminates */
 
-- 
1.6.1

