https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122610
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |15.3
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So RSTRING_PTR is being marked as const and that is causing issues.
Note you don't need -march=amdfam10, just mark RSTRING_PTR as noinline to see
the same issue.
# PT = nonlocal null
_2 = RSTRING_PTRD.2912 (str_11(D));