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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #8)
> The other issue is SRA is Disqualifying due to D.8570 being const but since
> it is a local const that does not matter.
> 
> ! Disqualifying D.8570 - Encountered a store to a read-only decl.
> 
> Let me see if I can fix that part up too.

Or maybe during gimplification we should remove the TREE_READONLY from local
(non-parm) decls since it does not mean anything.

Reply via email to