[testsuite patch] add code to arm_thumbX_ok to exercise ABI

2014-08-07 Thread Janis Johnson
Running an arm-none-eabi test that adds "-mthumb" for a multilib that uses "-march=armv5te -mfloat-abi=hard" works fine if the test doesn't have any calls, but if it does then the effective-target checks for arm_thumb1_ok and arm_thumb2_ok pass but the test's compile step fails with "sorry, unimple

[testsuite patch] check before using -mthumb in 5 arm tests

2014-08-07 Thread Janis Johnson
Five tests in gcc.target/arm add -mthumb without first checking that the option is compatible with the current multilib flags. This patch fixes that by skipping each test if neither arm_thumb1_ok or arm_thumb2_ok is true. Tested by running gcc.target/arm tests with a variety of multilib flags, so

[PATCH 2/2] Move Asan instrumentation to sanopt pass

2014-08-07 Thread Yury Gribov
Hi all, Attached patch delays generation of Asan memory checking code until sanopt pass. This is a first step towards global static analysis of Asan instrumentation (hope to send it for review next week). The patch also changes the logic behind asan-instrumentation-with-call-threshold parameter

[PATCH 1/2] Support fnspecs for internal functions

2014-08-07 Thread Yury Gribov
Hi all, Following discussion in https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00016.html this patch adds support for fnspecs to internal function machinery which should (hopefully) allow compiler to perform better analysis and optimization of this construct. For now the only internal functi

<    1   2