[strict-aliasing] incorrect warning with g++-current in STL

2009-01-30 Thread Дмитрий Дьяченко
Hello, g++-current ( [trunk revision 143790] ) produce incorrect warning. Need I file bug-report? # g++ -Wall -O2 -c test3.cpp test3.cpp: In function 'void bar()': test3.cpp:16: warning: dereferencing pointer 'anonymous' does break strict-aliasing rules

Re: [strict-aliasing] incorrect warning with g++-current in STL

2009-01-30 Thread Paolo Carlini
Дмитрий Дьяченко wrote: Hello, g++-current ( [trunk revision 143790] ) produce incorrect warning. Need I file bug-report? No need, thanks, we have already middle-end/38937. If you want, you can add to it your testcase, useful in order to better test the patch linked therein on i686-linux