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 c/12148] New: longstanding m68k libgcc.a bug when using ` -mshort'


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12148

           Summary: longstanding m68k libgcc.a bug when using ` -mshort'
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: markus at oberhumer dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: m68k-atari-mint

There is a longstanding bug in config/m68k/fpgnulib.c which triggers runtime
floating point errors and/or causes hangings when using `-mshort' on m68k
machines (m68k-atari-mint is the only system I know of that still supports -mshort).

>From the patch I'm going to attach:

RCS file: /cvs/gcc/gcc/gcc/config/m68k/fpgnulib.c,v

+** 2003-09-03 Markus F.X.J. Oberhumer <markus@oberhumer.com>
+**   Fix `-mshort' bugs: Use `long' instead of `int' in a number of places
+**   to make sure we always have a SImode (and not a HImode), added a
+**   number of `L' to produce valid SImode constants.


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