Re: [committed] Remove bogus initial lines from test.

2020-01-15 Thread Jan Hubicka
> Hi! > > I've noticed > FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O0 -flto > -flto-partition=none -fuse-linker-plugin > FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O2 -flto > -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects > FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o

Re: Fix for LTO compromised autoconf test in libiberty

2020-01-15 Thread Andreas Schwab
On Jan 14 2020, Jeff Law wrote: > On Tue, 2020-01-14 at 23:21 +0100, Andreas Schwab wrote: >> On Jan 14 2020, Jeff Law wrote: >> >> > diff --git a/libiberty/aclocal.m4 b/libiberty/aclocal.m4 >> > index bf8a907100f..381ed3b27e3 100644 >> > --- a/libiberty/aclocal.m4 >> > +++ b/libiberty/aclocal.m4

Re: GCC 8 backports

2020-01-15 Thread Martin Liška
Hi. There's one more backport commit I've just tested and installed. Martin >From 67c0ee2c48a5e154bf00fa8326536881a92e287c Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 14 Apr 2019 22:56:45 +0200 Subject: [PATCH] Backport d2a0371d2641e85c5e6ca396029be32204d976df gcc/ChangeLog: 2019-04

[PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Martin Liška
Hi. The patch is about caching of outer non-CLEANUP region for a leh_state. It's a spin off the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199#c19, now it's not using a hash_map, but a cached value in leh_state. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to

Re: [PATCH v7] Missed function specialization + partial devirtualization

2020-01-15 Thread Christophe Lyon
Hi, On Tue, 14 Jan 2020 at 15:35, luoxhu wrote: > > Hi, > > On 2020/1/14 21:03, Martin Liška wrote: > > On 1/13/20 4:23 AM, luoxhu wrote: > >> Thanks a lot! Rebased & updated, will commit below patch shortly when > >> git push is ready. > > > > Hello. > > > > I'm pretty sure the patch contains

[PATCH] PR tree-optimization/93247 - ICE in get_load_store_type

2020-01-15 Thread Richard Sandiford
My earlier update_epilogue_loop_vinfo patch introduced an ICE on these tests for AVX512. If we use pattern stmts, STMT_VINFO_GATHER_SCATTER_P is valid for both the original stmt and the pattern stmt, but STMT_VINFO_MEMORY_ACCESS_TYPE is valid only for the latter. Tested on x86_64-linux-gnu and aa

Backport: Add support for gcc as git submodule of another repository.

2020-01-15 Thread Richard Earnshaw (lists)
This is a straight backport of https://gcc.gnu.org/ml/gcc-patches/2018-04/msg01352.html. Without this contrib/gcc_update fails if run from a worktree, while git pull works just fine. Pushed to the gcc-8 branch. diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 039dc251ebb..47ac7c47dcc

Re: [PATCH 2/2] Optimize alias subset recording

2020-01-15 Thread Richard Biener
On Tue, 14 Jan 2020, Richard Biener wrote: > On Tue, 14 Jan 2020, Richard Biener wrote: > > > On Tue, 14 Jan 2020, Richard Biener wrote: > > > > > When an alias-set is an already existing subset there is no need > > > to re-record its children as childs of the parent. > > > > > > I noticed this

Re: [PATCH v7] Missed function specialization + partial devirtualization

2020-01-15 Thread Martin Liška
Hi. I know the root cause of the failure and will send a patch soon to the mailing list. Martin

Re: [PATCH] contrib: git descr/undescr aliases fix for older git

2020-01-15 Thread Richard Earnshaw (lists)
On 14/01/2020 23:44, Jakub Jelinek wrote: On Tue, Jan 14, 2020 at 10:12:09AM +0100, Jakub Jelinek wrote: Note, for the scripts running on sourceware I also had to remove those tags/ part, but thought it is because of running against the bare repo. We could change those into ^\\(tags/\\)\\?basepo

Re: [PATCH] PR tree-optimization/93247 - ICE in get_load_store_type

2020-01-15 Thread Richard Biener
On Wed, Jan 15, 2020 at 11:15 AM Richard Sandiford wrote: > > My earlier update_epilogue_loop_vinfo patch introduced an ICE on these > tests for AVX512. If we use pattern stmts, STMT_VINFO_GATHER_SCATTER_P > is valid for both the original stmt and the pattern stmt, but > STMT_VINFO_MEMORY_ACCESS_

Re: [PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Richard Biener
On Wed, Jan 15, 2020 at 10:57 AM Martin Liška wrote: > > Hi. > > The patch is about caching of outer non-CLEANUP region > for a leh_state. It's a spin off the > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199#c19, > now it's not using a hash_map, but a cached value in leh_state. > > Patch can b

Re: [patch] contrib: Don't add push rules for personal and vendor spaces.

2020-01-15 Thread Richard Earnshaw (lists)
On 14/01/2020 14:55, Richard Earnshaw (lists) wrote: Originally, it seemed like a good idea to add automatic 'push' rules to the git configuration, so that personal- and vendor-space commits would automatically push to the right place. Unfortunately, this changes git's behaviour and with these s

[PATCH] .gitattributes: Add *.md diff=md

2020-01-15 Thread Jakub Jelinek
Hi! As discussed on IRC, this patch adds the .gitattributes part of the better diff for *.md files customization. Tested in a tree with contrib/gcc-git-customization.sh performed, config/i386/i386.md diffing then nicely shows the pattern, and in a tree without the customization, where it works as

Re: [PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Martin Liška
On 1/15/20 12:08 PM, Richard Biener wrote: On Wed, Jan 15, 2020 at 10:57 AM Martin Liška wrote: Hi. The patch is about caching of outer non-CLEANUP region for a leh_state. It's a spin off the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199#c19, now it's not using a hash_map, but a cached v

Re: [PR90916] ICE in retrieve specialization

2020-01-15 Thread Nathan Sidwell
On 1/14/20 4:21 PM, Marek Polacek wrote: On Tue, Jan 14, 2020 at 04:10:07PM -0500, Nathan Sidwell wrote: 2020-01-14 Nathan Sidwell + PT c++/90916 Note this has PT instead of PR :). yeah, I caught the typo on the followup. Thanks for noticing! nathan -- Nathan Sidwell

Re: Analyzer committed to master (was Re: Analyzer status)

2020-01-15 Thread Rainer Orth
Hi David, > I've rebased and squashed the analyzer patch kit and squashed patch 2 > of the hash_table fix into it, and re-tested it successfully, so I've > pushed it to master (as 757bf1dff5e8cee34c0a75d06140ca972bfecfa7). > > I'm going to work through the various followup patches I had on my > br

Re: [PATCH v7] Missed function specialization + partial devirtualization

2020-01-15 Thread Martin Liška
On 1/15/20 11:49 AM, Martin Liška wrote: Hi. I know the root cause of the failure and will send a patch soon to the mailing list. Martin There's an obvious patch that I'm going to install. Note that order of function call evaluation in a function call is undefined. It's a similar issue we had

[PATCH] middle-end/93273 - fix sinking clobbers across backedges

2020-01-15 Thread Richard Biener
The previous work to fix PR93199 didn't take into account backedges when defering insertion. The following simply avoids to defer in that case since we know we'll not take secondary opportunities there. Bootstrap & regtest on x86_64-unknown-linux-gnu in progress. Richard. 2020-01-15 Richard

Re: [PATCH v7] Missed function specialization + partial devirtualization

2020-01-15 Thread Jan Hubicka
> gcc/ChangeLog: > > 2020-01-15 Martin Liska > > * ipa-profile.c (ipa_profile_read_edge_summary): Do not allow > 2 calls of streamer_read_hwi in a function call. Good catch, Martin! > --- > gcc/ipa-profile.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff -

Add attribute to match *.md and *.pd to the git diff hook

2020-01-15 Thread Richard Earnshaw (lists)
The gcc-git-customization script sets up a diff hook to match (define as a function name hook so that diff -p style annotations will match a pattern name. This patch does the other half of this in the gcc configuration by matching *.pd and *.md to this new rule * .gitattributes: Use

[PATCH] adjust object size computation for union accesses and PHIs (PR 92765)

2020-01-15 Thread Martin Sebor
The strcmp optimization newly introduced in GCC 10 relies on the size of the smallest referenced array object to determine whether the function can return zero. When the size of the object is smaller than the length of the other string argument the optimization folds the equality to false. The b

Re: [PATCH] .gitattributes: Add *.md diff=md

2020-01-15 Thread Richard Earnshaw (lists)
On 15/01/2020 11:45, Jakub Jelinek wrote: Hi! As discussed on IRC, this patch adds the .gitattributes part of the better diff for *.md files customization. Tested in a tree with contrib/gcc-git-customization.sh performed, config/i386/i386.md diffing then nicely shows the pattern, and in a tree w

Re: Add attribute to match *.md and *.pd to the git diff hook

2020-01-15 Thread Richard Earnshaw (lists)
On 15/01/2020 13:17, Richard Earnshaw (lists) wrote: The gcc-git-customization script sets up a diff hook to match (define as a function name hook so that diff -p style annotations will match a pattern name. This patch does the other half of this in the gcc configuration by matching *.pd and

Re: [PATCH] .gitattributes: Add *.md diff=md

2020-01-15 Thread Richard Earnshaw (lists)
On 15/01/2020 13:19, Richard Earnshaw (lists) wrote: On 15/01/2020 11:45, Jakub Jelinek wrote: Hi! As discussed on IRC, this patch adds the .gitattributes part of the better diff for *.md files customization. Tested in a tree with contrib/gcc-git-customization.sh performed, config/i386/i386.md

Re: [PATCH v7] Missed function specialization + partial devirtualization

2020-01-15 Thread Richard Biener
On Wed, Jan 15, 2020 at 1:37 PM Jan Hubicka wrote: > > > gcc/ChangeLog: > > > > 2020-01-15 Martin Liska > > > > * ipa-profile.c (ipa_profile_read_edge_summary): Do not allow > > 2 calls of streamer_read_hwi in a function call. > > Good catch, Martin! > > --- > > gcc/ipa-profile.c |

[committed] Bump gcc/BASE-VER to 10.0.1 now that we are in stage4.

2020-01-15 Thread Jakub Jelinek
Hi! Committed to trunk. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3099ec4143c..e0c961d059c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-01-15 Jakub Jelinek + + * BASE-VER: Bump to 10.0.1. + 2020-01-15 Richard Sandiford PR tree-optimization/932

Re: [PATCH v7] Missed function specialization + partial devirtualization

2020-01-15 Thread Jan Hubicka
> On Wed, Jan 15, 2020 at 1:37 PM Jan Hubicka wrote: > > > > > gcc/ChangeLog: > > > > > > 2020-01-15 Martin Liska > > > > > > * ipa-profile.c (ipa_profile_read_edge_summary): Do not allow > > > 2 calls of streamer_read_hwi in a function call. > > > > Good catch, Martin! > > > --- >

[PATCH, WWW-DOCS] Deprecate non-standard hexadecimal BOZ constants

2020-01-15 Thread Mark Eggleston
Add a note the the Fortran changes to the effect that non-standard BOZ constants are deprecated. Is the wording OK? -- https://www.codethink.co.uk/privacy.html

Re: [PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Martin Liška
On 1/15/20 12:48 PM, Martin Liška wrote: On 1/15/20 12:08 PM, Richard Biener wrote: On Wed, Jan 15, 2020 at 10:57 AM Martin Liška wrote: Hi. The patch is about caching of outer non-CLEANUP region for a leh_state. It's a spin off the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199#c19, now

[PATCH, WWW-DOCS] Deprecate non-standard hexadecimal BOZ constants.

2020-01-15 Thread Mark Eggleston
Add a note the the Fortran changes to the effect that non-standard BOZ constants are deprecated. Is the wording OK? second attempt this time with attachment! -- https://www.codethink.co.uk/privacy.html diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html index 8e72bd4..3e73cea

Use canonical command to set remote URL

2020-01-15 Thread Andreas Schwab
On Jan 14 2020, Joseph Myers wrote: > diff --git a/htdocs/gitwrite.html b/htdocs/gitwrite.html > index 85a0da2d..f420fe22 100644 > --- a/htdocs/gitwrite.html > +++ b/htdocs/gitwrite.html > @@ -78,7 +78,7 @@ git clone git+ssh://username@gcc.gnu.org/git/gcc.git > gcc > using git config: > > >

Re: [PATCH] Relax invalidation of TOP N counters in PGO.

2020-01-15 Thread Martin Liška
Hi. So I'm sending first version of the relaxation patch and a demonstration source file that can demonstrate how me merge profile for indirect functions provided on input. There are some demonstrations: 1) rm indir-call.gcda -f ; ./a.out ABCD && gcov-dump -l indir-call.gcda | grep -A2 'indirec

analyzer branch renamed to "devel/analyzer"

2020-01-15 Thread David Malcolm
Although most of the analyzer work is now on master I'm tracking additional work in a branch (for future features, work that isn't quite ready yet, etc). This used to be "dmalcolm/analyzer" on the git mirror. The new git server doesn't seem to like such branch names [1], so I'm now using "devel/a

Re: [PATCH, i386]: Fix PR93254, -msse generates sse2 instructions

2020-01-15 Thread Uros Bizjak
Also, we can remove existing SSE2 ISA requirements for alternatives 14 and 15. Remove invalid SSE2 ISA requirements in *movsf_internal. 2020-01-15 Uroš Bizjak * config/i386/i386.md (*movsf_internal): Do not require SSE2 ISA for alternatives 14 and 15. Patch was bootstrapped and regre

Re: [PATCH] Fix ctz issues (PR93231)

2020-01-15 Thread Wilco Dijkstra
Hi Jakub, >> (note the diff uses the old tree and includes Jakub's bootstrap fixes) > You should rebase it because you'll be committing it against trunk > which already has those changes. Sure, it was just the small matter of updating the many GCC checkouts I have... >> -  unsigned shiftval = tr

Re: [PATCH] Fix ctz issues (PR93231)

2020-01-15 Thread Jakub Jelinek
On Wed, Jan 15, 2020 at 03:50:01PM +, Wilco Dijkstra wrote: > The multiply can be signed or unsigned, and the immediate can be positive or > negative, but the shift must be unsigned indeed. I thought the match.pd > pattern only allows unsigned shifts, but the shift operator allows signed > shi

[Patch, Fortran + wwwdocs] PR93253 – Document BOZ changes, make it friendlier in legacy code

2020-01-15 Thread Tobias Burnus
Fortran before 2013 only allowed binary-octal-hex values (BOZ literals) in DATA statements; Fortran 2013 extended it to support them also as argument to INT(), REAL() etc. — Additionally, various compilers (including gfortran) support more as (legacy) extension. Diagnostic: DATA vs. non DATA u

Re: [PATCH, WWW-DOCS] Deprecate non-standard hexadecimal BOZ constants.

2020-01-15 Thread Tobias Burnus
Hi Mark, it is more than just 'X' – also B/O/Z when used as postfix ('AB'Z) are nonstandard as in general the use outside DATA and a handful of intrinsic functions. For instance,  print *, Z'ABC'  is also nonstandard and affected by -fallow-invalid-boz. (GCC < 10 silently accepted the latter.

contrib: Check and if needed set user.name and user.email in gcc-git-customization.sh

2020-01-15 Thread Richard Earnshaw (lists)
As discussed on IRC, this adds a couple more checks in the customization setup for git. If the variables user.name and user.email are not set anywhere in the git config hierarchy, we set some local values. We always ask about the values we detect and if the user gives an answer that is new, w

[PATCH] libstdc++: Fix weakly_incrementable to allow __int128 (PR 93267)

2020-01-15 Thread Jonathan Wakely
The __iota_diff_t alias can be the type __int128, but that does not satisfy the signed_integral and __is_signed_integer_like concepts when __STRICT_ANSI__ is defined (which is true for -std=c++2a). Because weakly_incrementable is defined in terms of signed_integral, it is not satisfied by __int128

Re: analyzer branch renamed to "devel/analyzer"

2020-01-15 Thread Richard Earnshaw (lists)
On 15/01/2020 15:19, David Malcolm wrote: Although most of the analyzer work is now on master I'm tracking additional work in a branch (for future features, work that isn't quite ready yet, etc). This used to be "dmalcolm/analyzer" on the git mirror. The new git server doesn't seem to like such

[PATCH] doc: Replace references to SVN with those to Git

2020-01-15 Thread Martin Jambor
Hi, when going over stuff linked from the SummerOfCode wiki page, I found out that doc/install.texi still refers to Subversion. The following patch replaces SVN to Git almost mechanically. Tested with make info and make html. OK for trunk? And then perhaps for the opened release branches too?

[PATCH][gcc] libgccjit: introduce version entry points

2020-01-15 Thread Andrea Corallo
Hi all, I think would be quite useful for client code to be able to probe for the libgccjit version. This patch add three entry points for that: gcc_jit_version_major, gcc_jit_version_minor, gcc_jit_version_patchlevel. Does not introduce regressions running make check-jit. Feedback are welcome.

Re: [Patch, Fortran + wwwdocs] PR93253 – Document BOZ changes, make it friendlier in legacy code

2020-01-15 Thread Steve Kargl
On Wed, Jan 15, 2020 at 05:37:11PM +0100, Tobias Burnus wrote: > Fortran before 2013 only allowed binary-octal-hex values (BOZ literals) > in DATA statements; Fortran 2013 extended it to support them also as > argument to INT(), REAL() etc. — Additionally, various compilers > (including gfortran

Re: Analyzer committed to master (was Re: Analyzer status)

2020-01-15 Thread Dimitar Dimitrov
On Wed, 15.01.2020, 14:30:43 EET Rainer Orth wrote: > Hi David, > > > I've rebased and squashed the analyzer patch kit and squashed patch 2 > > of the hash_table fix into it, and re-tested it successfully, so I've > > pushed it to master (as 757bf1dff5e8cee34c0a75d06140ca972bfecfa7). > > > > I'm

[C++ PATCH] PR c++/92871 - bad code with xvalue and GNU ?: extension.

2020-01-15 Thread Jason Merrill
I steered Jakub wrong on the desired behavior for temp-extend1.C in the context of bug 92831; it doesn't make sense to try to extend the lifetime of a temporary that we've already materialized to evaluate the test. So this patch munges the stabilized expression so that it won't be subject to lifet

Re: Analyzer committed to master (was Re: Analyzer status)

2020-01-15 Thread Iain Sandoe
Dimitar Dimitrov wrote: On Wed, 15.01.2020, 14:30:43 EET Rainer Orth wrote: Hi David, I've rebased and squashed the analyzer patch kit and squashed patch 2 of the hash_table fix into it, and re-tested it successfully, so I've pushed it to master (as 757bf1dff5e8cee34c0a75d06140ca972bfecfa7).

[C++ PATCH] PR c++/93257 - consteval void function.

2020-01-15 Thread Jason Merrill
A prvalue can have void type, and if it doesn't do anything prohibited in a constant expression, it's vacuously constant. Tested x86_64-pc-linux-gnu, applying to trunk. * constexpr.c (verify_constant): Allow void_node. --- gcc/cp/constexpr.c | 3 ++- gcc/testsu

Re: [RFA (gimplify) PATCH] PR c++/33799 - destroy return value if local cleanup throws.

2020-01-15 Thread Jason Merrill
On 1/11/20 12:12 AM, Jason Merrill wrote: This is a pretty rare situation since the C++11 change to make all destructors default to noexcept, but it is still possible to define throwing destructors, and if a destructor for a local variable throws during the return, we've already constructed the r

Re: Analyzer committed to master (was Re: Analyzer status)

2020-01-15 Thread David Malcolm
On Wed, 2020-01-15 at 13:30 +0100, Rainer Orth wrote: > Hi David, > > > I've rebased and squashed the analyzer patch kit and squashed patch > > 2 > > of the hash_table fix into it, and re-tested it successfully, so > > I've > > pushed it to master (as 757bf1dff5e8cee34c0a75d06140ca972bfecfa7). > >

Re: [PATCH] adjust object size computation for union accesses and PHIs (PR 92765)

2020-01-15 Thread Jeff Law
On Wed, 2020-01-15 at 13:18 +, Martin Sebor wrote: > The strcmp optimization newly introduced in GCC 10 relies on > the size of the smallest referenced array object to determine > whether the function can return zero. When the size of > the object is smaller than the length of the other string

Re: [PATCH] Fix PR libgcc/92988

2020-01-15 Thread Jeff Law
On Mon, 2019-12-30 at 14:23 -0500, John David Anglin wrote: > Tested on hppa64-hp-hpux11.11. > > Okay? > > Dave > > 2019-12-30 John David Anglin > > PR libgcc/92988 > * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if > DEFAULT_USE_CXA_ATEXIT is true. Who is

Re: [PATCH] adjust object size computation for union accesses and PHIs (PR 92765)

2020-01-15 Thread Jakub Jelinek
On Wed, Jan 15, 2020 at 01:18:54PM +, Martin Sebor wrote: > @@ -4099,14 +4122,18 @@ determine_min_objsize (tree dest) > >init_object_sizes (); > > - if (compute_builtin_object_size (dest, 2, &size)) > -return size; > - >/* Try to determine the size of the object through the RHS

Re: [PATCH] Clean up references to Subversion in documentation sources.

2020-01-15 Thread Jonathan Wakely
On 13/01/20 09:02 -0500, Eric S. Raymond wrote: diff --git a/libstdc++-v3/doc/xml/faq.xml b/libstdc++-v3/doc/xml/faq.xml index b4bf333e26a..21c312dce35 100644 --- a/libstdc++-v3/doc/xml/faq.xml +++ b/libstdc++-v3/doc/xml/faq.xml @@ -34,9 +34,8 @@ clauses 20 through 33 and annex D (prior to t

[wwwdocs] Swap links to our previous SVN documentation with those for Git.

2020-01-15 Thread Gerald Pfeifer
Pushed. Gerald - Log - commit 335d0b9345d12398b14ad6f69c3572861ce49d5b Author: Gerald Pfeifer Date: Wed Jan 15 22:34:53 2020 +0100 Swap links to our previous SVN documentation with those for Git. diff --git a/htdocs/style.mh

Re: [PATCH] libstdc++/91223 Improve unordered containers == operator

2020-01-15 Thread Jonathan Wakely
On 14/01/20 22:25 +0100, François Dumont wrote: On 1/13/20 10:53 PM, Jonathan Wakely wrote: On 13/01/20 22:41 +0100, François Dumont wrote: For the multi-keys we could still avoid redundant comparisons when _Equal is just doing == on the key type. On unordered_multiset we could just avoids t

Re: [PATCH] libstdc++/91223 Improve unordered containers == operator

2020-01-15 Thread Jonathan Wakely
On 15/01/20 21:48 +, Jonathan Wakely wrote: On 14/01/20 22:25 +0100, François Dumont wrote: On 1/13/20 10:53 PM, Jonathan Wakely wrote: On 13/01/20 22:41 +0100, François Dumont wrote: For the multi-keys we could still avoid redundant comparisons when _Equal is just doing == on the key ty

Re: [Patch, Fortran + wwwdocs] PR93253 – Document BOZ changes, make it friendlier in legacy code

2020-01-15 Thread Tobias Burnus
Hi Steve, regarding the release-notes text: I like your version – it helps if someone writes the text, who knows what changed. I have fixed a typo and adapted the syntax – see attachment. Any comment to it? Otherwise, I intent to commit it tomorrow. Regarding the patch, I enclosed a revised

Re: [PATCH] Fix PR libgcc/92988

2020-01-15 Thread John David Anglin
On 2020-01-15 3:45 p.m., Jeff Law wrote: > On Mon, 2019-12-30 at 14:23 -0500, John David Anglin wrote: >> Tested on hppa64-hp-hpux11.11. >> >> Okay? >> >> Dave >> >> 2019-12-30 John David Anglin >> >> PR libgcc/92988 >> * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if

Re: [PATCH] Fix PR libgcc/92988

2020-01-15 Thread Jeff Law
On Wed, 2020-01-15 at 17:27 -0500, John David Anglin wrote: > On 2020-01-15 3:45 p.m., Jeff Law wrote: > > On Mon, 2019-12-30 at 14:23 -0500, John David Anglin wrote: > > > Tested on hppa64-hp-hpux11.11. > > > > > > Okay? > > > > > > Dave > > > > > > 2019-12-30 John David Anglin > > > > > >

Re: [patch] contrib: Don't add push rules for personal and vendor spaces.

2020-01-15 Thread Joseph Myers
A reasonable replacement for those push rules might be command aliases (e.g. "git upush " to push the user branch ). -- Joseph S. Myers jos...@codesourcery.com

Re: [Patch, Fortran + wwwdocs] PR93253 – Document BOZ changes, make it friendlier in legacy code

2020-01-15 Thread Steve Kargl
On Wed, Jan 15, 2020 at 11:25:44PM +0100, Tobias Burnus wrote: > > regarding the release-notes text: I like your version – it helps if > someone writes the text, who knows what changed. I have fixed a typo and > adapted the syntax – see attachment. Any comment to it? Otherwise, I > intent to co

[committed] analyzer: fix comment

2020-01-15 Thread David Malcolm
I rewrote class impl_region_model_context to avoid using multiple inheritance during patch review but forgot to update this comment. Fix it. Pushed to origin/master as 49e9a9996ab334133c78f1445173d8e663edd3e9 gcc/analyzer/ChangeLog: * engine.cc (class impl_region_model_context): Fix comm

[committed] analyzer: add note about -fdump-ipa-analyzer to internal docs

2020-01-15 Thread David Malcolm
Pushed to origin/master as 5b6681201ae54a3272d49e390f96a1a45a6eb435 gcc/ChangeLog: * doc/analyzer.texi (Overview): Add note about -fdump-ipa-analyzer. --- gcc/doc/analyzer.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/doc/analyzer.texi b/gcc/doc/analyzer.texi inde

[PATCH] analyzer: fix handling of negative byte offsets (PR 93281)

2020-01-15 Thread David Malcolm
Various 32-bit targets show failures in gcc.dg/analyzer/data-model-1.c with tests of the form: __analyzer_eval (q[-2].x == 107024); /* { dg-warning "TRUE" } */ __analyzer_eval (q[-2].y == 107025); /* { dg-warning "TRUE" } */ where they emit UNKNOWN instead. The root cause is that gimple has a

[PATCH 1/2] Fix uninitialized field in expand_operand.

2020-01-15 Thread apinski
From: Andrew Pinski Commit g:f96bf49a0 added the target field to expand_operand. But it leaves it uninitialized when doing a full initialization inside create_expand_operand. This fixes the problem and improves the code generation inside create_expand_operand too. OK? Bootstrapped and tested on

[PATCH 2/2] Uninitialized padding in struct _dep.

2020-01-15 Thread apinski
From: Andrew Pinski In struct _dep, there is an implicit padding of 4bits. This bit-field padding is uninitialized when init_dep_1 is being called. This means we access uninitialized memory but never use it for anything. Adding an unused bit-field field and initializing it in init_dep_1 will im

Re: [PATCH] libstdc++/91223 Improve unordered containers == operator

2020-01-15 Thread François Dumont
On 1/15/20 10:52 PM, Jonathan Wakely wrote: On 15/01/20 21:48 +, Jonathan Wakely wrote: On 14/01/20 22:25 +0100, François Dumont wrote: On 1/13/20 10:53 PM, Jonathan Wakely wrote: On 13/01/20 22:41 +0100, François Dumont wrote: For the multi-keys we could still avoid redundant comparison

Re: [PATCH] analyzer: fix handling of negative byte offsets (PR 93281)

2020-01-15 Thread Richard Biener
On January 16, 2020 12:56:48 AM GMT+01:00, David Malcolm wrote: >Various 32-bit targets show failures in gcc.dg/analyzer/data-model-1.c >with tests of the form: > __analyzer_eval (q[-2].x == 107024); /* { dg-warning "TRUE" } */ > __analyzer_eval (q[-2].y == 107025); /* { dg-warning "TRUE" } */

[wwwdocs] Refer to the new pages describing our Git setup.

2020-01-15 Thread Gerald Pfeifer
Replace two references to svn.html and svnwrite.html by git.html and gitwrite.html, respectively. Reduce an explicit reference to whatever tool we use on the way. Pushed. --- htdocs/contribute.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/contribute.html b

Re: [PATCH] doc: Replace references to SVN with those to Git

2020-01-15 Thread Gerald Pfeifer
On Wed, 15 Jan 2020, Martin Jambor wrote: > when going over stuff linked from the SummerOfCode wiki page, > I found out that doc/install.texi still refers to Subversion. We've got a fair number of references left in various places; working through that slowly and appreciate your help! > The foll

Re: [C++ coroutines 4/6] Middle end expanders and transforms.

2020-01-15 Thread Bin.Cheng
> > + gassign *get_res = gimple_build_assign (lhs, done); > > + gsi_replace (gsi, get_res, true); > > + *handled_ops_p = true; > > + } > > + break; > > + } > > +} > > + return NULL_TREE; > > +} > > + > > +/* Main entry point for lowering coro