Matt Frank added the comment:

This is a patch that turns off the Intel Compiler's optimization for the 
stack_overflow() function.  It turns out that icc doesn't support gcc's 
__attribute__((optimize("no-optimize-sibling-calls"))).  Instead I used an 
ifdef'd intel-specific pragma that turns off optimization completely for just 
this function, and just for the intel compiler.

This particular pragma has the benefit that it should also work with the Intel 
compiler on Windows without needing further ifdefs.

----------
Added file: http://bugs.python.org/file38658/icc-stackoverflow.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23654>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to