public inbox for
help / color / mirror / Atom feed
* [gcc r13-2579] rs6000: Make an "if" statement more regular
@ 2022-09-10 15:23 Segher Boessenkool
  0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2022-09-10 15:23 UTC (permalink / raw)
  To: gcc-cvs

commit r13-2579-g16d752a514033a9e37fed2a7f78024e222ca26b9
Author: Segher Boessenkool <>
Date:   Sat Sep 10 15:13:40 2022 +0000

    rs6000: Make an "if" statement more regular
    As Akari noticed, we have an unusual "if" statement without parentheses
    around the condition.  The condition is a macro that expands to
    something with parentheses in the right spot, but, let's make the code a
    little less surprising :-)
    2022-09-10  Akari Takahashi  <>
                Segher Boessenkool  <>
            * config/rs6000/ (get_memref_parts): Regularize some code.

 gcc/config/rs6000/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/ b/gcc/config/rs6000/
index a656cb32a47..bcf634a146d 100644
--- a/gcc/config/rs6000/
+++ b/gcc/config/rs6000/
@@ -18114,7 +18114,7 @@ get_memref_parts (rtx mem, rtx *base, HOST_WIDE_INT *offset,
 		  HOST_WIDE_INT *size)
   rtx addr_rtx;
-  if MEM_SIZE_KNOWN_P (mem)
+  if (MEM_SIZE_KNOWN_P (mem))
     *size = MEM_SIZE (mem);
     return false;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-10 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-10 15:23 [gcc r13-2579] rs6000: Make an "if" statement more regular Segher Boessenkool

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).