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/funptr2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/regression/funptr2.c') diff --git a/test/regression/funptr2.c b/test/regression/funptr2.c index 5c31dd2d..8086eae1 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