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

--- Comment #16 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Hongtao Liu from comment #15)
> > Looks like val is being replaced with FRAME.0.val which is incorrect. Yes I
> > think there is a DECL_EXPR_DECL on val DECL. though it is NOT correct at
> > this point. I think the problem is more related to use of
> > force_gimple_operand_gsi here. Which is not needed for a simple DECL.
> > extract_component can create the gimple assignment itself.
> 
> 
> It's simplied by gimplify_var_or_parm_decl, since gcc takes var is alias of
> FRAME.0.val
> 
So it's an alias to the VAL used in nfun???

  void nfun()
  {
    printf("%f\n", creal(val));
  }

That's why they have different stack offset?

Reply via email to