IPA function summary for Soc_Check_befor_IGN/1 inlinable fp_expression global time: 7.500000 self size: 9 global size: 9 min size: 0 self stack: 0 global stack: 0 size:6.000000, time:5.500000 size:3.000000, time:2.000000, executed if:(not inlined) calls: IPA function summary for Soc_Check/0 inlinable fp_expression global time: 5.000000 self size: 6 global size: 6 min size: 0 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Flattening functions: Overall time estimate: 12.500000 weighted by profile: 0.000000 Deciding on inlining of small functions. Starting with size 0. Enqueueing calls in Soc_Check_befor_IGN/1. Enqueueing calls in Soc_Check/0. Reclaiming functions: Reclaiming variables: Clearing address taken flags: Deciding on functions to be inlined into all callers and removing useless speculations: Overall time estimate: 12.500000 weighted by profile: 0.000000 Why inlining failed? IPA function summary for Soc_Check_befor_IGN/1 inlinable fp_expression global time: 7.500000 self size: 9 global size: 9 min size: 0 self stack: 0 global stack: 0 size:6.000000, time:5.500000 size:3.000000, time:2.000000, executed if:(not inlined) calls: IPA function summary for Soc_Check/0 inlinable fp_expression global time: 5.000000 self size: 6 global size: 6 min size: 0 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Symbol table: GV_SOC_STAT_Flag/4 (GV_SOC_STAT_Flag) @06b25d80 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Soc_Check_befor_IGN/1 (write) Availability: not_available Varpool flags: GV_SOC_Value/3 (GV_SOC_Value) @06b25b88 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Soc_Check/0 (write)Soc_Check_befor_IGN/1 (write) Availability: not_available Varpool flags: ECU3/2 (ECU3) @06b25b40 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Soc_Check/0 (read)Soc_Check_befor_IGN/1 (read) Availability: not_available Varpool flags: Soc_Check_befor_IGN/1 (Soc_Check_befor_IGN) @06b292a0 Type: function definition analyzed Visibility: externally_visible public References: ECU3/2 (read)GV_SOC_Value/3 (write)GV_SOC_STAT_Flag/4 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Soc_Check/0 (Soc_Check) @06b29000 Type: function definition analyzed Visibility: externally_visible public References: ECU3/2 (read)GV_SOC_Value/3 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: ;; Function Soc_Check (Soc_Check, funcdef_no=0, decl_uid=5294, cgraph_uid=1, symbol_order=0) Soc_Check () { unsigned char _1; float _2; [local count: 1073741824]: # DEBUG BEGIN_STMT _1 = ECU3.RX.CH0_BCM_VCU_Signal2_0x580.BMS_SOC; _2 = (float) _1; GV_SOC_Value = _2; return; } ;; Function Soc_Check_befor_IGN (Soc_Check_befor_IGN, funcdef_no=1, decl_uid=5296, cgraph_uid=2, symbol_order=1) Soc_Check_befor_IGN () { unsigned char _1; float _2; [local count: 1073741824]: # DEBUG BEGIN_STMT _1 = ECU3.RX.CH0_BCM_VCU_Signal2_0x580.BMS_SOC; _2 = (float) _1; GV_SOC_Value = _2; # DEBUG BEGIN_STMT if (_2 <= 3.0e+1) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT GV_SOC_STAT_Flag = 3; [local count: 1073741824]: return; }