diff options
| author | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2022-08-12 11:29:31 +1200 |
|---|---|---|
| committer | Aurelien Jarno <aurelien@aurel32.net> | 2022-10-09 13:05:19 +0200 |
| commit | 3e279192749cfcae4ceebb1f21a3275e677d0561 (patch) | |
| tree | c21d90e1f2ec87fde4306fb78d41072c75c3393d /malloc/alloc_buffer_alloc_array.c | |
| parent | 2bd815d8347851212b9a91dbdca8053f4dbdac87 (diff) | |
| download | glibc-3e279192749cfcae4ceebb1f21a3275e677d0561.tar.xz glibc-3e279192749cfcae4ceebb1f21a3275e677d0561.zip | |
Ensure calculations happen with desired rounding mode in y1lf128
math/test-float128-y1 fails on x86_64 and ppc64el with gcc 12 and -O3,
because code inside a block guarded by SET_RESTORE_ROUNDL is being moved
after the rounding mode has been restored. Use math_force_eval to
prevent this (and insert some math_opt_barrier calls to prevent code
from being moved before the rounding mode is set).
Fixes #29463
Reviewed-By: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
(cherry picked from commit 2b274fd8c9c776cf70fcdb8356e678ada522a7b0)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
