File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -756,7 +756,7 @@ package Devel::PPPort;
756
756
use strict;
757
757
use vars qw($VERSION $data);
758
758
759
- $VERSION = '3.72 ';
759
+ $VERSION = '3.73 ';
760
760
761
761
sub _init_data
762
762
{
Original file line number Diff line number Diff line change 21
21
PERLIO_FUNCS_CAST
22
22
PERLIO_FUNCS_DECL
23
23
PERL_STATIC_INLINE
24
+ PERL_STACK_REALIGN
24
25
PERL_UNUSED_ARG
25
26
PERL_UNUSED_CONTEXT
26
27
PERL_UNUSED_DECL
@@ -49,6 +50,13 @@ __UNDEFINED__ PERL_STATIC_INLINE static inline
49
50
__UNDEFINED__ PERL_STATIC_INLINE static
50
51
#endif
51
52
53
+ /* work around a stack alignment bug in 32-bit GCC on Windows */
54
+ #if defined(WIN32) && !defined(WIN64) && defined(__GNUC__)
55
+ __UNDEFINED__ PERL_STACK_REALIGN __attribute__((force_align_arg_pointer))
56
+ #else
57
+ __UNDEFINED__ PERL_STACK_REALIGN
58
+ #endif
59
+
52
60
__UNDEFINED__ cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
53
61
__UNDEFINED__ OpHAS_SIBLING(o) (cBOOL((o)->op_sibling))
54
62
__UNDEFINED__ OpSIBLING(o) (0 + (o)->op_sibling)
@@ -1165,6 +1173,9 @@ XS(XS_Devel__PPPort_dAXMARK)
1165
1173
XSRETURN(1);
1166
1174
}
1167
1175
1176
+ /* just test the syntax */
1177
+ PERL_STACK_REALIGN void foo(void);
1178
+
1168
1179
=xsboot
1169
1180
1170
1181
{
You can’t perform that action at this time.
0 commit comments