From: Stefan Dalibor <dalibor@immd3.informatik.uni-erlangen.de>
To: rc@archone.tamu.edu
Subject: gcc-2.3.1 -O2 corrupts rc?
Date: Fri, 27 Nov 1992 12:01:52 -0500 [thread overview]
Message-ID: <9211271659.AA18197@faui33.informatik.uni-erlangen.de> (raw)
Hello,
interested in finding The Ultimate Shell I felt that I should have a look
at rc; I copied the sources for version 1.4 from archone.tamu.edu, compiled it
with gcc-2.3.1. Compilation made no problems (except warnings:
proto.h:49: warning: conflicting types for built-in function `memcpy'
proto.h:49: warning: type mismatch with previous external decl
<built-in>:0: warning: previous external decl of `memcpy'
which disappeared after removing the forward declaration of memcpy from
proto.h).
But: make trip failed if compiled with option -O2 (all available optimizations
turned on):
% make trip
./rc -p < trip.rc
tripping ./rc
. . . .
(output from successful tests deleted)
. . . .
trip took a wrong turn: match
trip complete
%
On the other hand, trip.rc completed successfully when rc was compiled with:
- gcc-2.2.2 -O2
- gcc-2.3.1 -O
- cc -Qpath /local/lib/unproto -O[234] -I/local/lib/unproto
-Dconst= -Dvolatile=
where unproto is a package converting ANSI-C to K&R-C by Wietse Venema
(got it from ftp.win.tue.nl).
Has anybody of you experienced the same? Is this a known bug of gcc-2.3.1 (and
if, has it been reported to GNU)?
Or is it possible that I did something wrong during the installation?
Please e-mail to me, as I'm unsubscribed to this list (I still don't know
whether I'll like rc, who likes shells at all... :-)
P.S. Browsing through the rc-list-file that came with the distribution I have
to suppose that the author of rc gave up working on it; archone.tamu.edu
seems to have ceased ftp-service.
Is there a place where fixes to rc are archived or who (if anybody)
maintains rc now?
Thanks in advance,
Stefan
----------------------------------------------------
Stefan Dalibor
Lehrstuhl fuer Rechnerstrukturen (IMMD III)
Friedrich-Alexander-Universitaet Erlangen-Nuernberg
Erlangen, Germany
e-mail: dalibor@immd3.informatik.uni-erlangen.de
next reply other threads:[~1992-11-27 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-11-27 17:01 Stefan Dalibor [this message]
1992-12-01 6:41 Byron Rakitzis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9211271659.AA18197@faui33.informatik.uni-erlangen.de \
--to=dalibor@immd3.informatik.uni-erlangen.de \
--cc=rc@archone.tamu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).