https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|missing -Waddress in |missing -Waddress in |template code |template code at definition | |time rather than | |instantiation Severity|normal |enhancement Keywords| |diagnostic --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > GCC warns only at instantiation time. And it has been that way since at least 4.4.0.