[PATCH 35/62] AVX512FP16: Add vcvtph2pd/vcvtph2psx/vcvtpd2ph/vcvtps2phx.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm512_cvtph_pd): New intrinsic. (_mm512_mask_cvtph_pd): Likewise. (_mm512_maskz_cvtph_pd): Likewise. (_mm512_cvt_roundph_pd): Likewise. (_mm512_mask_cvt_roundph_pd): Likewise. (_mm512_maskz_cv

[PATCH 38/62] AVX512FP16: Add testcase for vcvtsh2sd/vcvtsh2ss/vcvtsd2sh/vcvtss2sh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vcvtsd2sh-1a.c: New test. * gcc.target/i386/avx512fp16-vcvtsd2sh-1b.c: Ditto. * gcc.target/i386/avx512fp16-vcvtsh2sd-1a.c: Ditto. * gcc.target/i386/avx512fp16-vcvtsh2sd-1b.c: Ditto. * gcc.target/i386/avx5

[PATCH 36/62] AVX512FP16: Add testcase for vcvtph2pd/vcvtph2psx/vcvtpd2ph/vcvtps2phx.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-helper.h (V512): Add DF contents. (src3f): New. * gcc.target/i386/avx512fp16-vcvtpd2ph-1a.c: New test. * gcc.target/i386/avx512fp16-vcvtpd2ph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vcvtph2pd-1a.c: Ditt

[PATCH 33/62] AVX512FP16: Add testcase for vcvttph2w/vcvttph2uw/vcvttph2dq/vcvttph2udq/vcvttph2qq/vcvttph2uqq.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vcvttph2dq-1a.c: New test. * gcc.target/i386/avx512fp16-vcvttph2dq-1b.c: Ditto. * gcc.target/i386/avx512fp16-vcvttph2qq-1a.c: Ditto. * gcc.target/i386/avx512fp16-vcvttph2qq-1b.c: Ditto. * gcc.target/i386/

[PATCH 34/62] AVX512FP16: Add vcvttsh2si/vcvttsh2usi.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm_cvttsh_i32): New intrinsic. (_mm_cvttsh_u32): Likewise. (_mm_cvtt_roundsh_i32): Likewise. (_mm_cvtt_roundsh_u32): Likewise. (_mm_cvttsh_i64): Likewise. (_mm_cvttsh_u64): Likewise. (

[PATCH 32/62] AVX512FP16: Add vcvttph2w/vcvttph2uw/vcvttph2dq/vcvttph2qq/vcvttph2udq/vcvttph2uqq

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm512_cvttph_epi32): New intrinsic. (_mm512_mask_cvttph_epi32): Likewise. (_mm512_maskz_cvttph_epi32): Likewise. (_mm512_cvtt_roundph_epi32): Likewise. (_mm512_mask_cvtt_roundph_epi32): Likewise.

[PATCH 31/62] AVX512FP16: Add testcase for vcvtsh2si/vcvtsh2usi/vcvtsi2sh/vcvtusi2sh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-helper.h (V512): Add int32 component. * gcc.target/i386/avx512fp16-vcvtsh2si-1a.c: New test. * gcc.target/i386/avx512fp16-vcvtsh2si-1b.c: Ditto. * gcc.target/i386/avx512fp16-vcvtsh2si64-1a.c: Ditto.

[PATCH 30/62] AVX512FP16: Add vcvtsh2si/vcvtsh2usi/vcvtsi2sh/vcvtusi2sh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm_cvtsh_i32): New intrinsic. (_mm_cvtsh_u32): Likewise. (_mm_cvt_roundsh_i32): Likewise. (_mm_cvt_roundsh_u32): Likewise. (_mm_cvtsh_i64): Likewise. (_mm_cvtsh_u64): Likewise. (_mm_cvt_rounds

[PATCH 29/62] AVX512FP16: Add testcase for vcvtw2ph/vcvtuw2ph/vcvtdq2ph/vcvtudq2ph/vcvtqq2ph/vcvtuqq2ph.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vcvtdq2ph-1a.c: New test. * gcc.target/i386/avx512fp16-vcvtdq2ph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vcvtqq2ph-1a.c: Ditto. * gcc.target/i386/avx512fp16-vcvtqq2ph-1b.c: Ditto. * gcc.target/i386/avx5

[PATCH 28/62] AVX512FP16: Add vcvtuw2ph/vcvtw2ph/vcvtdq2ph/vcvtudq2ph/vcvtqq2ph/vcvtuqq2ph

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm512_cvtepi32_ph): New intrinsic. (_mm512_mask_cvtepi32_ph): Likewise. (_mm512_maskz_cvtepi32_ph): Likewise. (_mm512_cvt_roundepi32_ph): Likewise. (_mm512_mask_cvt_roundepi32_ph): Likewise. (

[PATCH 27/62] AVX512FP16: Add testcase for vcvtph2w/vcvtph2uw/vcvtph2dq/vcvtph2udq/vcvtph2qq/vcvtph2uqq.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-helper.h (V512): Add QI components. * gcc.target/i386/avx512fp16-vcvtph2dq-1a.c: New test. * gcc.target/i386/avx512fp16-vcvtph2dq-1b.c: Ditto. * gcc.target/i386/avx512fp16-vcvtph2qq-1a.c: Ditto. *

[PATCH 26/62] AVX512FP16: Add vcvtph2dq/vcvtph2qq/vcvtph2w/vcvtph2uw/vcvtph2uqq/vcvtph2udq

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm512_cvtph_epi32): New intrinsic/ (_mm512_mask_cvtph_epi32): Likewise. (_mm512_maskz_cvtph_epi32): Likewise. (_mm512_cvt_roundph_epi32): Likewise. (_mm512_mask_cvt_roundph_epi32): Likewise. (

[PATCH 25/62] AVX512FP16: Add testcase for vmovsh/vmovw.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vmovsh-1a.c: New test. * gcc.target/i386/avx512fp16-vmovsh-1b.c: Ditto. * gcc.target/i386/avx512fp16-vmovw-1a.c: Ditto. * gcc.target/i386/avx512fp16-vmovw-1b.c: Ditto. * gcc.target/i386/avx512fp16-vmovw-2

[PATCH 23/62] AVX512FP16: Add testcase for fpclass/getmant/getexp instructions.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-helper.h (V512): Add xmm component. * gcc.target/i386/avx512fp16-vfpclassph-1a.c: New test. * gcc.target/i386/avx512fp16-vfpclassph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vfpclasssh-1a.c: Ditto.

[PATCH 22/62] AVX512FP16: Add fpclass/getexp/getmant instructions.

2021-06-30 Thread liuhongt via Gcc-patches
Add vfpclassph/vfpclasssh/vgetexpph/vgetexpsh/vgetmantph/vgetmantsh. gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm_fpclass_sh_mask): New intrinsic. (_mm_mask_fpclass_sh_mask): Likewise. (_mm512_mask_fpclass_ph_mask): Likewise. (_mm512_fpclass_ph_mask

[PATCH 24/62] AVX512FP16: Add vmovw/vmovsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h: (_mm_cvtsi16_si128): New intrinsic. (_mm_cvtsi128_si16): Likewise. (_mm_mask_load_sh): Likewise. (_mm_maskz_load_sh): Likewise. (_mm_mask_store_sh): Likewise. (_mm_move_sh): Likewise. (

[PATCH 21/62] AVX512FP16: Add testcase for vreduceph/vreducesh/vrndscaleph/vrndscalesh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-helper.h (_ROUND_CUR): New macro. * gcc.target/i386/avx512fp16-vreduceph-1a.c: New test. * gcc.target/i386/avx512fp16-vreduceph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vreducesh-1a.c: Ditto. * gcc.targe

[PATCH 20/62] AVX512FP16: Add vreduceph/vreducesh/vrndscaleph/vrndscalesh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm512_reduce_ph): New intrinsic. (_mm512_mask_reduce_ph): Likewise. (_mm512_maskz_reduce_ph): Likewise. (_mm512_reduce_round_ph): Likewise. (_mm512_mask_reduce_round_ph): Likewise. (_mm512_mas

[PATCH 19/62] AVX512FP16: Add testcase for vrcpph/vrcpsh/vscalefph/vscalefsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vrcpph-1a.c: New test. * gcc.target/i386/avx512fp16-vrcpph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vrcpsh-1a.c: Ditto. * gcc.target/i386/avx512fp16-vrcpsh-1b.c: Ditto. * gcc.target/i386/avx512fp16-vscal

[PATCH 18/62] AVX512FP16: Add vrcpph/vrcpsh/vscalefph/vscalefsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h: (_mm512_rcp_ph): New intrinsic. (_mm512_mask_rcp_ph): Likewise. (_mm512_maskz_rcp_ph): Likewise. (_mm_rcp_sh): Likewise. (_mm_mask_rcp_sh): Likewise. (_mm_maskz_rcp_sh): Likewise. (_mm5

[PATCH 17/62] AVX512FP16: Add testcase for vsqrtph/vsqrtsh/vrsqrtph/vrsqrtsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vrsqrtph-1a.c: New test. * gcc.target/i386/avx512fp16-vrsqrtph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vrsqrtsh-1a.c: Ditto. * gcc.target/i386/avx512fp16-vrsqrtsh-1b.c: Ditto. * gcc.target/i386/avx512fp

[PATCH 16/62] AVX512FP16: Add vsqrtph/vrsqrtph/vsqrtsh/vrsqrtsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h: (_mm512_sqrt_ph): New intrinsic. (_mm512_mask_sqrt_ph): Likewise. (_mm512_maskz_sqrt_ph): Likewise. (_mm512_sqrt_round_ph): Likewise. (_mm512_mask_sqrt_round_ph): Likewise. (_mm512_maskz_sqrt_r

[PATCH 15/62] AVX512FP16: Add testcase for vcmpph/vcmpsh/vcomish/vucomish.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-helper.h (check_results_mask): New check_function. * gcc.target/i386/avx512fp16-vcmpph-1a.c: New test. * gcc.target/i386/avx512fp16-vcmpph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vcmpsh-1a.c: Ditto.

[PATCH 14/62] AVX512FP16: Add vcmpph/vcmpsh/vcomish/vucomish.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h: (_mm512_cmp_ph_mask): New intrinsic. (_mm512_mask_cmp_ph_mask): Likewise. (_mm512_cmp_round_ph_mask): Likewise. (_mm512_mask_cmp_round_ph_mask): Likewise. (_mm_cmp_sh_mask): Likewise. (_mm_mask

[PATCH 13/62] AVX512FP16: Add testcase for vmaxph/vmaxsh/vminph/vminsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vmaxph-1a.c: New test. * gcc.target/i386/avx512fp16-vmaxph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vmaxsh-1.c: Ditto. * gcc.target/i386/avx512fp16-vmaxsh-1b.c: Ditto. * gcc.target/i386/avx512fp16-vminph

[PATCH 12/62] AVX512FP16: Add vmaxph/vminph/vmaxsh/vminsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config/i386/avx512fp16intrin.h: (_mm512_max_ph): New intrinsic. (_mm512_mask_max_ph): Likewise. (_mm512_maskz_max_ph): Likewise. (_mm512_min_ph): Likewise. (_mm512_mask_min_ph): Likewise. (_mm512_maskz_min_ph): Likewise. (_mm

[PATCH 10/62] AVX512FP16: Add vaddsh/vsubsh/vmulsh/vdivsh.

2021-06-30 Thread liuhongt via Gcc-patches
From: "Liu, Hongtao" gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm_add_sh): New intrinsic. (_mm_mask_add_sh): Likewise. (_mm_maskz_add_sh): Likewise. (_mm_sub_sh): Likewise. (_mm_mask_sub_sh): Likewise. (_mm_maskz_sub_sh): Likewise.

[PATCH 11/62] AVX512FP16: Add testcase for vaddsh/vsubsh/vmulsh/vdivsh.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vaddsh-1a.c: New test. * gcc.target/i386/avx512fp16-vaddsh-1b.c: Ditto. * gcc.target/i386/avx512fp16-vdivsh-1a.c: Ditto. * gcc.target/i386/avx512fp16-vdivsh-1b.c: Ditto. * gcc.target/i386/avx512fp16-vmuls

[PATCH 06/62] AVX512FP16: Add abi test for zmm

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/x86_64/abi/avx512fp16/m512h/abi-avx512fp16-zmm.exp: New file. * gcc.target/x86_64/abi/avx512fp16/m512h/args.h: Likewise. * gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S: Likewise. * gcc.target/x86_64/abi/avx512fp1

[PATCH 08/62] AVX512FP16: Add testcase for vaddph/vsubph/vmulph/vdivph.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-helper.h: New header file for FP16 runtime test. * gcc.target/i386/avx512fp16-vaddph-1a.c: New test. * gcc.target/i386/avx512fp16-vaddph-1b.c: Ditto. * gcc.target/i386/avx512fp16-vdivph-1a.c: Ditto.

[PATCH 09/62] AVX512FP16: Enable _Float16 autovectorization

2021-06-30 Thread liuhongt via Gcc-patches
From: "H.J. Lu" gcc/ChangeLog: * config/i386/i386-expand.c (ix86_avx256_split_vector_move_misalign): Handle V16HF mode. * config/i386/i386.c (ix86_preferred_simd_mode): Handle HF mode. * config/i386/sse.md (V_256H): New mode iterator. (avx_vextract

[PATCH 07/62] AVX512FP16: Add vaddph/vsubph/vdivph/vmulph.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/ChangeLog: * config.gcc: Add avx512fp16vlintrin.h. * config/i386/avx512fp16intrin.h: (_mm512_add_ph): New intrinsic. (_mm512_mask_add_ph): Likewise. (_mm512_maskz_add_ph): Likewise. (_mm512_sub_ph): Likewise. (_mm512_mask_sub_ph): Likewise.

[PATCH 05/62] AVX512FP16: Add ABI test for ymm.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/x86_64/abi/avx512fp16/m256h/abi-avx512fp16-ymm.exp: New exp file. * gcc.target/x86_64/abi/avx512fp16/m256h/args.h: New header. * gcc.target/x86_64/abi/avx512fp16/m256h/avx512fp16-ymm-check.h: Likewise. * gcc.targ

[PATCH 02/62] AVX512FP16: Add testcase for vector init and broadcast intrinsics.

2021-06-30 Thread liuhongt via Gcc-patches
gcc/testsuite/ChangeLog: * gcc.target/i386/m512-check.h: Add union128h, union256h, union512h. * gcc.target/i386/avx512fp16-10a.c: New test. * gcc.target/i386/avx512fp16-10b.c: Ditto. * gcc.target/i386/avx512fp16-1a.c: Ditto. * gcc.target/i386/avx512fp16-1b.c

[PATCH 01/62] AVX512FP16: Support vector init/broadcast for FP16.

2021-06-30 Thread liuhongt via Gcc-patches
From: "H.J. Lu" gcc/ChangeLog: * config/i386/avx512fp16intrin.h (_mm_set_ph): New intrinsic. (_mm256_set_ph): Likewise. (_mm512_set_ph): Likewise. (_mm_setr_ph): Likewise. (_mm256_setr_ph): Likewise. (_mm512_setr_ph): Likewise. (_mm_set1_ph

[PATCH 03/62] AVX512FP16: Fix HF vector passing in variable arguments.

2021-06-30 Thread liuhongt via Gcc-patches
From: "H.J. Lu" gcc/ChangeLog: * config/i386/i386.c (function_arg_advance_64): Allow V16HFmode and V32HFmode. (function_arg_64): Likewise. (ix86_gimplify_va_arg): Likewise. gcc/testsuite/ChangeLog: * gcc.target/i386/avx512fp16-vararg-1.c: New test.

[PATCH 00/62] Support all AVX512FP16 intrinsics.

2021-06-30 Thread liuhongt via Gcc-patches
Hi: This is the second part to support AVX512FP16, i've squash them from 65 commits to 62 commits. The second part support all AVX512FP16 intrinsics, also include some optimizations. Most of AVX512FP16 instructions are just "extension" from float/double intructions except for _Float16 comp

[PATCH, Fortran] set version field in CFI_cdesc_t to CFI_VERSION

2021-06-30 Thread Sandra Loosemore
This patch fixes the failures in interoperability/fc-descriptor-8.f90 in my just-posted TS 29113 testsuite: https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574115.html The problem here is that the routines that copy between GFC and CFI descriptors think they both use the same version numbe

[WIP, Fortran] TS 29113 testsuite

2021-06-30 Thread Sandra Loosemore
For the past several months I've been working on developing a set of tests for the Fortran/C interoperability features added to Fortran via TS 29113, "Further Interoperability of Fortran with C": https://wg5-fortran.org/N1901-N1950/N1942.pdf The goal here is to exercise gfortran's implementati

Re: [PATCH 1/2] AVX512FP16: Initial support for _Float16 type and AVX512FP16 feature.

2021-06-30 Thread Hongtao Liu via Gcc-patches
On Thu, Jul 1, 2021 at 1:48 PM liuhongt wrote: > > From: "Guo, Xuepeng" > > gcc/ChangeLog: > > * common/config/i386/cpuinfo.h (get_available_features): > Detect FEATURE_AVX512FP16. > * common/config/i386/i386-common.c > (OPTION_MASK_ISA_AVX512FP16_SET, > OP

Re: [PATCH 2/2] AVX512FP16: Add HFmode support in libgcc.

2021-06-30 Thread Hongtao Liu via Gcc-patches
On Thu, Jul 1, 2021 at 1:48 PM liuhongt wrote: > > 1. Add extendhftf2, extendhfxf2, truncxfhf2, trunctfhf2, fixhfti, > fixunshfti, floattihf and floatuntihf. > 2. Always add _divhc3.c and _mulhc3.c. If assembler doesn't support > AVX512FP16, they are empty. > > 2019-01-01 H.J. Lu > gcc/ChangeLo

Re: [PATCH 0/2] Initial support for AVX512FP16

2021-06-30 Thread Hongtao Liu via Gcc-patches
On Thu, Jul 1, 2021 at 1:48 PM liuhongt wrote: > > Hi: > AVX512FP16 is disclosed, refer to [1]. > There're 100+ instructions for AVX512FP16, 67 gcc patches, for the > convenience of review, we divide the 67 patches into 2 major parts. > The first part is 2 patches containing basic support f

Re: [PATCH] libgcc libiberty: optimize and modernize standard string and memory functions

2021-06-30 Thread Eric Gallager via Gcc-patches
On Wed, Jun 9, 2021 at 12:10 PM Jeff Law via Gcc-patches wrote: > > > > On 6/3/2021 12:51 PM, Seija K. via Gcc-patches wrote: > > This patch optimizes and simplifies many of the standard string functions. > > > > Since C99, some of the standard string functions have been changed to use > > the res

[PATCH] Analyze niter for until-wrap condition [PR101145]

2021-06-30 Thread Jiufu Guo via Gcc-patches
For code like: unsigned foo(unsigned val, unsigned start) { unsigned cnt = 0; for (unsigned i = start; i > val; ++i) cnt++; return cnt; } The number of iterations should be about UINT_MAX - start. There is function adjust_cond_for_loop_until_wrap which handles similar work for const bas

Re: [PATCH] rs6000: Add MMA __builtin_vsx_lxvp and __builtin_vsx_stxvp built-ins

2021-06-30 Thread Peter Bergner via Gcc-patches
On 6/30/21 3:56 PM, Peter Bergner wrote: > The following patch is bootstrapping and regtesting on powerpc64le-linux. > Ok for trunk if there are no regressions? Ok to backport to GCC 11 and > GCC 10 after baking on trunk for a while? Bootstrap and regression testing came back clean. Peter

[committed] libstdc++: Improve Doxygen documentation groups [PR 101258]

2021-06-30 Thread Jonathan Wakely via Gcc-patches
This defines some new Doxygen groups for C++17 variable templates and for the contents of . By documenting the group as a whole and adding each template to a group we don't need to document them individually. Also mark more internals with "@cond undocumented" so that Doxygen ignores them by defaul

[committed] libstdc++: Make depend on C++17

2021-06-30 Thread Jonathan Wakely via Gcc-patches
Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * include/experimental/simd: Do not define anything pre-C++17. Tested powerpc64le-linux. Committed to trunk. commit 36adced3b6b7cae17d7b42e4573bd0f4194b1f70 Author: Jonathan Wakely Date: Wed Jun 30 21:35:51 2021 libstdc++:

[committed] libstdc++: Suppress redundant definitions of static members in

2021-06-30 Thread Jonathan Wakely via Gcc-patches
Since C++17 the static members of the random number engines are implicitly inline, so don't need definitions. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * include/bits/random.tcc [__cpp_inline_variables]: Remove redundant definitions of static constexpr member variab

Re: [PATCH 4/4] remove %G and %K support from pretty printer and -Wformat (PR 98512)

2021-06-30 Thread David Malcolm via Gcc-patches
On Thu, 2021-06-10 at 17:30 -0600, Martin Sebor wrote: > This final diff removes the handlers for %G and %K from the pretty > printer and the support for the directives from c-format.c so that > using them will be diagnosed. I think this is OK once the other patches in the kit are approved. Presu

Re: [PING][PATCH 2/4] remove %G and %K from calls in front end and middle end (PR 98512)

2021-06-30 Thread David Malcolm via Gcc-patches
On Wed, 2021-06-30 at 13:45 -0600, Martin Sebor wrote: > On 6/30/21 9:39 AM, Martin Sebor wrote: > > Ping.  Attached is the same patch rebased on top the latest trunk. > > Please see the attached patch instead.  The previous one had typo > in it. > > > > > As discussed in the review of Aldy's re

Re: [PATCH 1/4] introduce diagnostic infrastructure changes (PR 98512)

2021-06-30 Thread David Malcolm via Gcc-patches
On Tue, 2021-06-15 at 17:00 -0600, Martin Sebor wrote: > On 6/11/21 11:04 AM, David Malcolm wrote: > > On Thu, 2021-06-10 at 17:26 -0600, Martin Sebor wrote: > > > This diff introduces the diagnostic infrastructure changes to > > > support > > > controlling warnings at any call site in the inlining

[COMMITTED] testsuite: Add missing dg-add-options to CTF testcase ctf-skip-types-4.c

2021-06-30 Thread Indu Bhagat via Gcc-patches
[Noticed this failure on powerpc64. Committed as obvious.] testsuite: Add missing dg-add-options to CTF testcase ctf-skip-types-4.c The test already has the appropriate dg-require-effective-target, but requires the dg-add-options to use the flags needed, if any. This patch fixes the failure of th

Re: [PATCH] Rearrange detection of temporary directory for NetBSD

2021-06-30 Thread Gerald Pfeifer
On Tue, 29 Jun 2021, Jeff Law wrote: >> 2021-06-29 Gerald Pfeifer >> >> * make-temp-file.c (usrtmp): Remove. >> (choose_tmpdir): Remove use of usrtmp. > Yup. This is fine. You might consider updating the comment which > references /usr/tmp in choose_tmpdir

[PATCH] rs6000: Add MMA __builtin_vsx_lxvp and __builtin_vsx_stxvp built-ins

2021-06-30 Thread Peter Bergner via Gcc-patches
LLVM added the __builtin_vsx_lxvp and __builtin_vsx_stxvp built-ins. The following patch adds support for them to GCC so that we stay in sync with LLVM. The following patch is bootstrapping and regtesting on powerpc64le-linux. Ok for trunk if there are no regressions? Ok to backport to GCC 11 and

[PATCH] c++: unqualified member template in constraint [PR101247]

2021-06-30 Thread Patrick Palka via Gcc-patches
Here any_template_parm_r is failing to mark the template parameters that're implicitly used by the unqualified use of 'd' inside the constraint, because the code to do so assumes each level of a template parameter list points to the corresponding primary template, but here the parameter level for A

Re: [PATCH 2/2] c++: Extend PR96204 fix to variable templates

2021-06-30 Thread Patrick Palka via Gcc-patches
On Wed, 30 Jun 2021, Jason Merrill wrote: > On 6/30/21 10:48 AM, Patrick Palka wrote: > > On Tue, 29 Jun 2021, Jason Merrill wrote: > > > > > On 6/29/21 1:57 PM, Patrick Palka wrote: > > > > r12-1829 corrected the access scope during partial specialization > > > > matching of class templates, but

[PATCH] Fix PR testsuite/101269

2021-06-30 Thread Indu Bhagat via Gcc-patches
PR testsuite/101269 - new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852 BTF datasec records for .rodata/.data are expected for now for all targets. For powerpc based targets, use -msdata=none when ilp32 is enabled. 2021-06-30 Indu Bhagat gcc/testsuite/Chan

Re: [PATCH] c++: CTAD within alias template [PR91911]

2021-06-30 Thread Jason Merrill via Gcc-patches
On 6/30/21 4:18 PM, Patrick Palka wrote: On Wed, Jun 30, 2021 at 3:51 PM Jason Merrill wrote: On 6/30/21 11:58 AM, Patrick Palka wrote: On Wed, 30 Jun 2021, Patrick Palka wrote: On Fri, 25 Jun 2021, Jason Merrill wrote: On 6/25/21 1:11 PM, Patrick Palka wrote: On Fri, 25 Jun 2021, Jason

Re: [PATCH] c++: CTAD within alias template [PR91911]

2021-06-30 Thread Patrick Palka via Gcc-patches
On Wed, Jun 30, 2021 at 3:51 PM Jason Merrill wrote: > > On 6/30/21 11:58 AM, Patrick Palka wrote: > > On Wed, 30 Jun 2021, Patrick Palka wrote: > > > >> On Fri, 25 Jun 2021, Jason Merrill wrote: > >> > >>> On 6/25/21 1:11 PM, Patrick Palka wrote: > On Fri, 25 Jun 2021, Jason Merrill wrote: >

Re: [PATCH 2/2] c++: Extend PR96204 fix to variable templates

2021-06-30 Thread Jason Merrill via Gcc-patches
On 6/30/21 10:48 AM, Patrick Palka wrote: On Tue, 29 Jun 2021, Jason Merrill wrote: On 6/29/21 1:57 PM, Patrick Palka wrote: r12-1829 corrected the access scope during partial specialization matching of class templates, but neglected the variable template case. This patch moves the access scop

Re: [Patch] Add 'default' to -foffload=; document that flag [PR67300]

2021-06-30 Thread Rainer Orth
Hi Tobias, > this patch broke Solaris bootstrap (both 32 and 64-bit sparc and x86): > > /vol/gcc/src/hg/master/local/gcc/gcc.c: In function 'bool > check_offload_target_name(const char*, ptrdiff_t)': > /vol/gcc/src/hg/master/local/gcc/gcc.c:4010:23: error: writing 1 byte into > a region of size 0

Re: [POWER10] __morestack calls from pcrel code

2021-06-30 Thread Tulio Magno Quites Machado Filho via Gcc-patches
Alan Modra via Gcc-patches writes: > Compiling gcc/testsuite/gcc.dg/split-*.c and others with -mcpu=power10 > and linking with a non-pcrel libgcc results in crashes due to the > power10 pcrel code not having r2 set for the generic-morestack.c > functions called from __morestack. There is also a

Re: [PATCH 3/4] remove %K from error() calls in the aarch64/arm back ends (PR 98512)

2021-06-30 Thread Martin Sebor via Gcc-patches
On 6/11/21 8:46 AM, Martin Sebor wrote: On 6/11/21 3:58 AM, Richard Sandiford wrote: Martin Sebor via Gcc-patches writes: diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 7b37e1b602c..7cdc824730c 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -13242,13 +13242,8 @

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
Hi, Andrew: > On Jun 30, 2021, at 2:20 PM, Andrew Pinski wrote: > Then, where is the correct place for “.DEFERRED_INIT(size2,2)? The variable “size2” is a block scope variable which is declared inside the “if” condition: >>> >>> But that's obviously not how it beh

Re: [PATCH] c++: CTAD within alias template [PR91911]

2021-06-30 Thread Jason Merrill via Gcc-patches
On 6/30/21 11:58 AM, Patrick Palka wrote: On Wed, 30 Jun 2021, Patrick Palka wrote: On Fri, 25 Jun 2021, Jason Merrill wrote: On 6/25/21 1:11 PM, Patrick Palka wrote: On Fri, 25 Jun 2021, Jason Merrill wrote: On 6/24/21 4:45 PM, Patrick Palka wrote: In the first testcase below, during par

Re: [PING][PATCH 2/4] remove %G and %K from calls in front end and middle end (PR 98512)

2021-06-30 Thread Martin Sebor via Gcc-patches
On 6/30/21 9:39 AM, Martin Sebor wrote: Ping.  Attached is the same patch rebased on top the latest trunk. Please see the attached patch instead. The previous one had typo in it. As discussed in the review of Aldy's recent changes to the backwards threader, he has run into the same bug the

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread Jason Merrill via Gcc-patches
On Wed, Jun 30, 2021 at 11:14 AM David Malcolm via Gcc-patches < gcc-patches@gcc.gnu.org> wrote: > On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > > This makes it possible to assert if input_location is used during the > > lifetime > > of a scope. This will allow us to find places tha

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Andrew Pinski via Gcc-patches
On Wed, Jun 30, 2021 at 12:14 PM Qing Zhao wrote: > > > > > On Jun 30, 2021, at 1:59 PM, Richard Biener wrote: > > > > On June 30, 2021 8:07:43 PM GMT+02:00, Qing Zhao > > wrote: > >> > >> > >>> On Jun 30, 2021, at 12:36 PM, Richard Biener > >> wrote: > >>> > >>> On June 30, 2021 7:20:18 PM GM

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
> On Jun 30, 2021, at 1:59 PM, Richard Biener wrote: > > On June 30, 2021 8:07:43 PM GMT+02:00, Qing Zhao wrote: >> >> >>> On Jun 30, 2021, at 12:36 PM, Richard Biener >> wrote: >>> >>> On June 30, 2021 7:20:18 PM GMT+02:00, Andrew Pinski >> wrote: On Wed, Jun 30, 2021 at 8:47 AM Qin

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
> On Jun 30, 2021, at 1:59 PM, Richard Biener wrote: > > On June 30, 2021 8:07:43 PM GMT+02:00, Qing Zhao wrote: >> >> >>> On Jun 30, 2021, at 12:36 PM, Richard Biener >> wrote: >>> >>> On June 30, 2021 7:20:18 PM GMT+02:00, Andrew Pinski >> wrote: On Wed, Jun 30, 2021 at 8:47 AM Qin

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread Richard Biener via Gcc-patches
On June 30, 2021 2:33:30 PM GMT+02:00, Trevor Saunders wrote: >On Wed, Jun 30, 2021 at 11:00:37AM +0200, Richard Biener wrote: >> On Wed, Jun 30, 2021 at 7:37 AM Trevor Saunders > wrote: >> > >> > This makes it possible to assert if input_location is used during >the lifetime >> > of a scope. Th

Re: [PATCH 3/3] Add IEEE 128-bit fp conditional move on PowerPC.

2021-06-30 Thread Segher Boessenkool
Hi! On Tue, Jun 08, 2021 at 08:24:47PM -0400, Michael Meissner wrote: > In this patch, I simplified things compared to previous patches. Instead of > allowing any four of the modes to be used for the conditional move comparison > and the move itself could use different modes, I restricted the con

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
Hi, I came up with the following small testing case and compile it WITHOUT -ftrivial-auto-var-init option, the same problem: [qinzhao@localhost gcc]$ cat t1.c extern void bar (int); extern int ART_INIT(int, int); void foo (int a) { int i; for (i = 0; i < a; i++) { if (__extension__({int

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Richard Biener
On June 30, 2021 8:07:43 PM GMT+02:00, Qing Zhao wrote: > > >> On Jun 30, 2021, at 12:36 PM, Richard Biener >wrote: >> >> On June 30, 2021 7:20:18 PM GMT+02:00, Andrew Pinski > wrote: >>> On Wed, Jun 30, 2021 at 8:47 AM Qing Zhao via Gcc-patches >>> wrote: I came up with a very simpl

Re: RFC: --help for Driver options (was: [Patch] gcc.c: Add -foffload= to display_help)

2021-06-30 Thread Joseph Myers
On Wed, 30 Jun 2021, Tobias Burnus wrote: > While looking at that issue, Jakub and I wondered whether there > should be some warning if a Driver option has a help text, > which never appears. Migrating from hardcoded help text in gcc.c to using .opt help text for Driver options to generate --hel

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
> On Jun 30, 2021, at 12:36 PM, Richard Biener wrote: > > On June 30, 2021 7:20:18 PM GMT+02:00, Andrew Pinski > wrote: >> On Wed, Jun 30, 2021 at 8:47 AM Qing Zhao via Gcc-patches >> wrote: >>> >>> I came up with a very simple testing case that can repeat the same >> issue: >>> >>> [qinzh

Re: [PATCH][RFC]AArch64 SVE: Fix multiple comparison masks on inverted operands

2021-06-30 Thread Richard Sandiford via Gcc-patches
Tamar Christina writes: >> -Original Message- >> From: Richard Sandiford >> Sent: Monday, June 14, 2021 4:55 PM >> To: Tamar Christina >> Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw >> ; Marcus Shawcroft >> ; Kyrylo Tkachov >> Subject: Re: [PATCH][RFC]AArch64 SVE: Fix multiple co

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
Hi, Andrew, Thanks a lot for your explanation. On Jun 30, 2021, at 12:20 PM, Andrew Pinski mailto:pins...@gmail.com>> wrote: On Wed, Jun 30, 2021 at 8:47 AM Qing Zhao via Gcc-patches mailto:gcc-patches@gcc.gnu.org>> wrote: I came up with a very simple testing case that can repeat the same iss

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Richard Biener
On June 30, 2021 7:20:18 PM GMT+02:00, Andrew Pinski wrote: >On Wed, Jun 30, 2021 at 8:47 AM Qing Zhao via Gcc-patches > wrote: >> >> I came up with a very simple testing case that can repeat the same >issue: >> >> [qinzhao@localhost gcc]$ cat t.c >> extern void bar (int); >> void foo (int a) >> {

Re: [PATCH 1/3] Add IEEE 128-bit min/max support on PowerPC.

2021-06-30 Thread Segher Boessenkool
On Mon, Jun 28, 2021 at 03:00:02PM -0400, Michael Meissner wrote: > On Wed, Jun 23, 2021 at 06:56:37PM -0500, Segher Boessenkool wrote: > > > The problem area is a power10 running in > > > big endian mode and running 32-bit code. Because we don't have TImode, we > > > can't enable the IEEE 128-bit

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Andrew Pinski via Gcc-patches
On Wed, Jun 30, 2021 at 8:47 AM Qing Zhao via Gcc-patches wrote: > > I came up with a very simple testing case that can repeat the same issue: > > [qinzhao@localhost gcc]$ cat t.c > extern void bar (int); > void foo (int a) > { > int i; > for (i = 0; i < a; i++) { > if (__extension__({int

Re: [PATCH 2/3 V2] Fix IEEE 128-bit min/max test.

2021-06-30 Thread Michael Meissner via Gcc-patches
On Tue, Jun 29, 2021 at 07:06:14PM -0500, Segher Boessenkool wrote: > On Thu, Jun 17, 2021 at 06:56:09PM -0400, Michael Meissner wrote: > > The 'lp64' test > > was needed because big endian 32-bit code cannot enable the IEEE 128-bit > > floating point instructions. > > No, *does not* enable them.

Re: [PATCH 1/2] c++: Fix push_access_scope and introduce RAII wrapper for it

2021-06-30 Thread Jason Merrill via Gcc-patches
On 6/30/21 11:03 AM, Patrick Palka wrote: On Tue, 29 Jun 2021, Jason Merrill wrote: On 6/29/21 1:57 PM, Patrick Palka wrote: When push_access_scope is passed a TYPE_DECL for a class type (which can happen during e.g. satisfaction), we undesirably push only the enclosing context of the class in

[PING][PATCH 4/4] remove %G and %K support from pretty printer and -Wformat (PR 98512)

2021-06-30 Thread Martin Sebor via Gcc-patches
Ping: https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572519.html On 6/10/21 5:30 PM, Martin Sebor wrote: This final diff removes the handlers for %G and %K from the pretty printer and the support for the directives from c-format.c so that using them will be diagnosed.

RE: [PATCH][RFC]AArch64 SVE: Fix multiple comparison masks on inverted operands

2021-06-30 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: Richard Sandiford > Sent: Monday, June 14, 2021 4:55 PM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; Richard Earnshaw > ; Marcus Shawcroft > ; Kyrylo Tkachov > Subject: Re: [PATCH][RFC]AArch64 SVE: Fix multiple comparison masks on > inverted oper

Re: [PATCH] c++: CTAD within alias template [PR91911]

2021-06-30 Thread Patrick Palka via Gcc-patches
On Wed, 30 Jun 2021, Patrick Palka wrote: > On Fri, 25 Jun 2021, Jason Merrill wrote: > > > On 6/25/21 1:11 PM, Patrick Palka wrote: > > > On Fri, 25 Jun 2021, Jason Merrill wrote: > > > > > > > On 6/24/21 4:45 PM, Patrick Palka wrote: > > > > > In the first testcase below, during parsing of the

Re: [PATCH] c++: CTAD within alias template [PR91911]

2021-06-30 Thread Patrick Palka via Gcc-patches
On Fri, 25 Jun 2021, Jason Merrill wrote: > On 6/25/21 1:11 PM, Patrick Palka wrote: > > On Fri, 25 Jun 2021, Jason Merrill wrote: > > > > > On 6/24/21 4:45 PM, Patrick Palka wrote: > > > > In the first testcase below, during parsing of the alias template > > > > ConstSpanType, transparency of al

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
I came up with a very simple testing case that can repeat the same issue: [qinzhao@localhost gcc]$ cat t.c extern void bar (int); void foo (int a) { int i; for (i = 0; i < a; i++) { if (__extension__({int size2; size2 = 4; size2 > 5;})) bar (a); } } [qinzhao@localho

Re: [PATCH] Port GCC documentation to Sphinx

2021-06-30 Thread Eli Zaretskii via Gcc-patches
> Cc: jos...@codesourcery.com, g...@gcc.gnu.org, gcc-patches@gcc.gnu.org > From: Martin Liška > Date: Wed, 30 Jun 2021 16:04:32 +0200 > > > Thanks, but does that mean @var will no longer stand out in the > > produced Info format? That'd be sub-optimal, I think, because a clear > > reference to a

Re: [RFC/PATCH v3] ira: Support more matching constraint forms with param [PR100328]

2021-06-30 Thread Richard Sandiford via Gcc-patches
"Kewen.Lin" writes: > on 2021/6/28 下午3:20, Hongtao Liu wrote: >> On Mon, Jun 28, 2021 at 3:12 PM Hongtao Liu wrote: >>> >>> On Mon, Jun 28, 2021 at 2:50 PM Kewen.Lin wrote: Hi! on 2021/6/9 下午1:18, Kewen.Lin via Gcc-patches wrote: > Hi, > > PR100328 has some detail

[PING][PATCH 2/4] remove %G and %K from calls in front end and middle end (PR 98512)

2021-06-30 Thread Martin Sebor via Gcc-patches
Ping. Attached is the same patch rebased on top the latest trunk. As discussed in the review of Aldy's recent changes to the backwards threader, he has run into the same bug the patch fixes. Getting this patch set reviewed and approved would be helpful in keeping him from having to work around

Re: [RFC/PATCH v3] ira: Support more matching constraint forms with param [PR100328]

2021-06-30 Thread Vladimir Makarov via Gcc-patches
On 2021-06-28 2:26 a.m., Kewen.Lin wrote: Hi! on 2021/6/9 下午1:18, Kewen.Lin via Gcc-patches wrote: Hi, PR100328 has some details about this issue, I am trying to brief it here. In the hottest function LBM_performStreamCollideTRT of SPEC2017 bmk 519.lbm_r, there are many FMA style expression

Re: [RFC/PATCH v3] ira: Support more matching constraint forms with param [PR100328]

2021-06-30 Thread Vladimir Makarov via Gcc-patches
On 2021-06-28 2:26 a.m., Kewen.Lin wrote: Hi! on 2021/6/9 下午1:18, Kewen.Lin via Gcc-patches wrote: Hi, PR100328 has some details about this issue, I am trying to brief it here. In the hottest function LBM_performStreamCollideTRT of SPEC2017 bmk 519.lbm_r, there are many FMA style expression

Re: [ARM] PR98435: Missed optimization in expanding vector constructor

2021-06-30 Thread Christophe LYON via Gcc-patches
On 29/06/2021 12:46, Prathamesh Kulkarni wrote: On Mon, 28 Jun 2021 at 14:48, Christophe LYON wrote: On 28/06/2021 10:40, Kyrylo Tkachov via Gcc-patches wrote: -Original Message- From: Prathamesh Kulkarni Sent: 28 June 2021 09:38 To: Kyrylo Tkachov Cc: Christophe Lyon ; gcc Patche

Re: [PATCH 2/4] allow poisoning input_location in ranges it should not be used

2021-06-30 Thread David Malcolm via Gcc-patches
On Wed, 2021-06-30 at 01:35 -0400, Trevor Saunders wrote: > This makes it possible to assert if input_location is used during the > lifetime > of a scope.  This will allow us to find places that currently use it > within a > function and its callees, or prevent adding uses within the lifetime > of

Re: HELP!! How to inhibit optimizations applied to .DEFERRED_INIT argument?

2021-06-30 Thread Qing Zhao via Gcc-patches
> On Jun 30, 2021, at 9:39 AM, Richard Biener wrote: > > On Wed, 30 Jun 2021, Qing Zhao wrote: > >> >> >> On Jun 30, 2021, at 2:46 AM, Richard Biener >> mailto:rguent...@suse.de>> wrote: >> >> On Wed, 30 Jun 2021, Qing Zhao wrote: >> >> Hi, >> >> I am testing the 4th patch of -ftrivial-a

[PATCH] gcc-changelog: show correct line when complaining about unclosed paren

2021-06-30 Thread David Malcolm via Gcc-patches
Successfully tested via: pytest contrib/gcc-changelog/ contrib/ChangeLog: * gcc-changelog/git_commit.py (ChangeLogEntry.__init__): Convert ChangeLogEntry.opened_parentheses from an integer to a stack of line strings. (ChangeLogEntry.parse_changelog): Likewise.

Re: [PATCH 1/2] c++: Fix push_access_scope and introduce RAII wrapper for it

2021-06-30 Thread Patrick Palka via Gcc-patches
On Tue, 29 Jun 2021, Jason Merrill wrote: > On 6/29/21 1:57 PM, Patrick Palka wrote: > > When push_access_scope is passed a TYPE_DECL for a class type (which > > can happen during e.g. satisfaction), we undesirably push only the > > enclosing context of the class instead of the class itself. This

Re: [RFC PATCH] Change the type of predicates to bool.

2021-06-30 Thread Jeff Law via Gcc-patches
On 6/30/2021 4:50 AM, Richard Biener via Gcc-patches wrote: On Wed, Jun 30, 2021 at 10:47 AM Uros Bizjak via Gcc-patches wrote: This RFC patch changes the type of predicates to bool. However, some of the targets (e.g. x86) use indirect functions to call the predicates, so without the local c

Re: [PATCH 2/2] c++: Extend PR96204 fix to variable templates

2021-06-30 Thread Patrick Palka via Gcc-patches
On Tue, 29 Jun 2021, Jason Merrill wrote: > On 6/29/21 1:57 PM, Patrick Palka wrote: > > r12-1829 corrected the access scope during partial specialization > > matching of class templates, but neglected the variable template case. > > This patch moves the access scope adjustment to inside > > most_

  1   2   >