https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86632

--- Comment #3 from Ketan <ketan.surender at gmail dot com> ---
Example execution output:

Compile and run with -O1
Out14[0] = 0.000000
Out14[1] = 0.000000
Out14[2] = 0.000000
Out14[3] = 0.000000
Out14[4] = 0.000000
Out14[5] = 0.000000

Out15[0] = 75.000000
Out15[1] = 75.000000
Out15[2] = 75.000000

Compile and run with -O3
Out14[0] = 0.000000
Out14[1] = 0.000000
Out14[2] = 75.000000
Out14[3] = 0.000000
Out14[4] = 0.000000
Out14[5] = 0.000000

Out15[0] = 75.000000
Out15[1] = 75.000000
Out15[2] = 75.000000

Compile and run with -O3 -fno-tree-loop-vectorize
Out14[0] = 0.000000
Out14[1] = 0.000000
Out14[2] = 0.000000
Out14[3] = 0.000000
Out14[4] = 0.000000
Out14[5] = 0.000000

Out15[0] = 75.000000
Out15[1] = 75.000000
Out15[2] = 75.000000

Reply via email to