This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/45419] -fcompare-debug failure at -O3
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Aug 2010 14:30:14 -0000
- Subject: [Bug debug/45419] -fcompare-debug failure at -O3
- References: <bug-45419-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from rguenther at suse dot de 2010-08-30 14:30 -------
Subject: Re: -fcompare-debug failure at -O3
On Mon, 30 Aug 2010, jakub at gcc dot gnu dot org wrote:
> ------- Comment #9 from jakub at gcc dot gnu dot org 2010-08-30 14:29 -------
> Unfortunately printing iterative_hash_expr for MEM_EXPR if final_insns_dump_p
> is actually worse, because iterative_hash_expr uses DECL_UID, which isn't
> guaranteed to be the same between -g and -g0.
> So, either we shouldn't print MEM_EXPR at all for final_insns_dump_p, or come
> up with iterative_hash_expr alternative which doesn't hash using DECL_UIDs, but
> DECL_NAME.
Or dump MEM_EXPR caching?
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45419