Commit d836edf8 by Jan Hubicka Committed by Jan Hubicka

coverage.c (tree_coverage_counter_ref): Fix computation of the new ARRAY_REF argument.

	* coverage.c (tree_coverage_counter_ref): Fix computation of the new
	ARRAY_REF argument.

From-SVN: r85477
parent f9e8581a
2004-08-03 Jan Hubicka <jh@suse.cz>
* coverage.c (tree_coverage_counter_ref): Fix computation of the new
ARRAY_REF argument.
2004-08-03 Richard Earnshaw <rearnsha@arm.com>
* arm-cores.def: Sort by architecture. Add arm946es, arm966es,
......
......@@ -437,7 +437,7 @@ tree_coverage_counter_ref (unsigned counter, unsigned no)
fold_convert (domain_type, build_int_2 (no, 0)),
TYPE_MIN_VALUE (domain_type),
size_binop (EXACT_DIV_EXPR, TYPE_SIZE_UNIT (GCOV_TYPE_NODE),
size_int (TYPE_ALIGN (GCOV_TYPE_NODE))));
size_int (TYPE_ALIGN_UNIT (GCOV_TYPE_NODE))));
}
/* Generate a checksum for a string. CHKSUM is the current
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment