[PATCH] Fix a typo

2023-07-21 Thread Haochen Jiang via Gcc-patches
Hi all, This patch fix a typo which will not cause any behavior difference. Commited as obvious change. Thx, Haochen gcc/ChangeLog: * config/i386/i386.opt: Fix a typo. --- gcc/config/i386/i386.opt | 5 - 1 file changed, 5 deletions(-) diff --git a/gcc/config/i386/i386.opt b/gcc

Re: [PATCH] fix a typo in rtl.texi

2020-08-28 Thread Richard Sandiford
Wei Wentao writes: > Hi, > > This patch fix a typo in rtl.texi. > > Regards! > > Weiwt > > --- > gcc/doc/rtl.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi > index 501fa1a31da..f8e1f9508

[PATCH] fix a typo in rtl.texi

2020-08-27 Thread Wei Wentao
Hi, This patch fix a typo in rtl.texi. Regards! Weiwt --- gcc/doc/rtl.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 501fa1a31da..f8e1f950823 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -3954,7 +3954,7 @@ variable

Re: [PATCH] fix a typo in rtl.def

2020-08-25 Thread Richard Sandiford
Wei Wentao writes: > Hi, > > This patch fix a typo in rtl.def. Thanks, pushed. Looks like it had gone unnoticed (or at least unfixed) for almost 30 years. :-) Richard > > Regards! > > Weiwt > > --- > gcc/rtl.def | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] fix a typo in rtl.def

2020-08-24 Thread Wei Wentao
Hi, This patch fix a typo in rtl.def. Regards! Weiwt --- gcc/rtl.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rtl.def b/gcc/rtl.def index 9754333eafb..7ec94a95105 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -380,7 +380,7 @@ DEF_RTL_EXPR(PC, "pc", &

Re: [PATCH] fix a typo in tm.texi

2020-08-03 Thread Richard Sandiford
Wei Wentao writes: > This patch fix a typo in tm.texi. Thanks, applied as below. tm.texi is generated from tm.texi.in, so both files need the fix. Richard >From 5e97638b0adfb822d3b156c07da27d41091ce137 Mon Sep 17 00:00:00 2001 From: Wei Wentao Date: Mon, 3 Aug 2020 14:01:42 +0100 S

[PATCH] fix a typo in tm.texi

2020-08-03 Thread Wei Wentao
This patch fix a typo in tm.texi. Regards! weiwt --- gcc/doc/tm.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 6e7d9dc54a9..9b780f757fe 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -11277,7 +11277,7 @@ this macro. @end

Re: [PATCH] Fix a typo in two_value_replacement function

2019-05-06 Thread Li Jia He
On 2019/5/6 7:19 PM, Christophe Lyon wrote: On Sun, 5 May 2019 at 08:31, Li Jia He wrote: Hi, GCC revision 267634 implemented two_value_replacement function. However, a typo occurred during the parameter check, which caused us to miss some optimizations. The intent of the code might be to

Re: [PATCH] Fix a typo in two_value_replacement function

2019-05-06 Thread Li Jia He
On 2019/5/6 8:27 PM, Jakub Jelinek wrote: On Mon, May 06, 2019 at 08:22:41PM +0800, Li Jia He wrote: Dunno why this changed, if you want it in phiopt1, you need "phiopt1" in scan-tree-dump-not as well, if you want optimized dump, you need -fdump-tree-optimized instead. When I test the code a

Re: [PATCH] Fix a typo in two_value_replacement function

2019-05-06 Thread Jakub Jelinek
On Mon, May 06, 2019 at 08:22:41PM +0800, Li Jia He wrote: > > Dunno why this changed, if you want it in phiopt1, you need "phiopt1" > > in scan-tree-dump-not as well, if you want optimized dump, you need > > -fdump-tree-optimized instead. > When I test the code again for submiting the code, I foun

Re: [PATCH] Fix a typo in two_value_replacement function

2019-05-06 Thread Li Jia He
On 2019/5/6 7:35 PM, Jakub Jelinek wrote: On Mon, May 06, 2019 at 01:19:15PM +0200, Christophe Lyon wrote: The regression testing for the patch was done on GCC mainline on powerpc64le-unknown-linux-gnu (Power 9 LE) with no regressions. Is it OK for trunk and backport to gcc 9 ? Whil

Re: [PATCH] Fix a typo in two_value_replacement function

2019-05-06 Thread Jakub Jelinek
On Mon, May 06, 2019 at 01:19:15PM +0200, Christophe Lyon wrote: > > The regression testing for the patch was done on GCC mainline on > > > > powerpc64le-unknown-linux-gnu (Power 9 LE) > > > > with no regressions. Is it OK for trunk and backport to gcc 9 ? While the posted patch had: > > +/*

Re: [PATCH] Fix a typo in two_value_replacement function

2019-05-06 Thread Christophe Lyon
On Sun, 5 May 2019 at 08:31, Li Jia He wrote: > > Hi, > > GCC revision 267634 implemented two_value_replacement function. > However, a typo occurred during the parameter check, which caused > us to miss some optimizations. > > The intent of the code might be to check that the input parameters > ar

Re: [PATCH] Fix a typo in two_value_replacement function

2019-05-05 Thread Jakub Jelinek
On Sun, May 05, 2019 at 01:31:12AM -0500, Li Jia He wrote: > GCC revision 267634 implemented two_value_replacement function. > However, a typo occurred during the parameter check, which caused > us to miss some optimizations. Thanks for catching this. > The regression testing for the patch was do

[PATCH] Fix a typo in two_value_replacement function

2019-05-04 Thread Li Jia He
Hi, GCC revision 267634 implemented two_value_replacement function. However, a typo occurred during the parameter check, which caused us to miss some optimizations. The intent of the code might be to check that the input parameters are const int and their difference is one. However, when I read

[committed, PATCH]: Fix a typo in doc/invoke.texi

2018-01-27 Thread H.J. Lu
Checked into trunk. Will backport to GCC 7 branch. H.J. --- Index: ChangeLog === --- ChangeLog (revision 257123) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2018-01-27 H.J. Lu + + * doc/invoke.texi: Replace -mfunction-

Re: [PATCH] Fix a typo in dwarf2out.c:resolve_args_picking_1

2016-05-03 Thread Pierre-Marie de Rodat
On 05/03/2016 05:41 PM, Richard Biener wrote: This change fixes this typo. Bootstrapped and regtested on x86_64-linux successfuly. Ok to commit? Thank you in advance! OK also for branches. Comitted to trunk and gcc-6-branch. Thank you! -- Pierre-Marie de Rodat

Re: [PATCH] Fix a typo in dwarf2out.c:resolve_args_picking_1

2016-05-03 Thread Richard Biener
On May 3, 2016 4:05:40 PM GMT+02:00, Pierre-Marie de Rodat wrote: >Hello, > >Under specific circumstances for Ada programs, such as in the testcase >this change adds, the DWARF back-end currently crashes because of >inconsistent internal state. This is due to a typo: a local variable is >called f

[PATCH] Fix a typo in dwarf2out.c:resolve_args_picking_1

2016-05-03 Thread Pierre-Marie de Rodat
Hello, Under specific circumstances for Ada programs, such as in the testcase this change adds, the DWARF back-end currently crashes because of inconsistent internal state. This is due to a typo: a local variable is called frame_offset_ but resolve_args_picking_1 wrongly modifies emit-rtl.h's fram

Re: [PATCH] Fix a typo in ppc libgcc (PR target/69444)

2016-01-25 Thread David Edelsohn
On Mon, Jan 25, 2016 at 3:34 PM, Jakub Jelinek wrote: > Hi! > > The soft-fp multilib of powerpc libgcc doesn't build because of a typo > in the conditional - the guarded code uses inline asm that assumes hard > float. > > Ok for trunk? > > 2016-01-25 Jakub Jelinek > > PR target/69444 >

[PATCH] Fix a typo in ppc libgcc (PR target/69444)

2016-01-25 Thread Jakub Jelinek
Hi! The soft-fp multilib of powerpc libgcc doesn't build because of a typo in the conditional - the guarded code uses inline asm that assumes hard float. Ok for trunk? 2016-01-25 Jakub Jelinek PR target/69444 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__

RE: [PATCH] Fix a typo in the german language translation

2015-03-06 Thread Joseph Myers
On Wed, 4 Mar 2015, Bernd Edlinger wrote: > On Wed, 4 Mar 2015 17:52:11, Jospeh S. Myers wrote: > > > > On Wed, 4 Mar 2015, Bernd Edlinger wrote: > > > >> if nobody objects, I'd like to fix this in the german language > >> translation file locally. I have already informed the german language > > >

RE: [PATCH] Fix a typo in the german language translation

2015-03-04 Thread Bernd Edlinger
On Wed, 4 Mar 2015 17:52:11, Jospeh S. Myers wrote: > > On Wed, 4 Mar 2015, Bernd Edlinger wrote: > >> if nobody objects, I'd like to fix this in the german language >> translation file locally. I have already informed the german language > > All local changes to .po files get lost every time new .

Re: [PATCH] Fix a typo in the german language translation

2015-03-04 Thread Joseph Myers
On Wed, 4 Mar 2015, Bernd Edlinger wrote: > if nobody objects, I'd like to fix this in the german language > translation file locally. I have already informed the german language All local changes to .po files get lost every time new .po files are imported from upstream. So no such changes sh

[PATCH] Fix a typo in the german language translation

2015-03-04 Thread Bernd Edlinger
Hi, if nobody objects, I'd like to fix this in the german language translation file locally. I have already informed the german language translation team and yesterday this message has been fixed upstream.  But this typo is just too ugly to leave it for another year! Bernd. 2015-03-04  Bernd

Re: [PATCH] Fix a typo in range_entry_cmp (PR tree-optimization/61686)

2014-12-10 Thread Marek Polacek
On Wed, Dec 10, 2014 at 08:59:09AM +0100, Jakub Jelinek wrote: > On Wed, Dec 10, 2014 at 07:57:46AM +0100, Marek Polacek wrote: > > I don't really know this code, but this typo looks obvious enough. > > Using if (p->high != NULL_TREE) ... else if (p->high != NULL_TREE) > > couldn't be possibly desi

Re: [PATCH] Fix a typo in range_entry_cmp (PR tree-optimization/61686)

2014-12-09 Thread Jakub Jelinek
On Wed, Dec 10, 2014 at 07:57:46AM +0100, Marek Polacek wrote: > I don't really know this code, but this typo looks obvious enough. > Using if (p->high != NULL_TREE) ... else if (p->high != NULL_TREE) > couldn't be possibly desired, so use Q in the else branch, as in > the code slightly above. > >

[PATCH] Fix a typo in range_entry_cmp (PR tree-optimization/61686)

2014-12-09 Thread Marek Polacek
I don't really know this code, but this typo looks obvious enough. Using if (p->high != NULL_TREE) ... else if (p->high != NULL_TREE) couldn't be possibly desired, so use Q in the else branch, as in the code slightly above. Bootstrapped/regtested on x86_64-linux and ppc64-linux, ok for trunk? 201

Re: [Patch] Fix a typo in Chinese msg

2014-05-02 Thread Joseph S. Myers
On Thu, 1 May 2014, Jeff Law wrote: > On 05/01/14 17:59, Joseph S. Myers wrote: > > On Thu, 24 Apr 2014, Tobias Burnus wrote: > > > > > Jeff, are you sure that this will not be overridden? I think the > > > translations > > > are always synced from http://translationproject.org/team/zh_CN.html ?

Re: [Patch] Fix a typo in Chinese msg

2014-05-01 Thread Jeff Law
On 05/01/14 17:59, Joseph S. Myers wrote: On Thu, 24 Apr 2014, Tobias Burnus wrote: Jeff, are you sure that this will not be overridden? I think the translations are always synced from http://translationproject.org/team/zh_CN.html ? Yes. This should be reverted; we shouldn't make any local c

Re: [Patch] Fix a typo in Chinese msg

2014-05-01 Thread Joseph S. Myers
On Thu, 24 Apr 2014, Tobias Burnus wrote: > Jeff, are you sure that this will not be overridden? I think the translations > are always synced from http://translationproject.org/team/zh_CN.html ? Yes. This should be reverted; we shouldn't make any local changes to these files. When there's a ne

Re: [Patch] Fix a typo in Chinese msg

2014-04-24 Thread Tobias Burnus
Jeff Law wrote: On 04/24/14 01:23, Jincheng Miao wrote: There is a minor typo in zh_CN.po, should change '-pic' to '-fpic'. Thanks for the patch Thanks. Applied to the trunk. Jeff, are you sure that this will not be overridden? I think the translations are always synced from http://tran

Re: [Patch] Fix a typo in Chinese msg

2014-04-24 Thread Jeff Law
On 04/24/14 01:23, Jincheng Miao wrote: There is a minor typo in zh_CN.po, should change '-pic' to '-fpic'. Best wishes, Jincheng Miao Thanks. Applied to the trunk. jeff

[Patch] Fix a typo in Chinese msg

2014-04-24 Thread Jincheng Miao
There is a minor typo in zh_CN.po, should change '-pic' to '-fpic'. Best wishes, Jincheng Miao Index: gcc/po/zh_CN.po === --- gcc/po/zh_CN.po (revision 209734) +++ gcc/po/zh_CN.po (working copy) @@ -24308,7 +24308,7 @@ msgstr "堆栈探针目前

Re: [PATCH] Fix a typo in sparseset_pop

2014-02-24 Thread Richard Biener
On Mon, Feb 24, 2014 at 6:52 AM, Carrot Wei wrote: > Hi > > The following patch fixes an obvious wrong index used to access the > dense array. The patch has passed the bootstrap and regression tests > on x86-64. > > OK for trunk? Ok. Thanks, Richard. > thanks > Carrot > > > 2014-02-23 Guozhi W

[PATCH] Fix a typo in sparseset_pop

2014-02-23 Thread Carrot Wei
Hi The following patch fixes an obvious wrong index used to access the dense array. The patch has passed the bootstrap and regression tests on x86-64. OK for trunk? thanks Carrot 2014-02-23 Guozhi Wei * sparseset.h (sparseset_pop): Fix the wrong index. Index: sparseset.h

PATCH: Fix a typo in comments in config/i386/i386.c

2013-06-18 Thread H.J. Lu
Hi, I checked in this patch to fix a typo in comments in config/i386/i386.c. H.J. --- Index: ChangeLog === --- ChangeLog (revision 200173) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2013-06-18 H.J. Lu + + * config/i3

Re: [PATCH] Fix a typo in gcov.texi

2012-09-27 Thread Jakub Jelinek
On Thu, Sep 27, 2012 at 11:59:38AM +0200, Marek Polacek wrote: > Instead of -profile-dir, we want -fprofile-dir, I'm afraid. Ok? > > 2012-09-27 Marek Polacek > > * doc/gcov.texi (Gcov Data Files): Fix a typo. Ok. --profile-dir=/tmp/ also works, but not -profile-dir=/tmp/. > --- gcc/d

[PATCH] Fix a typo in gcov.texi

2012-09-27 Thread Marek Polacek
Instead of -profile-dir, we want -fprofile-dir, I'm afraid. Ok? 2012-09-27 Marek Polacek * doc/gcov.texi (Gcov Data Files): Fix a typo. --- gcc/doc/gcov.texi.mp2012-09-27 11:55:45.658201583 +0200 +++ gcc/doc/gcov.texi 2012-09-27 11:56:05.335252754 +0200 @@ -555,7 +555,7 @@

Re: [PATCH] Fix a typo in i386 host_detect_local_cpu (PR target/49128)

2011-05-25 Thread H.J. Lu
On Wed, May 25, 2011 at 12:15 AM, Jakub Jelinek wrote: > Hi! > > Committed as obvious. > > 2011-05-25  Jakub Jelinek   > >        PR target/49128 >        * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. > > --- gcc/config/i386/driver-i386.c       (revision 174170) > +++ gcc/config

[PATCH] Fix a typo in i386 host_detect_local_cpu (PR target/49128)

2011-05-25 Thread Jakub Jelinek
Hi! Committed as obvious. 2011-05-25 Jakub Jelinek PR target/49128 * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. --- gcc/config/i386/driver-i386.c (revision 174170) +++ gcc/config/i386/driver-i386.c (revision 174171) @@ -696,7 +696,7 @@ const ch