Uninitialised memory read in gcc-2.95.2/gcc/lcm.c
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Sun Mar 12 10:22:00 GMT 2000
> 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
More information about the Gcc-bugs
mailing list