mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-09 14:40:37 -07:00
add workaround for compiler bug in clang 19
This commit is contained in:
parent
ede2f0aaa1
commit
2fbdd292af
1 changed files with 10 additions and 0 deletions
|
|
@ -279,6 +279,11 @@ 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__)
|
||||
[[clang::optnone]]
|
||||
#endif
|
||||
void
|
||||
ecl_stack_frame_push(cl_object f, cl_object o)
|
||||
{
|
||||
|
|
@ -334,6 +339,11 @@ 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__)
|
||||
[[clang::optnone]]
|
||||
#endif
|
||||
cl_object
|
||||
ecl_stack_frame_pop_values(cl_object f)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue