Re: [PATCH RFA (fold)] c++: constexpr bit_cast with empty field

2023-07-18 Thread Jason Merrill via Gcc-patches
On 7/18/23 07:31, Richard Biener wrote: On Mon, Jul 17, 2023 at 11:20 PM Jason Merrill via Gcc-patches wrote: Tested x86_64-pc-linux-gnu, OK for trunk? -- 8< -- The change to only cache constexpr calls that are reduced_constant_expression_p tripped on bit-cast3.C, which failed that

Re: [PATCH RFA (fold)] c++: constexpr bit_cast with empty field

2023-07-18 Thread Richard Biener via Gcc-patches
On Mon, Jul 17, 2023 at 11:20 PM Jason Merrill via Gcc-patches wrote: > > Tested x86_64-pc-linux-gnu, OK for trunk? > > -- 8< -- > > The change to only cache constexpr calls that are > reduced_constant_expression_p tripped on bit-cast3.C, which failed that > predicate due to the presence of an

[PATCH RFA (fold)] c++: constexpr bit_cast with empty field

2023-07-17 Thread Jason Merrill via Gcc-patches
Tested x86_64-pc-linux-gnu, OK for trunk? -- 8< -- The change to only cache constexpr calls that are reduced_constant_expression_p tripped on bit-cast3.C, which failed that predicate due to the presence of an empty field in the result of native_interpret_aggregate, which