Re: Couldn't `function(arg[static 3])` imply nonnull and array size in C?

2015-05-08 Thread Manuel López-Ibáñez
On 7 May 2015 at 19:51, Martin Uecker wrote: > Am Mon, 04 May 2015 18:28:49 +0200 > schrieb Manuel López-Ibáñez : > >> On 04/05/15 07:40, Martin Uecker wrote: >> > >> > BTW: Why is 'nonnull' a function attribute and not something >> > which can be attached to pointer types? >> >> I think this is s

Re: Merging debug-early work?

2015-05-08 Thread Richard Biener
On Thu, May 7, 2015 at 5:29 PM, Aldy Hernandez wrote: > On 05/06/2015 04:22 AM, Richard Biener wrote: >> >> On Wed, May 6, 2015 at 12:33 AM, Aldy Hernandez wrote: >>> >>> Gentlemen! >>> >>> I believe I have done as much as is reasonable for a merge, but I'd like >>> to >>> get your opinion before

Re: AutoFDO profile toolchain is open-sourced

2015-05-08 Thread Ilya Palachev
On 11.04.2015 01:49, Xinliang David Li wrote: On Fri, Apr 10, 2015 at 3:43 PM, Jan Hubicka wrote: LBR is used for both cfg edge profiling and indirect call Target value profiling. I see, that makes sense ;) I guess if we want to support profile collection on targets w/o this feature we could

Re: Change to C++11 by default?

2015-05-08 Thread Allan Sandfeld Jensen
On Thursday 07 May 2015, Jason Merrill wrote: > I think it's time to switch to C++11 as the default C++ dialect for GCC > 6. Any thoughts? > Would it be unrealistic to make C++14 the default? With it being an fixup of C++11, I would guess it could have longer staying power as the default. `Alla

Re: Couldn't `function(arg[static 3])` imply nonnull and array size in C?

2015-05-08 Thread Joseph Myers
On Fri, 8 May 2015, Manuel López-Ibáñez wrote: > "At present, the first parameter in a function prototype must have > some type specifier that is not an attribute specifier; this resolves > an ambiguity in the interpretation of void f(int (__attribute__((foo)) > x))" > https://gcc.gnu.org/onlinedo

Re: Change to C++11 by default?

2015-05-08 Thread Krzesimir Nowak
2015-05-07 20:46 GMT+02:00 Jason Merrill : > I think it's time to switch to C++11 as the default C++ dialect for GCC 6. > Any thoughts? Does it mean that gcc 6 will have an official support for C++11, instead of experimental as gcc 5 has now (See C++ section inhttps://gcc.gnu.org/onlinedocs/gcc-5.

Re: AutoFDO profile toolchain is open-sourced

2015-05-08 Thread Dehao Chen
On Fri, May 8, 2015 at 2:00 AM, Ilya Palachev wrote: > On 11.04.2015 01:49, Xinliang David Li wrote: >> >> On Fri, Apr 10, 2015 at 3:43 PM, Jan Hubicka wrote: LBR is used for both cfg edge profiling and indirect call Target value profiling. >>> >>> I see, that makes sense ;) I gue

nonnull attribute (was: Re: Couldn't `function(arg[static 3])` imply nonnull and array size in C?)

2015-05-08 Thread Martin Uecker
Am Fri, 8 May 2015 11:04:22 + Joseph Myers : > On Fri, 8 May 2015, Manuel López-Ibáñez wrote: > > > "At present, the first parameter in a function prototype must have > > some type specifier that is not an attribute specifier; this resolves > > an ambiguity in the interpretation of void f(int

Re: nonnull attribute (was: Re: Couldn't `function(arg[static 3])` imply nonnull and array size in C?)

2015-05-08 Thread Joseph Myers
On Fri, 8 May 2015, Martin Uecker wrote: > From reading the documentation, it seems that attributes originally > were supposed to only go with declarations and were not meant to be a > general extension to the type system. But then there is the example: > > char *__attribute__((aligned(8))) *f; >

RE: AutoFDO profile toolchain is open-sourced

2015-05-08 Thread Aditya K
> Date: Fri, 8 May 2015 11:19:12 -0700 > Subject: Re: AutoFDO profile toolchain is open-sourced > From: de...@google.com > To: i.palac...@samsung.com > CC: davi...@google.com; hubi...@ucw.cz; gcc@gcc.gnu.org; > v.bari...@samsung.com; dnovi...@google.com;