diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-11-12 13:42:22 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-11-12 13:42:22 +0000 |
commit | ce4951549999f403446415c135ad1403a16a15c3 (patch) | |
tree | cac9bbb2fea29fce331916b277c38ed8fe29e471 /test/regression/Results | |
parent | dcb9f48f51cec5e864565862a700c27df2a1a7e6 (diff) | |
download | compcert-ce4951549999f403446415c135ad1403a16a15c3.tar.gz compcert-ce4951549999f403446415c135ad1403a16a15c3.zip |
Globalenvs: allocate one-byte block with permissions Nonempty for each
function definition, so that comparisons between function pointers
are correctly defined.
AST, Globalenvs, and many other files:
represent programs as a list of (function or variable) definitions
instead of two lists, one for functions and the other for variables.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2067 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression/Results')
-rw-r--r-- | test/regression/Results/funptr2 | 3 | ||||
-rw-r--r-- | test/regression/Results/initializers | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/regression/Results/funptr2 b/test/regression/Results/funptr2 new file mode 100644 index 00000000..f364c59a --- /dev/null +++ b/test/regression/Results/funptr2 @@ -0,0 +1,3 @@ +f == f is 1 +f == g is 0 +f + 1 == f is 0 diff --git a/test/regression/Results/initializers b/test/regression/Results/initializers index d3fc91a5..74741489 100644 --- a/test/regression/Results/initializers +++ b/test/regression/Results/initializers @@ -1,3 +1,4 @@ +x0 = 0 x1 = 'x' x2 = 12345 x3 = 3.14159 |