From: Dale Johannesen Date: Mon, 22 Nov 2004 22:11:30 +0000 (+0000) Subject: calls.c (expand_call): Do not call preserve_temp_slots. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5628fde1848d4e2af5760850e33242644d07ff4f;p=platform%2Fupstream%2Fgcc.git calls.c (expand_call): Do not call preserve_temp_slots. 2004-11-22 Dale Johannesen * calls.c (expand_call): Do not call preserve_temp_slots. From-SVN: r91038 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f7933ba..b530a2b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-11-22 Dale Johannesen + + * calls.c (expand_call): Do not call preserve_temp_slots. + 2004-11-22 Kazu Hirata * tree-flow.h: Remove the prototype for remove_phi_arg. diff --git a/gcc/calls.c b/gcc/calls.c index 720ffb7..84d4435 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 3d9d53a..0f3ca0d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-11-22 Dale Johannesen + + * gcc.dg/20041111-1.c: New. + 2004-11-19 Dorit Naishlos 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 0000000..94de2f0 --- /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]); +}