https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50476
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-09-17 Depends on| |60517 Ever confirmed|0 |1 --- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Possibly a duplicate of PR60517, but this testcase is slightly different (it involves assigning to global pointer and not a return statement). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517 [Bug 60517] warning/error for taking address of member of a temporary object