Re: [patch] Use JUMP_TABLE_DATA_P instead of JUMP_P and GET_CODE tests

2013-03-28 Thread Richard Biener
On Thu, Mar 28, 2013 at 12:16 AM, Steven Bosscher wrote: > *Ping* Ok. Thanks, Richard. > On Sat, Mar 23, 2013 at 5:15 PM, Steven Bosscher wrote: >> Hello, >> >> This patch replaces all tests I could find, where the code is looking >> for jump table data with GET_CODE(..)=ADDR_VEC and similar wi

Re: [patch] Use JUMP_TABLE_DATA_P instead of JUMP_P and GET_CODE tests

2013-03-27 Thread Steven Bosscher
*Ping* On Sat, Mar 23, 2013 at 5:15 PM, Steven Bosscher wrote: > Hello, > > This patch replaces all tests I could find, where the code is looking > for jump table data with GET_CODE(..)=ADDR_VEC and similar with > JUMP_TABLE_DATA_P tests. > > Most replacements are mechanical, but a few are not: >

[patch] Use JUMP_TABLE_DATA_P instead of JUMP_P and GET_CODE tests

2013-03-23 Thread Steven Bosscher
Hello, This patch replaces all tests I could find, where the code is looking for jump table data with GET_CODE(..)=ADDR_VEC and similar with JUMP_TABLE_DATA_P tests. Most replacements are mechanical, but a few are not: * The code in s390.c looked odd, I think the replacement code is easier to fo