https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69381
--- Comment #2 from Alexander Gantman <alexander.gantman at intel dot com> --- We also had checked it on x86 and it was ok.The problem is only on ARC. more over it works fine with Arc Compiler. Only GCC generates wrong assembly.