mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-18 02:30:56 -07:00
apply workaround for clang bug more broadly
Xcode 26 distributes a clang version which identifies itself with
__clang_major__=17 and that is also affected by the bug for which the
workaround in commit 2fbdd292af was
added.
Closes #825.
This commit is contained in:
parent
8efdd3757f
commit
109aa3d265
1 changed files with 6 additions and 6 deletions
|
|
@ -279,9 +279,9 @@ ecl_stack_frame_open(cl_env_ptr env, cl_object f, cl_index size)
|
|||
return f;
|
||||
}
|
||||
|
||||
/* clang 19 miscompiles the following function on x86_64. Temporarily
|
||||
* turn off optimizations here. */
|
||||
#if defined(__clang__) && __clang_major__ == 19 && defined(__x86_64__)
|
||||
/* Some clang versions miscompile the following function on x86_64.
|
||||
* Temporarily turn off optimizations here. */
|
||||
#if defined(__clang__) && __clang_major__ >= 17 && __clang_major__ <= 19 && defined(__x86_64__)
|
||||
[[clang::optnone]]
|
||||
#endif
|
||||
void
|
||||
|
|
@ -339,9 +339,9 @@ ecl_stack_frame_push_values(cl_object f)
|
|||
}
|
||||
}
|
||||
|
||||
/* clang 19 miscompiles the following function on x86_64. Temporarily
|
||||
* turn off optimizations here. */
|
||||
#if defined(__clang__) && __clang_major__ == 19 && defined(__x86_64__)
|
||||
/* Some clang versions miscompile the following function on x86_64.
|
||||
* Temporarily turn off optimizations here. */
|
||||
#if defined(__clang__) && __clang_major__ >= 17 && __clang_major__ <= 19 && defined(__x86_64__)
|
||||
[[clang::optnone]]
|
||||
#endif
|
||||
cl_object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue