diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-07-22 08:27:30 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-07-22 08:43:25 -0700 |
commit | 5324a3e621d9a2eec6addcc439c4adb1befa8ea9 (patch) | |
tree | e6113143051035c7b04d772f262e5f3f956236c5 /gcc/fortran/trans-openmp.c | |
parent | 0f32c94fc72313798b3a9033c92ceb34f7b7febc (diff) | |
download | gcc-5324a3e621d9a2eec6addcc439c4adb1befa8ea9.zip gcc-5324a3e621d9a2eec6addcc439c4adb1befa8ea9.tar.gz gcc-5324a3e621d9a2eec6addcc439c4adb1befa8ea9.tar.bz2 |
c++: structural_comptypes addition
I had to debug structural_comptypes, and its complex if conditions and
tail calling of same_type_p made that hard. I'd hope we can turn the
eqivalent of return boolean_fn () ? true : false; into a tail call of
the boolean. We also were not dealing with TYPEOF_TYPE.
gcc/cp/
* typeck.c (structural_comptypes): [DECLTYPE_TYPE] break
apart complex if.
[UNDERLYING_TYPE]: Use an if.
[TYPEOF_TYPE]: New.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions