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 uninitialized value other.rho[r] is being copied to the never-used value rho[r]). Unfortunately the obvious fix for the warning has shown to cause significant perfomance impacts because it prevents loop unrolling (and there was a separate trouble report concerning that performance drop on bug-apl). At that time I filed a gcc trouble report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94905 asking to fix this, but I am afraid that this may take some time. My bug report was merged into a meta-bug which is open since 2005: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Best Regards, Jürgen On 6/27/20 5:01 PM, Chris Moller wrote:
Shape.hh: In member function 'Shape Shape::insert_axis(Axis, ShapeItem) const': |
- Probably minor bug Chris Moller
- Re: Probably min... Dr . Jürgen Sauermann
- Re: Probably... Chris Moller
- Re: Probably... Chris Moller
- Re: Probably... Chris Moller