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

2021-05-12 Thread Jason Merrill via Gcc-patches
On 4/30/21 2:32 AM, Andreas Krebbel via Gcc-patches wrote: The problem appears to be triggered by two locations in the front-end where non-POINTER_SIZE pointers aren't handled right now. 1. An assertion in strip_typedefs is triggered because the alignment of the types don't match. This in turn

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

2021-05-12 Thread Andreas Krebbel via Gcc-patches
Ping On 4/30/21 8:32 AM, Andreas Krebbel via Gcc-patches wrote: > The problem appears to be triggered by two locations in the front-end > where non-POINTER_SIZE pointers aren't handled right now. > > 1. An assertion in strip_typedefs is triggered because the alignment > of the types don't match.

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

2021-04-30 Thread Andreas Krebbel via Gcc-patches
The problem appears to be triggered by two locations in the front-end where non-POINTER_SIZE pointers aren't handled right now. 1. An assertion in strip_typedefs is triggered because the alignment of the types don't match. This in turn is caused by creating the new type with build_pointer_type