PPC64 Compiler bug !!

David Edelsohn dje@watson.ibm.com
Fri Jun 13 17:24:00 GMT 2003


>>>>> linas  writes:

linas> What do you mean by 'safely'? Surely -msoft-float is "safe" or is that 
linas> not true?

	-msoft-float converts all floating point computations to
emulation, as opposed to only using FPRs for floating point statements.
Please review the original problem and the documentation for
"-msoft-float" for more information.

linas> During one of the intermediate stages of processing, one must surely 
linas> be able to scan the function and realize that it was integer-only.
linas> At this point, if -O3 is not set, one could internally turn on -msoft-float,
linas> and continue onwards.  Surely, this would be a safe and simple way to
linas> gaurentee the desired result.

	Such a patch would not be limited to the target-specific portion
of the compiler, which is what all of the previous patches have limited
themselves to.

David



More information about the Gcc mailing list