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: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2010 12:21:53 -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 #12 from aoliva at gcc dot gnu dot org 2010-09-02 12:21 -------
'been looking into this as well. cp/pt.c -fcompare-debug fails for me on
x86_64-linux-gnu.
I'm not sure yet why we get different different types for the integer_csts in
operand 0 of MEM_REFs, but it occurred to me that we could add a flag to
operand_equal_p to check that all types are the same. Ideally, we'd have
corresponding flags for hashing as well, but not necessarly for correctness.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45419