aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/frontend-passes.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-01-01 16:07:03 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-01-02 14:46:27 +0100
commit6488d5b86126a538ebb8560556dd462ec3d5d62e (patch)
treee3ab12625897d71b236273fd8c5da75dc7ed7513 /gcc/fortran/frontend-passes.cc
parent2b687ad95de61091105d040d6bc06cb3d44ac3d1 (diff)
downloadgcc-6488d5b86126a538ebb8560556dd462ec3d5d62e.zip
gcc-6488d5b86126a538ebb8560556dd462ec3d5d62e.tar.gz
gcc-6488d5b86126a538ebb8560556dd462ec3d5d62e.tar.bz2
tree-optimization/118171 - GENERIC folding in PRE results in invalid GIMPLE
PRE applies GENERIC folding to some component ref components which might result in invalid GIMPLE, like a VIEW_CONVERT_EXPR wrapping a REALPART_EXPR as in the PR. The following removes all GENERIC folding in the code re-constructing a GENERIC component-ref from the PRE VN IL. PR tree-optimization/118171 * tree-ssa-pre.cc (create_component_ref_by_pieces_1): Do not fold any component ref parts. * gcc.dg/torture/pr118171.c: New testcase.
Diffstat (limited to 'gcc/fortran/frontend-passes.cc')
0 files changed, 0 insertions, 0 deletions