Re: [PATCH] tree-optimization/98499 - fix modref analysis on RVO statements

2021-02-01 Thread Jan Hubicka
> From: Sergei Trofimovich > > Before the change RVO gimple statements were treated as local > stores by modres analysis. But in practice RVO escapes target. > > 2021-01-30 Sergei Trofimovich > > gcc/ChangeLog: > > PR tree-optimization/98499 > * ipa-modref.c: treat RVO conservat

[PATCH] tree-optimization/98499 - fix modref analysis on RVO statements

2021-01-30 Thread Sergei Trofimovich via Gcc-patches
From: Sergei Trofimovich Before the change RVO gimple statements were treated as local stores by modres analysis. But in practice RVO escapes target. 2021-01-30 Sergei Trofimovich gcc/ChangeLog: PR tree-optimization/98499 * ipa-modref.c: treat RVO conservatively and assume