|
From: | anonymous |
Subject: | [Bug-gforth] [bug #20621] Configure.in "if and how we can waste code space" fails due to bug in test code |
Date: | Sun, 29 Jul 2007 19:28:21 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070530 Fedora/1.5.0.12-1.fc5 Firefox/1.5.0.12 |
URL: <http://savannah.gnu.org/bugs/?20621> Summary: Configure.in "if and how we can waste code space" fails due to bug in test code Project: Gforth Submitted by: None Submitted on: Sunday 07/29/2007 at 19:28 UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Using gcc version 4.1.1 20070105 (Red Hat 4.1.1-51) The "if and how we can waste code space" fails due to a bug in the test code. Cose examination of the test reveals that each of the tested scenarios fails with: error: label at end of compound statement Changing the test code in configure.in from: int foo(int x) { if (x) { label1: asm("$i"); label2: } return (&&label2)-(&&label1); } to: int foo(int x) { if (x) { label1: asm("$i"); label2: ; } return (&&label2)-(&&label1); } fixes the test code syntax error and allows the tests to run. A patch file is attached. This fix allows the dynamic code generation to occur. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sunday 07/29/2007 at 19:28 UTC Name: gforth.patch Size: 303B By: None <http://savannah.gnu.org/bugs/download.php?file_id=13520> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?20621> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |