diff options
author | Mikael Morin <mikael@gcc.gnu.org> | 2023-08-14 21:51:42 +0200 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2023-08-14 22:11:06 +0200 |
commit | e0a8218f12c00a5a477137c78d9df4ea32f6cc87 (patch) | |
tree | 35ac58b5be7f91ec77ed26da05424086bd9e0def /gcc/tree-vectorizer.h | |
parent | ce8cdf5bcf96a2db6d7b9f656fc9ba58d7942a83 (diff) | |
download | gcc-e0a8218f12c00a5a477137c78d9df4ea32f6cc87.zip gcc-e0a8218f12c00a5a477137c78d9df4ea32f6cc87.tar.gz gcc-e0a8218f12c00a5a477137c78d9df4ea32f6cc87.tar.bz2 |
fortran: New predicate gfc_length_one_character_type_p
Introduce a new predicate to simplify conditionals checking for
a character type whose length is the constant one.
gcc/fortran/ChangeLog:
* gfortran.h (gfc_length_one_character_type_p): New inline
function.
* check.cc (is_c_interoperable): Use
gfc_length_one_character_type_p.
* decl.cc (verify_bind_c_sym): Same.
* trans-expr.cc (gfc_conv_procedure_call): Same.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions