Re: [PATCH 1/3] forwprop: Change an if into an assert

2025-05-14 Thread Richard Biener
> Am 14.05.2025 um 03:13 schrieb Andrew Pinski : > > Since the merge of the tuples branch (r0-88576-g726a989a8b74bf), the > if: > ``` > if (TREE_CODE_CLASS (gimple_cond_code (stmt)) != tcc_comparison) > ``` > Will always be false so let's change it into an assert. Ok Richard > gcc/ChangeL

[PATCH 1/3] forwprop: Change an if into an assert

2025-05-13 Thread Andrew Pinski
Since the merge of the tuples branch (r0-88576-g726a989a8b74bf), the if: ``` if (TREE_CODE_CLASS (gimple_cond_code (stmt)) != tcc_comparison) ``` Will always be false so let's change it into an assert. gcc/ChangeLog: * tree-ssa-forwprop.cc (forward_propagate_into_gimple_cond): Assert