File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2666,19 +2666,19 @@ recording::memento_of_get_type::get_size ()
2666
2666
break ;
2667
2667
case GCC_JIT_TYPE_FLOAT:
2668
2668
m = targetm.c .mode_for_floating_type (TI_FLOAT_TYPE);
2669
- size = GET_MODE_PRECISION (m). to_constant () ;
2669
+ size = GET_MODE_UNIT_SIZE (m) * BITS_PER_UNIT ;
2670
2670
break ;
2671
2671
#ifdef HAVE_BFmode
2672
2672
case GCC_JIT_TYPE_BFLOAT16:
2673
2673
return GET_MODE_UNIT_SIZE (BFmode);
2674
2674
#endif
2675
2675
case GCC_JIT_TYPE_DOUBLE:
2676
2676
m = targetm.c .mode_for_floating_type (TI_DOUBLE_TYPE);
2677
- size = GET_MODE_PRECISION (m). to_constant () ;
2677
+ size = GET_MODE_UNIT_SIZE (m) * BITS_PER_UNIT ;
2678
2678
break ;
2679
2679
case GCC_JIT_TYPE_LONG_DOUBLE:
2680
2680
m = targetm.c .mode_for_floating_type (TI_LONG_DOUBLE_TYPE);
2681
- size = GET_MODE_PRECISION (m). to_constant () ;
2681
+ size = GET_MODE_UNIT_SIZE (m) * BITS_PER_UNIT ;
2682
2682
break ;
2683
2683
case GCC_JIT_TYPE_FLOAT16:
2684
2684
size = 16 ;
You can’t perform that action at this time.
0 commit comments