[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2101,1.2102 configure.in,1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2101,1.2102 configure.in,1.105,1.106 |
Date: |
Wed, 05 Feb 2003 04:51:34 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet
In directory subversions:/tmp/cvs-serv26767
Modified Files:
ChangeLog configure.in
Log Message:
Automatically add "-fno-inline-functions" to the gcc command-line inside
the "engine" directory so that -O3 won't cause register spill errors on i386.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.2101
retrieving revision 1.2102
diff -C2 -r1.2101 -r1.2102
*** ChangeLog 3 Feb 2003 09:35:55 -0000 1.2101
--- ChangeLog 5 Feb 2003 09:51:31 -0000 1.2102
***************
*** 1,3 ****
--- 1,9 ----
+ 2003-02-05 Rhys Weatherley <address@hidden>
+
+ * configure.in, Makefile.am: automatically add "-fno-inline-functions"
+ to the gcc command-line inside the "engine" directory so that -O3
+ won't cause register spill errors on i386.
+
2003-02-03 Rhys Weatherley <address@hidden>
Index: configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/configure.in,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -r1.105 -r1.106
*** configure.in 11 Jan 2003 03:07:41 -0000 1.105
--- configure.in 5 Feb 2003 09:51:31 -0000 1.106
***************
*** 298,301 ****
--- 298,318 ----
fi
+ dnl Check to see whether cc accepts "-fno-inline-functions" or not.
+ AC_SUBST(NO_INLINE_FUNCTIONS)
+ AC_CACHE_CHECK(whether ${CC-cc} accepts -fno-inline-functions,
ac_cv_prog_cc_no_inline_functions,
+ [echo 'void f(){}' > conftest.c
+ if test -z "`${CC-cc} -fno-inline-functions -c conftest.c 2>&1`"; then
+ ac_cv_prog_cc_no_inline_functions=yes
+ else
+ ac_cv_prog_cc_no_inline_functions=no
+ fi
+ rm -f conftest*
+ ])
+ if test $ac_cv_prog_cc_no_inline_functions = yes ; then
+ NO_INLINE_FUNCTIONS="-fno-inline-functions"
+ else
+ NO_INLINE_FUNCTIONS=""
+ fi
+
dnl Checks for library functions.
AC_FUNC_MEMCMP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2101,1.2102 configure.in,1.105,1.106,
Rhys Weatherley <address@hidden> <=