diff options
author | Richard Biener <rguenther@suse.de> | 2024-04-10 10:33:40 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-04-10 18:43:24 +0200 |
commit | 912753cc5f18d786e334dd425469fa7f93155661 (patch) | |
tree | 85981b8aeaefe47944567a682cc7812174b9116d /libgcc | |
parent | 5aa3fec38cc6f52285168b161bab1a869d864b44 (diff) | |
download | gcc-912753cc5f18d786e334dd425469fa7f93155661.zip gcc-912753cc5f18d786e334dd425469fa7f93155661.tar.gz gcc-912753cc5f18d786e334dd425469fa7f93155661.tar.bz2 |
tree-optimization/114672 - WIDEN_MULT_PLUS_EXPR type mismatch
The following makes sure to restrict WIDEN_MULT*_EXPR to a mode
precision final compute type as the mode is used to find the optab
and type checking chokes when seeing bit-precisions later which
would likely also not properly expanded to RTL.
PR tree-optimization/114672
* tree-ssa-math-opts.cc (convert_plusminus_to_widen): Only
allow mode-precision results.
* gcc.dg/torture/pr114672.c: New testcase.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions