From: "Philippe De Muyter" <phdm@macqel.be>
To: gcc2@cygnus.com (gcc mailing list), egcs@cygnus.com (egcs mailing list)
Subject: dwarf2out.c/ASM_OUTPUT_ASCII,ASM_OUTPUT_DWARF_STRING
Date: Mon, 01 Dec 1997 02:59:00 -0000 [thread overview]
Message-ID: <199712011058.LAA00466@mail.macqel.be> (raw)
testgcc-971128 fails for me with :
./xgcc -B./ -O2 -DIN_GCC -O -g -I./include -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fexceptions -I.
-I/share/src/gnu/testgcc-971121 -I/share/src/gnu/testgcc-971121/config \
-c /share/src/gnu/testgcc-971121/cp/tinfo.cc
Assembler: tinfo.cc
aline 885 : Fatal: unknown size specification
aline 885 : Fatal: syntax error
aline 885 : Fatal: invalid instruction name
where assembler lin 885 is as follows :
.ascii "eh\0" ;# CIE Augmentation
which is output using ASM_OUTPUT_DWARF_STRING (defined in dwarf2out.c)
Testing egcs, I do not get that failure, because one uses there
ASM_OUTPUT_ASCII that has been carefully defined by many config files,
but one uses it only if flag_debug_asm is not set !
The only intended difference between ASM_OUTPUT_DWARF_STRING and
ASM_OUTPUT_ASCII is to not output the final '\n', to be able to put
a comment on the same line, instead of on the next or previous line.
I do not think we should request the about 48 ports that define
ASM_OUTPUT_ASCII to add a definition for ASM_OUTPUT_DWARF_STRING.
If we really need to be able to put a comment on the same line as the string,
perhaps we could modify all the target-dependent ASM_OUTPUT_ASCII macros
to not output the final '\n', modify the documentation for ASM_OUTPUT_ASCII,
and add a '\n' after each invocation of ASM_OUTPUT_ASCII.
But for me, having the comment on the previous or next line is enough.
Philippe
PS : dwarf2out.c in egcs and testgcc are different for no reason :
macro name, assert instead of if () abort(),...
next reply other threads:[~1997-12-01 2:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-01 2:59 Philippe De Muyter [this message]
1997-12-01 6:13 ` dwarf2out.c/ASM_OUTPUT_ASCII,ASM_OUTPUT_DWARF_STRING Jeffrey A Law
1997-12-01 6:46 ` dwarf2out.c/ASM_OUTPUT_ASCII,ASM_OUTPUT_DWARF_STRING Philippe De Muyter
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=199712011058.LAA00466@mail.macqel.be \
--to=phdm@macqel.be \
--cc=egcs@cygnus.com \
--cc=gcc2@cygnus.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).