about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch
blob: 3a2f7231c09192919584dd2d15cf125ebf662995 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/gasman.c b/src/gasman.c
index 417811401..314a74190 100644
--- a/src/gasman.c
+++ b/src/gasman.c
@@ -1861,7 +1861,7 @@ void SparcStackFuncBags( void )
 #endif
 
 
-void GenStackFuncBags ( void )
+NOINLINE void GenStackFuncBags ( void )
 {
     Bag *               top;            /* top of stack                    */
     Bag *               p;              /* loop variable                   */