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: Crossjumping of tablejumps


> 
> When the tables are NOT the same insn and if all jump table entries
> match, references to one jumptable can be replaced by references to
> another resulting in deleting of one jumptable.
> 

Aha, It looks like by the time your code gets executed on two basic
blocks which end with a table branch insns, the "addr_vec" labels would
have become identical, because of the edge forwarding transformations
done by GCC in cleanupcfg.c

Thanks,

Best Regards,
Kiran.


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