https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567
--- Comment #2 from Artem <tyoma.ariv at gmail dot com> --- Thank you for help. Could you please also advise which kind of optimization performed here. Could it be switched off by using some compiler options? (because there are a lot of such places in the source code) Also I notice that such behavior reproduced only with NIN defined to values from 2 to 4. If the value is grater such behavior is not reproduced.