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

--- Comment #1 from vries at gcc dot gnu.org ---
Created attachment 36664
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36664&action=edit
tracing patch

With tracing patch, for -m64, we see:
...
res:5050.000000 vres:5050.000000
res:inf vres:inf
res:5050.000000 vres:5050.000000
res:inf vres:inf
res:5050.000000 vres:5050.000000
res:inf vres:inf
res:5050.000000 vres:5050.000000
res:inf vres:inf
...

The inf means that the multiply-reductions overflow. We could try to reduce the
values in the array to prevent that.

With tracing patch, for -m32, we see:
...
res:5050.000000 vres:5050.000000
res:inf
vres:93326215443944150965646704795953882578400970373184098831012889540582227238570431295066113089288327277825849664006524270554535976289719382852181865895959724032.000000
Aborted (core dumped)
...

Reply via email to