Skip to content

Commit cd17c97

Browse files
eukarpovgithub-actions
authored andcommitted
Enable stack probing on Aarch64 mingw to prevent crash on stack growth (#11)
1 parent bbbf56f commit cd17c97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gcc/config/aarch64/winnt.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ void
985985
aarch64_pe_override_options (void)
986986
{
987987
global_options.x_flag_shrink_wrap = false;
988+
global_options.x_flag_stack_check = STATIC_BUILTIN_STACK_CHECK;
988989
}
989990

990991

0 commit comments

Comments
 (0)