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 "unsubscribe". Troub

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.