Silence bogus used uninitialized warnings of second stage of profiledbootstrap
Jan Hubicka
jh@suse.cz
Sun Aug 31 18:20:00 GMT 2008
Hi,
this makes stage-feedback to build (-finline-functions cause quite few
used uninitialized warnings, as usually).
Bootstrapped/retested i686-linux, comitted.
Next problem is DF compilation time explosion compiling libcpp with
profile feedback and later misoptimization of genmodes at stage-profile.
Honza
* 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.
Index: see.c
===================================================================
*** see.c (revision 139772)
--- see.c (working copy)
*************** see_merge_one_def_extension (void **slot
*** 2809,2815 ****
enum rtx_code code;
enum rtx_code extension_code;
enum machine_mode source_extension_mode;
! enum machine_mode source_mode;
enum machine_mode dest_extension_mode;
bool merge_success = false;
int i;
--- 2809,2815 ----
enum rtx_code code;
enum rtx_code extension_code;
enum machine_mode source_extension_mode;
! enum machine_mode source_mode = VOIDmode;
enum machine_mode dest_extension_mode;
bool merge_success = false;
int i;
Index: matrix-reorg.c
===================================================================
*** matrix-reorg.c (revision 139772)
--- matrix-reorg.c (working copy)
*************** check_allocation_function (void **slot,
*** 1601,1607 ****
{
gimple call_stmt;
tree size;
! struct malloc_call_data mcd;
call_stmt = mi->malloc_for_level[level];
--- 1601,1607 ----
{
gimple call_stmt;
tree size;
! struct malloc_call_data mcd = {NULL, NULL_TREE, NULL_TREE};
call_stmt = mi->malloc_for_level[level];
Index: fortran/parse.c
===================================================================
*** fortran/parse.c (revision 139772)
--- fortran/parse.c (working copy)
*************** static gfc_statement parse_spec (gfc_sta
*** 2064,2070 ****
static void
parse_interface (void)
{
! gfc_compile_state new_state, current_state;
gfc_symbol *prog_unit, *sym;
gfc_interface_info save;
gfc_state_data s1, s2;
--- 2064,2070 ----
static void
parse_interface (void)
{
! gfc_compile_state new_state = COMP_NONE, current_state;
gfc_symbol *prog_unit, *sym;
gfc_interface_info save;
gfc_state_data s1, s2;
Index: config/i386/driver-i386.c
===================================================================
*** config/i386/driver-i386.c (revision 139772)
--- config/i386/driver-i386.c (working copy)
*************** detect_caches_amd (unsigned max_ext_leve
*** 75,81 ****
{
unsigned eax, ebx, ecx, edx;
unsigned l1_sizekb, l1_line, l1_assoc;
! unsigned l2_sizekb, l2_line, l2_assoc;
if (max_ext_level < 0x80000005)
return "";
--- 75,81 ----
{
unsigned eax, ebx, ecx, edx;
unsigned l1_sizekb, l1_line, l1_assoc;
! unsigned l2_sizekb = 0, l2_line = 0, l2_assoc = 0;
if (max_ext_level < 0x80000005)
return "";
More information about the Gcc-patches
mailing list