Re: [C++ Patch] PR 71464 ("[6/7/8 Regression] ICE on invalid code (with redeclared constructor) at -Os: Segmentation fault")

2018-03-03 Thread Paolo Carlini
Hi, On 03/03/2018 06:13, Jason Merrill wrote: On Fri, Mar 2, 2018 at 4:02 PM, Paolo Carlini wrote: this error recovery ICE happens only with -Os and is just a P5 - on the other hand I would argue the reproducer isn't that exotic! - but seems fixable easily and safely: cdtor_comdat_group immedi

[PATCH] libiberty: fix memory usage explosion for invalid templates (PR demangler/84668)

2018-03-03 Thread David Malcolm
PR demangler/84668 reports this failure of c++filt (found by fuzzing): $ c++filt '__H5z55_H5z555' c++filt: out of memory allocating 18446744071696285694 bytes after a total of 135168 bytes internal_cplus_demangle handles the "H5" as a template with 5 arguments

Re: [C++ Patch] PR 71464 ("[6/7/8 Regression] ICE on invalid code (with redeclared constructor) at -Os: Segmentation fault")

2018-03-03 Thread Jason Merrill
OK. On Sat, Mar 3, 2018 at 4:50 AM, Paolo Carlini wrote: > Hi, > > On 03/03/2018 06:13, Jason Merrill wrote: >> >> On Fri, Mar 2, 2018 at 4:02 PM, Paolo Carlini >> wrote: >>> >>> this error recovery ICE happens only with -Os and is just a P5 - on the >>> other hand I would argue the reproducer i

Backports to gcc-7-branch

2018-03-03 Thread Jakub Jelinek
Hi! I've backported these 42 commits (one is actually combined from two) from trunk to 7.x branch, bootstrapped/regtested on x86_64-linux and i686-linux and committed. Jakub 2018-03-03 Jakub Jelinek Backported from mainline 2018-01-05 Jakub Jelinek PR tree-

New Danish PO file for 'cpplib' (version 8.1-b20180128)

2018-03-03 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Danish team of translators. The file is available at: http://translationproject.org/latest/cpplib/da.po (This file, 'cpplib-8.1-b20180128.

Contents of PO file 'cpplib-8.1-b20180128.da.po'

2018-03-03 Thread Translation Project Robot
cpplib-8.1-b20180128.da.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

[Patch, fortran] PR80965 - [7/8 Regression] ICE with class argument and -O2 optimization

2018-03-03 Thread Paul Richard Thomas
Fixed as 'obvious' on 7-branch and trunk in r258213 and 258195 respectively. Paul 2018-03-03 Paul Thomas PR fortran/80965 * resolve.c (build_loc_call): Change symtree name from 'loc' to '_loc'. 2018-03-03 Paul Thomas PR fortran/80965 * gfortran.dg/select_type_41.f90: New test.

Re: Simplification and a zero sized array

2018-03-03 Thread Paul Richard Thomas
Hi Steve, This looks to be OK to commit. Thanks Paul On 3 March 2018 at 02:01, Steve Kargl wrote: > All, > > I would like to commit the attach patch, which fixes > a number of ICE's when simplification runs into a > size zero array. gfortran does not have a nice > easy way to determine if an

Re: [PATCH] deprecate -finline-limit and make it an optimization option (PR 84603)

2018-03-03 Thread Martin Sebor
On 03/02/2018 01:05 AM, Richard Biener wrote: On Thu, 1 Mar 2018, Martin Sebor wrote: While testing my recent changes to the handling of attributes on C++ templates I noticed that the -finline-limit=N option is not recognized in attribute or pragma optimize. In response to the bug I raised, Ri

Re: [PATCH] deprecate -finline-limit and make it an optimization option (PR 84603)

2018-03-03 Thread Martin Sebor
On 03/02/2018 01:05 AM, Richard Biener wrote: On Thu, 1 Mar 2018, Martin Sebor wrote: While testing my recent changes to the handling of attributes on C++ templates I noticed that the -finline-limit=N option is not recognized in attribute or pragma optimize. In response to the bug I raised, Ri

[PATCH, rs6000] Fix PR84264: ICE in rs6000_emit_le_vsx_store

2018-03-03 Thread Peter Bergner
In PR84264, we hit an assert in rs6000_emit_le_vsx_store causing an ICE in LRA. We get there, because LRA called the movv4si expander to generate a spill and the mov pattern calls rs6000_emit_le_vsx_move which in turn calls rs6000_emit_le_vsx_store. The rs6000_emit_le_vsx_{load,store} routines ar

Re: [PATCH, fortran] PR71085 - ICE with some intrinsic functions specifying array function result dimension

2018-03-03 Thread Steve Kargl
On Fri, Mar 02, 2018 at 09:52:17PM +0100, Harald Anlauf wrote: > The fix to the PR probably counts as obvious, but here it is, along > with a testcase. Changelogs below. > > Regtested on i686-pc-linux-gnu. > > Whoever reviews this, please feel free to commit. > Commit on 6-branch, 7-branch, an