This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22626] [4.1 Regression] ICE with optimization turned on while trying to exand complex multiply
- 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: 23 Jul 2005 15:30:40 -0000
- Subject: [Bug c++/22626] [4.1 Regression] ICE with optimization turned on while trying to exand complex multiply
- References: <20050723041326.22626.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-23 15:30 -------
The patch which I thought caused this when I filed it is the most obvious one now:
+2005-06-09 Richard Henderson <rth@redhat.com>
+
+ PR tree-opt/20610
+ * tree.h (DECL_COMPLEX_GIMPLE_REG_P): New.
+ (struct tree_decl): Add gimple_reg_flag.
+ * integrate.c (copy_decl_for_inlining): Copy it.
+ * gimplify.c (internal_get_tmp_var): Set it.
+ (gimplify_bind_expr): Likewise.
+ (gimplify_function_tree): Likewise.
+ (gimplify_modify_expr_complex_part): New.
+ (gimplify_modify_expr): Use it.
+ * tree-gimple.c (is_gimple_reg_type): Allow complex.
+ (is_gimple_reg): Allow complex with DECL_COMPLEX_GIMPLE_REG_P set.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22626