Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14408.40281.802783.638154@lasker.666.com>
Date: Fri, 3 Dec 1999 20:49:29 -0800 (PST)
From: Martin Buchholz <martin@xemacs.org>
To: Andy Piper <andy@xemacs.org>, XEmacs Patches <xemacs-patches@xemacs.org>
Cc: "Todd Goodman" <tsg@bonedaddy.net>, <xemacs-beta@xemacs.org>,
        Eric Christopher <echristo@cygnus.com>, cygwin@sourceware.cygnus.com
Subject: RE: gcc brokeness
In-Reply-To: <3.0.5.32.19991203124749.00bb6c90@london.beasys.com>
References: <3.0.5.32.19991202160010.009b6b50@london.beasys.com>
	<3.0.5.32.19991203124749.00bb6c90@london.beasys.com>
X-Mailer: VM 6.72 under 21.2  (beta20) "Yoko" XEmacs Lucid
Reply-To: martin@xemacs.org

>>>>> "Andy" == Andy Piper <andy@xemacs.org> writes:

Andy> At 08:52 PM 12/2/99 -0500, Todd Goodman wrote:
>> Are you using the Cygwin V1.0 compiler?

Andy> Yes.

>> If so, I've found that building with just -O (instead of -O2)
>> fixes it as does installing Mumit's 2.95.2 for v1.0.

Andy> Ok. We need to come up with something that means people can build OOTB with
Andy> cygwin 1.0.

Here's the fix that lets me compile with Linux CodeFusion.  It is
likely that the same fix will work for Cygwin.  Someone (Andy?) please
test this on Cygwin 1.0.

Cygnus and Cygwin guys, you're not off the hook yet.  You still need
to fix this serious bug!

Clues:

-O3  gives  ICE
-O2  gives  ICE
-O   gives  clean compile
-O2 -fno-strength-reduce  gives  clean compile

So a reasonable guess is that strength reduction optimizations are
broken.

--- event-stream.c	1999/11/28 18:15:46	1.45.2.14
+++ event-stream.c	1999/12/04 04:44:42
@@ -3177,11 +3169,9 @@
   int l = level;
   widget_value *current;
 
-  while (level >= 3)
-    {
-      --level;
-      lw_pop_menu ();
-    }
+  while (level-- >= 3)
+    lw_pop_menu ();
+
   menu_move_up ();
   current = lw_get_entries (False);
   if (l > 2 && current->contents)
@@ -3195,11 +3185,9 @@
   int l = level;
   widget_value *current;
 
-  while (level >= 3)
-    {
-      --level;
-      lw_pop_menu ();
-    }
+  while (level-- >= 3)
+    lw_pop_menu ();
+
   menu_move_down ();
   current = lw_get_entries (False);
   if (l > 2 && current->contents)

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

