[committed 3/5] Fix -Wmisleading-indentation warning in gcc/regrename.c
David Malcolm
dmalcolm@redhat.com
Thu Dec 10 15:25:00 GMT 2015
../../../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)
^
[This warning would have been suppressed by the blank-lines heuristic
from:
https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01011.html ]
Preapproved by Jeff in:
https://gcc.gnu.org/ml/gcc-patches/2015-10/msg03246.html
Bootstrapped®rtested on x86_64-pc-linux-gnu.
Committed to trunk as r231520.
gcc/ChangeLog:
* regrename.c (scan_rtx_address): Fix indentation.
---
gcc/regrename.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/regrename.c b/gcc/regrename.c
index 701e078..60157dc 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;
--
1.8.5.3
More information about the Gcc-patches
mailing list