https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12076
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2005-09-04 19:01:30 |2023-1-30 --- Comment #20 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is what is produced on the trunk: 1: 4:std::string repeat(const std::string& p_str, unsigned int p_count) -: 5:{ 1: 6: std::string result; 21: 7: for (unsigned int i=0;i<p_count;++i) 20: 8: result+=p_str; 1: 9: return result; =====: 10:} I don't know if it was only fixed on the trunk or was fixed before that.