https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87220
--- Comment #2 from Rich Felker ---
-fstack-clash-protection works as desired.
Based on the documentation:
"Most targets do not fully support stack clash protection. However, on those
targets -fstack-clash-protection will protect dynamic stack
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87220
--- Comment #1 from joseph at codesourcery dot com ---
What does -fstack-clash-protection give? (-fstack-check is an old option
for specific Ada requirements; for proper stack-clash protection for all
languages you want -fstack-clash-protectio