Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Richard Sandiford
Segher Boessenkool writes: > On Mon, Feb 03, 2020 at 01:24:04PM -0700, Jeff Law wrote: >> ANd yes, even though I have been a regular ChangeLog user, I rely more >> and more on the git log these days. > > As a reviewer, the changelog is priceless still. We shouldn't drop the > changelog before peo

Re: C++ constructors and callgraph interaction ("__ct_comp " vs constructor function body)

2020-02-06 Thread Martin Jambor
Hi, On Wed, Feb 05 2020, David Malcolm wrote: > Answering my own question, calling ultimate_alias_target on the > __ct_comp cgraph_node seems to find the "right" cgraph_node. > > Is that the right general-purpose answer here? > sounds like it. If however you also want the function to look throug

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Jeff Law
On Wed, 2020-02-05 at 15:18 -0600, Segher Boessenkool wrote: > On Mon, Feb 03, 2020 at 01:24:04PM -0700, Jeff Law wrote: > > ANd yes, even though I have been a regular ChangeLog user, I rely more > > and more on the git log these days. > > As a reviewer, the changelog is priceless still. We shoul

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Segher Boessenkool
On Thu, Feb 06, 2020 at 08:51:42AM +, Richard Sandiford wrote: > Segher Boessenkool writes: > > On Mon, Feb 03, 2020 at 01:24:04PM -0700, Jeff Law wrote: > >> ANd yes, even though I have been a regular ChangeLog user, I rely more > >> and more on the git log these days. > > > > As a reviewer,

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Segher Boessenkool
On Wed, Feb 05, 2020 at 06:43:54PM -0700, Jeff Law wrote: > On Wed, 2020-02-05 at 15:18 -0600, Segher Boessenkool wrote: > > As a reviewer, the changelog is priceless still. We shouldn't drop the > > changelog before people write *good* commit messages (and we are still > > quite far from that goa

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Richard Biener
On Thu, Feb 6, 2020 at 2:51 PM Segher Boessenkool wrote: > > On Wed, Feb 05, 2020 at 06:43:54PM -0700, Jeff Law wrote: > > On Wed, 2020-02-05 at 15:18 -0600, Segher Boessenkool wrote: > > > As a reviewer, the changelog is priceless still. We shouldn't drop the > > > changelog before people write

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Jonathan Wakely
On Thu, 6 Feb 2020 at 14:01, Richard Biener wrote: > So do you have a script that takes a commit with a ChangeLog at its end > and populates the appropriate ChangeLog files? I'm trying to come up with > one to make the process less manual ... it's definitely a part that requires > more typing comp

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Jakub Jelinek
On Wed, Feb 05, 2020 at 06:43:54PM -0700, Jeff Law wrote: > On Wed, 2020-02-05 at 15:18 -0600, Segher Boessenkool wrote: > > On Mon, Feb 03, 2020 at 01:24:04PM -0700, Jeff Law wrote: > > > ANd yes, even though I have been a regular ChangeLog user, I rely more > > > and more on the git log these day

C++ 20

2020-02-06 Thread Paul Deitel
Hi, Is there a docker container for the current development version of GCC 10? Thanks, Paul

Re: C++ 20

2020-02-06 Thread Jonathan Wakely
On Thu, 6 Feb 2020 at 15:50, Paul Deitel wrote: > > Hi, > > Is there a docker container for the current development version of GCC 10? This question would be more appropriate on the gcc-help mailing list. The GCC project doesn't provide pre-built binaries or packages of any kind. The rawhide ima

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Segher Boessenkool
On Thu, Feb 06, 2020 at 03:56:40PM +0100, Jakub Jelinek wrote: > On Wed, Feb 05, 2020 at 06:43:54PM -0700, Jeff Law wrote: > > And FWIW, we're talking about the ChangeLog *file* here. If folks > > continued writing the same log messages and put them into git, I > > personally think that's sufficie

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Jakub Jelinek
On Thu, Feb 06, 2020 at 10:17:54AM -0600, Segher Boessenkool wrote: > > We would need to agree how do we express stuff going into different former > > ChangeLog files, whether we require gcc/cp/ etc. prefixes before the lines, > > or say require empty line for different former ChangeLog files and l

Missed optimization with endian and alignment independent memory access on x64

2020-02-06 Thread Moritz Strübe
Hey, a pattern I see quite often in embedded libraries is to access an array byte wise and shift the bits as needed (as this fixes endianness and alignment issues). If I read two consecutive bytes and left-shift the second by 8, I'd expect the compiler to optimize this to a word read on a x64

Re: Missed optimization with endian and alignment independent memory access on x64

2020-02-06 Thread Alexander Monakov
On Thu, 6 Feb 2020, Moritz Strübe wrote: > Why is this so hard optimize? As it's quite a common pattern I'd expect that > there would be at least some hand-coded special case optimizer. (This isn't > criticism - I'm honestly curious.) Or is there a reason gcc shouldn't optimize > this / Why it does

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Jason Merrill
On Thu, Feb 6, 2020 at 11:25 AM Segher Boessenkool < seg...@kernel.crashing.org> wrote: > > We also need a way to fix changelog entries for the errors that do seep > through (and that are bad enough that they do need fixing). It doesn't > have to be easy or convenient, but we need *some* way to d

Re: C++ constructors and callgraph interaction ("__ct_comp " vs constructor function body)

2020-02-06 Thread David Malcolm
On Thu, 2020-02-06 at 13:49 +0100, Martin Jambor wrote: > Hi, > > On Wed, Feb 05 2020, David Malcolm wrote: > > Answering my own question, calling ultimate_alias_target on the > > __ct_comp cgraph_node seems to find the "right" cgraph_node. > > > > Is that the right general-purpose answer here? >

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Segher Boessenkool
On Thu, Feb 06, 2020 at 03:01:20PM +0100, Richard Biener wrote: > On Thu, Feb 6, 2020 at 2:51 PM Segher Boessenkool > wrote: > > If you rebase changelog files, then yes, it's a bloody pain ;-) > > So do you have a script that takes a commit with a ChangeLog at its end > and populates the appropri

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Segher Boessenkool
On Thu, Feb 06, 2020 at 01:57:49PM -0500, Jason Merrill wrote: > On Thu, Feb 6, 2020 at 11:25 AM Segher Boessenkool < > seg...@kernel.crashing.org> wrote: > > > > > We also need a way to fix changelog entries for the errors that do seep > > through (and that are bad enough that they do need fixing

Re: GCC GSoC 2020: Call for mentors and project ideas

2020-02-06 Thread David Malcolm
On Mon, 2020-01-27 at 16:30 +0100, Martin Liška wrote: > On 1/15/20 11:45 PM, Martin Jambor wrote: > > Therefore, first and foremost, I would like to ask all (moderately) > > seasoned GCC contributors to consider mentoring a student this year > > and > > ideally also come up with a project that the