From 769589fb4f72edf46c16a396de6777d8e2fbb9bf Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 29 Jul 2014 13:42:11 +0000 Subject: configure: distinguish between ABI and processor model. ARM: various tweaks, incl. support for SDIV and UDIV insns when available. test/regression/funptr2.c: Thumb does weird things with +1. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2555 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- test/regression/Results/funptr2 | 2 +- test/regression/funptr2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/regression/Results/funptr2 b/test/regression/Results/funptr2 index f364c59..9574355 100644 --- a/test/regression/Results/funptr2 +++ b/test/regression/Results/funptr2 @@ -1,3 +1,3 @@ f == f is 1 f == g is 0 -f + 1 == f is 0 +f + 2 == f is 0 diff --git a/test/regression/funptr2.c b/test/regression/funptr2.c index 5c31dd2..8086eae 100644 --- a/test/regression/funptr2.c +++ b/test/regression/funptr2.c @@ -9,6 +9,6 @@ int main(void) { printf ("f == f is %d\n", &f == &f); printf ("f == g is %d\n", &f == &g); /* The following is undefined behavior */ - printf ("f + 1 == f is %d\n", ((char *) &f) + 1 == (char *) &f); + printf ("f + 2 == f is %d\n", ((char *) &f) + 2 == (char *) &f); return 0; } -- cgit v1.2.3