aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-01-10 03:03:47 +0000
committerSam James <sam@gentoo.org>2025-01-24 01:08:12 +0000
commitbe48b8f6ad0ec6d0d6b1d2f45eb59bf8e8c67dd7 (patch)
tree73f4d333dc727789d3393b3c42cae5a15e859cb9 /scripts/cpp
parentaef8f8d6a947b290162393e1d717c7aee96fef8e (diff)
downloadglibc-be48b8f6ad0ec6d0d6b1d2f45eb59bf8e8c67dd7.tar.xz
glibc-be48b8f6ad0ec6d0d6b1d2f45eb59bf8e8c67dd7.zip
malloc: obscure calloc use in tst-calloc
Similar to a9944a52c967ce76a5894c30d0274b824df43c7a and f9493a15ea9cfb63a815c00c23142369ec09d8ce, we need to hide calloc use from the compiler to accommodate GCC's r15-6566-g804e9d55d9e54c change. First, include tst-malloc-aux.h, but then use `volatile` variables for size. The test passes without the tst-malloc-aux.h change but IMO we want it there for consistency and to avoid future problems (possibly silent). Reviewed-by: H.J. Lu <hjl.tools@gmail.com> (cherry picked from commit c3d1dac96bdd10250aa37bb367d5ef8334a093a1)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions