This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA:] Fix uninitialized-bug in gcc/bitmap.c, spotted by valgrind.


Joern Rennecke wrote:
> 
> Doesn't c in bitmap_equal_p need the same initialization?
> 
> How about tmp_head in flow.c:calculate_global_regs_live?
> diff_head in flow.c:init_propagate_block_info ?
> tmp_head in ifcvt.c:dead_or_predicable ?

Ooops, sorry, I was looking at the wrong versions of
bitmap_equal_p / bitmap_initialize.  The former specifies
non-obstack allocation, while the latter allows either,
and is called with obstack allocation being specified
by INITIALIZE_REG_SET.
	
-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]