summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-06 20:55:24 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-06 20:55:24 +0000
commitfe0b46c18ab2c2f320244dffd1d48674177c4389 (patch)
treef7a2526b84a3b1d2ce3c540640ba99fa80329148
parent9926a1b39ac66f22e06fe839801d23a4c4c432cd (diff)
downloadgcc-fe0b46c18ab2c2f320244dffd1d48674177c4389.tar.gz
2007-04-06 Andreas Tobler <a.tobler@schweiz.org>
* tree-sra.c (sra_build_elt_assignment): Initialize min/maxshift. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123628 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-sra.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 898aeaaa282..eca498c96c7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-06 Andreas Tobler <a.tobler@schweiz.org>
+
+ * tree-sra.c (sra_build_elt_assignment): Initialize min/maxshift.
+
2007-04-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (extend<mode>xf2): Rename from extendsfxf2
@@ -19,6 +23,7 @@
mode macro.
(*truncxf?f_i387 splitter): Ditto.
+>>>>>>> .r123627
2007-04-06 Daniel Berlin <dberlin@dberlin.org>
* langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index 0f76bb5831d..6cf5e8ee876 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -2056,7 +2056,7 @@ sra_build_elt_assignment (struct sra_elt *elt, tree src)
tree var, type, tmp, tmp2, tmp3;
tree list, stmt;
tree cst, cst2, mask;
- tree minshift, maxshift;
+ tree minshift = NULL, maxshift = NULL;
if (TREE_CODE (dst) != BIT_FIELD_REF
|| !elt->in_bitfld_block)