Re: [PATCH] tree-optimization/104373 - early uninit diagnostic on unreachable code

2022-02-10 Thread Richard Biener via Gcc-patches
On Wed, 9 Feb 2022, Martin Sebor wrote: > On 2/9/22 00:12, Richard Biener wrote: > > On Tue, 8 Feb 2022, Jeff Law wrote: > > > >> > >> > >> On 2/8/2022 12:03 AM, Richard Biener via Gcc-patches wrote: > >>> The following improves early uninit diagnostics by computing edge > >>> reachability using

Re: [PATCH] tree-optimization/104373 - early uninit diagnostic on unreachable code

2022-02-09 Thread Martin Sebor via Gcc-patches
On 2/9/22 00:12, Richard Biener wrote: On Tue, 8 Feb 2022, Jeff Law wrote: On 2/8/2022 12:03 AM, Richard Biener via Gcc-patches wrote: The following improves early uninit diagnostics by computing edge reachability using our value-numbering framework in its cheapest mode and ignoring unreacha

Re: [PATCH] tree-optimization/104373 - early uninit diagnostic on unreachable code

2022-02-08 Thread Richard Biener via Gcc-patches
On Tue, 8 Feb 2022, Jeff Law wrote: > > > On 2/8/2022 12:03 AM, Richard Biener via Gcc-patches wrote: > > The following improves early uninit diagnostics by computing edge > > reachability using our value-numbering framework in its cheapest > > mode and ignoring unreachable blocks when looking >

Re: [PATCH] tree-optimization/104373 - early uninit diagnostic on unreachable code

2022-02-08 Thread Jeff Law via Gcc-patches
On 2/8/2022 12:03 AM, Richard Biener via Gcc-patches wrote: The following improves early uninit diagnostics by computing edge reachability using our value-numbering framework in its cheapest mode and ignoring unreachable blocks when looking for uninitialized uses. To not ICE with -fdump-tree-

[PATCH] tree-optimization/104373 - early uninit diagnostic on unreachable code

2022-02-07 Thread Richard Biener via Gcc-patches
The following improves early uninit diagnostics by computing edge reachability using our value-numbering framework in its cheapest mode and ignoring unreachable blocks when looking for uninitialized uses. To not ICE with -fdump-tree-all the early uninit pass needs a dumpfile since VN tries to dump