This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2009 18:32:34 -0000
- Subject: [Bug tree-optimization/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
- References: <bug-39355-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #42 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-21 18:32 -------
Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c
> remap_decls in revision 144529 was incorrect, see PR 39345. I
> added remapped_type for PR 39345. Please found which remap_decls
> or remapped_type call is the trigger. We may need another fix for
> remap_decls/remapped_type.
I am currently debugging with trunk revision 144962, so I think I have
all the current bug fixes in this area..
The problem appears to occur before remap_decls.
DECL_HAS_VALUE_EXPR_P (origin_var) is true for
(gdb) p debug_tree (origin_var)
<parm_decl 0x60809ee0 __y
type <complex_type 0x604cab28 complex double
...
It's a puzzle how this can occur with no DECL_VALUE_EXPR.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355