gnu@GATECH.EDU (09/24/88)
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}