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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #4)
> Andrew P., thanks for your analysis -- that indeed looks like a plausible
> explanation.
> 
> 
> (In reply to myself from comment #0)
> > I've not yet looked into creating a non-offloading, GCN target test case.
> 
> No need to create one; the problem is already visible for (only) one test
> case for GCN target testing:


>     [...]
>             .section        .text.startup
>             .size   main, .-main
>     [...]
> 
> So, here it's '.text' vs. '.text.startup'.

Hmm, that is interesting, maybe the current_function_decl is different. If I
get some time this week, I might look into this further.

Reply via email to