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;
756756use strict;
757757use vars qw($VERSION $data);
758758
759- $VERSION = '3.72 ';
759+ $VERSION = '3.73 ';
760760
761761sub _init_data
762762{
Original file line number Diff line number Diff line change 2121PERLIO_FUNCS_CAST
2222PERLIO_FUNCS_DECL
2323PERL_STATIC_INLINE
24+ PERL_STACK_REALIGN
2425PERL_UNUSED_ARG
2526PERL_UNUSED_CONTEXT
2627PERL_UNUSED_DECL
@@ -49,6 +50,13 @@ __UNDEFINED__ PERL_STATIC_INLINE static inline
4950__UNDEFINED__ PERL_STATIC_INLINE static
5051#endif
5152
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+
5260__UNDEFINED__ cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
5361__UNDEFINED__ OpHAS_SIBLING(o) (cBOOL((o)->op_sibling))
5462__UNDEFINED__ OpSIBLING(o) (0 + (o)->op_sibling)
@@ -1165,6 +1173,9 @@ XS(XS_Devel__PPPort_dAXMARK)
11651173 XSRETURN(1);
11661174}
11671175
1176+ /* just test the syntax */
1177+ PERL_STACK_REALIGN void foo(void);
1178+
11681179=xsboot
11691180
11701181{
You can’t perform that action at this time.
0 commit comments