File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
flang/include/flang/Tools Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ namespace Fortran::tools {
49
49
default :
50
50
targetCharacteristics.DisableType (
51
51
Fortran::common::TypeCategory::Real, /* kind=*/ 10 );
52
+ targetCharacteristics.DisableType (
53
+ Fortran::common::TypeCategory::Complex, /* kind=*/ 10 );
52
54
break ;
53
55
}
54
56
@@ -62,11 +64,16 @@ namespace Fortran::tools {
62
64
constexpr bool f128Support = false ;
63
65
#endif
64
66
65
- if constexpr (!f128Support)
67
+ if constexpr (!f128Support) {
66
68
targetCharacteristics.DisableType (Fortran::common::TypeCategory::Real, 16 );
69
+ targetCharacteristics.DisableType (
70
+ Fortran::common::TypeCategory::Complex, 16 );
71
+ }
67
72
68
- for (auto realKind : targetOptions.disabledRealKinds )
73
+ for (auto realKind : targetOptions.disabledRealKinds ) {
69
74
targetCharacteristics.DisableType (common::TypeCategory::Real, realKind);
75
+ targetCharacteristics.DisableType (common::TypeCategory::Complex, realKind);
76
+ }
70
77
71
78
for (auto intKind : targetOptions.disabledIntegerKinds )
72
79
targetCharacteristics.DisableType (common::TypeCategory::Integer, intKind);
You can’t perform that action at this time.
0 commit comments