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

--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #12)
> Andrew P., thanks for having a look!
> 
> I tested attachment 61055 [details]; terminates normally.  :-|

Try replacing `all_l4(&g, 4, 0);` with `all_l4(&g, 2, 0);`  g variable has the
support up to 4 dim right now. I noticed that 1, 2, and 4 dim produced
different pathes through the vectorized code. I tried 2/4 on x86_64 (with
avx512) and it worked.

The other thing that is different between this and the fortran tester is
arguments for dim is passed as an address to a const memory location. But I
doubt that is an issue here though.

Reply via email to