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

--- Comment #7 from Dmitry G. Dyachenko <dimhen at gmail dot com> 2013-04-04 
18:45:56 UTC ---
strictly speaking this is 'pre-4.8.0' regression

gcc version 4.8.0 20130313 (experimental) [trunk revision 196628] (GCC)

$ /usr/local/gcc_current_196628/bin/g++  -Wall -O1 -fpreprocessed -c 56830.ii 
56830_O1.ii: In instantiation of ‘void H::add_suites() [with T = M]’:
56830_O1.ii:107:25:   required from here
56830_O1.ii:94:12: warning: unused variable ‘s’ [-Wunused-variable]
         T *s = new T;
            ^

Reply via email to