http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55290



             Bug #: 55290

           Summary: LRA depends on uninitialised values

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: rtl-optimization

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: hjl.to...@gmail.com

                CC: vmaka...@redhat.com





[hjl@gnu-tools-1 gcc]$ cat /tmp/z.i

int a[10];



void g(int *p);

void h(int p);



int* f(void) {

    int b[10] = { };

    struct {

       int c[10];

    } c = { { } };



    g(&a[8]);

    g(&a[9]);



    g(&a[0]);

    g(&b[0]);

    g(&c.c[0]);



    return a;

}

[hjl@gnu-tools-1 gcc]$ valgrind ./cc1 -fpreprocessed /tmp/z.i -quiet -dumpbase

z.i -m64 -mtune=generic -march=x86-64 -auxbase z -O2 -version -o z.s

==5815== Memcheck, a memory error detector

==5815== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.

==5815== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info

==5815== Command: ./cc1 -fpreprocessed /tmp/z.i -quiet -dumpbase z.i -m64

-mtune=generic -march=x86-64 -auxbase z -O2 -version -o z.s

==5815== 

GNU C (GCC) version 4.8.0 20121112 (experimental) (x86_64-unknown-linux-gnu)

    compiled by GNU C version 4.7.2 20120921 (Red Hat 4.7.2-2), GMP version

5.0.2, MPFR version 3.1.0, MPC version 0.9

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

GNU C (GCC) version 4.8.0 20121112 (experimental) (x86_64-unknown-linux-gnu)

    compiled by GNU C version 4.7.2 20120921 (Red Hat 4.7.2-2), GMP version

5.0.2, MPFR version 3.1.0, MPC version 0.9

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Compiler executable checksum: 28512814d6c61d240aec0db5bb852766

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8A4EA5: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8A5A18: mark_pseudo_regno_live(int) (ira-lives.c:291)

==5815==    by 0x8A5CC7: mark_pseudo_reg_live(rtx_def*, unsigned int)

(ira-lives.c:375)

==5815==    by 0x8A5D34: mark_ref_live(df_ref_d*) (ira-lives.c:389)

==5815==    by 0x8A849F: process_bb_node_lives(ira_loop_tree_node*)

(ira-lives.c:1322)

==5815==    by 0x884217: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void

(*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1609)

==5815==    by 0x8A90BE: ira_create_allocno_live_ranges() (ira-lives.c:1596)

==5815==    by 0x8885FD: ira_build() (ira-build.c:3210)

==5815==    by 0x87F5EE: ira(_IO_FILE*) (ira.c:4476)

==5815==    by 0x87FB86: rest_of_handle_ira() (ira.c:4710)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8A4EA5: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8A4F37: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x8A5355: make_object_born(ira_object*) (ira-lives.c:122)

==5815==    by 0x8A5A37: mark_pseudo_regno_live(int) (ira-lives.c:295)

==5815==    by 0x8A5CC7: mark_pseudo_reg_live(rtx_def*, unsigned int)

(ira-lives.c:375)

==5815==    by 0x8A5D34: mark_ref_live(df_ref_d*) (ira-lives.c:389)

==5815==    by 0x8A849F: process_bb_node_lives(ira_loop_tree_node*)

(ira-lives.c:1322)

==5815==    by 0x884217: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void

(*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1609)

==5815==    by 0x8A90BE: ira_create_allocno_live_ranges() (ira-lives.c:1596)

==5815==    by 0x8885FD: ira_build() (ira-build.c:3210)

==5815==    by 0x87F5EE: ira(_IO_FILE*) (ira.c:4476)

==5815==    by 0x87FB86: rest_of_handle_ira() (ira.c:4710)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x88FD3C: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x88FDCE: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x890B9A: build_conflict_bit_table() (ira-conflicts.c:174)

==5815==    by 0x892B9F: ira_build_conflicts() (ira-conflicts.c:856)

==5815==    by 0x888647: ira_build() (ira-build.c:3227)

==5815==    by 0x87F5EE: ira(_IO_FILE*) (ira.c:4476)

==5815==    by 0x87FB86: rest_of_handle_ira() (ira.c:4710)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E3463: check_pseudos_live_through_calls(int)

(lra-lives.c:461)

==5815==    by 0x8E3E54: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:646)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E3463: check_pseudos_live_through_calls(int)

(lra-lives.c:461)

==5815==    by 0x8E3BD0: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:598)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E22C9: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x8E29E4: make_hard_regno_dead(int) (lra-lives.c:265)

==5815==    by 0x8E2DAD: mark_regno_dead(int, machine_mode, int)

(lra-lives.c:351)

==5815==    by 0x8E3CB1: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:614)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E22C9: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x8E28A7: make_hard_regno_born(int) (lra-lives.c:251)

==5815==    by 0x8E3ED2: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:656)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)
==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0xA0722C: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0xA0793D: sparseset_and_compl(sparseset_def*, sparseset_def*,

sparseset_def*) (sparseset.c:190)

==5815==    by 0x8E3F1F: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:658)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0xA0722C: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0xA072BE: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0xA07957: sparseset_and_compl(sparseset_def*, sparseset_def*,

sparseset_def*) (sparseset.c:191)

==5815==    by 0x8E3F1F: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:658)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E3A16: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:550)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815==    by 0x668B12: compile() (cgraphunit.c:2045)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E2D40: mark_regno_live(int, machine_mode, int)

(lra-lives.c:328)

==5815==    by 0x8E3E35: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:645)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E2A59: mark_pseudo_live(int, int) (lra-lives.c:278)

==5815==    by 0x8E2D56: mark_regno_live(int, machine_mode, int)

(lra-lives.c:330)

==5815==    by 0x8E3E35: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:645)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E22C9: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x8E2A89: mark_pseudo_live(int, int) (lra-lives.c:279)

==5815==    by 0x8E2D56: mark_regno_live(int, machine_mode, int)

(lra-lives.c:330)

==5815==    by 0x8E3E35: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:645)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E22C9: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x8E2BB4: mark_pseudo_live(int, int) (lra-lives.c:287)

==5815==    by 0x8E2D56: mark_regno_live(int, machine_mode, int)

(lra-lives.c:330)

==5815==    by 0x8E3E35: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:645)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815== 

==5815== Use of uninitialised value of size 8

==5815==    at 0xA07240: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0xA0793D: sparseset_and_compl(sparseset_def*, sparseset_def*,

sparseset_def*) (sparseset.c:190)

==5815==    by 0x8E3F1F: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:658)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)
(sparseset.h:147)

==5815==    by 0x8E408F: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:684)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815==    by 0x668B12: compile() (cgraphunit.c:2045)

==5815== 

==5815== Use of uninitialised value of size 8

==5815==    at 0x8E224B: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E408F: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:684)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815==    by 0x668088: expand_all_functions() (cgraphunit.c:1747)

==5815==    by 0x668B12: compile() (cgraphunit.c:2045)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8E2237: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8E22C9: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x8E2C47: mark_pseudo_dead(int, int) (lra-lives.c:302)

==5815==    by 0x8E2DEB: mark_regno_dead(int, machine_mode, int)

(lra-lives.c:355)

==5815==    by 0x8E3CB1: process_bb_lives(basic_block_def*, int&)

(lra-lives.c:614)

==5815==    by 0x8E50B9: lra_create_live_ranges(bool) (lra-lives.c:968)

==5815==    by 0x8C9F47: lra(_IO_FILE*) (lra.c:2291)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815== 

==5815== Conditional jump or move depends on uninitialised value(s)

==5815==    at 0x8CACD3: sparseset_bit_p(sparseset_def*, unsigned long)

(sparseset.h:147)

==5815==    by 0x8CAD65: sparseset_set_bit(sparseset_def*, unsigned long)

(sparseset.h:166)

==5815==    by 0x8CBFD4: find_hard_regno_for(int, int*, int)

(lra-assigns.c:469)

==5815==    by 0x8CEC02: assign_by_spills() (lra-assigns.c:1193)

==5815==    by 0x8CF607: lra_assign() (lra-assigns.c:1369)

==5815==    by 0x8C9F65: lra(_IO_FILE*) (lra.c:2303)

==5815==    by 0x87F988: do_reload() (ira.c:4624)

==5815==    by 0x87FB96: rest_of_handle_reload() (ira.c:4737)

==5815==    by 0x937D39: execute_one_pass(opt_pass*) (passes.c:2339)

==5815==    by 0x937FB0: execute_pass_list(opt_pass*) (passes.c:2400)

==5815==    by 0x937FE1: execute_pass_list(opt_pass*) (passes.c:2401)

==5815==    by 0x667BCD: expand_function(cgraph_node*) (cgraphunit.c:1643)

==5815== 

==5815== 

==5815== HEAP SUMMARY:

==5815==     in use at exit: 454,060 bytes in 2,192 blocks

==5815==   total heap usage: 8,802 allocs, 6,610 frees, 4,323,338 bytes

allocated

==5815== 

==5815== LEAK SUMMARY:

==5815==    definitely lost: 242 bytes in 11 blocks

==5815==    indirectly lost: 0 bytes in 0 blocks

==5815==      possibly lost: 16,064 bytes in 2 blocks

==5815==    still reachable: 437,754 bytes in 2,179 blocks

==5815==         suppressed: 0 bytes in 0 blocks

==5815== Rerun with --leak-check=full to see details of leaked memory

==5815== 

==5815== For counts of detected and suppressed errors, rerun with: -v

==5815== Use --track-origins=yes to see where uninitialised values come from

==5815== ERROR SUMMARY: 45 errors from 19 contexts (suppressed: 2 from 2)

[hjl@gnu-tools-1 gcc]$

Reply via email to