[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 236/437: Correct build and make check on gcc111 - AIX 7.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 236/437: Correct build and make check on gcc111 - AIX 7.1. |
Date: |
Mon, 2 Jul 2018 05:14:28 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 7f677a6d4f3ebc9551b7833b0d158f842d5f75e2
Author: pcpa <address@hidden>
Date: Mon Aug 26 15:53:40 2013 -0300
Correct build and make check on gcc111 - AIX 7.1.
lib/jit_ppc.c: Correct C sequence point problem miscalculating
the actual function address in a function descriptor. Problem
happens with gcc 4.8.1 at least.
---
ChangeLog | 6 ++++++
lib/jit_ppc.c | 6 ++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 28fc900..f8ee83e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-08-26 Paulo Andrade <address@hidden>
+
+ lib/jit_ppc.c: Correct C sequence point problem miscalculating
+ the actual function address in a function descriptor. Problem
+ happens with gcc 4.8.1 at least.
+
2013-08-11 Paulo Andrade <address@hidden>
* lib/jit_s390x-cpu.c: Correct code checking if immediate
diff --git a/lib/jit_ppc.c b/lib/jit_ppc.c
index 95c5c47..003fcbb 100644
--- a/lib/jit_ppc.c
+++ b/lib/jit_ppc.c
@@ -779,7 +779,8 @@ _emit_code(jit_state_t *_jit)
#if __powerpc__
undo.prolog_offset = 0;
/* code may start with a jump so add an initial function descriptor */
- iw(_jit->pc.w + sizeof(void*) * 3); /* addr */
+ word = _jit->pc.w + sizeof(void*) * 3;
+ iw(word); /* addr */
iw(0); /* toc */
iw(0); /* env */
#endif
@@ -1289,7 +1290,8 @@ _emit_code(jit_state_t *_jit)
}
_jitc->prolog.ptr[_jitc->prolog.offset++] = _jit->pc.w;
/* function descriptor */
- iw(_jit->pc.w + sizeof(void*) * 3); /* addr */
+ word = _jit->pc.w + sizeof(void*) * 3;
+ iw(word); /* addr */
iw(0); /* toc */
iw(0); /* env */
}
- [Guile-commits] 245/437: S390X: Correct values of float registers saved on stack., (continued)
- [Guile-commits] 245/437: S390X: Correct values of float registers saved on stack., Andy Wingo, 2018/07/02
- [Guile-commits] 224/437: Correct mips o32 abi that was broken when adding n32 abi support., Andy Wingo, 2018/07/02
- [Guile-commits] 230/437: New s390x port built on the hercules emulator and fedora 16 image., Andy Wingo, 2018/07/02
- [Guile-commits] 234/437: GNU lightning 2.0.0 release, Andy Wingo, 2018/07/02
- [Guile-commits] 256/437: X86: %r12 may be used as an index register., Andy Wingo, 2018/07/02
- [Guile-commits] 229/437: Do not assume cast of nan or inf double to float always work., Andy Wingo, 2018/07/02
- [Guile-commits] 231/437: Cosmetic removal of white spaces in end of lines., Andy Wingo, 2018/07/02
- [Guile-commits] 232/437: Correct off by one bug on s390x subi., Andy Wingo, 2018/07/02
- [Guile-commits] 123/437: Revert change aliasing jit_movi_p to jit_movi_ul., Andy Wingo, 2018/07/02
- [Guile-commits] 248/437: Correct wrong example and mt unsafe code in the arm backend., Andy Wingo, 2018/07/02
- [Guile-commits] 236/437: Correct build and make check on gcc111 - AIX 7.1.,
Andy Wingo <=
- [Guile-commits] 237/437: Correct build and check on NetBSD amd64., Andy Wingo, 2018/07/02
- [Guile-commits] 213/437: Finish Itanium port, correcting remaining failing test cases., Andy Wingo, 2018/07/02
- [Guile-commits] 253/437: IA64: Correct some wrong checks value range checks., Andy Wingo, 2018/07/02
- [Guile-commits] 254/437: ARM: Correct build when disassembler is disabled., Andy Wingo, 2018/07/02
- [Guile-commits] 251/437: Add code to calculate code buffer size based on devel time information., Andy Wingo, 2018/07/02
- [Guile-commits] 144/437: Add new ldst variant test cases to check base/index register clobber., Andy Wingo, 2018/07/02
- [Guile-commits] 212/437: Correct remaining test cases, but not yet ones with stack arguments., Andy Wingo, 2018/07/02
- [Guile-commits] 179/437: Add heuristic code to estimate space and resize if required jit buffer., Andy Wingo, 2018/07/02
- [Guile-commits] 265/437: PPC: Correct wrong ldxi_l simplification in 64 bit mode, Andy Wingo, 2018/07/02
- [Guile-commits] 155/437: Add support to test different/alternate code generation setups., Andy Wingo, 2018/07/02