From bc0a0c574434eaf65ef27cc5ec8289ebf9b0fe29 Mon Sep 17 00:00:00 2001 From: Chris Jefferson Date: Wed, 19 Apr 2017 11:18:18 +0100 Subject: [PATCH] Remove -U, which set compiler options but hasn't worked in many years --- cnf/GAP-C-GEN | 3 +-- cnf/gac.in | 51 ++----------------------------------------- doc/ref/run.xml | 3 +-- hpcgap/lib/system.g | 1 - hpcgap/src/gap.c | 2 -- hpcgap/src/system.c | 8 ------- hpcgap/src/system.h | 6 ----- lib/system.g | 1 - src/compiler.c | 53 --------------------------------------------- src/compiler.h | 9 -------- src/gap.c | 2 -- src/system.c | 7 ------ src/system.h | 6 ----- 13 files changed, 4 insertions(+), 148 deletions(-) diff --git a/cnf/GAP-C-GEN b/cnf/GAP-C-GEN index 07d6ca47147..d6587912095 100755 --- a/cnf/GAP-C-GEN +++ b/cnf/GAP-C-GEN @@ -27,8 +27,7 @@ fi # invoke GAP in compiler mode echo "#ifndef AVOID_PRECOMPILED" > "$C_FILE.tmp" -"$GAPBIN" -U FAST_PLAIN_LISTS,FAST_INT_ARITH \ - -C "*stdout*" \ +"$GAPBIN" -C "*stdout*" \ "$GAP_FILE" \ "Init_$STEM" \ GAPROOT/lib/$STEM.g >> "$C_FILE.tmp" diff --git a/cnf/gac.in b/cnf/gac.in index ce1b8bf3c91..4fe3538b41a 100644 --- a/cnf/gac.in +++ b/cnf/gac.in @@ -33,19 +33,6 @@ ## ## The option '-save-temps' tells 'gac' to not delete any intermediate files ## -## The option '-ffast-int-arith' tells 'gac' to emit code for arithmetic -## operations, which works faster if both operands are small integers and -## slower otherwise. -## -## The option '-ffast-plain-lists' tells 'gac' to emit code for list access, -## which works faster if the list is a plain list and slower otherwise. -## -## The option '-ffast-list-funcs' tells 'gac' to inline the functions 'Add' -## and 'Length' the code, which makes it a bit faster. -## -## The option '-fno-check-types' tells 'gac' to emit no error checks for -## list access, which makes it faster but may dump core if an error happens. -# ## The option '-p