[multiple changes]
2005-12-22 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/25513 * gcc.c-torture/compile/pr25513.c: New test. 2005-12-22 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/25513 * tree-dfa.c (make_rename_temp): Set DECL_COMPLEX_GIMPLE_REG_P complex variables. From-SVN: r108958
This commit is contained in:
parent
228366cdd2
commit
e814a0d1e0
4 changed files with 24 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-12-22 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR tree-opt/25513
|
||||
* tree-dfa.c (make_rename_temp): Set DECL_COMPLEX_GIMPLE_REG_P complex
|
||||
variables.
|
||||
|
||||
2005-12-22 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
Steven Bosscher <stevenb@suse.de>
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2005-12-22 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR tree-opt/25513
|
||||
* gcc.c-torture/compile/pr25513.c: New test.
|
||||
|
||||
2005-12-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
PR c++/23333
|
||||
|
|
9
gcc/testsuite/gcc.c-torture/compile/pr25513.c
Normal file
9
gcc/testsuite/gcc.c-torture/compile/pr25513.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
int f(void)
|
||||
{
|
||||
static _Complex double t;
|
||||
int i, j;
|
||||
for(i = 0;i<2;i++)
|
||||
for(j = 0;j<2;j++)
|
||||
t = .5 * 1.0;
|
||||
return t;
|
||||
}
|
|
@ -236,6 +236,10 @@ tree
|
|||
make_rename_temp (tree type, const char *prefix)
|
||||
{
|
||||
tree t = create_tmp_var (type, prefix);
|
||||
|
||||
if (TREE_CODE (type) == COMPLEX_TYPE)
|
||||
DECL_COMPLEX_GIMPLE_REG_P (t) = 1;
|
||||
|
||||
if (referenced_vars)
|
||||
{
|
||||
add_referenced_tmp_var (t);
|
||||
|
|
Loading…
Add table
Reference in a new issue