public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7294] rs6000: Fix up posix_memalign call in _mm_malloc [PR104598] Date: Fri, 18 Feb 2022 16:23:12 +0000 (GMT) [thread overview] Message-ID: <20220218162312.7B167385BF93@sourceware.org> (raw) https://gcc.gnu.org/g:df5ed150ee5fbcb8255e05eed978c4af2b3d9bcc commit r12-7294-gdf5ed150ee5fbcb8255e05eed978c4af2b3d9bcc Author: Jakub Jelinek <jakub@redhat.com> Date: Fri Feb 18 17:21:43 2022 +0100 rs6000: Fix up posix_memalign call in _mm_malloc [PR104598] The uglification changes went in one spot too far and uglified also the anem of function, posix_memalign should be called like that and not a non-existent function instead of it. 2022-02-18 Jakub Jelinek <jakub@redhat.com> PR target/104257 PR target/104598 * config/rs6000/mm_malloc.h (_mm_malloc): Call posix_memalign rather than __posix_memalign. Diff: --- gcc/config/rs6000/mm_malloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/mm_malloc.h b/gcc/config/rs6000/mm_malloc.h index 721f7563b1c..ae47cacffad 100644 --- a/gcc/config/rs6000/mm_malloc.h +++ b/gcc/config/rs6000/mm_malloc.h @@ -47,7 +47,7 @@ _mm_malloc (size_t __size, size_t __alignment) return malloc (__size); if (__alignment < __vec_align) __alignment = __vec_align; - if (__posix_memalign (&__ptr, __alignment, __size) == 0) + if (posix_memalign (&__ptr, __alignment, __size) == 0) return __ptr; else return NULL;
reply other threads:[~2022-02-18 16:23 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220218162312.7B167385BF93@sourceware.org \ --to=jakub@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).