Re: [RFC] A memory gathering optimization for loop

2021-04-29 Thread Florian Weimer via Gcc
* Feng Xue: > To simplify explanation of this memory gathering optimization, pseudo > code on original nested loops is given as: > > outer-loop ( ) { /* data in inner loop are also invariant in outer loop. */ > ... > inner-loop (iter, iter_count) { /* inner loop to apply MGO */ > >

gcc-9-20210429 is now available

2021-04-29 Thread GCC Administrator via Gcc
Snapshot gcc-9-20210429 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20210429/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: TREE_NO_WARNING and internal variables

2021-04-29 Thread Jakub Jelinek via Gcc
On Thu, Apr 29, 2021 at 11:54:27AM -0600, Martin Sebor via Gcc wrote: > On 4/29/21 11:32 AM, Jakub Jelinek wrote: > > On Thu, Apr 29, 2021 at 11:22:15AM -0600, Martin Sebor via Gcc wrote: > > > The C front end (and perhaps others as well) creates internal > > > variables in a few places, such as in

Re: RFC: attributes for marking security boundaries (system calls/ioctls, user vs kernel pointers etc)

2021-04-29 Thread Martin Sebor via Gcc
On 4/29/21 11:18 AM, David Malcolm wrote: I've been going through old Linux kernel CVEs, trying to prototype some possible new warnings for -fanalyzer in GCC 12 (and, alas, finding places where the analyzer internals need work...) I think I want a way for the user to be able to mark security bou

Re: TREE_NO_WARNING and internal variables

2021-04-29 Thread Martin Sebor via Gcc
On 4/29/21 11:32 AM, Jakub Jelinek wrote: On Thu, Apr 29, 2021 at 11:22:15AM -0600, Martin Sebor via Gcc wrote: The C front end (and perhaps others as well) creates internal variables in a few places, such as in convert_lvalue_to_rvalue like so: /* Remove the qualifiers for the rest of t

Re: TREE_NO_WARNING and internal variables

2021-04-29 Thread Jakub Jelinek via Gcc
On Thu, Apr 29, 2021 at 11:22:15AM -0600, Martin Sebor via Gcc wrote: > The C front end (and perhaps others as well) creates internal > variables in a few places, such as in convert_lvalue_to_rvalue > like so: > > /* Remove the qualifiers for the rest of the expressions and >create t

TREE_NO_WARNING and internal variables

2021-04-29 Thread Martin Sebor via Gcc
The C front end (and perhaps others as well) creates internal variables in a few places, such as in convert_lvalue_to_rvalue like so: /* Remove the qualifiers for the rest of the expressions and create the VAL temp variable to hold the RHS. */ nonatomic_type = build_qualifie

RFC: attributes for marking security boundaries (system calls/ioctls, user vs kernel pointers etc)

2021-04-29 Thread David Malcolm via Gcc
I've been going through old Linux kernel CVEs, trying to prototype some possible new warnings for -fanalyzer in GCC 12 (and, alas, finding places where the analyzer internals need work...) I think I want a way for the user to be able to mark security boundaries in their code: for example: * in the

Re: Re: State of AutoFDO in GCC

2021-04-29 Thread 172060045
Hi all, I`m using GCC 9.3 AutoFDO and the old version create_gcov on arm64 and it works well. Actually it support not only LBR like mode but also inst_retired even cycles event, which`s the early implementation of AutoFDO[1]. There is no difference in output format of create_gcov between LBR

Re: Could vector type of poly_int and compile-time constants be enabled at the same time ?

2021-04-29 Thread Richard Biener via Gcc
On Thu, Apr 29, 2021 at 5:40 AM JojoR via Gcc wrote: > > Hi, > > I have a little know about for 'Sizes and offsets as runtime > invariants’, > > and need to add vector types like V2SImode as compile-time constants > with enabled vector types of runtime invariants. > >

Re: Could vector type of poly_int and compile-time constants be enabled at the same time ?

2021-04-29 Thread Richard Sandiford via Gcc
JojoR via Gcc writes: > Hi, > > I have a little know about for 'Sizes and offsets as runtime > invariants’, > > and need to add vector types like V2SImode as compile-time constants > with enabled vector types of runtime invariants. > > Could I enable two vector types at sa