Re: ICE in gcc.dg/pr77834.c test for MIPS

2017-02-23 Thread Segher Boessenkool
On Thu, Feb 23, 2017 at 10:43:36PM +, Matthew Fortune wrote: > This is an ICE that will be reproducible on a primary target so is still > appropriate to pursue in stage4 as far as I understand. I'm hoping to > find time to work with Toma on this issue. Ah. Is there a PR for it yet? Please o

RE: ICE in gcc.dg/pr77834.c test for MIPS

2017-02-23 Thread Matthew Fortune
Segher Boessenkool writes: > On Thu, Feb 23, 2017 at 04:27:26PM +, Toma Tabacu wrote: > > > This happens when you have inserted code ending in a jump on an > edge. > > > This then will need updating of the CFG, and this code does not know > > > how to do that. > > > > Would the following be an

gcc-6-20170223 is now available

2017-02-23 Thread gccadmin
Snapshot gcc-6-20170223 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20170223/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-6

Re: ICE in gcc.dg/pr77834.c test for MIPS

2017-02-23 Thread Segher Boessenkool
Hi Toma, On Thu, Feb 23, 2017 at 04:27:26PM +, Toma Tabacu wrote: > > This happens when you have inserted code ending in a jump on an edge. > > This then will need updating of the CFG, and this code does not know > > how to do that. > > Would the following be an appropriate solution ? [ snip

RE: ICE in gcc.dg/pr77834.c test for MIPS

2017-02-23 Thread Toma Tabacu
Hi Segher, Thank you for replying. > From: Segher Boessenkool > > This happens when you have inserted code ending in a jump on an edge. > This then will need updating of the CFG, and this code does not know > how to do that. > Would the following be an appropriate solution ? diff --git a/gcc/

Re: New GCC 7 -Wformat-truncation suppressed by (and only by) -Og?

2017-02-23 Thread Stephan Bergmann
On 02/23/2017 05:02 PM, Martin Sebor wrote: On 02/23/2017 06:51 AM, Stephan Bergmann wrote: At least with a recent GCC 7 trunk build ("gcc (GCC) 7.0.1 20170221 (experimental)"), I noticed that -Wformat-truncation warnings happen to not be emitted if and only if -Og is given: That's unfortunate

Re: New GCC 7 -Wformat-truncation suppressed by (and only by) -Og?

2017-02-23 Thread Martin Sebor
On 02/23/2017 06:51 AM, Stephan Bergmann wrote: At least with a recent GCC 7 trunk build ("gcc (GCC) 7.0.1 20170221 (experimental)"), I noticed that -Wformat-truncation warnings happen to not be emitted if and only if -Og is given: That's unfortunately a bug. The warning runs at different stag

Re: New GCC 7 -Wformat-truncation suppressed by (and only by) -Og?

2017-02-23 Thread Stephan Bergmann
On 02/23/2017 02:51 PM, Stephan Bergmann wrote: At least with a recent GCC 7 trunk build ("gcc (GCC) 7.0.1 20170221 (experimental)"), I noticed that -Wformat-truncation warnings happen to not be emitted if and only if -Og is given: $ cat test.c #include int main() { char buf[3]; snprin

New GCC 7 -Wformat-truncation suppressed by (and only by) -Og?

2017-02-23 Thread Stephan Bergmann
At least with a recent GCC 7 trunk build ("gcc (GCC) 7.0.1 20170221 (experimental)"), I noticed that -Wformat-truncation warnings happen to not be emitted if and only if -Og is given: $ cat test.c #include int main() { char buf[3]; snprintf(buf, sizeof buf, "%s", "foo"); return 0;

Re: Obsolete powerpc*-*-*spe*

2017-02-23 Thread Arnaud Charlet
> > There are three main areas that require attention: > > > > 1) Regular builds of the SPE configuration and regular GCC testsuite > > runs that are reported to the gcc-testsuite mailing list. > > > > 2) Timely reports of any regressions. > > > > 3) An active GCC developer who is the point of c

Re: Obsolete powerpc*-*-*spe*

2017-02-23 Thread Olivier Hainque
> On 21 Feb 2017, at 17:14, David Edelsohn wrote: > > Hi, Olivier > > There are three main areas that require attention: > > 1) Regular builds of the SPE configuration and regular GCC testsuite > runs that are reported to the gcc-testsuite mailing list. > > 2) Timely reports of any regression