public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-1872] Add another testcase for PR 110266 Date: Thu, 15 Jun 2023 17:57:21 +0000 (GMT) [thread overview] Message-ID: <20230615175721.0A2E1385624F@sourceware.org> (raw) https://gcc.gnu.org/g:91fb8bdb3944b78bca4f739583ff490c83a92fe7 commit r14-1872-g91fb8bdb3944b78bca4f739583ff490c83a92fe7 Author: Andrew Pinski <apinski@marvell.com> Date: Thu Jun 15 17:49:40 2023 +0000 Add another testcase for PR 110266 Since the combining of sin/cos into cexpi is depedent on the target, this adds another testcase which had failed (earlier in evpr rather than vrp2) that will fail on all targets rather than ones which have sincos or C99 math functions. Committed as obvious after a quick test. gcc/testsuite/ChangeLog: PR tree-optimization/110266 * gcc.c-torture/compile/pr110266.c: New test. Diff: --- gcc/testsuite/gcc.c-torture/compile/pr110266.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gcc/testsuite/gcc.c-torture/compile/pr110266.c b/gcc/testsuite/gcc.c-torture/compile/pr110266.c new file mode 100644 index 00000000000..92af0c51efc --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr110266.c @@ -0,0 +1,9 @@ +double PsyBufferUpdate(int n) +{ + if (n == 4) + { + _Complex double t = __builtin_cexpi(n); + return __real t * __imag t; + } + return 0; +}
reply other threads:[~2023-06-15 17:57 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=20230615175721.0A2E1385624F@sourceware.org \ --to=pinskia@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).