Article View: gnu.gcc.bug
Article #1702Bug Report to gas-1.25 (real one this time!)
From: rebel!didsgn!gnu
Date: Sat, 24 Sep 1988 06:05
Date: Sat, 24 Sep 1988 06:05
52 lines
2041 bytes
2041 bytes
bug-gcc@prep.ai.mit.edu
To whom it may concern,
The following bugs where found at my site involving the GNU as assembler.
The versions of GNU used are:
gcc version 1.24
Gnu assembler version 1.25 (I guess.)
While this problem is with the GNU as assembler,
I am including information about the GNU CC and my system.
My system is a CRDS (Charles Rivers Data Systems) CP20 (68020 & 68881) UNOS 7.1
(SYSV) Unix system. I have 4.0 Mbytes of memory. The "tm.h" and "md.h" are
essentially sun3 stuff but I modified "tm.h" to conform to my system. "md.h"
is as shipped (i.e. md-m68k.h).
The problem that I have is with gas-1.25.
The compiler that I use is the Greenhills C compiler. It does not understand
that a line continuation back-slash is always just that. Thus, in as.h, near
line 241, the following code appears:
#define SIZEOF_STRUCT_FRAG\
((int)zero_address_frag.fr_literal-(int)&zero_address_frag)
The Greenhills compiler then interprets the back-slash as part of the
#define name. (Sigh). Could you please change it so that there is a space
before the back-slash:
#define SIZEOF_STRUCT_FRAG \
((int)zero_address_frag.fr_literal-(int)&zero_address_frag)
Secondly, in messages.c, the routine as_fatal() that uses variable arg
list stuff is incorrectly coded. It is:
vfprintf(stderr, Format, va_list);
but should be:
vfprintf(stderr, Format, args);
Thank you very much. If you have any questions, please mail, snail or call.
Allan G. Schrum
Digital Design, Inc.
3060 Business Park Dr, Suite E
Norcross, GA 30071 USA
(404) 447-0274
{gatech|tolerant}!rebel!didsgn!{gnu|allan}
Technical Details
Message-ID:
<8809240605.AA02786@rebel.TOLERANT>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!GATECH.EDU!rebel!didsgn!gnuShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!GATECH.EDU!rebel!didsgn!gnu From: rebel!didsgn!gnu@GATECH.EDU Newsgroups: gnu.gcc.bug Subject: Bug Report to gas-1.25 (real one this time!) Message-ID: <8809240605.AA02786@rebel.TOLERANT> Date: 24 Sep 88 06:05:39 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 51