From 5b1fb88a8a54a32c37adace8ece45656cffdc734 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Thu, 10 Dec 2015 15:13:49 +0000 Subject: [PATCH] Fix -Wmisleading-indentation warning in gcc/regrename.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../../../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 | 4 ++++ gcc/regrename.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc0f5436926..14a61f13b01 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-12-10 David Malcolm + + * regrename.c (scan_rtx_address): Fix indentation. + 2015-12-10 David Malcolm * function.c (locate_and_pad_parm): Fix indentation. diff --git a/gcc/regrename.c b/gcc/regrename.c index 701e0789955..60157dcb213 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -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;