[PATCH][RFC] tree-optimization/105646 - re-interpret always executed in uninit diag

2022-08-21 Thread Richard Biener via Gcc-patches
The following fixes PR105646, not diagnosing int f1(); int f3(){ auto const & a = f1(); bool v3{v3}; return a; } with optimization because the early uninit diagnostic pass only diagnoses always executed cases. The patch does this by re-interpreting what always executed means and choo

Re: [PATCH] RISC-V: Add runtime invariant support

2022-08-21 Thread Richard Biener via Gcc-patches
On Sat, 20 Aug 2022, Andrew Pinski wrote: > On Sat, Aug 20, 2022 at 3:34 PM Andreas Schwab wrote: > > > > This breaks bootstrap: > > > > ../../gcc/tree-vect-loop-manip.cc: In function 'void > > vect_gen_vector_loop_niters(loop_vec_info, tree, tree_node**, tree_node**, > > bool)': > > ../../gcc/

[PATCH (pushed)] analyzer: add missing final keyword

2022-08-21 Thread Martin Liška
Fixes the following clang warning: gcc/analyzer/region-model.cc:5096:8: warning: 'subclass_equal_p' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] gcc/analyzer/ChangeLog: * region-model.cc: Add missing final keyword. --- gcc/analyzer/region-mo

[PATCH] Add __m128bf16/__m256bf16/__m512bf16 type for bf16 abi test

2022-08-21 Thread Haochen Jiang via Gcc-patches
Hi all, This patch added __m128bf16/__m256bf16/__m512bf16 type in testcases. BRs, Haochen gcc/testsuite/ChangeLog: * gcc.target/x86_64/abi/bf16/bf16-helper.h: Add _m128bf16/m256bf16/_m512bf16. * gcc.target/x86_64/abi/bf16/m512bf16/bf16-zmm-check.h: Include bf16-h

Re: [PATCH] Add ABI test for __bf16 type

2022-08-21 Thread Hongtao Liu via Gcc-patches
On Mon, Aug 22, 2022 at 9:02 AM Hongtao Liu wrote: > > On Sat, Aug 20, 2022 at 1:31 AM H.J. Lu wrote: > > > > On Thu, Aug 18, 2022 at 5:56 PM Hongtao Liu via Gcc-patches > > wrote: > > > > > > On Thu, Aug 18, 2022 at 3:36 PM Haochen Jiang via Gcc-patches > > > wrote: > > > > > > > > Hi all, > >

Re: [PATCH] Add ABI test for __bf16 type

2022-08-21 Thread Hongtao Liu via Gcc-patches
On Sat, Aug 20, 2022 at 1:31 AM H.J. Lu wrote: > > On Thu, Aug 18, 2022 at 5:56 PM Hongtao Liu via Gcc-patches > wrote: > > > > On Thu, Aug 18, 2022 at 3:36 PM Haochen Jiang via Gcc-patches > > wrote: > > > > > > Hi all, > > > > > > This patch aims to add bf16 abi test after the whole __bf16 typ

Re: Ping [PATCH V2] libcpp: Optimize #pragma once with a hash table [PR58770]

2022-08-21 Thread David Malcolm via Gcc-patches
On Fri, 2022-08-19 at 13:27 -0700, Paul Hollinsky wrote: > Hi all, > > Would love some feedback on this patch! > > Thanks, > Paul Hi Paul. Sorry for not getting back to you before. I'm listed as a libcpp maintainer, but this happens to be a part of libcpp I've not looked at (I'm mostly just fam