File tree 1 file changed +6
-0
lines changed
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)
789
789
{
790
790
return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_LONG_DOUBLE);
791
791
}
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
+ }
792
796
else if (type == dfloat128_type_node)
793
797
{
794
798
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)
819
823
{
820
824
if (TYPE_QUALS (tp) == 0 )
821
825
{
826
+ // FIXME: this is extremely error-prone. This can lead to an infinite recursion if a condition is missing
827
+ // above.
822
828
recording::type* result = tree_type_to_jit_type (tp);
823
829
if (result != NULL )
824
830
{
You can’t perform that action at this time.
0 commit comments