Probably minor bug

2020-06-27 Thread Chris Moller
Shape.hh: In member function 'Shape Shape::insert_axis(Axis, ShapeItem) const': Shape.hh:69:46: error: ''target_mem_ref' not supported by dump_expr' may be used uninitialized in this function [-Werror=maybe-uninitialized]    69 |  loop(r, MAX_RANK)   rho[r] = other.rho[r];   |  

Re: Probably minor bug

2020-06-27 Thread Dr . Jürgen Sauermann
Hi Chris, this warning is haunting us for quite a while now. I have written a README-11-bogus-compiler-warnings with work-arounds. Unfortunately the loop below is not entirely bogus (what happens is that for some r the uninitialize

Re: Probably minor bug

2020-06-27 Thread Chris Moller
Sorry, I missed your README.  But a good number of years ago I was in the compiler group for Red Hat and, if I haven't rusted out entirely, I'll take a look at the bug.  No guarantees... Chris On 2020-06-27 12:16, Dr. Jürgen Sauermann wrote: Hi Chris, this warning is haunting us for quite a