Article View: gnu.gcc.bug
Article #1885bug in gcc 1.29 with Sun FPA
From: Tom Quinn
Date: Sat, 08 Oct 1988 16:21
Date: Sat, 08 Oct 1988 16:21
31 lines
1520 bytes
1520 bytes
There is no cpp definition to distinguish compiling for the 68881 or
the FPA. This makes it hard to have defines to use the special
instructions for the FPA. Here is a proposed fix to tm-sun3.h:
*** /tmp/,RCSt1a26228 Sat Oct 8 12:23:19 1988
--- tm-sun3.h Sat Oct 8 12:17:56 1988
***************
*** 10,16
#if TARGET_DEFAULT & 0102
/* m68881 or mfpa is the default */
! #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__} \
%{m68000:-Dmc68010}%{mc68000:-Dmc68010}%{!mc68000:%{!m68000:-Dmc68020}}"
#else
/* msoft-float is the default */
--- 10,16 -----
#if TARGET_DEFAULT & 0102
/* m68881 or mfpa is the default */
! #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__} %{mfpa:-D__HAVE_FPA__} \
%{m68000:-Dmc68010}%{mc68000:-Dmc68010}%{!mc68000:%{!m68000:-Dmc68020}}"
#else
/* msoft-float is the default */
Tom Quinn Canadian Institute for Theoretical Astrophysics
trq@moose.cita.toronto.edu
SOON TO BE trq@moose.cita.utoronto.ca
UUCP - decvax!utgpu!moose!trq
BITNET - quinn@utorphys.bitnet
ARPA - trq%moose.cita.toronto.edu@relay.cs.net
Technical Details
Message-ID:
<8810081621.AA12304@moose.cita.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!moose.cita.toronto.edu!trqShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!moose.cita.toronto.edu!trq From: trq@moose.cita.toronto.edu (Tom Quinn) Newsgroups: gnu.gcc.bug Subject: bug in gcc 1.29 with Sun FPA Message-ID: <8810081621.AA12304@moose.cita.toronto.edu> Date: 8 Oct 88 16:21:11 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 30