This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Uninitialised memory read in gcc-2.95.2/gcc/lcm.c
- To: Martin dot Stromberg at lu dot erisoft dot se
- Subject: Re: Uninitialised memory read in gcc-2.95.2/gcc/lcm.c
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 12 Mar 2000 19:18:15 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200003121248.NAA18623@mars.lu.erisoft.se>
> sbitmap_intersect_of_successors (temp_bitmap, delayin,
> bb, s_succs);
> sbitmap_not (temp_bitmap, temp_bitmap);
[..]
> If not, then there's a need for "sbitmap_ones (temp_bitmap);" or
> "sbitmap_zero (temp_bitmap);" in the if part.
How's that? temp_bitmap is initialized in the first call, and then
negated in the second. There should be no need to initialize it
further.
Martin