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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC 4.7 started to warn about this:
<source>: In constructor 'A::A()':
<source>:2:13: warning: a temporary bound to 'A::v' only persists until the
constructor exits [-Wextra]

Reply via email to