https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116416

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> Though, we clearly do that already for CALL_EXPRs to constexpr functions
> during cp_fold.  So guess it is just TARGET_EXPRs or what exactly this
> testcase needs.

Yes, I think the point here is to turn e.g. this:

  callback (TARGET_EXPR <D.2890, <<< Unknown tree: aggr_init_expr
    5   
    __ct_comp 
    D.2890
    (struct Str *) <<< Unknown tree: void_cst >>> 
    (const char *) "Test" >>>>)

into:

  callback (TARGET_EXPR <D.2890, {.str=(const char *) "Test", .length=4}>)

Reply via email to