done PR #38477. I only was trying accuratly report. The message was readable but looks unusual.
Dmitry 2008/12/10 Richard Guenther <[EMAIL PROTECTED]>: > On Wed, Dec 10, 2008 at 5:44 PM, Дмитрий Дьяченко <[EMAIL PROTECTED]> wrote: >> g++-current generates messages which >> 1) contains compiler generated symbols >> 2) refers to gcc internal header (stl_tree.h) >> >> [EMAIL PROTECTED] gcc_err]# g++ -Wall -c -O3 test.cpp >> test.cpp: In member function 'void >> test::bar(std::_List_iterator<KeyPairPtr<int, int> >&)': >> test.cpp:14: warning: dereferencing pointer '__x.13' does break >> strict-aliasing rules >> /usr/local/gcc_current/lib/gcc/i686-pc-linux-gnu/4.4.0/include/c++/bits/stl_tree.h:530: >> note: initialized from here >> test.cpp:14: warning: dereferencing pointer '__x.13' does break >> strict-aliasing rules >> /usr/local/gcc_current/lib/gcc/i686-pc-linux-gnu/4.4.0/include/c++/bits/stl_tree.h:530: >> note: initialized from here > > First of all, please file a bugreport about this. Second - wrt 1) - > what would you like > to see? Sth like 'dereferencing pointer expression does break ...'? > (we cannot reliably > re-construct the original source expression here). For 2), the system > header mechanism > should have fixed it unless, of course, the whole thing is inlined > (and maybe inform () > isn't aware of system-headers either). But I think it is useful to > know where it comes > from rather than just seeing the warning. > > Richard. >