Re: [RFC] -folding dumping for fold-const.cc

2023-08-25 Thread Patrick Palka via Gcc-patches
On Fri, 25 Aug 2023, Richard Biener via Gcc-patches wrote: > > The following adds the capability to have fold-const.cc matched > patterns visible in -folding dumps. There's two choices, > a portable one replacing return stmts like > > - return fold_build1 (tcode, ctype, fold_convert

[RFC] -folding dumping for fold-const.cc

2023-08-25 Thread Richard Biener via Gcc-patches
The following adds the capability to have fold-const.cc matched patterns visible in -folding dumps. There's two choices, a portable one replacing return stmts like - return fold_build1 (tcode, ctype, fold_convert (ctype, t1)); + DRET (fold_build1 (tcode, ctype, fold_convert (ctype,