Bug#680521: g++-4.7: ICE while compiling code using

2012-07-06 Thread Michał Mirosław
Package: g++-4.7 Version: 4.7.1-2 Severity: important g++ ends with ICE on following test code: ===start=== #include struct User { void run(void *) {} }; int main() { User u; std::function p = std::bind(&User::run, &u, nullptr); } ===end=== $ g++ -std=c++11 -c -O test.

Bug#680521: g++-4.7: ICE while compiling code using

2012-07-06 Thread Michał Mirosław
On Fri, Jul 06, 2012 at 04:40:27PM +0200, Michał Mirosław wrote: > Package: g++-4.7 > Version: 4.7.1-2 > Severity: important BTW, gcc 4.6 compiles the code fine. Best Regards, Michał Mirosław -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of &qu

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