diff options
author | Yuao Ma <c8ef@outlook.com> | 2025-10-16 22:32:52 +0800 |
---|---|---|
committer | c8ef <c8ef@outlook.com> | 2025-10-18 15:22:09 +0800 |
commit | 2c1949bf152f8fcadb0ef7a44113c41d18724691 (patch) | |
tree | d25a0c14bc6c2021757c2d6c38b6f87734eeb44f /libgomp/testsuite/libgomp.c/declare-variant-4-gfx1153.c | |
parent | 82cefc4898d4ccabe76e28d6626b91ca9e998923 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
This patch allows the use of character types in conditional expressions.
gcc/fortran/ChangeLog:
* resolve.cc (resolve_conditional): Allow character in cond-expr.
* trans-const.cc (gfc_conv_constant): Handle want_pointer.
* trans-expr.cc (gfc_conv_conditional_expr): Fill se->string_length.
(gfc_conv_string_parameter): Handle COND_EXPR tree code.
gcc/testsuite/ChangeLog:
* gfortran.dg/conditional_1.f90: Test character type.
* gfortran.dg/conditional_2.f90: Test print constants.
* gfortran.dg/conditional_4.f90: Test diagnostic message.
* gfortran.dg/conditional_6.f90: Test character cond-arg.
Diffstat (limited to 'libgomp/testsuite/libgomp.c/declare-variant-4-gfx1153.c')
0 files changed, 0 insertions, 0 deletions