[PATCH] Recognize '-' as special -MF argument (write to stdout)

2017-05-15 Thread Boris Kolpackov
Hi, Sometimes it is useful to generate pre-processed output to a file and the dependency information to stdout for further analysis/processing. For example: g++ -E -MD -fdirectives-only -o test.ii test.cxx This will generate the dependency information to test.d (as per the documentation). While

Re: dejagnu version update?

2017-05-15 Thread Richard Biener
On Mon, May 15, 2017 at 12:09 AM, NightStrike wrote: > On Sat, May 13, 2017 at 4:39 PM, Jeff Law wrote: >> On 05/13/2017 04:38 AM, Jakub Jelinek wrote: >>> >>> On Sat, May 13, 2017 at 12:24:12PM +0200, Bernhard Reutner-Fischer wrote: I guess neither redhat (https://access.redhat.co

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-15 Thread Vincent Lefevre
On 2017-05-12 15:59:44 -0500, Daniel Santos wrote: > [...] But from a conceptual standpoint, I believe the term > "constant-expression" would be incorrect because the C standard > defines this constraint: (6.6.3 of C11) "Constant expressions shall > not contain assignment, increment, decrement, fun

Help with rich_location and GIMPLE stmts

2017-05-15 Thread Martin Liška
Hi. I sent this email to David some time ago, but it should be probably answered on gcc mailing list. I have idea one to improve gcov tool and I'm interested in more precise locations for gimple statements. For gcov purpose, we dump location in ipa-profile pass, which is an early IPA pass and t

Transformation of contrib/check_GNU_style.sh to a python script

2017-05-15 Thread Martin Liška
Hello. Recently I've been working on bigger changes to dump infrastructure and I had to fix tens of formatting issues reported by check_GNU_style.sh script. The script works quite fine, but it's very unpleasant that it reports problematic lines in the patch, not in original patches. I decided to

Re: Transformation of contrib/check_GNU_style.sh to a python script

2017-05-15 Thread Martin Liška
Sorry, wrong file. Martin #!/usr/bin/env python3 import sys import re from unidiff import PatchSet def report_error(filename, line_no, error): print('%s:%d:%s' % (filename, line_no, error)) def validate(filename, line_no, line): # 1: validate line length line_expanded = line.replac

Re: Transformation of contrib/check_GNU_style.sh to a python script

2017-05-15 Thread Tom de Vries
On 05/15/2017 03:55 PM, Martin Liška wrote: ... check_GNU_style.sh script. The script works quite fine, but it's very unpleasant that it reports problematic lines in the patch, not in original patches. Agreed. I decided to substitute part of functionality by Python script that uses a library

Re: dejagnu version update?

2017-05-15 Thread Martin Jambor
Hi, On Wed, Sep 16, 2015 at 01:25:18PM -0400, Trevor Saunders wrote: > On Wed, Sep 16, 2015 at 10:36:47AM -0600, Jeff Law wrote: > > ... > > I'd rather just move to 1.5 and get on with things. If some systems don't > > have a new enough version, I'm comfortable telling developers on those > > p

Re: Duplicating loops and virtual phis

2017-05-15 Thread Steve Ellcey
On Sat, 2017-05-13 at 08:18 +0200, Richard Biener wrote: > On May 12, 2017 10:42:34 PM GMT+02:00, Steve Ellcey om> wrote: > > > > (Short version of this email, is there a way to recalculate/rebuild > > virtual > > phi nodes after modifying the CFG.) > > > > I have a question about duplicating lo

Re: dejagnu version update?

2017-05-15 Thread Pedro Alves
On 05/15/2017 04:54 PM, Martin Jambor wrote: > Hi, > > On Wed, Sep 16, 2015 at 01:25:18PM -0400, Trevor Saunders wrote: >> On Wed, Sep 16, 2015 at 10:36:47AM -0600, Jeff Law wrote: >>> > > ... > >>> I'd rather just move to 1.5 and get on with things. If some systems don't >>> have a new enough

Re: Duplicating loops and virtual phis

2017-05-15 Thread Richard Biener
On May 15, 2017 6:56:53 PM GMT+02:00, Steve Ellcey wrote: >On Sat, 2017-05-13 at 08:18 +0200, Richard Biener wrote: >> On May 12, 2017 10:42:34 PM GMT+02:00, Steve Ellcey > om> wrote: >> > >> > (Short version of this email, is there a way to recalculate/rebuild >> > virtual >> > phi nodes after m

Re: dejagnu version update?

2017-05-15 Thread Mike Stump
On May 15, 2017, at 1:06 AM, Richard Biener wrote: > > Both SLE-11 and SLE-12 use dejagnu 1.4.4, so does openSUSE Leap 42.[12]. > Tumbleweed uses 1.6 so new SLE will inherit that. But I still do all > of my testing on systems with just dejagnu 1.4.4. So dejagnu is independent of most things and

Re: Transformation of contrib/check_GNU_style.sh to a python script

2017-05-15 Thread Florian Weimer
* Martin Liška: > validate(pfile.target_file.lstrip('b/'), line.target_line_no, > line.value) Violates line length constraint. :) My own egrep script also checks for/switch/if/while/do on the same line as "{", and "(" not preceded by whitespace (currently has false positves with

Re: Ada gcc compiler for ia64-hp-openvms

2017-05-15 Thread David SAUVAGE - AdaLabs Ltd
On 04/29/2017 06:31 PM, David SAUVAGE - AdaLabs Ltd wrote: > On 04/28/2017 06:47 PM, David Edelsohn wrote: >> On Thu, Apr 27, 2017 at 10:55 AM, David SAUVAGE - AdaLabs Ltd >> wrote: >>> Dear GCC Steering Committee, >>> >>> I am David, founder of AdaLabs Ltd, a software engineering startup >>> havi

Re: Ada gcc compiler for ia64-hp-openvms

2017-05-15 Thread David Edelsohn
On Mon, May 15, 2017 at 12:54 PM, David SAUVAGE - AdaLabs Ltd wrote: > On 04/29/2017 06:31 PM, David SAUVAGE - AdaLabs Ltd wrote: >> On 04/28/2017 06:47 PM, David Edelsohn wrote: >>> On Thu, Apr 27, 2017 at 10:55 AM, David SAUVAGE - AdaLabs Ltd >>> wrote: Dear GCC Steering Committee, >>

Re: Transformation of contrib/check_GNU_style.sh to a python script

2017-05-15 Thread Martin Sebor
On 05/15/2017 07:55 AM, Martin Liška wrote: Hello. Recently I've been working on bigger changes to dump infrastructure and I had to fix tens of formatting issues reported by check_GNU_style.sh script. The script works quite fine, but it's very unpleasant that it reports problematic lines in the

Re: dejagnu version update?

2017-05-15 Thread Andreas Schwab
On Mai 15 2017, Mike Stump wrote: > That said, a little surprising that SLE is lagging everyone else so > hard. DejaGnu doesn't exactly have frequent releases. Missing just one release can easily put you more than 5 years behind. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fing