From e1857fe179e92fd565a0a55c90e8e1deba917e03 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Mon, 25 Nov 2024 19:51:34 -0500 Subject: [PATCH] Remove wrong void type for sized floating-point types in tree_type_to_jit_type --- gcc/jit/dummy-frontend.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gcc/jit/dummy-frontend.cc b/gcc/jit/dummy-frontend.cc index 6c420b7b13905..6b1587d7cfb98 100644 --- a/gcc/jit/dummy-frontend.cc +++ b/gcc/jit/dummy-frontend.cc @@ -1227,12 +1227,6 @@ recording::type* tree_type_to_jit_type (tree type) // FIXME: wrong type. return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID); - /* TODO: Remove when we add support for sized floating-point types. */ - for (int i = 0; i < NUM_FLOATN_NX_TYPES; i++) - if (type == FLOATN_NX_TYPE_NODE (i)) - // FIXME: wrong type. - return new recording::memento_of_get_type (&target_builtins_ctxt, - GCC_JIT_TYPE_VOID); if (type == void_type_node) return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID);