summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-21 16:18:06 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-21 16:18:06 +0000
commit27490d009867631fd7b2f726272ea9edc3035c0a (patch)
treefa2d12ef06cc05f01ca96b1c3650c9f2837cca38 /gcc/ChangeLog
parent00bba8d6e417b2a2a86dc65acb05aa05417bb649 (diff)
downloadgcc-27490d009867631fd7b2f726272ea9edc3035c0a.tar.gz
2010-01-21 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42585 * tree-sra.c (struct access): New field grp_total_scalarization. (dump_access): Dump the new field. (should_scalarize_away_bitmap): New variable. (cannot_scalarize_away_bitmap): Likewise. (sra_initialize): Allocate new bitmaps. (sra_deinitialize): Free new bitmaps. (create_access_1): New function. (create_access): Parts moved to create_access_1. (type_consists_of_records_p): New function. (completely_scalarize_record): Likewise. (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap. (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap. (sort_and_splice_var_accesses): Hint groups with a total_scalarization access. (analyze_all_variable_accesses): Completely scalarize small eligible records. * testsuite/gcc.dg/tree-ssa/pr42585.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156156 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 011af1de6c8..6eb61022fe7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,25 @@
2010-01-21 Martin Jambor <mjambor@suse.cz>
+ PR tree-optimization/42585
+ * tree-sra.c (struct access): New field grp_total_scalarization.
+ (dump_access): Dump the new field.
+ (should_scalarize_away_bitmap): New variable.
+ (cannot_scalarize_away_bitmap): Likewise.
+ (sra_initialize): Allocate new bitmaps.
+ (sra_deinitialize): Free new bitmaps.
+ (create_access_1): New function.
+ (create_access): Parts moved to create_access_1.
+ (type_consists_of_records_p): New function.
+ (completely_scalarize_record): Likewise.
+ (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap.
+ (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap.
+ (sort_and_splice_var_accesses): Hint groups with a total_scalarization
+ access.
+ (analyze_all_variable_accesses): Completely scalarize small eligible
+ records.
+
+2010-01-21 Martin Jambor <mjambor@suse.cz>
+
* tree-sra.c (build_ref_for_offset_1): Allow for zero size fields.
2010-01-21 Andrew Haley <aph@redhat.com>