Re: dejagnu version update?

2020-05-13 Thread Christophe Lyon via Gcc
On Wed, 13 May 2020 at 19:44, Jonathan Wakely via Gcc wrote: > > On Wed, 13 May 2020 at 18:19, Mike Stump via Gcc wrote: > > > > I've changed the subject to match the 2015, 2017 and 2018 email threads. > > > > On May 13, 2020, at 3:26 AM, Thomas Schwinge > > wrote: > > > > > > Comparing DejaGnu

Re: how to find variable related to a virtual ssa name

2020-05-13 Thread 易会战 via Gcc
There are some other cases that I cannot get right answer. case1: interproceduure  func(int*arg) { return arg[0] + arg[1] } func2() { int a[10] return func(a); } here func cannot tell arg is local var. case 2:  global array point to local int *array[3] int func(int x) { int sub1[10]; int sub2[10]

Re: how to find variable related to a virtual ssa name

2020-05-13 Thread 易会战 via Gcc
Thanks, I patch a version, it can give a heap variable info. Now the curious is the patch version cannot give right answer for variable length array. for example, int func(int m, int n) { int array[m][n]; ... } here array is allocated by alloca, obviously a local variable. But the original version

Re: dejagnu version update?

2020-05-13 Thread Maciej W. Rozycki via Gcc
On Wed, 13 May 2020, Rainer Orth wrote: > > I'm in favour of requiring 1.5.3 or later, so 1.6 would be OK for me. > > If we go beyond 1.5.x, we need to go all the way up to 1.6.2: 1.6 and > 1.6.1 have an ugly bug that can miss timeouts, causing tests to hang > indefinitely until one manually kill

Re: dejagnu version update?

2020-05-13 Thread Rainer Orth
Jonathan Wakely via Gcc writes: >> I had previously approved the update to 1.5.3, but no one really wanted >> it as no one updated the requirement. Let's have the 1.6 discussion. >> I'm not only inclined to up to 1.6, but to actually edit it in this time. > > Would the tests actually refuse to r

Re: dejagnu version update?

2020-05-13 Thread Rob Savoye
On 5/13/20 10:51 AM, Mike Stump wrote: > So, now that ubuntu 20.04 is out and RHEL 8 is out, and they both > contain 6, and SLES has 6 and since we've been sitting at 1.4.4 for > so long, anyone want to not update dejagnu to require 1.6? We do still find and fix bugs occasionally. :-) And 1.4.4

Re: ChangeLog files - server and client scripts

2020-05-13 Thread Joseph Myers
On Wed, 13 May 2020, Martin Liška wrote: > I'm sending the gcc-changelog relates scripts which should be added to contrib > folder. The patch contains: > - git_check_commit.py - checking script that verifies git message format We need a documentation patch to contribute.html or gitwrite.html that

Re: dejagnu version update?

2020-05-13 Thread Jonathan Wakely via Gcc
On Wed, 13 May 2020 at 18:19, Mike Stump via Gcc wrote: > > I've changed the subject to match the 2015, 2017 and 2018 email threads. > > On May 13, 2020, at 3:26 AM, Thomas Schwinge wrote: > > > > Comparing DejaGnu/GCC testsuite '*.sum' files between two systems ("old" > > vs. "new") that ought t

Re: back to cvs, cool

2020-05-13 Thread Ian Lance Taylor via Gcc
On Wed, May 13, 2020 at 9:56 AM Mike Stump via Gcc wrote: > > As seen in recent bug report: > > CVS Commits 2020-05-12 20:40:40 UTC > > I guess that git thing was a bust and we're back to using cvs now. At least > Ian did up the remote patches to make cvs work better. In fairness, I worked on

back to cvs, cool

2020-05-13 Thread Mike Stump via Gcc
As seen in recent bug report: CVS Commits 2020-05-12 20:40:40 UTC I guess that git thing was a bust and we're back to using cvs now. At least Ian did up the remote patches to make cvs work better.

dejagnu version update?

2020-05-13 Thread Mike Stump via Gcc
I've changed the subject to match the 2015, 2017 and 2018 email threads. On May 13, 2020, at 3:26 AM, Thomas Schwinge wrote: > > Comparing DejaGnu/GCC testsuite '*.sum' files between two systems ("old" > vs. "new") that ought to return identical results, I found that they > didn't: > I have not

C-Vise: speed?

2020-05-13 Thread Martin Liška
Hello. I've made some measurements for GCC PRs that I've reduced recently: - PR92516 - C++ - 6.5MB C-Reduce: 77 minutes C-Vise: 35 minutes - PR94523 - C++ - 2.1MB C-Reduce: 33 minutes C-Vise: 15 minutes - PR94632 - C++ - 3.3MB C-Reduce: 28 minutes C-Vise: 20 minutes - PR94937 - C+

Re: ChangeLog files - server and client scripts

2020-05-13 Thread Martin Liška
On 5/13/20 3:24 PM, Richard Earnshaw wrote: I've just realized this doesn't give us an easy way to mark changes for the root-level ChangeLog file, unless, perhaps "@@ CL ." works? This works fine: 'ChangeLog:' as seen for instance here: commit 9ad3c1d81c129fc76594b9df5b798c380cbf03ee Author:

Re: ChangeLog files - server and client scripts

2020-05-13 Thread Richard Earnshaw
On 13/05/2020 12:05, Martin Liška wrote: > Hi. > > I'm sending the gcc-changelog relates scripts which should be added to > contrib > folder. The patch contains: > - git_check_commit.py - checking script that verifies git message format > - git_update_version.py - a replacement of > maintainer-scr

Re: [RFC] Closing of all remaining Bugzilla PRs against powerpcspe

2020-05-13 Thread Maciej W. Rozycki
On Wed, 13 May 2020, Segher Boessenkool wrote: > > > I think that the e200 support was never contributed upstream. > > > > Or rather, it wasn't accepted. Cf. > > , > >

Re: ChangeLog files - server and client scripts

2020-05-13 Thread Martin Liška
The scripts were just installed to master except the git alias. I'm sending that in a separate patch. Now the alias can be used from any subfolder in a gcc git repository. Martin >From eb47191e8d8cbbda285c4df7eb2d1e98091edab9 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 13 May 2020 14:

ChangeLog files - server and client scripts (git cherry-pick)

2020-05-13 Thread Martin Liška
On 5/13/20 1:05 PM, Martin Liška wrote: I suggest to use native 'git revert XYZ' and 'git cherry-pick -x XYZ'. I've prepared a working version of Revert format: https://github.com/marxin/gcc-changelog/tree/cherry-pick So using git cherry-pick -x HASH one gets something like: $ cat patches-art

Re: how to find variable related to a virtual ssa name

2020-05-13 Thread Richard Biener via Gcc
On Wed, May 13, 2020 at 11:38 AM 易会战 wrote: > > now I am working on gcc-9.3, can you give the specific code location to check > not escaped heap? I try to add a flag. set_uids_in_ptset > ---Original--- > From: "Richard Biener" > Date: Wed, May 13, 2020 17:28 PM > To: "易会战"; > Cc: "gcc"; > Subje

ChangeLog files - server and client scripts

2020-05-13 Thread Martin Liška
Hi. I'm sending the gcc-changelog relates scripts which should be added to contrib folder. The patch contains: - git_check_commit.py - checking script that verifies git message format - git_update_version.py - a replacement of maintainer-scripts/update_version_git which bumps DATESTAMP and gener

Re: [RFC] Closing of all remaining Bugzilla PRs against powerpcspe

2020-05-13 Thread Segher Boessenkool
On Wed, May 13, 2020 at 01:42:37AM +0100, Maciej W. Rozycki wrote: > On Sat, 9 May 2020, Eric Botcazou wrote: > > > > Strangely, I failed to find any PR for e200, so maybe some unnoticed ones > > > are still lying around. > > > > I think that the e200 support was never contributed upstream. > >

DejaGnu/GCC testsuite behavior regarding multiple 'dg-do'

2020-05-13 Thread Thomas Schwinge
Hi! Comparing DejaGnu/GCC testsuite '*.sum' files between two systems ("old" vs. "new") that ought to return identical results, I found that they didn't: @@ -75032,6 +75023,7 @@ PASS: g++.dg/expr/bitfield4.C -std=c++98 (test for excess errors) PASS: g++.dg/expr/bitfield5.C -std=c++14

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Richard Earnshaw
On 12/05/2020 10:05, Martin Liška wrote: > Hi. > > Thanks to Jakub, we finally set up an experimental environment: > gcc.gnu.org/home/gccadmin/gcc-reposurgeon-8.git > > The repository now contains a new pre-commit hook that validates > the git commit format ([1]) and provides a reasonable error m

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Martin Liška
On 5/13/20 11:50 AM, Jozef Lawrynowicz wrote: "git_changelog.py" is nowhere to be found in the gcc-changelog or gcc-reposurgeon-8 repos. Is it equivalent to any of the other scripts in gcc-changelog? Yes, I made some refactoring and I'm going to send a proper gcc-patches submission. The script

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Martin Liška
On 5/13/20 11:29 AM, Richard Biener wrote: Hmm, it's OK in the commit but it should be omitted in the ChangeLog files. No, ChangeLog file identification should not be prepended with a tab. "testsuite/" will work. Martin

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Jozef Lawrynowicz
Hi, On Tue, 12 May 2020 11:05:58 +0200 Martin Liška wrote: > Hi. > > Thanks to Jakub, we finally set up an experimental environment: > gcc.gnu.org/home/gccadmin/gcc-reposurgeon-8.git > > The repository now contains a new pre-commit hook that validates > the git commit format ([1]) and provides

Re: how to find variable related to a virtual ssa name

2020-05-13 Thread 易会战 via Gcc
now I am working on gcc-9.3, can you give the specific code location to check not escaped heap? I try to add a flag. ---Original--- From: "Richard Biener"

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Richard Biener via Gcc
On Wed, May 13, 2020 at 11:27 AM Martin Liška wrote: > > On 5/13/20 10:16 AM, Richard Sandiford wrote: > > As far as this particular example goes, shouldn't the "testsuite/" line > > be dropped from the above? > > Good point. Fixes now with: > > $ ./git_email.py > patches/0020-IPA-Avoid-segfault-

Re: how to find variable related to a virtual ssa name

2020-05-13 Thread Richard Biener via Gcc
On Wed, May 13, 2020 at 11:08 AM 易会战 wrote: > > yes, it does not escape the function, but indeed allocate memory on heap. > There is much specific method to judge the memory on heap although not escape > the function? Not at the moment. The info is computed by tree-ssa-structalias.c in compute

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Thomas Koenig via Gcc
Hi Martin, Thanks to Jakub, we finally set up an experimental environment: gcc.gnu.org/home/gccadmin/gcc-reposurgeon-8.git How does one go about testing this? It would be helpful if you could explain this assuming that the Fortran people have at best an extremely shallow knowledge of git and

Re: how to find variable related to a virtual ssa name

2020-05-13 Thread 易会战 via Gcc
Which pass computes the points-to info, maybe There are some details? Do you know it? ---Original--- From: "Richard Biener"

Re: size of exception handling (Was: performance of exception handling)

2020-05-13 Thread Jonathan Wakely via Gcc
On Tue, 12 May 2020, 10:15 Oleg Endo, wrote: > > On Tue, 2020-05-12 at 09:20 +0200, Freddie Chopin wrote: > > > > I actually have to build my own toolchain instead of the one provided > > by ARM, because to really NOT use C++ exceptions, you have to recompile > > the whole libstdc++ with `-fno-exc

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Martin Liška
On 5/13/20 10:16 AM, Richard Sandiford wrote: As far as this particular example goes, shouldn't the "testsuite/" line be dropped from the above? Good point. Fixes now with: $ ./git_email.py patches/0020-IPA-Avoid-segfault-in-devirtualization_time_bonus-PR.patch Errors: first line should start

Re: Automatically generated ChangeLog files - PHASE 1

2020-05-13 Thread Richard Sandiford
Martin Liška writes: > Hi. > > Thanks to Jakub, we finally set up an experimental environment: > gcc.gnu.org/home/gccadmin/gcc-reposurgeon-8.git > > The repository now contains a new pre-commit hook that validates > the git commit format ([1]) and provides a reasonable error message > when violate

Re: size of exception handling (Was: performance of exception handling)

2020-05-13 Thread David Brown
On 13/05/2020 00:48, Jonathan Wakely via Gcc wrote: On Tue, 12 May 2020 at 23:39, Jonathan Wakely wrote: On Tue, 12 May 2020, 21:57 Freddie Chopin, wrote: Anyway... If you have to recompile the toolchain, the problem is still there. Most of the people (like 99,666%) will not do that for variou

Re: how to find variable related to a virtual ssa name

2020-05-13 Thread Richard Biener via Gcc
On Wed, May 13, 2020 at 6:03 AM 易会战 wrote: > > It seems the function ptr_deref_may_alias_global_p cannot give right result. > For example, > int func(int size, int i) > { > int * sum; > sum = malloc() > here some code access sum pointing to memory > return sum[i] > } > ptr_deref_may_alias_glob