Re: PR90723

2019-07-13 Thread Prathamesh Kulkarni
On Thu, 11 Jul 2019 at 13:39, Richard Sandiford wrote: > > Prathamesh Kulkarni writes: > > @@ -186,6 +186,23 @@ skip_alternative (const char *p) > > /* Nonzero means volatile operands are recognized. */ > > extern int volatile_ok; > > > > +/* RAII class for temporarily setting volatile_ok.

Re: PR90723

2019-07-11 Thread Richard Sandiford
Prathamesh Kulkarni writes: > @@ -186,6 +186,23 @@ skip_alternative (const char *p) > /* Nonzero means volatile operands are recognized. */ > extern int volatile_ok; > > +/* RAII class for temporarily setting volatile_ok. */ > + > +class temporary_volatile_ok > +{ > +public: > +

Re: PR90723

2019-07-11 Thread Prathamesh Kulkarni
On Thu, 11 Jul 2019 at 01:48, Richard Sandiford wrote: > > Prathamesh Kulkarni writes: > > Hi, > > For following test-case: > > > > typedef double v4df __attribute__ ((vector_size (32))); > > void foo(v4df); > > > > int > > main () > > { > > volatile v4df x1; > > x1 = (v4df) { 10.0, 20.0,

Re: PR90723

2019-07-10 Thread Richard Sandiford
Prathamesh Kulkarni writes: > Hi, > For following test-case: > > typedef double v4df __attribute__ ((vector_size (32))); > void foo(v4df); > > int > main () > { > volatile v4df x1; > x1 = (v4df) { 10.0, 20.0, 30.0, 40.0 }; > foo (x1); > return 0; > } > > Compiling with

PR90723

2019-07-09 Thread Prathamesh Kulkarni
Hi, For following test-case: typedef double v4df __attribute__ ((vector_size (32))); void foo(v4df); int main () { volatile v4df x1; x1 = (v4df) { 10.0, 20.0, 30.0, 40.0 }; foo (x1); return 0; } Compiling with -msve-vector-bits=256, the compiler goes into infinite recursion and