]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/60003 (wrong code with __builtin_setjmp/__builtin_longjmp...
authorJakub Jelinek <jakub@redhat.com>
Sat, 1 Feb 2014 08:40:31 +0000 (09:40 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 1 Feb 2014 08:40:31 +0000 (09:40 +0100)
commit021293cb5abbe2a03c36bb5324ef2ebebcc98c9d
tree22ced0be1f1d48fca4a1b793689fd1f9bffc18f7
parentb49e41743c3343f32642a4fbb2dd3c2bc4ccb838
re PR tree-optimization/60003 (wrong code with __builtin_setjmp/__builtin_longjmp and inlining)

PR tree-optimization/60003
* gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label.
* profile.c (branch_prob): Use gimple_call_builtin_p
to check for BUILT_IN_SETJMP_RECEIVER.
* tree-inline.c (copy_bb): Call notice_special_calls.

* gcc.c-torture/execute/pr60003.c: New test.

From-SVN: r207382
gcc/ChangeLog
gcc/gimple-low.c
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr60003.c [new file with mode: 0644]
gcc/tree-inline.c
This page took 0.061153 seconds and 5 git commands to generate.