This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r200624 - /branches/google/gcc-4_7/gcc/dwarf2out.c
- From: ccoutant at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 02 Jul 2013 21:32:23 -0000
- Subject: r200624 - /branches/google/gcc-4_7/gcc/dwarf2out.c
Author: ccoutant
Date: Tue Jul 2 21:32:23 2013
New Revision: 200624
URL: http://gcc.gnu.org/viewcvs?rev=200624&root=gcc&view=rev
Log:
When using -gsplit-dwarf, we use die_checksum to calculate a hash
over the compilation unit for the DW_AT_dwo_id attribute. When
hashing location expressions, the hash may include pointers that
can vary from run to run of GCC. This patch fixes loc_checksum
to use the (already existing) hash_loc_operands function, which
calculates a hash deterministically.
Google ref: 9654852
2013-07-02 Cary Coutant <ccoutant@google.com>
gcc/
* dwarf2out.c (loc_checksum): Call hash_loc_operands for a
deterministic hash.
(loc_checksum_ordered): Likewise.
(hash_loc_operands): Remove inline keyword.
Modified:
branches/google/gcc-4_7/gcc/dwarf2out.c