Skip to content

Commit e1857fe

Browse files
committed
Remove wrong void type for sized floating-point types in tree_type_to_jit_type
1 parent 40548c1 commit e1857fe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gcc/jit/dummy-frontend.cc

-6
Original file line numberDiff line numberDiff line change
@@ -1227,12 +1227,6 @@ recording::type* tree_type_to_jit_type (tree type)
12271227
// FIXME: wrong type.
12281228
return new recording::memento_of_get_type (&target_builtins_ctxt,
12291229
GCC_JIT_TYPE_VOID);
1230-
/* TODO: Remove when we add support for sized floating-point types. */
1231-
for (int i = 0; i < NUM_FLOATN_NX_TYPES; i++)
1232-
if (type == FLOATN_NX_TYPE_NODE (i))
1233-
// FIXME: wrong type.
1234-
return new recording::memento_of_get_type (&target_builtins_ctxt,
1235-
GCC_JIT_TYPE_VOID);
12361230
if (type == void_type_node)
12371231
return new recording::memento_of_get_type (&target_builtins_ctxt,
12381232
GCC_JIT_TYPE_VOID);

0 commit comments

Comments
 (0)