diff options
author | dalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-22 22:11:30 +0000 |
---|---|---|
committer | dalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-22 22:11:30 +0000 |
commit | cf8dca0918f76fbcc20cc7981ec8761ba1b84dae (patch) | |
tree | dabf8bbbef174583b14ecd31b838929af67e930b /gcc | |
parent | a632e132537fef2e6ea7826db0a3902da61cae85 (diff) | |
download | gcc-cf8dca0918f76fbcc20cc7981ec8761ba1b84dae.tar.gz |
2004-11-22 Dale Johannesen <dalej@apple.com>
* calls.c (expand_call): Do not call preserve_temp_slots.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91038 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/calls.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20041111-1.c | 10 |
4 files changed, 18 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f7933ba790..b530a2bcad2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-11-22 Dale Johannesen <dalej@apple.com> + + * calls.c (expand_call): Do not call preserve_temp_slots. + 2004-11-22 Kazu Hirata <kazu@cs.umass.edu> * tree-flow.h: Remove the prototype for remove_phi_arg. diff --git a/gcc/calls.c b/gcc/calls.c index 720ffb7de76..84d44350c4b 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2819,7 +2819,6 @@ expand_call (tree exp, rtx target, int ignore) | TYPE_QUAL_CONST)); target = assign_temp (nt, 0, 1, 1); - preserve_temp_slots (target); } if (! rtx_equal_p (target, valreg)) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3d9d53a4498..0f3ca0db146 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-11-22 Dale Johannesen <dalej@apple.com> + + * gcc.dg/20041111-1.c: New. + 2004-11-19 Dorit Naishlos <dorit@il.ibm.com> PR tree-opt/18536 diff --git a/gcc/testsuite/gcc.dg/20041111-1.c b/gcc/testsuite/gcc.dg/20041111-1.c new file mode 100644 index 00000000000..94de2f03ad6 --- /dev/null +++ b/gcc/testsuite/gcc.dg/20041111-1.c @@ -0,0 +1,10 @@ +/* { dg-do compile { target powerpc*-*-* } } */ +/* { dg-options "-mcpu=power4 -O2" } */ + +extern unsigned long long set_mask[65]; +extern unsigned long long xyzzy(int) __attribute__((pure)); + +int valid (int x) +{ + return(xyzzy(x) & set_mask[x]); +} |