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: [patch] stmt.c: Resort to the binary tree method if neither casesi or tablejump is available.


On Sun, Jan 18, 2004 at 07:20:04PM -0500, Kazu Hirata wrote:
> OK.  Then can I change the definition of CASE_VECTOR_PC_RELATIVE
> slightly?  Specifically can I tell GCC to always honor
> CASE_VECTOR_PC_RELATIVE?

Why bother?

> Currently, it is not honored when -fPIC is
> in effect, causing every dispatch table to use a difference of two
> labels.  This way I can generate a diapatch table with a GP-relative
> reloc for each label.

Alpha manages just fine without doing this.


r~


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