Re: [RFC PATCH] Implementing ifunc target hook

2012-12-28 Thread Alexander Ivchenko
Before the patch this code would be ignored if >!HAVE_GNU_INDIRECT_FUNCTION and after the patch it will produce an error. >Removing the else-clause should fix this. Mmm, I believe that we want this code not to be ignored, because we want it to produces an error if the target does not s

Re: [RFC PATCH] Implementing ifunc target hook

2013-01-09 Thread Alexander Ivchenko
icates, i.e., "has_ifunc_p". Done. >> + "It returns true if the target supports GNU indirect functions.\n\ >> +The support includes the assembler, linker and dynamic linker.\n\ >> +The default value of this hook is defined as for the host machine.", > >

[testsuite] Disabling gcc.dg/cpp/trad/include.c for Android

2013-01-09 Thread Alexander Ivchenko
Hi, We have test fail for gcc.dg/cpp/trad/include.c on Android. The reason for that is that -ftraditional-cpp is not expected to work on Android due to variadic macro (like #define __builtin_warning(x, y...)) in standard headers and traditional preprocessor cannot handle them. The attached pat

[testsuite] Adding -fno-pic to certain tests

2013-01-10 Thread Alexander Ivchenko
conservatively assumes that they are AVAIL_OVERWRITABLE. The attached patch adding -fno-pic option for tests that fail because of that. 2013-01-10 Alexander Ivchenko * g++.dg/ipa/ivinline-1.C: Add -fno-pic option. * g++.dg/ipa/ivinline-2.C: Likewise. * g++.dg/ipa/ivinline-3.C

Re: [RFC PATCH] Implementing ifunc target hook

2013-01-14 Thread Alexander Ivchenko
thank you very much for your review! I fixed the arm build and all other issues that you raised. the patch is attached. Bootstrap and tested on x86-64 linux Alexander 2013/1/11 Maxim Kuvyrkov : > On 10/01/2013, at 12:24 AM, Alexander Ivchenko wrote: > >>> Config/linux-androi

[I386, PATCH] Fix for PR53435

2012-05-21 Thread Alexander Ivchenko
Hi, could pls have a look to fix for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53435 Changelog entry: 2012-05-21 Alexander Ivchenko PR target/53435 * config/i386/i386.c (ix86_expand_vec_perm): Use correct op. (ix86_expand_vec_perm): Use int mode instead of float

<    1   2