summaryrefslogtreecommitdiff
path: root/src/SDCCopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SDCCopt.c')
-rw-r--r--src/SDCCopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SDCCopt.c b/src/SDCCopt.c
index 3f8c1276f..4595bbef0 100644
--- a/src/SDCCopt.c
+++ b/src/SDCCopt.c
@@ -2902,7 +2902,7 @@ optimizeFinalCast (ebbIndex *ebbi)
// Some regression tests fail, including gcc-torture-execute-pr38236;
// looking into that one for -mmcs51 --model-small , register allocation
// puts the result of a 16-bit read from e generic pointer into dptr,
- // which codegen can't handle (it genrated code where dpl is overwritten by
+ // which codegen can't handle (it generated code where dpl is overwritten by
// the lower byte of the result, then used as pointer once more).
// This also triggers a pic16 bug resulting in invalid asm code being generated.
if (TARGET_MCS51_LIKE || TARGET_IS_PIC16)