Re: [PATCH 1/1 v2] PR100281 C++: Fix SImode pointer handling

2021-05-17 Thread Jason Merrill via Gcc-patches
On 5/17/21 4:48 AM, Richard Biener wrote: On Thu, May 13, 2021 at 8:28 AM Andreas Krebbel via Gcc-patches wrote: v1 -> v2: build_reference_type_for_mode and build_pointer_type_for_mode now pick pointer mode if MODE argument is VOIDmode. Bootstrapped and regression tested on x86_64 and

Re: [PATCH 1/1 v2] PR100281 C++: Fix SImode pointer handling

2021-05-17 Thread Richard Biener via Gcc-patches
On Thu, May 13, 2021 at 8:28 AM Andreas Krebbel via Gcc-patches wrote: > > v1 -> v2: build_reference_type_for_mode and build_pointer_type_for_mode now > pick pointer mode if > MODE argument is VOIDmode. > > Bootstrapped and regression tested on x86_64 and s390x. > > Ok for mainline and GCC 11?

Re: [PATCH 1/1 v2] PR100281 C++: Fix SImode pointer handling

2021-05-13 Thread Andreas Krebbel via Gcc-patches
v1 -> v2: build_reference_type_for_mode and build_pointer_type_for_mode now pick pointer mode if MODE argument is VOIDmode. Bootstrapped and regression tested on x86_64 and s390x. Ok for mainline and GCC 11? Andreas gcc/cp/ChangeLog: PR c++/100281 * cvt.c