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.
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
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
3 matches
Mail list logo