Re: [PATCH] pass_manager: Fix ICE with -fdump-passes -fdisable-tree-* [PR93874]

2020-02-25 Thread Jan Hubicka
> Hi! > > dump_passes pushes a dummy function for which it evaluates the gates > and checks whether the pass is enabled or disabled. > Unfortunately, if any -fdisable-*-*/-fenable-*-* options were seen, > we ICE during is_pass_explicitly_enabled_or_disabled because slot > is non-NULL then and the

Re: [PATCH] pass_manager: Fix ICE with -fdump-passes -fdisable-tree-* [PR93874]

2020-02-25 Thread Richard Biener
On Tue, 25 Feb 2020, Jakub Jelinek wrote: > Hi! > > dump_passes pushes a dummy function for which it evaluates the gates > and checks whether the pass is enabled or disabled. > Unfortunately, if any -fdisable-*-*/-fenable-*-* options were seen, > we ICE during is_pass_explicitly_enabled_or_disabl

[PATCH] pass_manager: Fix ICE with -fdump-passes -fdisable-tree-* [PR93874]

2020-02-25 Thread Jakub Jelinek
Hi! dump_passes pushes a dummy function for which it evaluates the gates and checks whether the pass is enabled or disabled. Unfortunately, if any -fdisable-*-*/-fenable-*-* options were seen, we ICE during is_pass_explicitly_enabled_or_disabled because slot is non-NULL then and the code will do: