public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-3241] use E_*mode instead of just *mode Date: Wed, 16 Sep 2020 21:15:34 +0000 (GMT) [thread overview] Message-ID: <20200916211534.E57ED386F036@sourceware.org> (raw) https://gcc.gnu.org/g:3f4b15f52f4d5f202a7f27bdbb41a8fff218d323 commit r11-3241-g3f4b15f52f4d5f202a7f27bdbb41a8fff218d323 Author: Alexandre Oliva <oliva@adacore.com> Date: Wed Sep 16 18:15:01 2020 -0300 use E_*mode instead of just *mode g++ 4.8.5 rejected cases with SFmode and DFmode, presumably due to some bug in the constexpr implementation. for gcc/ChangeLog * config/rs6000/rs6000.c (have_compare_and_set_mask): Use E_*mode in cases. Diff: --- gcc/config/rs6000/rs6000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 640fc405dd4..6f204ca202a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -15190,8 +15190,8 @@ have_compare_and_set_mask (machine_mode mode) { switch (mode) { - case SFmode: - case DFmode: + case E_SFmode: + case E_DFmode: return TARGET_P9_MINMAX; default:
reply other threads:[~2020-09-16 21:15 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=20200916211534.E57ED386F036@sourceware.org \ --to=aoliva@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).