Fix coding style of ASM_OUTPUT_ALIGN.
authorMartin Liska <mliska@suse.cz>
Tue, 17 Jul 2018 09:19:57 +0000 (11:19 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 17 Jul 2018 09:19:57 +0000 (09:19 +0000)
2018-07-17  Martin Liska  <mliska@suse.cz>

* config/i386/att.h (ASM_OUTPUT_ALIGN): Fix spacing
        in order to fulfil coding style.
* config/i386/cygming.h (ASM_OUTPUT_ALIGN): Likewise.
* config/i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_PAD): Likewise.
* config/iq2000/iq2000.h (ASM_OUTPUT_ALIGN): Likewise.
* config/pa/pa.h (ASM_OUTPUT_ALIGN): Likewise.
* config/sparc/sol2.h (ASM_OUTPUT_ALIGN_WITH_NOP): Likewise.
* config/sparc/sparc.h (ASM_OUTPUT_ALIGN): Likewise.
* config/visium/visium.h (ASM_OUTPUT_ALIGN): Likewise.
(ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.

From-SVN: r262805

gcc/ChangeLog
gcc/config/i386/att.h
gcc/config/i386/cygming.h
gcc/config/i386/gas.h
gcc/config/i386/x86-64.h
gcc/config/iq2000/iq2000.h
gcc/config/pa/pa.h
gcc/config/sparc/sol2.h
gcc/config/sparc/sparc.h
gcc/config/visium/visium.h

index 80512556ecc907874465fb21f6393c16b3056807..fe754fae61927b73e7a1feffaddc56fa2ab5f71a 100644 (file)
@@ -1,3 +1,17 @@
+2018-07-17  Martin Liska  <mliska@suse.cz>
+
+       * config/i386/att.h (ASM_OUTPUT_ALIGN): Fix spacing
+        in order to fulfil coding style.
+       * config/i386/cygming.h (ASM_OUTPUT_ALIGN): Likewise.
+       * config/i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
+       * config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_PAD): Likewise.
+       * config/iq2000/iq2000.h (ASM_OUTPUT_ALIGN): Likewise.
+       * config/pa/pa.h (ASM_OUTPUT_ALIGN): Likewise.
+       * config/sparc/sol2.h (ASM_OUTPUT_ALIGN_WITH_NOP): Likewise.
+       * config/sparc/sparc.h (ASM_OUTPUT_ALIGN): Likewise.
+       * config/visium/visium.h (ASM_OUTPUT_ALIGN): Likewise.
+       (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
+
 2018-07-17  Martin Liska  <mliska@suse.cz>
 
        * align.h: New file.
index 8e4bc2e8d9487cfa11371bed75a01f6803c829e7..7dd359b90019e57588959870f6d8c7c7c2078c49 100644 (file)
@@ -57,7 +57,7 @@ do                                                            \
    to a multiple of 2**LOG bytes.  */
 
 #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
-    if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
+    if ((LOG) != 0) fprintf ((FILE), "\t.align %d\n", 1 << (LOG))
 
 /* This is how to output an assembler line
    that says to advance the location counter by SIZE bytes.  */
index 80a0a37e308e0f42b128f4ea7164511ad3840cc2..cfe563f47af0b85dd53e93a6bb5575a7f146c4f5 100644 (file)
@@ -290,7 +290,7 @@ do {                                                \
 
 #undef ASM_OUTPUT_ALIGN
 #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
-    if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
+    if ((LOG) != 0) fprintf ((FILE), "\t.align %d\n", 1 << (LOG))
 
 /* Windows uses explicit import from shared libraries.  */
 #define MULTIPLE_SYMBOL_SPACES 1
index e149ab1360cae8385b23d9c77a2c9f5f376aed6f..eb30db5d326c038826b9f9ae9affbe1f5b05a8d6 100644 (file)
@@ -69,7 +69,7 @@ along with GCC; see the file COPYING3.  If not see
 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
 #  define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
     if ((LOG) != 0) { \
-      if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1<<(LOG))-1)               \
+      if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1 << (LOG)) - 1)           \
        fprintf ((FILE), "\t.p2align %d\n", (LOG));                     \
       else                                                             \
        fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP));     \
index 66bbd5edc596021954fe18d44ffe39a8ad57fb2b..bc97454d2f65aab2329d5732b288c64cd4e1d737 100644 (file)
@@ -77,7 +77,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #define ASM_OUTPUT_MAX_SKIP_PAD(FILE, LOG, MAX_SKIP)                   \
   if ((LOG) != 0)                                                      \
     {                                                                  \
-      if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1<<(LOG))-1)               \
+      if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1 << (LOG)) - 1)           \
         fprintf ((FILE), "\t.p2align %d\n", (LOG));                    \
       else                                                             \
         fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP));    \
index 87c4114b4094e60fc8eae037a12e389eda4afb50..1dff91f6c0f88c64c2c738db228f985dd48b8a1a 100644 (file)
@@ -489,7 +489,7 @@ while (0)
 
 #define ASM_OUTPUT_ALIGN(STREAM,LOG)                                   \
   if ((LOG) != 0)                                                      \
-    fprintf (STREAM, "\t.balign %d\n", 1<<(LOG))
+    fprintf (STREAM, "\t.balign %d\n", 1 << (LOG))
 
 \f
 /* Macros Affecting all Debug Formats.  */
index 67b3c714ea8d686fdd0a50c14e51728f709518aa..024e7b831ec1439260426a039283fb3913141c58 100644 (file)
@@ -1187,7 +1187,7 @@ do {                                                                           \
    location counter to a multiple of 2**LOG bytes.  */
 
 #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
-    fprintf (FILE, "\t.align %d\n", (1<<(LOG)))
+    fprintf (FILE, "\t.align %d\n", (1 << (LOG)))
 
 #define ASM_OUTPUT_SKIP(FILE,SIZE)  \
   fprintf (FILE, "\t.blockz " HOST_WIDE_INT_PRINT_UNSIGNED"\n",                \
index b84f218c8111a294bce9196e1b91f3397970b871..1bd4d61b2f3b8c6e6f0488fbaaded2d9719e6aae 100644 (file)
@@ -413,7 +413,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
    with GNU as. */
 #define ASM_OUTPUT_ALIGN_WITH_NOP(FILE,LOG)   \
   if ((LOG) != 0)                             \
-    fprintf (FILE, "\t.align %d,0x1000000\n", (1<<(LOG)))
+    fprintf (FILE, "\t.align %d,0x1000000\n", (1 << (LOG)))
 
 /* Use Solaris ELF section syntax with Sun as.  */
 #undef TARGET_ASM_NAMED_SECTION
index 419995431e252a647be64db23dd69c19ea12386e..032a91d467a358645e615b1f506c4d7a3c7a79eb 100644 (file)
@@ -1659,7 +1659,7 @@ do {                                                                      \
 
 #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
   if ((LOG) != 0)                      \
-    fprintf (FILE, "\t.align %d\n", (1<<(LOG)))
+    fprintf (FILE, "\t.align %d\n", (1 << (LOG)))
 
 #define ASM_OUTPUT_SKIP(FILE,SIZE)  \
   fprintf (FILE, "\t.skip " HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
index edfe3fc499eda68d68fb0ee8d9650909a9bf3da7..5bd56a0633e96ed6a2e5358f67a18aac0b0856a2 100644 (file)
@@ -1486,7 +1486,7 @@ do                                                                        \
    POWER bytes.  POWER will be a C expression of type `int'. */
 #define ASM_OUTPUT_ALIGN(STREAM,LOG)      \
   if ((LOG) != 0)                       \
-    fprintf (STREAM, "\t.align  %d\n", (1<<(LOG)))
+    fprintf (STREAM, "\t.align  %d\n", (1 << (LOG)))
 
 /* `ASM_OUTPUT_MAX_SKIP_ALIGN (STREAM, POWER, MAX_SKIP)`
 
@@ -1497,7 +1497,7 @@ do                                                                        \
    expression of type `int'. */
 #define ASM_OUTPUT_MAX_SKIP_ALIGN(STREAM,LOG,MAX_SKIP)                 \
   if ((LOG) != 0) {                                                    \
-    if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1<<(LOG))-1)                 \
+    if ((MAX_SKIP) == 0 || (MAX_SKIP) >= (1 << (LOG)) - 1)             \
       fprintf ((STREAM), "\t.p2align %d\n", (LOG));                    \
     else                                                               \
       fprintf ((STREAM), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP));    \