function.c (expand_function_start): Initialize stack_check_probe_note only if the generic stack checking mechanism...
* function.c (expand_function_start): Initialize stack_check_probe_note only if the generic stack checking mechanism is used. From-SVN: r173661
This commit is contained in:
parent
51e020fc08
commit
6d3cc8f051
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-05-11 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* function.c (expand_function_start): Initialize stack_check_probe_note
|
||||
only if the generic stack checking mechanism is used.
|
||||
|
||||
2011-05-11 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/15256
|
||||
|
|
|
@ -4813,9 +4813,8 @@ expand_function_start (tree subr)
|
|||
#endif
|
||||
}
|
||||
|
||||
/* After the display initializations is where the stack checking
|
||||
probe should go. */
|
||||
if(flag_stack_check)
|
||||
/* If we are doing generic stack checking, the probe should go here. */
|
||||
if (flag_stack_check == GENERIC_STACK_CHECK)
|
||||
stack_check_probe_note = emit_note (NOTE_INSN_DELETED);
|
||||
|
||||
/* Make sure there is a line number after the function entry setup code. */
|
||||
|
|
Loading…
Add table
Reference in a new issue