File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -789,6 +789,10 @@ recording::type* tree_type_to_jit_type (tree type)
789789 {
790790 return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_LONG_DOUBLE);
791791 }
792+ else if (type == bfloat16_type_node)
793+ {
794+ return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID); // FIXME: wrong type.
795+ }
792796 else if (type == dfloat128_type_node)
793797 {
794798 return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID); // FIXME: wrong type.
@@ -819,6 +823,8 @@ recording::type* tree_type_to_jit_type (tree type)
819823 {
820824 if (TYPE_QUALS (tp) == 0 )
821825 {
826+ // FIXME: this is extremely error-prone. This can lead to an infinite recursion if a condition is missing
827+ // above.
822828 recording::type* result = tree_type_to_jit_type (tp);
823829 if (result != NULL )
824830 {
You can’t perform that action at this time.
0 commit comments