[Bug c++/12567] g++ fails to recognize ill-formed-ness of initializers

2013-04-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12567 Paolo Carlini changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org | -- Configure bugmail: http://gcc.gnu.o

Bug#705066: g++-4.7: wrong line indicated in warning for synthesized method

2013-04-09 Thread Michał Mirosław
Package: g++-4.7 Version: 4.7.2-5 Severity: minor $ g++ -c -std=c++11 -Wunused-parameter test.cpp test.cpp:3:8: warning: unused parameter ‘p’ [-Wunused-parameter] test.cpp: In function ‘int main()’: test.cpp:21:17: note: synthesized method ‘A& A::operator=(A&&)’ first required here $ cat test.cp