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] |
On 08/06/14 11:19, David Malcolm wrote:
OK. I think this is still appropriate. It might even still apply cleanly.This gives a slight improvement in typesafety in cfgexpand.c gcc/ * cfgexpand.c (lab_rtx_for_bb): Convert from pointer_map_t to pointer_map<rtx>. (label_rtx_for_bb): Update for conversion of lab_rtx_for_bb to a pointer_map<rtx>, eliminating casts from void* to rtx. (expand_gimple_basic_block): Likewise. (pass_expand::execute): Likewise, using new/delete of pointer_map<rtx> rathern than pointer_map_create/destroy. NULLify the lab_rtx_for_bb ptr after deletion for good measure.
Seems like this could have gone forward independently of everything else. jeff
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |