Article View: gnu.gcc.help
Article #51411Re: Problems compiling Elm 2.4[PL21] with gcc 2.4.1
From: Richard Stallman
Date: Sun, 30 May 1993 17:49
Date: Sun, 30 May 1993 17:49
42 lines
2584 bytes
2584 bytes
If someone can find which line of Elm is miscompiled (or at least localize it to a few lines), and send me a gcc bug report with a test case in the form of CPP output, I can fix this bug. Otherwise, there is nothing I can do. The first step in trying to localize this is to try compiling one Elm source file at a time with the old version, and testing the result, until it starts to work. Use the option -fpcc-struct-return when compiling with the old GCC. The last file recompiled with the old GCC is the one where the problem is. Or at least, one problem. Then, try debugging what happens in that source file. You can assume that all functions in other files execute correctly, so you don't need to bother really looking at them. Just step through them and assume they do what they ought to. If you have a suspicion about a particular function, and the function is not too large, report that to me right away. That *may* be enough to enable me to fix the problem. Then continue trying to find the miscompilation, since perhaps just the function name is not enough. For example, if you can determine that the error happens within a particular function for substituting into a template string, send me CPP output that I can compile directly, including that function. Please, everyone, try to work on this today if you can, since that will enable us to put a reliable GCC on our CD-ROM. I'm getting really odd behaviour compiling Elm 2.4[PL21] on our system (Sun Sparc, SunOs 4.1.2) since we went to gcc 2.4.1 from gcc 2.3.3 Under 2.3.3 we had no problems with Elm, but since we got 2.4.1, Elm compiles fine, with no errors, but on running, the header line at the top of the index screen is corrupt and looks like this : is '%s is '%s' with %d messages [ELM %s]' with 344328 messages [ELM /tsunb/home /mail/samuele]
Technical Details
Message-ID:
<9305301746.AA11729@mole.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!doc.ic.ac.uk!agate!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rmsReferences:
<1993May30.133855.26896@syma.sussex.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6d1dc1178672651 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-30 11:11:57 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!doc.ic.ac.uk!agate!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms From: rms@gnu.ai.mit.edu (Richard Stallman) Newsgroups: gnu.gcc.help Subject: Re: Problems compiling Elm 2.4[PL21] with gcc 2.4.1 Date: 30 May 1993 13:49:19 -0400 Organization: GNUs Not Usenet Lines: 42 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9305301746.AA11729@mole.gnu.ai.mit.edu> References: <1993May30.133855.26896@syma.sussex.ac.uk>