This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r223348 - in /trunk/gcc: ChangeLog builtins.c b...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 19 May 2015 09:33:28 -0000
- Subject: r223348 - in /trunk/gcc: ChangeLog builtins.c b...
Author: ebotcazou
Date: Tue May 19 09:33:27 2015
New Revision: 223348
URL: https://gcc.gnu.org/viewcvs?rev=223348&root=gcc&view=rev
Log:
* insn-notes.def (UPDATE_SJLJ_CONTEXT): New note.
* builtins.c (expand_builtin_update_setjmp_buf): Make global.
(expand_stack_restore): Call record_new_stack_level.
(expand_stack_save): Do not call do_pending_stack_adjust.
* builtins.h (expand_builtin_update_setjmp_buf): Declare.
* calls.c (expand_call): Call record_new_stack_level for alloca.
* except.c (sjlj_mark_call_sites): Expand builtin_update_setjmp_buf
wherever a NOTE_INSN_UPDATE_SJLJ_CONTEXT note is present.
(update_sjlj_context): New global function.
* except.h (update_sjlj_context): Declare.
* explow.c (record_new_stack_level): New global function.
(allocate_dynamic_stack_space): Call record_new_stack_level.
* explow.h (record_new_stack_level): Declare.
* final.c (final_scan_insn): Deal with NOTE_INSN_UPDATE_SJLJ_CONTEXT.
* cfgrtl.c (duplicate_insn_chain): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/builtins.h
trunk/gcc/calls.c
trunk/gcc/cfgrtl.c
trunk/gcc/except.c
trunk/gcc/except.h
trunk/gcc/explow.c
trunk/gcc/explow.h
trunk/gcc/final.c
trunk/gcc/insn-notes.def