Re: LTO vs GCC 8

2018-05-16 Thread David Brown
On 15/05/18 22:03, Freddie Chopin wrote: > > I cannot reproduce this here ); Don't get me wrong - if there's a > "free" way to improve code size/speed with some compiler flags which I > did not use previously, then I'm very much interested, however in my > particular case the best result (size-wi

Re: Auto-generated .rodata contents and __attribute__((section))

2018-05-16 Thread Richard Biener
On Tue, May 15, 2018 at 9:56 PM Julius Werner wrote: > > I think you are asking for per-function constant pool sections. Because > > we generally cannot avoid the need of a constant pool and dependent > > on the target that is always global. Note with per-function constant > > pools you will no

Re: Please support the _Atomic keyword in C++

2018-05-16 Thread Rodrigo V. G.
On Tue, May 15, 2018 at 12:50 PM, Jonathan Wakely wrote: > On 15 May 2018 at 11:01, Rodrigo V. G. wrote: >> On Tue, May 15, 2018 at 12:27 AM, Jonathan Wakely >> wrote: >>> On 14 May 2018 at 22:32, Rodrigo V. G. wrote: In addition to the bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?

Re: Display priority in "Serious" bugs for gcc 8 from web page

2018-05-16 Thread Richard Sandiford
Thomas Koenig writes: > Hello world, > > whenever I look at the list of serious bugs, I find myself chaning the > columns to add the priority field. > > What do you think about adding the priority field when clicking on that > link? A patch is attached. I don't think anyone replied to this so fa

Re: Please support the _Atomic keyword in C++

2018-05-16 Thread Jonathan Wakely
On 16 May 2018 at 11:23, Rodrigo V. G. wrote: > On Tue, May 15, 2018 at 12:50 PM, Jonathan Wakely > wrote: >> If you want a freestanding C++ implementation then configure GCC with >> --disable-hosted-libstdcxx and build+install libstdc++. Those >> instructions do neither of those things, so it's

Developers as your Virtual Employees

2018-05-16 Thread Victoria
Hello, We have a large team of more than* 220 offshore developers* and we specialise in PHP, AngularJS, iOS, Android and React development. I wanted to reach out to discuss and see if you'd like to learn more about our dev resources and how we can help you expedite your projects, reduce developmen

Vector pointer modes

2018-05-16 Thread Andrew Stubbs
Hi all, I'm in the process of trying to update our AMD GCN port from GCC 7 to GCC 8+, but I've hit a problem ... It seems there's a new assumption that pointers and addresses will be scalar, but GCN load instructions require vectors of pointers. Basically, machine_mode has been replaced with

Re: [Aarch64] Vector Function Application Binary Interface Specification for OpenMP

2018-05-16 Thread Steve Ellcey
On Tue, 2018-05-15 at 18:29 +, Francesco Petrogalli wrote: > Hi Steve, > > I am happy to let you know that the Vector Function ABI for AArch64 > is now public and available via the link at [1]. > > Don’t hesitate to contact me in case you have any questions. > > Kind regards, > > Francesco

Re: Vector pointer modes

2018-05-16 Thread Richard Biener
On May 16, 2018 6:03:35 PM GMT+02:00, Andrew Stubbs wrote: >Hi all, > >I'm in the process of trying to update our AMD GCN port from GCC 7 to >GCC 8+, but I've hit a problem ... > >It seems there's a new assumption that pointers and addresses will be >scalar, but GCN load instructions require ve

Re: [Aarch64] Vector Function Application Binary Interface Specification for OpenMP

2018-05-16 Thread Richard Earnshaw (lists)
On 16/05/18 17:21, Steve Ellcey wrote: > On Tue, 2018-05-15 at 18:29 +, Francesco Petrogalli wrote: > >> Hi Steve, >> >> I am happy to let you know that the Vector Function ABI for AArch64 >> is now public and available via the link at [1]. >> >> Don’t hesitate to contact me in case you have a

Re: Vector pointer modes

2018-05-16 Thread Andrew Stubbs
On 16/05/18 17:24, Richard Biener wrote: On May 16, 2018 6:03:35 PM GMT+02:00, Andrew Stubbs wrote: Is there a new way of dealing with vectors of pointers? Maybe you can masquerade it behind a large scalar integer mode?... We're using V64DImode to represent a vector of 64 64-bit pointers.

Re: Developers as your Virtual Employees

2018-05-16 Thread Gregory Casamento
I am very interested On Wed, May 16, 2018 at 11:36 Victoria wrote: > Hello, > > We have a large team of more than* 220 offshore developers* and we > specialise in PHP, AngularJS, iOS, Android and React development. I wanted > to reach out to discuss and see if you'd like to learn more about our

Re: Vector pointer modes

2018-05-16 Thread Richard Biener
On May 16, 2018 6:35:05 PM GMT+02:00, Andrew Stubbs wrote: >On 16/05/18 17:24, Richard Biener wrote: >> On May 16, 2018 6:03:35 PM GMT+02:00, Andrew Stubbs > wrote: >>> Is there a new way of dealing with vectors of pointers? >> >> Maybe you can masquerade it behind a large scalar integer mode?..

Re: [Aarch64] Vector Function Application Binary Interface Specification for OpenMP

2018-05-16 Thread Steve Ellcey
On Wed, 2018-05-16 at 17:30 +0100, Richard Earnshaw (lists) wrote: > On 16/05/18 17:21, Steve Ellcey wrote: > >  > > It doesn't look like GCC has any existing mechanism for having different > > sets of caller saved/callee saved registers depending on the function > > attributes of the calling or ca

Re: Vector pointer modes

2018-05-16 Thread Richard Sandiford
Andrew Stubbs writes: > Hi all, > > I'm in the process of trying to update our AMD GCN port from GCC 7 to > GCC 8+, but I've hit a problem ... > > It seems there's a new assumption that pointers and addresses will be > scalar, but GCN load instructions require vectors of pointers. > Basically,

Re: [Aarch64] Vector Function Application Binary Interface Specification for OpenMP

2018-05-16 Thread Richard Sandiford
Steve Ellcey writes: > On Wed, 2018-05-16 at 17:30 +0100, Richard Earnshaw (lists) wrote: >> On 16/05/18 17:21, Steve Ellcey wrote: >> >  >> > It doesn't look like GCC has any existing mechanism for having different >> > sets of caller saved/callee saved registers depending on the function >> > at

Bug in m68k ASM softloat implementation?

2018-05-16 Thread Kalamatee
Hi, After hunting out a problem using the softloat code on m68k, with the assistance of the WinUAE author (Toni Wilen) we think we have noticed a bug dating back to 1994. Laddsf$nf returns values with the wrong sign, because it clears the sign bit, before caching the wrong value and then attempti

Re: Bug in m68k ASM softloat implementation?

2018-05-16 Thread Kalamatee
On 16 May 2018 at 22:17, Kalamatee wrote: > Hi, > > After hunting out a problem using the softloat code on m68k, with the > assistance of the WinUAE author (Toni Wilen) we think we have noticed a bug > dating back to 1994. > > Laddsf$nf returns values with the wrong sign, because it clears the si

gcc-6-20180516 is now available

2018-05-16 Thread gccadmin
Snapshot gcc-6-20180516 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20180516/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-6

I want to dump something when I compile the program. How should I do ?

2018-05-16 Thread 冠人 王 via gcc
My work is to modify the gcc source code so as to customize the warning message, when the programmer writing the program violating some rules.  When the violation occurs, I want to reveal some message such as "guanjen375 warning: the rule ### is violated" on the window. How should I do ? Should I