On 9/13/23 16:56, Marek Polacek wrote:
On Tue, Sep 12, 2023 at 05:26:25PM -0400, Jason Merrill wrote:
On 9/8/23 14:24, Marek Polacek wrote:
+ switch (TREE_CODE (stmt))
+{
+/* Unfortunately we must handle code like
+false ? bar () : 42
+ where we have to check bar too.
On Tue, Sep 12, 2023 at 05:26:25PM -0400, Jason Merrill wrote:
> On 9/8/23 14:24, Marek Polacek wrote:
> > + if (!in_immediate_context ()
> > + /* P2564: a subexpression of a manifestly constant-evaluated
> > expression
> > +or conversion is an immediate function context. */
> > +