summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2022-11-29 14:59:43 +1100
committerxenu <me@xenu.pl>2022-11-30 17:57:42 +0100
commitf5a18896dd41b93e5e6e8227ada0f26cd0ebc352 (patch)
treea1257a40a19d44cb76e3556976d7e3d86fc813a0 /embed.fnc
parent365f3e0f038557f283dc48f11d9dd1d2eb0dfb8b (diff)
downloadperl-f5a18896dd41b93e5e6e8227ada0f26cd0ebc352.tar.gz
pp_sort: don't force inline the comparison functions
With gcc 12 when building with the -Og forcing inline causes the build to fail, with the compiler complaining it can't inline those functions. With -O2, the functions are inlined anyway. Note that -Og is the gcc recommended optimization option to build with if you are going to debug the binary. Fixes #20395
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc28
1 files changed, 14 insertions, 14 deletions
diff --git a/embed.fnc b/embed.fnc
index 81e3952cad..9e3f279445 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3131,21 +3131,21 @@ i |HV* |opmethod_stash |NN SV* meth
#endif
#if defined(PERL_IN_PP_SORT_C)
-I |I32 |sv_ncmp |NN SV *const a|NN SV *const b
-I |I32 |sv_ncmp_desc |NN SV *const a|NN SV *const b
-I |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
-I |I32 |sv_i_ncmp_desc |NN SV *const a|NN SV *const b
-I |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
-I |I32 |amagic_ncmp_desc |NN SV *const a|NN SV *const b
-I |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
-I |I32 |amagic_i_ncmp_desc |NN SV *const a|NN SV *const b
-I |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
-I |I32 |amagic_cmp_desc |NN SV *const str1|NN SV *const str2
-I |I32 |cmp_desc |NN SV *const str1|NN SV *const str2
+i |I32 |sv_ncmp |NN SV *const a|NN SV *const b
+i |I32 |sv_ncmp_desc |NN SV *const a|NN SV *const b
+i |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
+i |I32 |sv_i_ncmp_desc |NN SV *const a|NN SV *const b
+i |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
+i |I32 |amagic_ncmp_desc |NN SV *const a|NN SV *const b
+i |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
+i |I32 |amagic_i_ncmp_desc |NN SV *const a|NN SV *const b
+i |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
+i |I32 |amagic_cmp_desc |NN SV *const str1|NN SV *const str2
+i |I32 |cmp_desc |NN SV *const str1|NN SV *const str2
# ifdef USE_LOCALE_COLLATE
-I |I32 |amagic_cmp_locale |NN SV *const str1|NN SV *const str2
-I |I32 |amagic_cmp_locale_desc|NN SV *const str1|NN SV *const str2
-I |I32 |cmp_locale_desc|NN SV *const str1|NN SV *const str2
+i |I32 |amagic_cmp_locale |NN SV *const str1|NN SV *const str2
+i |I32 |amagic_cmp_locale_desc|NN SV *const str1|NN SV *const str2
+i |I32 |cmp_locale_desc|NN SV *const str1|NN SV *const str2
# endif
S |I32 |sortcv |NN SV *const a|NN SV *const b
S |I32 |sortcv_xsub |NN SV *const a|NN SV *const b