summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-07-29 13:42:11 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-07-29 13:42:11 +0000
commit769589fb4f72edf46c16a396de6777d8e2fbb9bf (patch)
tree433505a6dba47631170d815945d2782bbc56a264 /test
parent21e269ee37b934428306f53dda0495fee30dd8fa (diff)
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 <function ptr>+1. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2555 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test')
-rw-r--r--test/regression/Results/funptr22
-rw-r--r--test/regression/funptr2.c2
2 files changed, 2 insertions, 2 deletions
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;
}