; start of dump from pass_ipa_pure_const (../../src/gcc/ipa-pure-const.c:146) local analysis of ravif2 scanning: entry: scanning: _4 = L_3(D)->ci; Indirect ref read is not const scanning: _5 = _4->func; Indirect ref read is not const scanning: cl_6 = _5->value_.gc; Indirect ref read is not const scanning: raviV_op_loadnil (_4, 0, 0); scanning: _8 = L_3(D)->ci; Indirect ref read is not const scanning: base_9 = _8->u.l.base; Indirect ref read is not const scanning: _10 = cl_6->p; Indirect ref read is not const scanning: _11 = _10->k; Indirect ref read is not const scanning: _12 = _11->value_.i; Indirect ref read is not const scanning: MEM[(struct ravi_TValue *)base_9 + 16B].value_.i = _12; Indirect ref write is not const/pure scanning: MEM[(struct ravi_TValue *)base_9 + 16B].tt_ = 1; Indirect ref write is not const/pure scanning: _15 = _11->value_.i; Indirect ref read is not const scanning: MEM[(struct ravi_TValue *)base_9 + 16B].value_.i = _15; Indirect ref write is not const/pure scanning: MEM[(struct ravi_TValue *)base_9 + 16B].tt_ = 1; Indirect ref write is not const/pure scanning: printf ("OP_RETURN(pc=%d) return %d args", 13, 1); scanning: _19 = L_3(D)->ci; Indirect ref read is not const scanning: base_20 = _19->u.l.base; Indirect ref read is not const scanning: _21 = base_20 + 32; scanning: L_3(D)->top = _21; Indirect ref write is not const/pure scanning: _23 = cl_6->p; Indirect ref read is not const scanning: _24 = _23->sizep; Indirect ref read is not const scanning: if (_24 > 0) scanning: OP_RETURN_if_sizep_gt_0_12_23: scanning: luaF_close (L_3(D), base_20); scanning: OP_RETURN_else_sizep_gt_0_12_24: scanning: _26 = base_20 + 16; scanning: luaD_poscall (L_3(D), _26); scanning: return 1; ; end of dump from pass_ipa_pure_const (../../src/gcc/ipa-pure-const.c:146) ; start of dump from pass_ipa_pure_const (../../src/gcc/ipa-pure-const.c:146) callgraph: luaD_poscall/4 (luaD_poscall) @0x7f19748b08a0 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (1.00 per call) Calls: luaF_close/3 (luaF_close) @0x7f19748b0730 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (0.63 per call) Calls: printf/2 (printf) @0x7f19748b05c0 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (1.00 per call) Calls: raviV_op_loadnil/1 (raviV_op_loadnil) @0x7f19748b0450 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (1.00 per call) Calls: ravif2/0 (ravif2) @0x7f19748b0000 Type: function definition analyzed Visibility: force_output externally_visible public artificial References: Referring: Availability: overwritable First run: 0 Function flags: body Called by: Calls: luaD_poscall/4 (1.00 per call) luaF_close/3 (0.63 per call) printf/2 (1.00 per call) raviV_op_loadnil/1 (1.00 per call) ordered call graph: reduced for nothrow callgraph: luaD_poscall/4 (luaD_poscall) @0x7f19748b08a0 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (1.00 per call) Calls: luaF_close/3 (luaF_close) @0x7f19748b0730 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (0.63 per call) Calls: printf/2 (printf) @0x7f19748b05c0 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (1.00 per call) Calls: raviV_op_loadnil/1 (raviV_op_loadnil) @0x7f19748b0450 Type: function Visibility: external public artificial References: Referring: Availability: not_available First run: 0 Function flags: Called by: ravif2/0 (1.00 per call) Calls: ravif2/0 (ravif2) @0x7f19748b0000 Type: function definition analyzed Visibility: force_output externally_visible public artificial References: Referring: Availability: overwritable First run: 0 Function flags: body Called by: Calls: luaD_poscall/4 (1.00 per call) luaF_close/3 (0.63 per call) printf/2 (1.00 per call) raviV_op_loadnil/1 (1.00 per call) ordered call graph: reduced ravif2 (struct ravi_lua_State * L) { struct ravi_TValue * base; struct ravi_LClosure * cl; struct ravi_CallInfo * _4; struct ravi_TValue * _5; struct ravi_CallInfo * _8; struct ravi_Proto * _10; struct ravi_TValue * _11; signed long _12; signed long _15; struct ravi_CallInfo * _19; struct ravi_TValue * _21; struct ravi_Proto * _23; signed int _24; struct ravi_TValue * _26; entry: _4 = L_3(D)->ci; _5 = _4->func; cl_6 = _5->value_.gc; raviV_op_loadnil (_4, 0, 0); _8 = L_3(D)->ci; base_9 = _8->u.l.base; _10 = cl_6->p; _11 = _10->k; _12 = _11->value_.i; MEM[(struct ravi_TValue *)base_9 + 16B].value_.i = _12; MEM[(struct ravi_TValue *)base_9 + 16B].tt_ = 1; _15 = _11->value_.i; MEM[(struct ravi_TValue *)base_9 + 16B].value_.i = _15; MEM[(struct ravi_TValue *)base_9 + 16B].tt_ = 1; printf ("OP_RETURN(pc=%d) return %d args", 13, 1); _19 = L_3(D)->ci; base_20 = _19->u.l.base; _21 = base_20 + 32; L_3(D)->top = _21; _23 = cl_6->p; _24 = _23->sizep; if (_24 > 0) goto (OP_RETURN_if_sizep_gt_0_12_23); else goto (OP_RETURN_else_sizep_gt_0_12_24); OP_RETURN_if_sizep_gt_0_12_23: luaF_close (L_3(D), base_20); OP_RETURN_else_sizep_gt_0_12_24: _26 = base_20 + 16; luaD_poscall (L_3(D), _26); return 1; } ; end of dump from pass_ipa_pure_const (../../src/gcc/ipa-pure-const.c:146)