[wwwdocs] Push DOCTYPEs into individual pages and switch to HTML 5

2018-09-02 Thread Gerald Pfeifer
This simplifies our web infrastructure by pushing DOCTYPEs into the individual pages, thus (a) reducing the preprocessing of our pages on the server end, (b) hence reducing the dependency on MetaHTML which makes that tool it easier to replace, and last but not least (c) makes it easier to edit

[wwwdocs] Fix up gcc-6/changes.html wrt. HTML 5

2018-09-02 Thread Gerald Pfeifer
As simple as using instead of in one place. Committed. Gerald Index: gcc-6/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.106 diff -u -r1.106 changes.html --- gcc-6/changes.html 1 Se

[wwwdocs] news/gcse.html goes HTML 5

2018-09-02 Thread Gerald Pfeifer
Only a little change, simply omitting align="middle" which did not actually make a practical difference, since "middle" was about vertical alignment. On the way strip a little disclaimer above (since, really, the graphics isn't bad ;-). Committed. Gerald Index: news/gcse.html

[wwwdocs] releases.html -- use CSS

2018-09-02 Thread Gerald Pfeifer
Due to security settings on gcc.gnu.org and the switch to HTML 5 we need to define a style in our global CSS file instead of hardcoding things or keeping it local to that file. Committed. Gerald Index: gcc.css === RCS file: /cvs/gcc

[wwwdocs] news/egcs-vcg.html goes HTML 5 (and looks better)

2018-09-02 Thread Gerald Pfeifer
Use CSS (aligned with our regular documentation) to highlight code snippets as opposed to direct encoding; don't some blocks. This makes this page HTML 5 and actually also looks better. (We probably could simply remove those tables; not sure why Jeff added them back then, probably for the sake of

[wwwdocs] Improve formatting for blocks

2018-09-02 Thread Gerald Pfeifer
is used by our online documentation, and with a change I just applied also by news/egcs-vcg.html and later possibly further pages. This change limits coloring of the background of those pre blocks to the actual width, not the entire page width. Validated by reviewing some pages under /onlinedoc

Re: [wwwdocs] news/egcs-vcg.html goes HTML 5 (and looks better)

2018-09-02 Thread Gerald Pfeifer
On Sun, 2 Sep 2018, Gerald Pfeifer wrote: > (We probably could simply remove those tables; not sure why Jeff > added them back then, probably for the sake of coloring?) Done thusly. And, yes, without the tables or the patch I just committed to our CSS https://gcc.gnu.org/ml/gcc-patches/2018-09

Re: [patch] [match.pd]: missing optimization on comparison

2018-09-02 Thread Bernhard Reutner-Fischer
On 30 August 2018 22:20:06 CEST, Marc Glisse wrote: >Hello, > >INTEGRALS_SIGN_PREC_MATCH: the name doesn't really match the semantics. +#define INTEGRALS_SIGN_PREC_MATCH(A, B) \ + TYPE_PRECISION (TREE_TYPE (A)) == TYPE_PRECISION (TREE_TYPE (B)) \ + (TYPE_PRECISION (TREE_TYPE (A)) > TYPE_PRECIS

[wwwdocs] testing/index.html - simplification, HTML 5

2018-09-02 Thread Gerald Pfeifer
Left-align table with tests, removing align="center". Committed. Gerald Index: testing/index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/testing/index.html,v retrieving revision 1.40 diff -u -r1.40 index.html --- testing/index.html

[wwwdocs] about.html - transform into a "real" page

2018-09-02 Thread Gerald Pfeifer
While having just a line with a tag that redirects works in practice, that doesn't make a valid HTML document, so let's fix this by building out an HTML structure skeleton (incl. DOCTYPE). Committed. Gerald Index: gcc.html === RCS

[wwwdocs] simtest-howto.html - convert to HTML 5, using CSS

2018-09-02 Thread Gerald Pfeifer
The new CSS class should prove useful also in other cases. Committed. Gerald Index: gcc.css === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v retrieving revision 1.56 diff -u -r1.56 gcc.css --- gcc.css 2 Sep 2018 09:47:10 -

[wwwdocs] Use standard DOCTYPE and header for projects/tree-ssa/vectorization.html

2018-09-02 Thread Gerald Pfeifer
I'm not sure why this page did not fall in line with our standard headers, but since it did not, it at first escape the conversions I conducted the last while. Fixed thusly. Gerald Index: projects/tree-ssa/vectorization.html === RCS

Re: [patch, libgfortran] Fix warning about mismatched type declarations.

2018-09-02 Thread Thomas Koenig
Hi Jerry, The subject patch fixes the declaration for the vlist argument of the formatted_dtio function pointer definition which currently gives a warnings during compilation for mismatched types. Regression tested on x86_64-pc-linux. OK for trunk? OK. Thanks! Regards Thomas

[wwwdocs] projects/tree-ssa/tree-browser.html - use more regular markup, existing CSS, move to HTML 5

2018-09-02 Thread Gerald Pfeifer
This page did a lot of manual formatting (via tables) which was not consistent with other spots on our site. This address that by using CSS instead of manually constructing tables, and adds environments where suitable, overall making this simpler/shorter, more consistent, and HTML 5 in the end.

Re: [patch] [match.pd]: missing optimization on comparison

2018-09-02 Thread Marc Glisse
On Sun, 2 Sep 2018, Bernhard Reutner-Fischer wrote: On 30 August 2018 22:20:06 CEST, Marc Glisse wrote: Hello, INTEGRALS_SIGN_PREC_MATCH: the name doesn't really match the semantics. +#define INTEGRALS_SIGN_PREC_MATCH(A, B) \ + TYPE_PRECISION (TREE_TYPE (A)) == TYPE_PRECISION (TREE_TYPE

[wwwdocs] Add missing (empty) table cells to gcc-2.95/regress.html

2018-09-02 Thread Gerald Pfeifer
Committed. Gerald Index: gcc-2.95/regress.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-2.95/regress.html,v retrieving revision 1.111 retrieving revision 1.113 diff -u -r1.111 -r1.113 --- gcc-2.95/regress.html 1 Sep 2018 23:42

[wwwdocs] gcc-2.95/branch.html -- use instead of

2018-09-02 Thread Gerald Pfeifer
...making this page HTML 5. Committed. Gerald Index: gcc-2.95/branch.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-2.95/branch.html,v retrieving revision 1.11 diff -u -r1.11 branch.html --- gcc-2.95/branch.html1 Sep 2018 23

[wwwdocs] gcc-7/changes.html -- use instead of

2018-09-02 Thread Gerald Pfeifer
Surprising to see such a new page use old markup. I recall having fixed this back then, reviewing the change, but probably missed that one instance? Anyway, fixed thusly. Gerald Index: gcc-7/changes.html === RCS file: /cvs/gcc/wwwd

[wwwdocs] projects/strees/index.html -- convert to HTML 5

2018-09-02 Thread Gerald Pfeifer
Committed. Gerald Convert to HTML 5: Use instead of , omit align="center", use CSS. Index: projects/strees/index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/strees/index.html,v retrieving revision 1.4 diff -u -r1.4 index.h

[wwwdocs] egcs-1.1/egcs-1.1-branch.html -- use instead of

2018-09-02 Thread Gerald Pfeifer
It appears we copied from ourselves, so what I fixed for GCC 2.95 already was, pretty much identically, there for egcs 1.1. Fixued thusly, making also this page HTML 5. Gerald Index: egcs-1.1/egcs-1.1-branch.html === RCS file: /cvs/

[wwwdocs] projects/x86.html -- convert to HTML 5

2018-09-02 Thread Gerald Pfeifer
This was an easy one, we just have to remove align=right from one of the table headers, and one where it did not make a difference actually. Committed. Gerald Index: projects/x86.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/x

[wwwdocs] projects/cfo.html -- simplify

2018-09-02 Thread Gerald Pfeifer
This uses a new CSS class *once* instead of attributing most elements in the table with align="right" and also brings us closer to HTML 5 compliance. Committed. Index: gcc.css === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v retrievin

[C++, wwwdocs] bugs/index.html - complete C++ non-bug entry

2018-09-02 Thread Gerald Pfeifer
Jason and Nathan, while I completed one C+ non-bug entry with the patch below, I am not sure the items as such is really still relevant? In fact, if you could have a look at https://gcc.gnu.org/bugs/#nonbugs_cxx and advise which entries perhaps should be removed (or updated or added), I'll take c

[PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-02 Thread H.J. Lu
On Sat, Sep 01, 2018 at 06:38:35AM -0500, Segher Boessenkool wrote: > > > > With -fno-omit-frame-pointer, arg pointer is eliminated with hard frame > > pointer. But > > > > commit cd557ff63f388ad27c376d0a225e74d3594a6f9d > > Author: hjl > > Date: Thu Aug 10 15:29:05 2017 + > > > > i3

Re: [patch,nvptx] Basic -misa support for nvptx

2018-09-02 Thread Cesar Philippidis
On 09/01/2018 12:04 PM, Tom de Vries wrote: > On 08/31/2018 04:14 PM, Cesar Philippidis wrote: >> Is this patch OK for trunk? >> > > Well, how did you test this ( > https://gcc.gnu.org/contribute.html#patches : "Bootstrapping and > testing. State the host and target combinations you used to do pr

[wwwdocs] projects/prefetch.html -- replace direct formatting of tables with CSS

2018-09-02 Thread Gerald Pfeifer
Committed. Gerald Index: projects/prefetch.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/prefetch.html,v retrieving revision 1.36 diff -u -r1.36 prefetch.html --- projects/prefetch.html 1 Sep 2018 23:42:10 - 1.36

Re: [Patch, Fortran] PR 86935: Bad locus in ASSOCIATE statement

2018-09-02 Thread Bernhard Reutner-Fischer
On Wed, 22 Aug 2018 at 21:37, Janus Weil wrote: > > Am Mi., 22. Aug. 2018 um 17:46 Uhr schrieb Thomas Koenig > : > > > > Hi Janus, > > > > >> Janus, > > >> > > >> On 13 August 2018 21:44:47 CEST, Janus Weil wrote: > > >>> Hi all, > > >>> > > >>> this simple patch improves some of the diagnostics

Re: [PATCHv2] Call braced_list_to_string after array size is fixed

2018-09-02 Thread Jeff Law
On 08/31/2018 12:47 AM, Bernd Edlinger wrote: > On 08/30/18 09:07, Bernd Edlinger wrote: >> On 08/30/18 06:34, Jason Merrill wrote: >>> On 08/24/2018 03:52 PM, Bernd Edlinger wrote: this updated patch fixes one regression with current trunk due to a new test case.  Sorry for the confusion

Re: [patch, libgfortran] Fix warning about mismatched type declarations.

2018-09-02 Thread Jerry DeLisle
On 09/02/2018 04:49 AM, Thomas Koenig wrote: Hi Jerry, The subject patch fixes the declaration for the vlist argument of the formatted_dtio function pointer definition which currently gives a warnings during compilation for mismatched types. Regression tested on x86_64-pc-linux. OK for tr

[wwwdocs] gcc-3.0/criteria.html -- fix up to HTML 5

2018-09-02 Thread Gerald Pfeifer
...by stripping use of some obsolete features and adding missing table cells (). Committed. Gerald Index: gcc-3.0/criteria.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.0/criteria.html,v retrieving revision 1.34 diff -u -r1.34 cr

[wwwdocs] projects/h8300-abi.html -- replace by

2018-09-02 Thread Gerald Pfeifer
...hence converting to proper HTML 5. Committed. Gerald Index: projects/h8300-abi.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/h8300-abi.html,v retrieving revision 1.9 diff -u -r1.9 h8300-abi.html --- projects/h8300-abi.html

[wwwdocs] projects/bp/main.html -- remove obsolete

2018-09-02 Thread Gerald Pfeifer
Committed. Gerald Index: projects/bp/main.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/bp/main.html,v retrieving revision 1.22 diff -u -r1.22 main.html --- projects/bp/main.html 1 Sep 2018 23:42:10 - 1.22 +++

[wwwdocs] Revamp formatting markup of bugs/management.html

2018-09-02 Thread Gerald Pfeifer
...making this page HTML 5 compliant. Committed. Gerald Use new CSS clases center and top instead of direct markup. Improve alignment of the "Severity" table and adjust that of the "Priority" table. Index: gcc.css === RCS file: /c

[wwwdocs] gcc-3.3/gcj-status.html - streamline formatting

2018-09-02 Thread Gerald Pfeifer
...making things HTML 5 compliant on the way (without a real loss). Committed. Gerald Index: gcc-3.3/gcj-status.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.3/gcj-status.html,v retrieving revision 1.10 diff -u -r1.10 gcj-status.

Re: [wwwdocs] gcc-3.3/gcj-status.html - streamline formatting

2018-09-02 Thread Gerald Pfeifer
On Sun, 2 Sep 2018, Gerald Pfeifer wrote: > ...making things HTML 5 compliant on the way (without a real loss). And pretty much the same patch for gcc-3.1/gcj-status.html, which initially escaped my attention. Committed as well. Gerald Index: gcc-3.1/gcj-status.html

[PATCH] Skip check for dlopen() when compiling libstdcxx with avrlibc

2018-09-02 Thread Adrian Stratulat
Hello, II tried compiling avr-gcc (AVR 8-bit target) with libstdcxx support, and even if I set the configure parameters to be "disable-shared" and "enable-static", the "configure" step fails because it checks for dlopen() support in avrlibc (which doesn't exist). I see that in the newlib case, th

Re: [wwwdocs] projects/cfo.html -- simplify

2018-09-02 Thread Gerald Pfeifer
On Sun, 2 Sep 2018, Gerald Pfeifer wrote: > This uses a new CSS class *once* instead of attributing most elements > in the table with align="right" and also brings us closer to HTML 5 > compliance. And this also takes care of align="center" by using the CSS of the same name I introduced earlier to

Re: [PATCH] Skip check for dlopen() when compiling libstdcxx with avrlibc

2018-09-02 Thread Jonathan Wakely
On 02/09/18 22:18 +0300, Adrian Stratulat wrote: Hello, II tried compiling avr-gcc (AVR 8-bit target) with libstdcxx support, and even if I set the configure parameters to be "disable-shared" and "enable-static", the "configure" step fails because it checks for dlopen() support in avrlibc (which

Re: Relocation (= move+destroy)

2018-09-02 Thread Jonathan Wakely
On 01/09/18 21:56 +0200, Marc Glisse wrote: On Sat, 1 Sep 2018, Marc Glisse wrote: this patch passed bootstrap+regtest on powerpc64le-unknown-linux-gnu. I realized afterwards that for a C++17-only feature, that's not testing much... So I changed it to apply in C++14 and fixed a minor issue.

Re: Relocation (= move+destroy)

2018-09-02 Thread Ville Voutilainen
On 2 September 2018 at 23:03, Jonathan Wakely wrote: > On 01/09/18 21:56 +0200, Marc Glisse wrote: >> >> On Sat, 1 Sep 2018, Marc Glisse wrote: >> >>> this patch passed bootstrap+regtest on powerpc64le-unknown-linux-gnu. >> >> >> I realized afterwards that for a C++17-only feature, that's not test

[wwwdocs] codingconventions.html -- convert to HTML 5

2018-09-02 Thread Gerald Pfeifer
Convert to HTML by using CSS instead of cellpadding= and align=. On the way ensure that all table rows have the appropriate number of cells. Committed. Gerald Index: codingconventions.html === RCS file: /cvs/gcc/wwwdocs/htdocs/codin

[wwwdocs] news.html - omit use of

2018-09-02 Thread Gerald Pfeifer
...thus making this page proper HTML 5. Committed. Gerald Index: news.html === RCS file: /cvs/gcc/wwwdocs/htdocs/news.html,v retrieving revision 1.163 diff -u -r1.163 news.html --- news.html 1 Sep 2018 23:42:00 - 1.163 +

Re: [PATCH] Skip check for dlopen() when compiling libstdcxx with avrlibc

2018-09-02 Thread Adrian Stratulat
On Sun, Sep 2, 2018 at 11:00 PM Jonathan Wakely wrote: > > On 02/09/18 22:18 +0300, Adrian Stratulat wrote: > >Hello, > > > >II tried compiling avr-gcc (AVR 8-bit target) with libstdcxx support, > >and even if I set the configure parameters to be "disable-shared" and > >"enable-static", the "confi

[wwwdocs] projects/tree-ssa/vectorization.html - complete conversion to CSS and HTML 5

2018-09-02 Thread Gerald Pfeifer
Committed. Gerald Index: gcc.css === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v retrieving revision 1.60 diff -u -r1.60 gcc.css --- gcc.css 2 Sep 2018 17:24:50 - 1.60 +++ gcc.css 2 Sep 2018 20:36:32 - @@ -20,6

[wwwdocs] gcc-3.4/sparc-abi.html -- convert to HTML 5

2018-09-02 Thread Gerald Pfeifer
...replacing cellpading=, omitting valign="top" whichactually made things look worse, and using class="right" instead of manual alignment. Committed. Gerald Index: gcc-3.4/sparc-abi.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.

[wwwdocs] Partially convert search.html to CSS

2018-09-02 Thread Gerald Pfeifer
Committed. Gerald Index: search.html === RCS file: /cvs/gcc/wwwdocs/htdocs/search.html,v retrieving revision 1.195 diff -u -r1.195 search.html --- search.html 1 Sep 2018 23:42:00 - 1.195 +++ search.html 2 Sep 2018 20:42:19

[wwwdocs] gcc-4.9/changes.html - replace use of

2018-09-02 Thread Gerald Pfeifer
...with , which should render this page HTML 5 compliant. Committed. Gerald Index: gcc-4.9/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v retrieving revision 1.94 diff -u -r1.94 changes.html --- gcc-4.9/ch

[wwwdocs] gcc-3.4/criteria.html - simplify

2018-09-02 Thread Gerald Pfeifer
Remove align="center" attributes from tables. Committed. Gerald Index: gcc-3.4/criteria.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.4/criteria.html,v retrieving revision 1.8 diff -u -r1.8 criteria.html --- gcc-3.4/criteria.html

[wwwdocs] faq.html -- replace

2018-09-02 Thread Gerald Pfeifer
...by , rendering this page HTML 5 compliant. Committed. Gerald Index: faq.html === RCS file: /cvs/gcc/wwwdocs/htdocs/faq.html,v retrieving revision 1.229 diff -u -r1.229 faq.html --- faq.html1 Sep 2018 23:42:00 - 1.22

[wwwdocs] gcc-3.3/criteria.html - simplify

2018-09-02 Thread Gerald Pfeifer
Similar changes as for gcc-3.4/criteria.html, now HTML 5. Committed. Gerald Index: gcc-3.3/criteria.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.3/criteria.html,v retrieving revision 1.15 diff -u -r1.15 criteria.html --- gcc-3.3

Re: [patch, fortran] Asynchronous I/O, take 3

2018-09-02 Thread Bernhard Reutner-Fischer
On Sun, 15 Jul 2018 at 13:20, Thomas Koenig wrote: > So, here is the final version. I would really like to get this > into trunk, and out of the way, so Nicolas and I can focus on > other things. > > So, OK? [I know i'm late as it was already applied] For me it would be easier to read the locki

Cleanup tree merging

2018-09-02 Thread Jan Hubicka
Hi, while dropping streaming of now unnecesary fields I forgot to update lto.c side. This patch removes few checks form tree merging that will hopefully make it bit faster. While doing that I also turned DECL_ASSEMBLER_NAME check to use DECL_ASSEMBLER_NAME_RAW. lto-bootstraped/regtested x86_64-l

Re: [PATCH] Use complete_array_type on flexible array member initializers

2018-09-02 Thread Jeff Law
On 08/26/2018 02:52 AM, Bernd Edlinger wrote: > On 08/26/18 07:36, Jeff Law wrote: >> On 08/24/2018 07:13 AM, Bernd Edlinger wrote: >>> Hi! >>> >>> >>> This patch prevents init values of STRING_CST and braced >>> array initializers to reach the middle-end with incomplete >>> type. >>> >>> This will

PING: Re: lightweight class to wide int ranges in VRP and friends

2018-09-02 Thread Aldy Hernandez
Forwarded Message Subject: Re: lightweight class to wide int ranges in VRP and friends Date: Fri, 24 Aug 2018 13:40:29 -0400 From: Aldy Hernandez To: Richard Biener CC: GCC Patches On 08/24/2018 06:32 AM, Richard Biener wrote: On Wed, Aug 15, 2018 at 7:31 PM Aldy Hernand