Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT 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 To: Andy Piper , XEmacs Patches Cc: "Todd Goodman" , , Eric Christopher , cygwin AT sourceware DOT cygnus DOT com Subject: RE: gcc brokeness In-Reply-To: <3.0.5.32.19991203124749.00bb6c90@london.beasys.com> References: <3 DOT 0 DOT 5 DOT 32 DOT 19991202160010 DOT 009b6b50 AT london DOT beasys DOT com> <3 DOT 0 DOT 5 DOT 32 DOT 19991203124749 DOT 00bb6c90 AT london DOT beasys DOT com> X-Mailer: VM 6.72 under 21.2 (beta20) "Yoko" XEmacs Lucid Reply-To: martin AT xemacs DOT org >>>>> "Andy" == Andy Piper 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 AT sourceware DOT cygnus DOT com