aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/plugin
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2022-11-28 20:43:02 +0100
committerHarald Anlauf <anlauf@gmx.de>2022-11-29 19:11:10 +0100
commit3832c6f7e672e76bba74a508bf3a49740ea38046 (patch)
treed8f0e191348ffeb1dacfebf2a7a1034f8149ad5e /libgo/go/plugin
parentcca06f0d6d76b08ed4ddb7667eda93e2e9f2589e (diff)
downloadgcc-3832c6f7e672e76bba74a508bf3a49740ea38046.zip
gcc-3832c6f7e672e76bba74a508bf3a49740ea38046.tar.gz
gcc-3832c6f7e672e76bba74a508bf3a49740ea38046.tar.bz2
Fortran: intrinsic MERGE shall use all its arguments [PR107874]
gcc/fortran/ChangeLog: PR fortran/107874 * simplify.cc (gfc_simplify_merge): When simplifying MERGE with a constant scalar MASK, ensure that arguments TSOURCE and FSOURCE are either constant or will be evaluated. * trans-intrinsic.cc (gfc_conv_intrinsic_merge): Evaluate arguments before generating conditional expression. gcc/testsuite/ChangeLog: PR fortran/107874 * gfortran.dg/merge_init_expr_2.f90: Adjust code to the corrected simplification. * gfortran.dg/merge_1.f90: New test. Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
Diffstat (limited to 'libgo/go/plugin')
0 files changed, 0 insertions, 0 deletions