aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2021-01-05 16:56:44 -0500
committerJason Merrill <jason@redhat.com>2021-01-07 16:05:09 -0500
commit4d65a07d54bd9371475648f7de9d4b6a01238813 (patch)
tree46ff8c9f26c4e7c33581fe5095f936d891205cfe /gcc/fortran
parentb7c3f201be582553f9e3506536aa406bbd7ee71c (diff)
downloadgcc-4d65a07d54bd9371475648f7de9d4b6a01238813.zip
gcc-4d65a07d54bd9371475648f7de9d4b6a01238813.tar.gz
gcc-4d65a07d54bd9371475648f7de9d4b6a01238813.tar.bz2
c++: Add some conversion sanity checking.
Another change I was working on revealed that for complex numbers we were building a ck_identity with build_conv, leading to the wrong active member in the union being set. Rather than add another enumeration of the appropriate conversion codes, I factored that out. gcc/cp/ChangeLog: * call.c (has_next): Factor out from... (next_conversion): ...here. (strip_standard_conversion): And here. (is_subseq): And here. (build_conv): Check it. (standard_conversion): Don't call build_conv for ck_identity.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions