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]

Re: [m68k] Fix PR target/13292: -msoft-float seems to corrupt builtindefines


Bernardo Innocenti wrote:


The -msoft-float option incorrectly removed MASK_68040_ONLY in addition to MASK_68881. This leads to incorrect predefines and unwanted degradation of integer code.

There was just one place where we were using
TARGET_68040_ONLY to generate a floating-point
instruction without taking TARGET_68881 into account.

Tested on m68k-unknown-uclinux by comparing assembly
output of some selected testcases from gcc.c-torture.

OK for mainline? 3_4-branch?

OK for 3.4 branch if approved for mainline.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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