summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-29 18:11:40 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-29 18:11:40 +0000
commit5714ec4b553286eeb45711230785e9e9ed60edf1 (patch)
treea394662265c227dd7e9e66c8f0133d1dcbdc66cc
parent811c4f15ae872df6c455c4c7d17d3b17f7daa81c (diff)
downloadgcc-5714ec4b553286eeb45711230785e9e9ed60edf1.tar.gz
* config/i386/i386.c (ix86_adjust_stack_and_probe_stack_clash): Fix
typos and whitespace errors. * config/i386/predicates.md (address_no_seg_operand): Likewise. * config/s390/s390.c (s390_emit_prologue): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253303 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/i386.c6
-rw-r--r--gcc/config/i386/predicates.md2
-rw-r--r--gcc/config/s390/s390.c2
4 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bdf728b6fff..16c9737f09a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2017-09-29 Jeff Law <law@redhat.com>
+
+ * config/i386/i386.c (ix86_adjust_stack_and_probe_stack_clash): Fix
+ typos and whitespace errors.
+ * config/i386/predicates.md (address_no_seg_operand): Likewise.
+ * config/s390/s390.c (s390_emit_prologue): Likewise.
+
2017-09-29 Vladimir Makarov <vmakarov@redhat.com>
PR target/81481
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e282546c708..98fb1ce47cb 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -13967,7 +13967,7 @@ ix86_adjust_stack_and_probe_stack_clash (const HOST_WIDE_INT size)
?!? This should be revamped to work like aarch64 and s390 where
we track the offset from the most recent probe. Normally that
- offset would be zero. For a non-return function we would reset
+ offset would be zero. For a noreturn function we would reset
it to PROBE_INTERVAL - (STACK_BOUNDARY / BITS_PER_UNIT). Then
we just probe when we cross PROBE_INTERVAL. */
if (TREE_THIS_VOLATILE (cfun->decl))
@@ -14047,7 +14047,7 @@ ix86_adjust_stack_and_probe_stack_clash (const HOST_WIDE_INT size)
plus_constant (Pmode, sr.reg,
m->fs.cfa_offset + rounded_size));
RTX_FRAME_RELATED_P (insn) = 1;
- }
+ }
/* Step 3: the loop. */
rtx size_rtx = GEN_INT (rounded_size);
@@ -14060,7 +14060,7 @@ ix86_adjust_stack_and_probe_stack_clash (const HOST_WIDE_INT size)
plus_constant (Pmode, stack_pointer_rtx,
m->fs.cfa_offset));
RTX_FRAME_RELATED_P (insn) = 1;
- }
+ }
m->fs.sp_offset += rounded_size;
emit_insn (gen_blockage ());
diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md
index f7854e942e5..4e023afb110 100644
--- a/gcc/config/i386/predicates.md
+++ b/gcc/config/i386/predicates.md
@@ -1042,7 +1042,7 @@
(define_predicate "SImode_address_operand"
(match_code "subreg,zero_extend,and"))
-;; Return true if op if a valid address for LEA, and does not contain
+;; Return true if op is a valid address for LEA, and does not contain
;; a segment override. Defined as a special predicate to allow
;; mode-less const_int operands pass to address_operand.
(define_special_predicate "address_no_seg_operand"
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index d2671bae7bb..52a82df0044 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -11359,7 +11359,7 @@ s390_emit_prologue (void)
/* When probing for stack-clash mitigation, we have to track the distance
between the stack pointer and closest known reference.
- Most of the time we have to make a worst cast assumption. The
+ Most of the time we have to make a worst case assumption. The
only exception is when TARGET_BACKCHAIN is active, in which case
we know *sp (offset 0) was written. */
HOST_WIDE_INT probe_interval