diff mbox series

[OBVIOUS] Fix a typo.

Message ID be2c1fcb-7656-f6f8-31c4-5c1becc7f092@suse.cz
State New
Headers show
Series [OBVIOUS] Fix a typo. | expand

Commit Message

Martin Liška Feb. 17, 2020, 12:17 p.m. UTC
Hi.

One obvious typo fix.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Thanks,
Martin

gcc/ChangeLog:

2020-02-17  Martin Liska  <mliska@suse.cz>

	PR other/93756
	* config/rx/elf.opt: Fix typo.

libphobos/ChangeLog:

2020-02-17  Martin Liska  <mliska@suse.cz>

	PR other/93756
	* src/std/algorithm/iteration.d: Fix typo.
---
  gcc/config/rx/elf.opt                   | 2 +-
  libphobos/src/std/algorithm/iteration.d | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gcc/config/rx/elf.opt b/gcc/config/rx/elf.opt
index d65c1ee94c4..f130e799680 100644
--- a/gcc/config/rx/elf.opt
+++ b/gcc/config/rx/elf.opt
@@ -29,7 +29,7 @@  Use the simulator runtime.
 
 mas100-syntax
 Target Mask(AS100_SYNTAX) Report
-Generate assembler output that is compatible with the Renesas AS100 assembler.  This may restrict some of the compiler's capabilities.  The default is to generate GAS compatable syntax.
+Generate assembler output that is compatible with the Renesas AS100 assembler.  This may restrict some of the compiler's capabilities.  The default is to generate GAS compatible syntax.
 
 ;---------------------------------------------------
 
diff --git a/libphobos/src/std/algorithm/iteration.d b/libphobos/src/std/algorithm/iteration.d
index 7e5782406d1..93cf1e7cfb3 100644
--- a/libphobos/src/std/algorithm/iteration.d
+++ b/libphobos/src/std/algorithm/iteration.d
@@ -3151,7 +3151,7 @@  The number of seeds must be correspondingly increased.
     static assert(!is(typeof(reduce!(min, max)(tuple(c), "hello"))));
     //"Seed (dchar, dchar, dchar) does not have the correct amount of fields (should be 2)"
     static assert(!is(typeof(reduce!(min, max)(tuple(c, c, c), "hello"))));
-    //"Incompatable function/seed/element: all(alias pred = "a")/int/dchar"
+    //"Incompatible function/seed/element: all(alias pred = "a")/int/dchar"
     static assert(!is(typeof(reduce!all(1, "hello"))));
     static assert(!is(typeof(reduce!(all, all)(tuple(1, 1), "hello"))));
 }