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 bc0f543..14a61f1 100644 (file)
@@ -1,5 +1,9 @@
 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.
 
 2015-12-10  Richard Biener  <rguenther@suse.de>
index 701e078..60157dc 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;