about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch')
-rw-r--r--nixpkgs/pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch b/nixpkgs/pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch
new file mode 100644
index 000000000000..3a2f7231c091
--- /dev/null
+++ b/nixpkgs/pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch
@@ -0,0 +1,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                   */