summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-29 21:32:41 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-29 21:32:41 +0000
commit0f5102e1a14b7e03df4dd6b2ee8d745041434c5b (patch)
tree1873684e2b045ad9243b6eb53e90d33e73e9d1fe /gcc
parent2803a214a56ef34499f07d08febf0283a02e0e08 (diff)
downloadgcc-0f5102e1a14b7e03df4dd6b2ee8d745041434c5b.tar.gz
* see.c (see_merge_one_def_extension): Silence used uninitialized warning.
* matrix-reorg.c (check_allocation_function): Likewise. * config/i386/driver-i386.c (detect_caches_amd): Likewise. * parse.c (parse_interface): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/driver-i386.c2
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/parse.c2
-rw-r--r--gcc/matrix-reorg.c2
-rw-r--r--gcc/see.c2
6 files changed, 14 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index afc52add563..13e5916cd49 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-29 Jan Hubicka <jh@suse.cz>
+
+ * see.c (see_merge_one_def_extension): Silence used uninitialized warning.
+ * matrix-reorg.c (check_allocation_function): Likewise.
+ * config/i386/driver-i386.c (detect_caches_amd): Likewise.
+
2008-08-29 Jakub Jelinek <jakub@redhat.com>
PR c/37261
diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 44845cd8c2e..013fe93b631 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -75,7 +75,7 @@ detect_caches_amd (unsigned max_ext_level)
{
unsigned eax, ebx, ecx, edx;
unsigned l1_sizekb, l1_line, l1_assoc;
- unsigned l2_sizekb, l2_line, l2_assoc;
+ unsigned l2_sizekb = 0, l2_line = 0, l2_assoc = 0;
if (max_ext_level < 0x80000005)
return "";
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 196626c4875..e6e9cca653d 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-29 Jan Hubicka <jh@suse.cz>
+
+ * parse.c (parse_interface): Likewise.
+
2008-08-29 Jakub Jelinek <jakub@redhat.com>
* trans.h (struct lang_type): Add span.
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c
index f12afd5f2fb..9ec376ad066 100644
--- a/gcc/fortran/parse.c
+++ b/gcc/fortran/parse.c
@@ -2064,7 +2064,7 @@ static gfc_statement parse_spec (gfc_statement);
static void
parse_interface (void)
{
- gfc_compile_state new_state, current_state;
+ gfc_compile_state new_state = COMP_NONE, current_state;
gfc_symbol *prog_unit, *sym;
gfc_interface_info save;
gfc_state_data s1, s2;
diff --git a/gcc/matrix-reorg.c b/gcc/matrix-reorg.c
index 72b876a8736..b00a6b99f5e 100644
--- a/gcc/matrix-reorg.c
+++ b/gcc/matrix-reorg.c
@@ -1601,7 +1601,7 @@ check_allocation_function (void **slot, void *data ATTRIBUTE_UNUSED)
{
gimple call_stmt;
tree size;
- struct malloc_call_data mcd;
+ struct malloc_call_data mcd = {NULL, NULL_TREE, NULL_TREE};
call_stmt = mi->malloc_for_level[level];
diff --git a/gcc/see.c b/gcc/see.c
index 3dfaa41245f..a465d529e30 100644
--- a/gcc/see.c
+++ b/gcc/see.c
@@ -2809,7 +2809,7 @@ see_merge_one_def_extension (void **slot, void *b)
enum rtx_code code;
enum rtx_code extension_code;
enum machine_mode source_extension_mode;
- enum machine_mode source_mode;
+ enum machine_mode source_mode = VOIDmode;
enum machine_mode dest_extension_mode;
bool merge_success = false;
int i;