https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91390
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-08-07 CC| |tkoenig at gcc dot gnu.org Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- The first one, with the two different calls, should be flagged. It does not do so even with trunk. Confirmed as an enhancement. Of course, using modules would catch this.