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]

Re: __fixuns?fSI() lose if long is wider than SI


On Jan 31, 2001, "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:

>> On Wed, Jan 31, 2001 at 08:30:38AM -0200, Alexandre Oliva wrote:
>> >       * config/fp-bit.c: Include hconfig.h

> Isn't fp-bit.c added to libgcc2.a?  (I.e. a target file?)

> So pedantically, shouldn't we include tm.h, not hconfig.h?

Doh!  Of course.  I'm checking this in as obviously correct.

Index: gcc/ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.9142
diff -u -p -r1.9142 ChangeLog
--- gcc/ChangeLog 2001/01/31 11:04:31 1.9142
+++ gcc/ChangeLog 2001/01/31 13:44:45
@@ -1,6 +1,6 @@
 2001-01-31  Alexandre Oliva  <aoliva@redhat.com>

-	* config/fp-bit.c: Include hconfig.h
+	* config/fp-bit.c: Include tm.h.
 	(float_to_si): Don't assume SImode is 32-bits wide.
 	(float_to_usi): Likewise.

Index: gcc/config/fp-bit.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/fp-bit.c,v
retrieving revision 1.23
diff -u -p -r1.23 fp-bit.c
--- gcc/config/fp-bit.c 2001/01/31 11:04:33 1.23
+++ gcc/config/fp-bit.c 2001/01/31 13:44:45
@@ -45,7 +45,7 @@ Boston, MA 02111-1307, USA.  */
    to one copy, then compile both copies and add them to libgcc.a.  */

 #include "fp-bit.h"
-#include "hconfig.h"
+#include "tm.h"

 /* The following macros can be defined to change the behaviour of this file:
    FLOAT: Implement a `float', aka SFmode, fp library.  If this is not

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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