This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13721] SEGV on inline-asm
- From: "prafullat at kpitcummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2004 13:42:26 -0000
- Subject: [Bug target/13721] SEGV on inline-asm
- References: <20040117170117.13721.ysato@users.sourceforge.jp>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From prafullat at kpitcummins dot com 2004-08-13 13:42 -------
Hi,
As suggested, I tried using "output_operand_lossage" in "print_operand" call as
per the way it is done in rs6000/rs6000.c. The error message is displayed (not
correctly though), but the problem is, it continues with creation of *.S file
if compiled with option "-S".
As this is an assembler error, no assembly output file is expected. Can anybody
suggest why this file is being created in spite of error in assembly?
I tried validating 'REG_P (x)' before every call to the "byte_reg" in
function "print_operand" and if REG_P(x) is invalid (i.e.
zero), "output_operand_lossage" was called to display error.
Please comment.
Thanks and Regards,
Prafulla Thakare,
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools are released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |prafullat at kpitcummins dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13721