This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22626] [4.1 Regression] ICE with optimization turned on while trying to exand complex multiply


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]