Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Martin Liška
On 07/18/2018 04:29 PM, Matthias Klose wrote: > On 18.07.2018 14:49, Joel Sherrill wrote: >> On Wed, Jul 18, 2018, 7:15 AM Jonathan Wakely wrote: >> >>> On Wed, 18 Jul 2018 at 13:06, Eric S. Raymond wrote: Jonathan Wakely : > On Wed, 18 Jul 2018 at 11:56, David Malcolm wrote: >>

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Matthias Klose
On 19.07.2018 22:20, Karsten Merker wrote: > David Malcolm wrote: >> On Tue, 2018-07-17 at 14:49 +0200, Martin Liška wrote: >>> I've recently touched AWK option generate machinery and it's >>> quite unpleasant to make any adjustments. My question is >>> simple: can we starting using a scripting la

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Martin Liška
On 07/19/2018 04:47 PM, Jeff Law wrote: > On 07/18/2018 03:28 PM, Segher Boessenkool wrote: >> On Wed, Jul 18, 2018 at 11:51:36AM +0200, Richard Biener wrote: >>> We already conditionally require Perl for building for some targets so I >>> wonder >>> if using perl would be better ... >> >> At leas

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Martin Liška
On 07/19/2018 10:20 PM, Karsten Merker wrote: > David Malcolm wrote: >> On Tue, 2018-07-17 at 14:49 +0200, Martin Liška wrote: >>> I've recently touched AWK option generate machinery and it's >>> quite unpleasant to make any adjustments. My question is >>> simple: can we starting using a scripting

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Martin Liška
On 07/18/2018 08:03 PM, Matthias Klose wrote: > On 18.07.2018 19:29, Paul Koning wrote: >> >> >>> On Jul 18, 2018, at 1:22 PM, Boris Kolpackov >>> wrote: >>> >>> Paul Koning writes: >>> > On Jul 18, 2018, at 11:13 AM, Boris Kolpackov > wrote: > > I wonder what will be the expec

TREE_USED and DECL_READ_P

2018-07-20 Thread 冠人 王 via gcc
GCC Edition:7.3.0 I find in source code/gcc/c/c-decl.c ,  Line 1265 to 1281 decides what situation leads to warnings for unused variables I am confused about line 1266: I think only the DECL_READ_P is enough for program to  decides the warning for unused variables, so I can elmiminate " !TREE_USED(

O2 Agressive Optimisation by GCC

2018-07-20 Thread Umesh Kalappa
Hi All , We are looking at the C sample i.e extern int i,j; int test() { while(1) { i++; j=20; } return 0; } command used :(gcc 8.1.0) gcc -S test.c -O2 the generated asm for x86 .L2: jmp .L2 we understand that,the infinite loop is not deterministic ,compiler is fr

Re: O2 Agressive Optimisation by GCC

2018-07-20 Thread Jakub Jelinek
On Fri, Jul 20, 2018 at 05:49:12PM +0530, Umesh Kalappa wrote: > We are looking at the C sample i.e > > extern int i,j; > > int test() > { > while(1) > { i++; > j=20; > } > return 0; > } > > command used :(gcc 8.1.0) > gcc -S test.c -O2 > > the generated asm for x86 > > .L2: >

Re: GCC 8.2 Release Candidate available from gcc.gnu.org

2018-07-20 Thread Bill Seurer
On 07/19/18 07:28, Richard Biener wrote: A release candidate for GCC 8.2 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/8.2.0-RC-20180719/ and shortly its mirrors. It has been generated from SVN revision 262876. I have so far bootstrapped and tested the release candidate on x86_64-u

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Segher Boessenkool
On Fri, Jul 20, 2018 at 11:49:05AM +0200, Martin Liška wrote: > Fully agree with that. Coming up with a new scripts written in python2 really > makes no sense. Then python cannot be a build requirement for GCC, since some of our primary targets do not ship python3. Segher

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Paul Koning
> On Jul 20, 2018, at 12:37 PM, Segher Boessenkool > wrote: > > On Fri, Jul 20, 2018 at 11:49:05AM +0200, Martin Liška wrote: >> Fully agree with that. Coming up with a new scripts written in python2 really >> makes no sense. > > Then python cannot be a build requirement for GCC, since some

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Segher Boessenkool
On Fri, Jul 20, 2018 at 12:54:36PM -0400, Paul Koning wrote: > > > > On Jul 20, 2018, at 12:37 PM, Segher Boessenkool > > wrote: > > > > On Fri, Jul 20, 2018 at 11:49:05AM +0200, Martin Liška wrote: > >> Fully agree with that. Coming up with a new scripts written in python2 > >> really > >> m

Re: O2 Agressive Optimisation by GCC

2018-07-20 Thread Martin Sebor
On 07/20/2018 06:19 AM, Umesh Kalappa wrote: Hi All , We are looking at the C sample i.e extern int i,j; int test() { while(1) { i++; j=20; } return 0; } command used :(gcc 8.1.0) gcc -S test.c -O2 the generated asm for x86 .L2: jmp .L2 we understand that,the infi

Re: O2 Agressive Optimisation by GCC

2018-07-20 Thread Richard Biener
On July 20, 2018 7:59:10 PM GMT+02:00, Martin Sebor wrote: >On 07/20/2018 06:19 AM, Umesh Kalappa wrote: >> Hi All , >> >> We are looking at the C sample i.e >> >> extern int i,j; >> >> int test() >> { >> while(1) >> { i++; >> j=20; >> } >> return 0; >> } >> >> command used :(gcc 8.1

RE: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Konovalov, Vadim
> From: Segher Boessenkool > On Fri, Jul 20, 2018 at 12:54:36PM -0400, Paul Koning wrote: > > >> Fully agree with that. Coming up with a new scripts written in python2 > > >> really > > >> makes no sense. > > > > > > Then python cannot be a build requirement for GCC, since some of our > > > prima

Re: O2 Agressive Optimisation by GCC

2018-07-20 Thread Martin Sebor
On 07/20/2018 12:17 PM, Richard Biener wrote: On July 20, 2018 7:59:10 PM GMT+02:00, Martin Sebor wrote: On 07/20/2018 06:19 AM, Umesh Kalappa wrote: Hi All , We are looking at the C sample i.e extern int i,j; int test() { while(1) { i++; j=20; } return 0; } command used :(gc

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Matthias Klose
On 20.07.2018 20:53, Konovalov, Vadim wrote: >> From: Segher Boessenkool >> On Fri, Jul 20, 2018 at 12:54:36PM -0400, Paul Koning wrote: > Fully agree with that. Coming up with a new scripts written in python2 > really > makes no sense. Then python cannot be a build requireme

RE: [RFC] Adding Python as a possible language and it's usage

2018-07-20 Thread Konovalov, Vadim
> From: Matthias Klose > To: Konovalov, Vadim; Segher Boessenkool; > On 20.07.2018 20:53, Konovalov, Vadim wrote: > > Sometimes those are not behind, those could have no python for other > > reasons - > > maybe those are too forward? They just don't have python yet? > > > >>> it is straightforw

Re: ChangeLog's: do we have to?

2018-07-20 Thread Joseph Myers
As far as I am concerned, the problem with ChangeLogs is one with the format rather than one with having files called ChangeLog. (The GNU Coding Standards have permitted automatic generation of ChangeLog at release time from version control information since 1996.) The main issues I see with t

Re: ChangeLog's: do we have to?

2018-07-20 Thread Joseph Myers
On Thu, 5 Jul 2018, Aldy Hernandez wrote: > However, even if you could "git log --grep" the commit messages, I assume your > current use is grepping for function names and such, right? Being able to grep > a commit message won't solve that problem, or am I missing something? If you know what func

Re: gcc-gnat for Linux/MIPS-32bit-be, and HPPA2

2018-07-20 Thread Florian Weimer
* Jeff Law: > On 07/19/2018 02:19 PM, Carlo Pisani wrote: >> hi >> is there any chance someone has a working gcc-ada compiler? for >> - Linux/MIPS (big endian, MIPS3, MIPS4 or MIPS32) >> - Linux/HPPA2 >> >> I have successfully compiled gcc-ada for SGI_IRIX (MIPS4/BE) >> but ... every attempt to c

Re: Good news, bad news on the repository conversion

2018-07-20 Thread Joseph Myers
I don't see any commits at git://thyrsus.com/repositories/gcc-conversion.git since January. Are there further changes that haven't been pushed there? (For example, I sent a few additions to the author map on 13 Feb.) -- Joseph S. Myers jos...@codesourcery.com

Re: Repo conversion troubles.

2018-07-20 Thread Joseph Myers
On Mon, 9 Jul 2018, Eric S. Raymond wrote: > Richard Biener : > > 12 hours from remote I guess? The subversion repository is available > > through rsync so you can create a local mirror to work from (we've been > > doing that at suse for years) > > I'm saying I see rsync plus local checkout ta

Re: Repo conversion troubles.

2018-07-20 Thread Joseph Myers
On Mon, 9 Jul 2018, Alexandre Oliva wrote: > On Jul 9, 2018, Jeff Law wrote: > > > On 07/09/2018 01:57 PM, Eric S. Raymond wrote: > >> Jeff Law : > >>> I'm not aware of any such merges, but any that occurred most likely > >>> happened after mid-April when the trunk was re-opened for development

Re: Repo conversion troubles.

2018-07-20 Thread Joseph Myers
On Tue, 10 Jul 2018, Jonathan Wakely wrote: > > Large-scale, I'm afraid. The context diff is about a GLOC. > > I don't see how that's possible. Most of those files are tiny, or > change very rarely, so I don't see how that large a diff can happen. Concretely, the *complete GCC source tree* (tru

Re: O2 Agressive Optimisation by GCC

2018-07-20 Thread Allan Sandfeld Jensen
On Freitag, 20. Juli 2018 14:19:12 CEST Umesh Kalappa wrote: > Hi All , > > We are looking at the C sample i.e > > extern int i,j; > > int test() > { > while(1) > { i++; > j=20; > } > return 0; > } > > command used :(gcc 8.1.0) > gcc -S test.c -O2 > > the generated asm for x86 >

Re: O2 Agressive Optimisation by GCC

2018-07-20 Thread Jonathan Wakely
On Fri, 20 Jul 2018 at 23:06, Allan Sandfeld Jensen wrote: > > On Freitag, 20. Juli 2018 14:19:12 CEST Umesh Kalappa wrote: > > Hi All , > > > > We are looking at the C sample i.e > > > > extern int i,j; > > > > int test() > > { > > while(1) > > { i++; > > j=20; > > } > > return 0; >

Re: O2 Agressive Optimisation by GCC

2018-07-20 Thread Allan Sandfeld Jensen
On Samstag, 21. Juli 2018 00:21:48 CEST Jonathan Wakely wrote: > On Fri, 20 Jul 2018 at 23:06, Allan Sandfeld Jensen wrote: > > On Freitag, 20. Juli 2018 14:19:12 CEST Umesh Kalappa wrote: > > > Hi All , > > > > > > We are looking at the C sample i.e > > > > > > extern int i,j; > > > > > > int t

Re: Repo conversion troubles.

2018-07-20 Thread Eric S. Raymond
Joseph Myers : > On Mon, 9 Jul 2018, Eric S. Raymond wrote: > > > Richard Biener : > > > 12 hours from remote I guess? The subversion repository is available > > > through rsync so you can create a local mirror to work from (we've been > > > doing that at suse for years) > > > > I'm saying I s

Re: Good news, bad news on the repository conversion

2018-07-20 Thread Eric S. Raymond
Joseph Myers : > I don't see any commits at > git://thyrsus.com/repositories/gcc-conversion.git since January. Are > there further changes that haven't been pushed there? (For example, I > sent a few additions to the author map on 13 Feb.) Yes, that copy is rather stale. I need toi do some an

Re: Repo conversion troubles.

2018-07-20 Thread Eric S. Raymond
Joseph Myers : > On Mon, 9 Jul 2018, Alexandre Oliva wrote: > > > On Jul 9, 2018, Jeff Law wrote: > > > > > On 07/09/2018 01:57 PM, Eric S. Raymond wrote: > > >> Jeff Law : > > >>> I'm not aware of any such merges, but any that occurred most likely > > >>> happened after mid-April when the trun

That light at the end of the tunnel?

2018-07-20 Thread Eric S. Raymond
That light at the end of the tunnel turned out to be an oncoming train. Until recently I thought the conversion was near finished. I'd had verified clean conversions across trunk and all branches, except for one screwed-up branch that the management agreed we could discard. I had some minor issue