Re: [PATCH] tree-optimization/107833 - invariant motion of uninit uses

2022-12-05 Thread Jeff Law via Gcc-patches
On 12/2/22 07:30, Richard Biener via Gcc-patches wrote: The following fixes a wrong-code bug caused by loop invariant motion hoisting an expression using an uninitialized value outside of its controlling condition causing IVOPTs to use that to rewrite a defined value. PR107839 is a similar ca

[PATCH] tree-optimization/107833 - invariant motion of uninit uses

2022-12-02 Thread Richard Biener via Gcc-patches
The following fixes a wrong-code bug caused by loop invariant motion hoisting an expression using an uninitialized value outside of its controlling condition causing IVOPTs to use that to rewrite a defined value. PR107839 is a similar case involving a bogus uninit diagnostic. Bootstrapped and tes