]> git.pld-linux.org Git - packages/gcc.git/blame - gcc-pr12965.patch
- added pr12965 patch (fixes optimization/12965, dar.spec@alpha issue)
[packages/gcc.git] / gcc-pr12965.patch
CommitLineData
672753dd
JB
1(http://gcc.gnu.org/ml/gcc-patches/2003-12/msg00630.html)
22003-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.044605 seconds and 4 git commands to generate.