This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/25513] [4.1/4.2 Regression] static complex variable and LIM
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2005 19:40:30 -0000
- Subject: [Bug tree-optimization/25513] [4.1/4.2 Regression] static complex variable and LIM
- References: <bug-25513-8520@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-21 19:40 -------
I have a patch:
===================================================================
--- tree-dfa.c (revision 108920)
+++ tree-dfa.c (working copy)
@@ -216,6 +216,9 @@ 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);
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25513