IPA function summary for BREAK_Speed/1 inlinable fp_expression global time: 12.500000 self size: 25 global size: 25 min size: 0 self stack: 0 global stack: 0 size:22.000000, time:10.500000 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 BREAK_Speed/1. 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 BREAK_Speed/1 inlinable fp_expression global time: 12.500000 self size: 25 global size: 25 min size: 0 self stack: 0 global stack: 0 size:22.000000, time:10.500000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Symbol table: GV_RCU_BrakeTorqueCommand/6 (GV_RCU_BrakeTorqueCommand) @06aacdc8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: BREAK_Speed/1 (write)BREAK_Speed/1 (write) Availability: not_available Varpool flags: GV_BrakeTorqueCommand/5 (GV_BrakeTorqueCommand) @06aacd80 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: BREAK_Speed/1 (write)BREAK_Speed/1 (write) Availability: not_available Varpool flags: Cur_CLMAP_FORCE/4 (Cur_CLMAP_FORCE) @06aacd38 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: BREAK_Speed/1 (read)BREAK_Speed/1 (write)BREAK_Speed/1 (read)BREAK_Speed/1 (write) Availability: not_available Varpool flags: GV_MASTER_CLMAP_FORCE/3 (GV_MASTER_CLMAP_FORCE) @06aaccf0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: BREAK_Speed/1 (read) Availability: not_available Varpool flags: GV_VCU_Drive_Mode/2 (GV_VCU_Drive_Mode) @06aacca8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: BREAK_Speed/1 (write) Availability: not_available Varpool flags: BREAK_Speed/1 (BREAK_Speed) @06ab01c0 Type: function definition analyzed Visibility: externally_visible public References: GV_VCU_Drive_Mode/2 (write)GV_MASTER_CLMAP_FORCE/3 (read)Cur_CLMAP_FORCE/4 (read)BREAK_Speed_limit/0 (read)Cur_CLMAP_FORCE/4 (write)GV_BrakeTorqueCommand/5 (write)GV_RCU_BrakeTorqueCommand/6 (write)Cur_CLMAP_FORCE/4 (read)BREAK_Speed_limit/0 (read)Cur_CLMAP_FORCE/4 (write)GV_BrakeTorqueCommand/5 (write)GV_RCU_BrakeTorqueCommand/6 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: BREAK_Speed_limit/0 (BREAK_Speed_limit) @06aac3a8 Type: variable definition analyzed Visibility: externally_visible public References: Referring: BREAK_Speed/1 (read)BREAK_Speed/1 (read) Availability: available Varpool flags: initialized ;; Function BREAK_Speed (BREAK_Speed, funcdef_no=0, decl_uid=4017, cgraph_uid=1, symbol_order=1) BREAK_Speed () { float GV_MASTER_CLMAP_FORCE.0_1; float Cur_CLMAP_FORCE.1_2; int BREAK_Speed_limit.5_3; float _4; float _5; float Cur_CLMAP_FORCE.8_6; int BREAK_Speed_limit.10_7; float _8; float _9; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_VCU_Drive_Mode = 1; # DEBUG BEGIN_STMT GV_MASTER_CLMAP_FORCE.0_1 = GV_MASTER_CLMAP_FORCE; Cur_CLMAP_FORCE.1_2 = Cur_CLMAP_FORCE; if (GV_MASTER_CLMAP_FORCE.0_1 != Cur_CLMAP_FORCE.1_2) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT if (GV_MASTER_CLMAP_FORCE.0_1 < Cur_CLMAP_FORCE.1_2) goto ; [50.00%] else goto ; [50.00%] [local count: 268435456]: # DEBUG BEGIN_STMT BREAK_Speed_limit.5_3 = BREAK_Speed_limit; _4 = (float) BREAK_Speed_limit.5_3; _5 = Cur_CLMAP_FORCE.1_2 - _4; Cur_CLMAP_FORCE = _5; # DEBUG BEGIN_STMT GV_BrakeTorqueCommand = _5; # DEBUG BEGIN_STMT GV_RCU_BrakeTorqueCommand = _5; [local count: 536870913]: # DEBUG BEGIN_STMT Cur_CLMAP_FORCE.8_6 = Cur_CLMAP_FORCE; if (GV_MASTER_CLMAP_FORCE.0_1 > Cur_CLMAP_FORCE.8_6) goto ; [50.00%] else goto ; [50.00%] [local count: 268435456]: # DEBUG BEGIN_STMT BREAK_Speed_limit.10_7 = BREAK_Speed_limit; _8 = (float) BREAK_Speed_limit.10_7; _9 = Cur_CLMAP_FORCE.8_6 + _8; Cur_CLMAP_FORCE = _9; # DEBUG BEGIN_STMT GV_BrakeTorqueCommand = _9; # DEBUG BEGIN_STMT GV_RCU_BrakeTorqueCommand = _9; [local count: 1073741824]: return; }