This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/13721] SEGV on inline-asm


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]