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] Prevent switch-conversion creating runtime relocations with -fpic (PR tree-optimization/36881)


Jakub Jelinek <jakub@redhat.com> writes:

> 2008-10-10  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR tree-optimization/36881
> 	* tree-switch-conversion.c (check_final_bb): For flag_pic, check
> 	that each value doesn't need runtime relocations, for !flag_pic
> 	check that each value is just a valid initializer constant.
>
> 	* gcc.dg/tree-ssa/pr36881.c: New test.

This is OK.

Thanks.

Ian


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