[Committed] PR fortran/85938 -- testcase for rank change

2018-06-02 Thread Steve Kargl
PR fortran/85938 is another example of a failure caused by not setting the rank correctly. The issues with setting rank were fixed in r261081. I've converted the testcase in PR fortran/85938 to be suitable for the testsuite and committed it. 2018-06-02 Steven G. Kargl PR

C++ PATCH for c++/85761, ICE with reference to const outer variable

2018-06-02 Thread Jason Merrill
In this testcase, the use of COUNT requires us to capture it because it's bound to a reference, but the lambda doesn't capture, so it's ill-formed. We're supposed to reject this use in mark_use, but we were getting confused by the location wrapper. This patch teaches mark_use to look through

[wwwdocs] Push references to our CSS into individual HTML files

2018-06-02 Thread Gerald Pfeifer
This is based on a mail exchange with David and Martin, where I promised to look into it. It moves the inclusion of our CSS stylesheet from the preprocessing conducted on gcc.gnu.org into the individual HTML files. Clearly it is a tradeoff between having this once versus the very same reference

Re: [wwwdocs] Replace by id= attributes

2018-06-02 Thread Gerald Pfeifer
On Sat, 2 Jun 2018, Gerald Pfeifer wrote: > In HTML 5 the approach has been superseded by > the use of id attributes. > > This implements this change for all pages associated with active > releases. Hmpf, I missed that id attributes have to start with a letter; fixed thusly for the GCC8

[wwwdocs,Java] Remove "less recent" Java news

2018-06-02 Thread Gerald Pfeifer
This is the last page we still carried from GCJ, and it has not been linked internally. I had marked this to possibly merge into our general News page, but clearly have not been able to get to it for two years now and else nobody cared either, and it was me keeping it for that purpose (only),

[wwwdocs] Fix name of Assignee Bugzilla field in bugs/management.html

2018-06-02 Thread Gerald Pfeifer
Applied after verifying that what is described here actually really happens in Bugzilla (just with the slightly different name of that field). Gerald Index: bugs/management.html === RCS file:

Re: [PATCH, i386]: Fix PR85950, Unsafe-math-optimizations regresses optimization using SSE4.1 roundss

2018-06-02 Thread H.J. Lu
On Tue, May 29, 2018 at 11:38 AM, Uros Bizjak wrote: > Hello! > > Attached patch enables l2 for > TARGET_SSE4.1, and while there, also corrects operand 1 predicate of > rounds{s,d} instruction. > > 2018-05-29 Uros Bizjak > > PR target/85950 > * config/i386/i386.md (l2): > Enable

[wwwdocs] www.boost.org has moved to https

2018-06-02 Thread Gerald Pfeifer
On the way, also remove obsolete information on how to download it (which, as a side effect, reduces the number of links that can get broken). Applied. Gerald Index: readings.html === RCS file:

[wwwdocs] projects/tree-ssa/vectorization.html - update link to GCC Summit Proceedings

2018-06-02 Thread Gerald Pfeifer
This is a change I found on my disk that dates back more than a year; I don't recall the trigger back then, but verified it still works and applied it. Use the version of the proceedings we've got on our FTP site. Makes for a simpler, more stable link. Gerald Index:

Re: [wwwdocs] Describe how to validate wwwdocs changes

2018-06-02 Thread Gerald Pfeifer
On Tue, 15 May 2018, David Malcolm wrote: > Possibly a silly question, but why can't we just change all the > headers in the site source to be this? > > Is is something to do with the conversion toolchain? Yes. Though having spent the last hour looking into this in more detail, I believe we

Re: std::vector default default and move constructors

2018-06-02 Thread François Dumont
Hi     Here is this patch again, I consider all your remarks and also made some changes considering feedback on rbtree patch.     * include/bits/stl_vector.h     (struct _Vector_base<>::_Vector_impl_data): New.     (struct _Vector_base<>::_Vector_impl): Inherit from latter.    

[wwwdocs] Replace by id= attributes

2018-06-02 Thread Gerald Pfeifer
As I mentioned, I'm working to transition our pages to HTML which should not be too hard after my transition to CSS over the past years, but there are some changes we still need to account for. In HTML 5 the approach has been superseded by the use of id attributes. This implements this change

[wwwdocs] Simplify our template for headers

2018-06-02 Thread Gerald Pfeifer
HTML 5 only supports the syntax we have been using "forever" for backwards compatibility. We could use which is documented as follows "For link elements, the author keyword indicates that the referenced document provides further information about the author for the page as a whole."

Re: [wwwdocs] Describe how to validate wwwdocs changes

2018-06-02 Thread Gerald Pfeifer
On Mon, 14 May 2018, Martin Sebor wrote: >> Martin, what do you think? Would that have avoided the challenges >> your ran into? Anything to better clarify or otherwise improve? > Thanks for the improvement! I think it will help going forward Great, I (finally) committed this now, business

[Ada] Fix couple of crashes in -gnatc mode

2018-06-02 Thread Eric Botcazou
In this mode gigi doesn't fully translate the expanded code. Fixed thusly, tested on x86-64/Linux, applied on mainline and 8 branch. 2018-06-02 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) : If this is not a definition, retrieve the expression only if it's a

[Ada] Fix crash on instantiation of Vectors package at -O3

2018-06-02 Thread Eric Botcazou
This is a regression present on the mainline, 8 and 7 branches. It's a latent tree sharing issue exposed by the use of SSA names during gimplification that has been introduced in the GCC 7 development phase. Fixed thusly, tested on x86-64/Linux, applied on mainline, 8 and 7 branches.

[Ada] Fix internal error on allocator with function call

2018-06-02 Thread Eric Botcazou
This is a regression present on all active branches. The compiler aborts on an allocator taking a function call in the qualified expression when the result type is a discriminated record type with defaulted discriminants and a variant part, and whose maximal size is not statically known.

Re: [PATCH], Add weak references to bridge old/new PowerPC ieee 128-bit name mangling

2018-06-02 Thread Andreas Schwab
On Jun 01 2018, Michael Meissner wrote: > This patch adds a hook to emit a weak reference for the old mangled name when > we are creating the new mangled name with a different spelling. I added an > undocumented switch (-malias-old-name-mangling) to not create the weak > reference if it is a