Fix -Wmisleading-indentation warning in gcc/regrename.c
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 10 Dec 2015 15:13:49 +0000 (15:13 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 10 Dec 2015 15:13:49 +0000 (15:13 +0000)
../../../src/gcc/regrename.c: In function ‘void scan_rtx_address(rtx_insn*, rtx_def**, reg_class, scan_actions, machine_mode, addr_space_t)’:
../../../src/gcc/regrename.c:1314:7: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
       break;
       ^
../../../src/gcc/regrename.c:1311:5: note: ...this ‘if’ clause, but it is not
     if (!AUTO_INC_DEC)
     ^

gcc/ChangeLog:
* regrename.c (scan_rtx_address): Fix indentation.

From-SVN: r231520

gcc/ChangeLog
gcc/regrename.c

index bc0f5436926a18f2fa15695aedcc1beb69c61375..14a61f13b013d29e040de28cbbdd529f816171ef 100644 (file)
@@ -1,3 +1,7 @@
+2015-12-10  David Malcolm  <dmalcolm@redhat.com>
+
+       * regrename.c (scan_rtx_address): Fix indentation.
+
 2015-12-10  David Malcolm  <dmalcolm@redhat.com>
 
        * function.c (locate_and_pad_parm): Fix indentation.
index 701e0789955eddad289468dcb7269d34328725dd..60157dcb213d36066953ec09b74fe20e0235a1d5 100644 (file)
@@ -1360,8 +1360,8 @@ scan_rtx_address (rtx_insn *insn, rtx *loc, enum reg_class cl,
     case PRE_MODIFY:
       /* If the target doesn't claim to handle autoinc, this must be
         something special, like a stack push.  Kill this chain.  */
-    if (!AUTO_INC_DEC)
-      action = mark_all_read;
+      if (!AUTO_INC_DEC)
+       action = mark_all_read;
 
       break;