[Bug c++/55881] #pragma GCC diagnostic ignored ignored when inlining

greened at obbligato dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 7 21:50:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55881

--- Comment #3 from David Greene <greened at obbligato dot org> 2013-01-07 21:49:58 UTC ---
(In reply to comment #1)
> What is the output of GCC?

warning.cpp: In function 'int main(int, char**)':
warning.cpp:5:19: warning: 'n' may be used uninitialized in this function
[-Wmaybe-uninitialized]
warning.cpp:13:16: note: 'n' was declared here



More information about the Gcc-bugs mailing list