]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-pr12965.patch
67c3b6595335d9b7d8c578d984148cff1faac52c
[packages/gcc.git] / gcc-pr12965.patch
1 (http://gcc.gnu.org/ml/gcc-patches/2003-12/msg00630.html)
2 2003-12-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
3
4         PR optimization/12965
5         * caller-save.c (save_call_clobbered_regs): Do not save/restore
6         registers around no-return calls.
7
8 --- gcc-3.3.2/gcc/caller-save.c.orig    2002-06-13 12:24:00.000000000 +0000
9 +++ gcc-3.3.2/gcc/caller-save.c 2003-12-06 15:29:08.000000000 +0000
10 @@ -407,7 +407,7 @@
11                   regno += insert_restore (chain, 1, regno, MOVE_MAX_WORDS, save_mode);
12             }
13  
14 -         if (code == CALL_INSN)
15 +         if (code == CALL_INSN && ! find_reg_note (insn, REG_NORETURN, NULL))
16             {
17               int regno;
18               HARD_REG_SET hard_regs_to_save;
This page took 0.018621 seconds and 2 git commands to generate.