This is the mail archive of the gcc-patches@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]

[PATCH] Fix VAX crash


Richard...

In reference to:

	http://gcc.gnu.org/ml/gcc-bugs/2002-11/msg00244.html

...your REAL_TO_DECIMAL -> real_to_decimal change seems to be
the culprit.  The attached patch prevents the compiler from crashing,
although it's not clear to me why real_to_decimal isn't obeying
the passed-in buffer size..?

	* config/vax/vax.h (PRINT_OPERAND): Increase size of buffer
	provided to real_to_decimal.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: vax-real-patch
Description: Text document


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