Changeset 1f86d5e


Ignore:
Timestamp:
Feb 10, 2019, 10:12:55 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
015dc50
Parents:
4fd45bc
Message:

remove unnecessary requirements in configure.ac, add check for -Wcast-function-type and _FloatNN, disable -Wcast-function-type for gcc-8

Files:
16 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r4fd45bc r1f86d5e  
    1111## Created On       : Sun May 31 22:14:18 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Wed Dec 14 14:20:48 2016
    14 ## Update Count     : 15
     13## Last Modified On : Sat Feb  2 16:54:42 2019
     14## Update Count     : 21
    1515###############################################################################
    1616
     
    1818ACLOCAL_AMFLAGS  = -I automake
    1919
    20 MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/*
    21  # order important
     20MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/* # order important
    2221
    2322SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
  • Makefile.in

    r4fd45bc r1f86d5e  
    250250distcleancheck_listfiles = find . -type f -print
    251251ACLOCAL = @ACLOCAL@
    252 ALLOCA = @ALLOCA@
    253252AMTAR = @AMTAR@
    254253AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     
    396395AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
    397396ACLOCAL_AMFLAGS = -I automake
    398 MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/*
     397MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/* # order important
    399398SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
    400399noinst_DATA = @LIBCFA_TARGET_MAKEFILES@
     
    928927.PRECIOUS: Makefile
    929928
    930  # order important
    931929
    932930@LIBCFA_TARGET_MAKEFILES@ : Makefile $(srcdir)/libcfa/configure
  • automake/cfa.m4

    r4fd45bc r1f86d5e  
    8080        esac
    8181])
     82
     83# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4
     84AC_DEFUN([M4CFA_CHECK_COMPILE_FLAG],
     85[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
     86AS_VAR_PUSHDEF([CACHEVAR],[m4cfa_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
     87AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
     88        m4cfa_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
     89        _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
     90        AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
     91                [AS_VAR_SET(CACHEVAR,[yes])],
     92                [AS_VAR_SET(CACHEVAR,[no])])
     93        _AC_LANG_PREFIX[]FLAGS=$m4cfa_check_save_flags])
     94AS_VAR_IF(CACHEVAR,yes,
     95        [m4_default([$2], :)],
     96        [m4_default([$3], :)])
     97AS_VAR_POPDEF([CACHEVAR])dnl
     98])dnl M4CFA_CHECK_COMPILE_FLAGS
  • benchmark/Makefile.in

    r4fd45bc r1f86d5e  
    200200DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    201201ACLOCAL = @ACLOCAL@
    202 ALLOCA = @ALLOCA@
    203202AMTAR = @AMTAR@
    204203AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  • configure

    r4fd45bc r1f86d5e  
    637637LIBOBJS
    638638CFA_BACKEND_CC
    639 ALLOCA
    640639WITH_LIBFIBRE_FALSE
    641640WITH_LIBFIBRE_TRUE
     
    19611960} # ac_fn_cxx_try_link
    19621961
    1963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1964 # -------------------------------------------
    1965 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1966 # variable VAR accordingly.
    1967 ac_fn_c_check_type ()
    1968 {
    1969   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1971 $as_echo_n "checking for $2... " >&6; }
    1972 if eval \${$3+:} false; then :
    1973   $as_echo_n "(cached) " >&6
    1974 else
    1975   eval "$3=no"
    1976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1977 /* end confdefs.h.  */
    1978 $4
    1979 int
    1980 main ()
    1981 {
    1982 if (sizeof ($2))
    1983          return 0;
    1984   ;
    1985   return 0;
    1986 }
    1987 _ACEOF
    1988 if ac_fn_c_try_compile "$LINENO"; then :
    1989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1990 /* end confdefs.h.  */
    1991 $4
    1992 int
    1993 main ()
    1994 {
    1995 if (sizeof (($2)))
    1996             return 0;
    1997   ;
    1998   return 0;
    1999 }
    2000 _ACEOF
    2001 if ac_fn_c_try_compile "$LINENO"; then :
    2002 
    2003 else
    2004   eval "$3=yes"
    2005 fi
    2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2007 fi
    2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2009 fi
    2010 eval ac_res=\$$3
    2011                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2012 $as_echo "$ac_res" >&6; }
    2013   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2014 
    2015 } # ac_fn_c_check_type
    2016 
    20171962# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    20181963# -------------------------------------------------------
     
    21062051} # ac_fn_c_check_header_mongrel
    21072052
    2108 # ac_fn_c_find_intX_t LINENO BITS VAR
    2109 # -----------------------------------
    2110 # Finds a signed integer type with width BITS, setting cache variable VAR
    2111 # accordingly.
    2112 ac_fn_c_find_intX_t ()
     2053# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     2054# -------------------------------------------
     2055# Tests whether TYPE exists after having included INCLUDES, setting cache
     2056# variable VAR accordingly.
     2057ac_fn_c_check_type ()
    21132058{
    21142059  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
    2116 $as_echo_n "checking for int$2_t... " >&6; }
     2060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2061$as_echo_n "checking for $2... " >&6; }
    21172062if eval \${$3+:} false; then :
    21182063  $as_echo_n "(cached) " >&6
    21192064else
    21202065  eval "$3=no"
    2121      # Order is important - never check a type that is potentially smaller
    2122      # than half of the expected target width.
    2123      for ac_type in int$2_t 'int' 'long int' \
    2124          'long long int' 'short int' 'signed char'; do
    2125        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2066  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    21262067/* end confdefs.h.  */
    2127 $ac_includes_default
    2128              enum { N = $2 / 2 - 1 };
     2068$4
    21292069int
    21302070main ()
    21312071{
    2132 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
    2133 test_array [0] = 0;
    2134 return test_array [0];
    2135 
     2072if (sizeof ($2))
     2073         return 0;
    21362074  ;
    21372075  return 0;
     
    21412079  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    21422080/* end confdefs.h.  */
    2143 $ac_includes_default
    2144                 enum { N = $2 / 2 - 1 };
     2081$4
    21452082int
    21462083main ()
    21472084{
    2148 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
    2149                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
    2150 test_array [0] = 0;
    2151 return test_array [0];
    2152 
     2085if (sizeof (($2)))
     2086            return 0;
    21532087  ;
    21542088  return 0;
     
    21582092
    21592093else
    2160   case $ac_type in #(
    2161   int$2_t) :
    2162     eval "$3=yes" ;; #(
    2163   *) :
    2164     eval "$3=\$ac_type" ;;
    2165 esac
     2094  eval "$3=yes"
    21662095fi
    21672096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    21682097fi
    21692098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2170        if eval test \"x\$"$3"\" = x"no"; then :
    2171 
    2172 else
    2173   break
    2174 fi
    2175      done
    21762099fi
    21772100eval ac_res=\$$3
     
    21802103  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    21812104
    2182 } # ac_fn_c_find_intX_t
    2183 
    2184 # ac_fn_c_find_uintX_t LINENO BITS VAR
    2185 # ------------------------------------
    2186 # Finds an unsigned integer type with width BITS, setting cache variable VAR
    2187 # accordingly.
    2188 ac_fn_c_find_uintX_t ()
    2189 {
    2190   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
    2192 $as_echo_n "checking for uint$2_t... " >&6; }
    2193 if eval \${$3+:} false; then :
    2194   $as_echo_n "(cached) " >&6
    2195 else
    2196   eval "$3=no"
    2197      # Order is important - never check a type that is potentially smaller
    2198      # than half of the expected target width.
    2199      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
    2200          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
    2201        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2202 /* end confdefs.h.  */
    2203 $ac_includes_default
    2204 int
    2205 main ()
    2206 {
    2207 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
    2208 test_array [0] = 0;
    2209 return test_array [0];
    2210 
    2211   ;
    2212   return 0;
    2213 }
    2214 _ACEOF
    2215 if ac_fn_c_try_compile "$LINENO"; then :
    2216   case $ac_type in #(
    2217   uint$2_t) :
    2218     eval "$3=yes" ;; #(
    2219   *) :
    2220     eval "$3=\$ac_type" ;;
    2221 esac
    2222 fi
    2223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2224        if eval test \"x\$"$3"\" = x"no"; then :
    2225 
    2226 else
    2227   break
    2228 fi
    2229      done
    2230 fi
    2231 eval ac_res=\$$3
    2232                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2233 $as_echo "$ac_res" >&6; }
    2234   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2235 
    2236 } # ac_fn_c_find_uintX_t
     2105} # ac_fn_c_check_type
    22372106cat >config.log <<_ACEOF
    22382107This file contains any messages produced by compilers while
     
    26672536
    26682537
     2538# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4
     2539
    26692540
    26702541# don't use the default CFLAGS as they unconditonnaly add -O2
     
    51835054
    51845055
    5185         # deprecated
    51865056# These are often not installed and people miss seeing the "no", so stop the configure.
    51875057for ac_prog in 'bison -y' byacc
     
    1673416604
    1673516605
    16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    16737 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    16738 set x ${MAKE-make}
    16739 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    16740 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
    16741   $as_echo_n "(cached) " >&6
    16742 else
    16743   cat >conftest.make <<\_ACEOF
    16744 SHELL = /bin/sh
    16745 all:
    16746         @echo '@@@%%%=$(MAKE)=@@@%%%'
    16747 _ACEOF
    16748 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    16749 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    16750   *@@@%%%=?*=@@@%%%*)
    16751     eval ac_cv_prog_make_${ac_make}_set=yes;;
    16752   *)
    16753     eval ac_cv_prog_make_${ac_make}_set=no;;
    16754 esac
    16755 rm -f conftest.make
    16756 fi
    16757 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    16758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    16759 $as_echo "yes" >&6; }
    16760   SET_MAKE=
    16761 else
    16762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16763 $as_echo "no" >&6; }
    16764   SET_MAKE="MAKE=${MAKE-make}"
    16765 fi
    16766 
    1676716606
    1676816607# Checks for libraries.
     
    1681916658
    1682016659# Checks for header files.
    16821 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
    16822 if test "x$ac_cv_type_size_t" = xyes; then :
    16823 
    16824 else
    16825 
    16826 cat >>confdefs.h <<_ACEOF
    16827 #define size_t unsigned int
    16828 _ACEOF
    16829 
    16830 fi
    16831 
    16832 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    16833 # for constant arguments.  Useless!
    16834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
    16835 $as_echo_n "checking for working alloca.h... " >&6; }
    16836 if ${ac_cv_working_alloca_h+:} false; then :
    16837   $as_echo_n "(cached) " >&6
    16838 else
    16839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16840 /* end confdefs.h.  */
    16841 #include <alloca.h>
    16842 int
    16843 main ()
    16844 {
    16845 char *p = (char *) alloca (2 * sizeof (int));
    16846                           if (p) return 0;
    16847   ;
    16848   return 0;
    16849 }
    16850 _ACEOF
    16851 if ac_fn_c_try_link "$LINENO"; then :
    16852   ac_cv_working_alloca_h=yes
    16853 else
    16854   ac_cv_working_alloca_h=no
    16855 fi
    16856 rm -f core conftest.err conftest.$ac_objext \
    16857     conftest$ac_exeext conftest.$ac_ext
    16858 fi
    16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
    16860 $as_echo "$ac_cv_working_alloca_h" >&6; }
    16861 if test $ac_cv_working_alloca_h = yes; then
    16862 
    16863 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
    16864 
    16865 fi
    16866 
    16867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
    16868 $as_echo_n "checking for alloca... " >&6; }
    16869 if ${ac_cv_func_alloca_works+:} false; then :
    16870   $as_echo_n "(cached) " >&6
    16871 else
    16872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16873 /* end confdefs.h.  */
    16874 #ifdef __GNUC__
    16875 # define alloca __builtin_alloca
    16876 #else
    16877 # ifdef _MSC_VER
    16878 #  include <malloc.h>
    16879 #  define alloca _alloca
    16880 # else
    16881 #  ifdef HAVE_ALLOCA_H
    16882 #   include <alloca.h>
    16883 #  else
    16884 #   ifdef _AIX
    16885  #pragma alloca
    16886 #   else
    16887 #    ifndef alloca /* predefined by HP cc +Olibcalls */
    16888 void *alloca (size_t);
    16889 #    endif
    16890 #   endif
    16891 #  endif
    16892 # endif
    16893 #endif
    16894 
    16895 int
    16896 main ()
    16897 {
    16898 char *p = (char *) alloca (1);
    16899                                     if (p) return 0;
    16900   ;
    16901   return 0;
    16902 }
    16903 _ACEOF
    16904 if ac_fn_c_try_link "$LINENO"; then :
    16905   ac_cv_func_alloca_works=yes
    16906 else
    16907   ac_cv_func_alloca_works=no
    16908 fi
    16909 rm -f core conftest.err conftest.$ac_objext \
    16910     conftest$ac_exeext conftest.$ac_ext
    16911 fi
    16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
    16913 $as_echo "$ac_cv_func_alloca_works" >&6; }
    16914 
    16915 if test $ac_cv_func_alloca_works = yes; then
    16916 
    16917 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
    16918 
    16919 else
    16920   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
    16921 # that cause trouble.  Some versions do not even contain alloca or
    16922 # contain a buggy version.  If you still want to use their alloca,
    16923 # use ar to extract alloca.o from them instead of compiling alloca.c.
    16924 
    16925 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    16926 
    16927 $as_echo "#define C_ALLOCA 1" >>confdefs.h
    16928 
    16929 
    16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
    16931 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
    16932 if ${ac_cv_os_cray+:} false; then :
    16933   $as_echo_n "(cached) " >&6
    16934 else
    16935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16936 /* end confdefs.h.  */
    16937 #if defined CRAY && ! defined CRAY2
    16938 webecray
    16939 #else
    16940 wenotbecray
    16941 #endif
    16942 
    16943 _ACEOF
    16944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    16945   $EGREP "webecray" >/dev/null 2>&1; then :
    16946   ac_cv_os_cray=yes
    16947 else
    16948   ac_cv_os_cray=no
    16949 fi
    16950 rm -f conftest*
    16951 
    16952 fi
    16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
    16954 $as_echo "$ac_cv_os_cray" >&6; }
    16955 if test $ac_cv_os_cray = yes; then
    16956   for ac_func in _getb67 GETB67 getb67; do
    16957     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    16958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    16959 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    16960 
    16961 cat >>confdefs.h <<_ACEOF
    16962 #define CRAY_STACKSEG_END $ac_func
    16963 _ACEOF
    16964 
    16965     break
    16966 fi
    16967 
    16968   done
    16969 fi
    16970 
    16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
    16972 $as_echo_n "checking stack direction for C alloca... " >&6; }
    16973 if ${ac_cv_c_stack_direction+:} false; then :
    16974   $as_echo_n "(cached) " >&6
    16975 else
    16976   if test "$cross_compiling" = yes; then :
    16977   ac_cv_c_stack_direction=0
    16978 else
    16979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16980 /* end confdefs.h.  */
    16981 $ac_includes_default
    16982 int
    16983 find_stack_direction (int *addr, int depth)
    16984 {
    16985   int dir, dummy = 0;
    16986   if (! addr)
    16987     addr = &dummy;
    16988   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
    16989   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
    16990   return dir + dummy;
    16991 }
    16992 
    16993 int
    16994 main (int argc, char **argv)
    16995 {
    16996   return find_stack_direction (0, argc + !argv + 20) < 0;
    16997 }
    16998 _ACEOF
    16999 if ac_fn_c_try_run "$LINENO"; then :
    17000   ac_cv_c_stack_direction=1
    17001 else
    17002   ac_cv_c_stack_direction=-1
    17003 fi
    17004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    17005   conftest.$ac_objext conftest.beam conftest.$ac_ext
    17006 fi
    17007 
    17008 fi
    17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
    17010 $as_echo "$ac_cv_c_stack_direction" >&6; }
    17011 cat >>confdefs.h <<_ACEOF
    17012 #define STACK_DIRECTION $ac_cv_c_stack_direction
    17013 _ACEOF
    17014 
    17015 
    17016 fi
    17017 
    17018 for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
     16660for ac_header in libintl.h malloc.h unistd.h
    1701916661do :
    1702016662  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    1702516667_ACEOF
    1702616668
     16669else
     16670  echo "Error: Missing required header"; exit 1
    1702716671fi
    1702816672
     
    1703116675
    1703216676# Checks for typedefs, structures, and compiler characteristics.
    17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
    17034 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
    17035 if ${ac_cv_header_stdbool_h+:} false; then :
     16677ac_fn_c_check_type "$LINENO" "_Float32" "ac_cv_type__Float32" "
     16678"
     16679if test "x$ac_cv_type__Float32" = xyes; then :
     16680
     16681cat >>confdefs.h <<_ACEOF
     16682#define HAVE__FLOAT32 1
     16683_ACEOF
     16684
     16685
     16686$as_echo "#define HAVE_KEYWORDS_FLOATXX /**/" >>confdefs.h
     16687
     16688fi
     16689
     16690
     16691# Checks for compiler flags.
     16692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wcast-function-type" >&5
     16693$as_echo_n "checking whether C compiler accepts -Wcast-function-type... " >&6; }
     16694if ${m4cfa_cv_check_cflags___Wcast_function_type+:} false; then :
    1703616695  $as_echo_n "(cached) " >&6
    1703716696else
    17038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16697
     16698        m4cfa_check_save_flags=$CFLAGS
     16699        CFLAGS="$CFLAGS  -Wcast-function-type"
     16700        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1703916701/* end confdefs.h.  */
    17040 
    17041              #include <stdbool.h>
    17042              #ifndef bool
    17043               "error: bool is not defined"
    17044              #endif
    17045              #ifndef false
    17046               "error: false is not defined"
    17047              #endif
    17048              #if false
    17049               "error: false is not 0"
    17050              #endif
    17051              #ifndef true
    17052               "error: true is not defined"
    17053              #endif
    17054              #if true != 1
    17055               "error: true is not 1"
    17056              #endif
    17057              #ifndef __bool_true_false_are_defined
    17058               "error: __bool_true_false_are_defined is not defined"
    17059              #endif
    17060 
    17061              struct s { _Bool s: 1; _Bool t; } s;
    17062 
    17063              char a[true == 1 ? 1 : -1];
    17064              char b[false == 0 ? 1 : -1];
    17065              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
    17066              char d[(bool) 0.5 == true ? 1 : -1];
    17067              /* See body of main program for 'e'.  */
    17068              char f[(_Bool) 0.0 == false ? 1 : -1];
    17069              char g[true];
    17070              char h[sizeof (_Bool)];
    17071              char i[sizeof s.t];
    17072              enum { j = false, k = true, l = false * true, m = true * 256 };
    17073              /* The following fails for
    17074                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
    17075              _Bool n[m];
    17076              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
    17077              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
    17078              /* Catch a bug in an HP-UX C compiler.  See
    17079                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
    17080                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
    17081               */
    17082              _Bool q = true;
    17083              _Bool *pq = &q;
    1708416702
    1708516703int
    1708616704main ()
    1708716705{
    17088 
    17089              bool e = &s;
    17090              *pq |= q;
    17091              *pq |= ! q;
    17092              /* Refer to every declared value, to avoid compiler optimizations.  */
    17093              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
    17094                      + !m + !n + !o + !p + !q + !pq);
    1709516706
    1709616707  ;
     
    1709916710_ACEOF
    1710016711if ac_fn_c_try_compile "$LINENO"; then :
    17101   ac_cv_header_stdbool_h=yes
    17102 else
    17103   ac_cv_header_stdbool_h=no
     16712  m4cfa_cv_check_cflags___Wcast_function_type=yes
     16713else
     16714  m4cfa_cv_check_cflags___Wcast_function_type=no
    1710416715fi
    1710516716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    17106 fi
    17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
    17108 $as_echo "$ac_cv_header_stdbool_h" >&6; }
    17109    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
    17110 if test "x$ac_cv_type__Bool" = xyes; then :
    17111 
    17112 cat >>confdefs.h <<_ACEOF
    17113 #define HAVE__BOOL 1
    17114 _ACEOF
    17115 
    17116 
    17117 fi
    17118 
    17119 
    17120 if test $ac_cv_header_stdbool_h = yes; then
    17121 
    17122 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
    17123 
    17124 fi
    17125 
    17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
    17127 $as_echo_n "checking for inline... " >&6; }
    17128 if ${ac_cv_c_inline+:} false; then :
    17129   $as_echo_n "(cached) " >&6
    17130 else
    17131   ac_cv_c_inline=no
    17132 for ac_kw in inline __inline__ __inline; do
    17133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17134 /* end confdefs.h.  */
    17135 #ifndef __cplusplus
    17136 typedef int foo_t;
    17137 static $ac_kw foo_t static_foo () {return 0; }
    17138 $ac_kw foo_t foo () {return 0; }
    17139 #endif
    17140 
    17141 _ACEOF
    17142 if ac_fn_c_try_compile "$LINENO"; then :
    17143   ac_cv_c_inline=$ac_kw
    17144 fi
    17145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    17146   test "$ac_cv_c_inline" != no && break
    17147 done
    17148 
    17149 fi
    17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
    17151 $as_echo "$ac_cv_c_inline" >&6; }
    17152 
    17153 case $ac_cv_c_inline in
    17154   inline | yes) ;;
    17155   *)
    17156     case $ac_cv_c_inline in
    17157       no) ac_val=;;
    17158       *) ac_val=$ac_cv_c_inline;;
    17159     esac
    17160     cat >>confdefs.h <<_ACEOF
    17161 #ifndef __cplusplus
    17162 #define inline $ac_val
    17163 #endif
    17164 _ACEOF
    17165     ;;
    17166 esac
    17167 
    17168 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
    17169 case $ac_cv_c_int16_t in #(
    17170   no|yes) ;; #(
    17171   *)
    17172 
    17173 cat >>confdefs.h <<_ACEOF
    17174 #define int16_t $ac_cv_c_int16_t
    17175 _ACEOF
    17176 ;;
    17177 esac
    17178 
    17179 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
    17180 case $ac_cv_c_int32_t in #(
    17181   no|yes) ;; #(
    17182   *)
    17183 
    17184 cat >>confdefs.h <<_ACEOF
    17185 #define int32_t $ac_cv_c_int32_t
    17186 _ACEOF
    17187 ;;
    17188 esac
    17189 
    17190 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
    17191 case $ac_cv_c_int8_t in #(
    17192   no|yes) ;; #(
    17193   *)
    17194 
    17195 cat >>confdefs.h <<_ACEOF
    17196 #define int8_t $ac_cv_c_int8_t
    17197 _ACEOF
    17198 ;;
    17199 esac
    17200 
    17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
    17202 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
    17203 if ${ac_cv_c_restrict+:} false; then :
    17204   $as_echo_n "(cached) " >&6
    17205 else
    17206   ac_cv_c_restrict=no
    17207    # The order here caters to the fact that C++ does not require restrict.
    17208    for ac_kw in __restrict __restrict__ _Restrict restrict; do
    17209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17210 /* end confdefs.h.  */
    17211 typedef int * int_ptr;
    17212         int foo (int_ptr $ac_kw ip) {
    17213         return ip[0];
    17214        }
    17215 int
    17216 main ()
    17217 {
    17218 int s[1];
    17219         int * $ac_kw t = s;
    17220         t[0] = 0;
    17221         return foo(t)
    17222   ;
    17223   return 0;
    17224 }
    17225 _ACEOF
    17226 if ac_fn_c_try_compile "$LINENO"; then :
    17227   ac_cv_c_restrict=$ac_kw
    17228 fi
    17229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    17230      test "$ac_cv_c_restrict" != no && break
    17231    done
    17232 
    17233 fi
    17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
    17235 $as_echo "$ac_cv_c_restrict" >&6; }
    17236 
    17237  case $ac_cv_c_restrict in
    17238    restrict) ;;
    17239    no) $as_echo "#define restrict /**/" >>confdefs.h
    17240  ;;
    17241    *)  cat >>confdefs.h <<_ACEOF
    17242 #define restrict $ac_cv_c_restrict
    17243 _ACEOF
    17244  ;;
    17245  esac
    17246 
    17247 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
    17248 if test "x$ac_cv_type_size_t" = xyes; then :
    17249 
    17250 else
    17251 
    17252 cat >>confdefs.h <<_ACEOF
    17253 #define size_t unsigned int
    17254 _ACEOF
    17255 
    17256 fi
    17257 
    17258 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
    17259 case $ac_cv_c_uint16_t in #(
    17260   no|yes) ;; #(
    17261   *)
    17262 
    17263 
    17264 cat >>confdefs.h <<_ACEOF
    17265 #define uint16_t $ac_cv_c_uint16_t
    17266 _ACEOF
    17267 ;;
    17268   esac
    17269 
    17270 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
    17271 case $ac_cv_c_uint32_t in #(
    17272   no|yes) ;; #(
    17273   *)
    17274 
    17275 $as_echo "#define _UINT32_T 1" >>confdefs.h
    17276 
    17277 
    17278 cat >>confdefs.h <<_ACEOF
    17279 #define uint32_t $ac_cv_c_uint32_t
    17280 _ACEOF
    17281 ;;
    17282   esac
    17283 
    17284 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
    17285 case $ac_cv_c_uint8_t in #(
    17286   no|yes) ;; #(
    17287   *)
    17288 
    17289 $as_echo "#define _UINT8_T 1" >>confdefs.h
    17290 
    17291 
    17292 cat >>confdefs.h <<_ACEOF
    17293 #define uint8_t $ac_cv_c_uint8_t
    17294 _ACEOF
    17295 ;;
    17296   esac
    17297 
    17298 
    17299 # Checks for library functions.
    17300 for ac_func in memset putenv strchr strtol
    17301 do :
    17302   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    17304 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    17305   cat >>confdefs.h <<_ACEOF
    17306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17307 _ACEOF
    17308 
    17309 fi
    17310 done
     16717        CFLAGS=$m4cfa_check_save_flags
     16718fi
     16719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $m4cfa_cv_check_cflags___Wcast_function_type" >&5
     16720$as_echo "$m4cfa_cv_check_cflags___Wcast_function_type" >&6; }
     16721if test "x$m4cfa_cv_check_cflags___Wcast_function_type" = xyes; then :
     16722
     16723$as_echo "#define HAVE_CAST_FUNCTION_TYPE /**/" >>confdefs.h
     16724
     16725else
     16726  :
     16727fi
    1731116728
    1731216729
  • configure.ac

    r4fd45bc r1f86d5e  
    178178AC_PROG_CC
    179179AM_PROG_AS
    180 AM_PROG_CC_C_O  # deprecated
    181180# These are often not installed and people miss seeing the "no", so stop the configure.
    182181AC_PROG_YACC
     
    186185AC_PROG_LIBTOOL
    187186AC_PROG_INSTALL
    188 AC_PROG_MAKE_SET
    189187
    190188# Checks for libraries.
     
    193191
    194192# Checks for header files.
    195 AC_FUNC_ALLOCA
    196 AC_CHECK_HEADERS([fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h])
     193AC_CHECK_HEADERS([libintl.h malloc.h unistd.h], [], [echo "Error: Missing required header"; exit 1])
    197194
    198195# Checks for typedefs, structures, and compiler characteristics.
    199 AC_HEADER_STDBOOL
    200 AC_C_INLINE
    201 AC_TYPE_INT16_T
    202 AC_TYPE_INT32_T
    203 AC_TYPE_INT8_T
    204 AC_C_RESTRICT
    205 AC_TYPE_SIZE_T
    206 AC_TYPE_UINT16_T
    207 AC_TYPE_UINT32_T
    208 AC_TYPE_UINT8_T
    209 
    210 # Checks for library functions.
    211 AC_CHECK_FUNCS([memset putenv strchr strtol])
     196AC_CHECK_TYPES([_Float32], AC_DEFINE([HAVE_KEYWORDS_FLOATXX], [], [Have keywords _FloatXX.]), [], [[]])
     197
     198# Checks for compiler flags.
     199M4CFA_CHECK_COMPILE_FLAG([-Wcast-function-type], AC_DEFINE([HAVE_CAST_FUNCTION_TYPE], [], [Have compiler warning cast-function-type.]))
    212200
    213201#==============================================================================
  • driver/Makefile.in

    r4fd45bc r1f86d5e  
    187187DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    188188ACLOCAL = @ACLOCAL@
    189 ALLOCA = @ALLOCA@
    190189AMTAR = @AMTAR@
    191190AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  • driver/cfa.cc

    r4fd45bc r1f86d5e  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jan 15 20:56:03 2019
    13 // Update Count     : 280
     12// Last Modified On : Sun Feb 10 08:28:09 2019
     13// Update Count     : 281
    1414//
    1515
     
    495495                args[nargs] = "-Wno-deprecated";
    496496                nargs += 1;
     497#ifdef HAVE_CAST_FUNCTION_TYPE
     498                args[nargs] = "-Wno-cast-function-type";
     499                nargs += 1;
     500#endif // HAVE_CAST_FUNCTION_TYPE
    497501                if ( ! std_flag ) {                                                             // default c11, if none specified
    498502                        args[nargs] = "-std=gnu11";
  • libcfa/configure

    r4fd45bc r1f86d5e  
    23812381
    23822382
     2383
     2384# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4
    23832385
    23842386
  • src/Makefile.am

    r4fd45bc r1f86d5e  
    1010## Author           : Peter A. Buhr
    1111## Created On       : Sun May 31 08:51:46 2015
    12 ## Last Modified By : Andrew Beach
    13 ## Last Modified On : Tus Jul 25 10:34:00 2017
    14 ## Update Count     : 76
     12## Last Modified By : Peter A. Buhr
     13## Last Modified On : Sat Feb  9 19:07:14 2019
     14## Update Count     : 81
    1515###############################################################################
    1616
     
    2424
    2525MAINTAINERCLEANFILES =
    26 MOSTLYCLEANFILES = Parser/gcc-flags.h
    27 
    28 Parser/gcc-flags.h :
    29         ${AM_V_GEN}$(CC) -dM -E - < /dev/null | sed 's/define /define __GCC__/' > $(@)
    30 
    31 Parser/lex.ll : Parser/gcc-flags.h
     26MOSTLYCLEANFILES =
    3227
    3328include CodeGen/module.mk
     
    5853demangler_SOURCES = SymTab/demangler.cc
    5954
    60 demangler_LDADD = libdemangle.a     # yywrap
     55demangler_LDADD = libdemangle.a                 # yywrap
    6156
    6257noinst_LIBRARIES = libdemangle.a
  • src/Makefile.in

    r4fd45bc r1f86d5e  
    416416DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    417417ACLOCAL = @ACLOCAL@
    418 ALLOCA = @ALLOCA@
    419418AMTAR = @AMTAR@
    420419AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     
    618617        Virtual/ExpandCasts.cc
    619618MAINTAINERCLEANFILES = ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
    620 MOSTLYCLEANFILES = Parser/gcc-flags.h Parser/lex.cc Parser/parser.cc \
    621         Parser/parser.hh Parser/parser.output
     619MOSTLYCLEANFILES = Parser/lex.cc Parser/parser.cc Parser/parser.hh \
     620        Parser/parser.output
    622621BUILT_SOURCES = Parser/parser.hh
    623622AM_YFLAGS = -d -t -v
     
    631630ARFLAGS = cr
    632631demangler_SOURCES = SymTab/demangler.cc
    633 demangler_LDADD = libdemangle.a     # yywrap
     632demangler_LDADD = libdemangle.a                 # yywrap
    634633noinst_LIBRARIES = libdemangle.a
    635634libdemangle_a_SOURCES = SymTab/Demangle.cc SymTab/ManglerCommon.cc \
     
    15581557
    15591558
    1560 Parser/gcc-flags.h :
    1561         ${AM_V_GEN}$(CC) -dM -E - < /dev/null | sed 's/define /define __GCC__/' > $(@)
    1562 
    1563 Parser/lex.ll : Parser/gcc-flags.h
    1564 
    15651559# Tell versions [3.59,3.63) of GNU make to not export all variables.
    15661560# Otherwise a system limit (for SysV at least) may be exceeded.
  • src/config.h.in

    r4fd45bc r1f86d5e  
    5252#undef CFA_VERSION_SHORT
    5353
    54 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
    55    systems. This function is required for `alloca.c' support on those systems.
    56    */
    57 #undef CRAY_STACKSEG_END
    58 
    59 /* Define to 1 if using `alloca.c'. */
    60 #undef C_ALLOCA
    61 
    62 /* Define to 1 if you have `alloca', as a function or macro. */
    63 #undef HAVE_ALLOCA
    64 
    65 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
    66    */
    67 #undef HAVE_ALLOCA_H
     54/* Have compiler warning cast-function-type. */
     55#undef HAVE_CAST_FUNCTION_TYPE
    6856
    6957/* Define to 1 if you have the <dlfcn.h> header file. */
    7058#undef HAVE_DLFCN_H
    7159
    72 /* Define to 1 if you have the <fenv.h> header file. */
    73 #undef HAVE_FENV_H
    74 
    75 /* Define to 1 if you have the <float.h> header file. */
    76 #undef HAVE_FLOAT_H
    77 
    7860/* Define to 1 if you have the <inttypes.h> header file. */
    7961#undef HAVE_INTTYPES_H
    8062
     63/* Have keywords _FloatXX. */
     64#undef HAVE_KEYWORDS_FLOATXX
     65
    8166/* Define to 1 if you have the <libintl.h> header file. */
    8267#undef HAVE_LIBINTL_H
    83 
    84 /* Define to 1 if you have the <limits.h> header file. */
    85 #undef HAVE_LIMITS_H
    8668
    8769/* Define to 1 if you have the <malloc.h> header file. */
     
    9173#undef HAVE_MEMORY_H
    9274
    93 /* Define to 1 if you have the `memset' function. */
    94 #undef HAVE_MEMSET
    95 
    96 /* Define to 1 if you have the `putenv' function. */
    97 #undef HAVE_PUTENV
    98 
    99 /* Define to 1 if stdbool.h conforms to C99. */
    100 #undef HAVE_STDBOOL_H
    101 
    102 /* Define to 1 if you have the <stddef.h> header file. */
    103 #undef HAVE_STDDEF_H
    104 
    10575/* Define to 1 if you have the <stdint.h> header file. */
    10676#undef HAVE_STDINT_H
     
    10979#undef HAVE_STDLIB_H
    11080
    111 /* Define to 1 if you have the `strchr' function. */
    112 #undef HAVE_STRCHR
    113 
    11481/* Define to 1 if you have the <strings.h> header file. */
    11582#undef HAVE_STRINGS_H
     
    11784/* Define to 1 if you have the <string.h> header file. */
    11885#undef HAVE_STRING_H
    119 
    120 /* Define to 1 if you have the `strtol' function. */
    121 #undef HAVE_STRTOL
    12286
    12387/* Define to 1 if you have the <sys/stat.h> header file. */
     
    13094#undef HAVE_UNISTD_H
    13195
    132 /* Define to 1 if the system has the type `_Bool'. */
    133 #undef HAVE__BOOL
     96/* Define to 1 if the system has the type `_Float32'. */
     97#undef HAVE__FLOAT32
    13498
    13599/* Define to the sub-directory where libtool stores uninstalled libraries. */
     
    157121#undef PACKAGE_VERSION
    158122
    159 /* If using the C implementation of alloca, define if you know the
    160    direction of stack growth for your system; otherwise it will be
    161    automatically deduced at runtime.
    162         STACK_DIRECTION > 0 => grows toward higher addresses
    163         STACK_DIRECTION < 0 => grows toward lower addresses
    164         STACK_DIRECTION = 0 => direction of growth unknown */
    165 #undef STACK_DIRECTION
    166 
    167123/* Define to 1 if you have the ANSI C header files. */
    168124#undef STDC_HEADERS
     
    180136   `char[]'. */
    181137#undef YYTEXT_POINTER
    182 
    183 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
    184    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
    185    #define below would cause a syntax error. */
    186 #undef _UINT32_T
    187 
    188 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
    189    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
    190    #define below would cause a syntax error. */
    191 #undef _UINT8_T
    192 
    193 /* Define to `__inline__' or `__inline' if that's what the C compiler
    194    calls it, or to nothing if 'inline' is not supported under any name.  */
    195 #ifndef __cplusplus
    196 #undef inline
    197 #endif
    198 
    199 /* Define to the type of a signed integer type of width exactly 16 bits if
    200    such a type exists and the standard includes do not define it. */
    201 #undef int16_t
    202 
    203 /* Define to the type of a signed integer type of width exactly 32 bits if
    204    such a type exists and the standard includes do not define it. */
    205 #undef int32_t
    206 
    207 /* Define to the type of a signed integer type of width exactly 8 bits if such
    208    a type exists and the standard includes do not define it. */
    209 #undef int8_t
    210 
    211 /* Define to the equivalent of the C99 'restrict' keyword, or to
    212    nothing if this is not supported.  Do not define if restrict is
    213    supported directly.  */
    214 #undef restrict
    215 /* Work around a bug in Sun C++: it does not support _Restrict or
    216    __restrict__, even though the corresponding Sun C compiler ends up with
    217    "#define restrict _Restrict" or "#define restrict __restrict__" in the
    218    previous line.  Perhaps some future version of Sun C++ will work with
    219    restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
    220 #if defined __SUNPRO_CC && !defined __RESTRICT
    221 # define _Restrict
    222 # define __restrict__
    223 #endif
    224 
    225 /* Define to `unsigned int' if <sys/types.h> does not define. */
    226 #undef size_t
    227 
    228 /* Define to the type of an unsigned integer type of width exactly 16 bits if
    229    such a type exists and the standard includes do not define it. */
    230 #undef uint16_t
    231 
    232 /* Define to the type of an unsigned integer type of width exactly 32 bits if
    233    such a type exists and the standard includes do not define it. */
    234 #undef uint32_t
    235 
    236 /* Define to the type of an unsigned integer type of width exactly 8 bits if
    237    such a type exists and the standard includes do not define it. */
    238 #undef uint8_t
  • tests/Makefile.in

    r4fd45bc r1f86d5e  
    186186DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    187187ACLOCAL = @ACLOCAL@
    188 ALLOCA = @ALLOCA@
    189188AMTAR = @AMTAR@
    190189AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  • tests/preempt_longrun/Makefile.in

    r4fd45bc r1f86d5e  
    334334DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    335335ACLOCAL = @ACLOCAL@
    336 ALLOCA = @ALLOCA@
    337336AMTAR = @AMTAR@
    338337AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  • tools/Makefile.in

    r4fd45bc r1f86d5e  
    194194DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    195195ACLOCAL = @ACLOCAL@
    196 ALLOCA = @ALLOCA@
    197196AMTAR = @AMTAR@
    198197AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  • tools/prettyprinter/Makefile.in

    r4fd45bc r1f86d5e  
    223223DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    224224ACLOCAL = @ACLOCAL@
    225 ALLOCA = @ALLOCA@
    226225AMTAR = @AMTAR@
    227226AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
Note: See TracChangeset for help on using the changeset viewer.