diff options
author | Harald Anlauf <anlauf@gmx.de> | 2022-02-06 21:47:20 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-02-09 22:13:53 +0100 |
commit | f3ffea93ef31c03ad8cdcb54e71ec868b57b264f (patch) | |
tree | b54428211044161b14105f4c07a0fba1f472bfc7 /gcc/fortran/openmp.cc | |
parent | f6ff6738fa25fb012ed208e01de5a84d8668d538 (diff) | |
download | gcc-f3ffea93ef31c03ad8cdcb54e71ec868b57b264f.zip gcc-f3ffea93ef31c03ad8cdcb54e71ec868b57b264f.tar.gz gcc-f3ffea93ef31c03ad8cdcb54e71ec868b57b264f.tar.bz2 |
Fortran: try simplifications during reductions of array constructors
gcc/fortran/ChangeLog:
PR fortran/66193
* arith.cc (reduce_binary_ac): When reducing binary expressions,
try simplification. Handle case of empty constructor.
(reduce_binary_ca): Likewise.
gcc/testsuite/ChangeLog:
PR fortran/66193
* gfortran.dg/array_constructor_55.f90: New test.
Diffstat (limited to 'gcc/fortran/openmp.cc')
0 files changed, 0 insertions, 0 deletions