https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121020
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization Target Milestone|--- |16.0 --- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- ``` $ valgrind -q build/genrecog /home/sam/git/gcc/gcc/common.md /home/sam/git/gcc/gcc/config/i386/i386.md insn-conditions.md -Hinsn-recog.h -Otmp-recog-1.cc -Otmp-rec og-2.cc -Otmp-recog-3.cc -Otmp-recog-4.cc -Otmp-recog-5.cc -Otmp-recog-6.cc -Otmp-recog-7.cc -Otmp-recog-8.cc -Otmp-recog-9.cc -Otmp-recog-10.cc [...] ==802097== Conditional jump or move depends on uninitialised value(s) ==802097== at 0x400EF7E: operator==(int_set const&, int_set const&) (genrecog.cc:1488) ==802097== by 0x4013D07: merge_into_decision(decision*, state*, int_set const*, state**, state**, int_set const**) (genrecog.cc:3770) ==802097== by 0x40143C8: merge_into_state_1 (genrecog.cc:3842) ==802097== by 0x40143C8: merge_into_state (genrecog.cc:3870) ==802097== by 0x40143C8: match_pattern(state*, md_rtx_info*, rtx_def*, acceptance_type) (genrecog.cc:4249) ==802097== by 0x4003EBB: main (genrecog.cc:5455) ==802097== ==802097== Invalid read of size 32 ==802097== at 0x400EF51: operator==(int_set const&, int_set const&) (genrecog.cc:1488) ==802097== by 0x4013D07: merge_into_decision(decision*, state*, int_set const*, state**, state**, int_set const**) (genrecog.cc:3770) ==802097== by 0x40143C8: merge_into_state_1 (genrecog.cc:3842) ==802097== by 0x40143C8: merge_into_state (genrecog.cc:3870) ==802097== by 0x40143C8: match_pattern(state*, md_rtx_info*, rtx_def*, acceptance_type) (genrecog.cc:4249) ==802097== by 0x4003EBB: main (genrecog.cc:5455) ==802097== Address 0xa101a80 is 16 bytes after a block of size 112 alloc'd ==802097== at 0x48EBAC4: malloc (vg_replace_malloc.c:446) ==802097== by 0x40343F7: xrealloc (xmalloc.c:179) ==802097== by 0x4008457: reserve<long unsigned int> (vec.h:318) ==802097== by 0x4008457: reserve (vec.h:1984) ==802097== by 0x4008457: reserve_exact (vec.h:2004) ==802097== by 0x4008457: safe_splice (vec.h:2067) ==802097== by 0x4008457: int_set (genrecog.cc:1459) ==802097== by 0x4008457: transition (genrecog.cc:1573) ==802097== by 0x4008457: add_decision(state*, rtx_test const&, int_set, bool) (genrecog.cc:1629) ==802097== by 0x4012067: match_pattern_2(state*, md_rtx_info*, position*, rtx_def*) (genrecog.cc:3977) ==802097== by 0x4012E8C: match_pattern_1(state*, md_rtx_info*, rtx_def*, acceptance_type) [clone .constprop.0] (genrecog.cc:4218) ==802097== by 0x4014287: match_pattern(state*, md_rtx_info*, rtx_def*, acceptance_type) (genrecog.cc:4248) ==802097== by 0x4003EBB: main (genrecog.cc:5455) [...] ```