diff options
author | Jan Hubicka <jh@suse.cz> | 2004-08-03 16:05:15 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-08-03 14:05:15 +0000 |
commit | d836edf84ffe456a95a8870651b7767566104740 (patch) | |
tree | e65adf11ada3be14279f6b18e73291d5e1ee5311 | |
parent | f9e8581ad41c49a22d1b9e38c3a230956cd61312 (diff) | |
download | gcc-d836edf84ffe456a95a8870651b7767566104740.zip gcc-d836edf84ffe456a95a8870651b7767566104740.tar.gz gcc-d836edf84ffe456a95a8870651b7767566104740.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/coverage.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30dfb57..de1e850 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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, diff --git a/gcc/coverage.c b/gcc/coverage.c index abaad02..4b4c636 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -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 |