Re: [PATCH 2/2] c++: constexpr potentiality of CAST_EXPR [PR117925]

2025-01-08 Thread Jason Merrill
On 12/12/24 3:28 PM, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/14? This fixes the testcase in the PR but doesn't thoroughly fix the underlying issue since if we replace fnPtr with e.g. a constexpr variable so that the callee is truly pote

Re: [PATCH 2/2] c++: constexpr potentiality of CAST_EXPR [PR117925]

2025-01-08 Thread Patrick Palka
On Thu, Dec 12, 2024 at 3:29 PM Patrick Palka wrote: > > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look > OK for trunk/14? Ping. > > This fixes the testcase in the PR but doesn't thoroughly fix the > underlying issue since if we replace fnPtr with e.g. a constexpr variable > s

[PATCH 2/2] c++: constexpr potentiality of CAST_EXPR [PR117925]

2024-12-12 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/14? This fixes the testcase in the PR but doesn't thoroughly fix the underlying issue since if we replace fnPtr with e.g. a constexpr variable so that the callee is truly potentially constant then the ICE reappears (due