Re: g++-5.2.0 miscompiles a simple program

2015-12-12 Thread JonY
On 12/12/2015 22:49, Piotr Mitas wrote: > g++-5.2.0 miscompiles the following program so badly, that gdb can't > even break at the exe's entry point. Make sure you have also selected all the 5.2 runtime. signature.asc Description: OpenPGP digital signature

g++-5.2.0 miscompiles a simple program

2015-12-12 Thread Piotr Mitas
g++-5.2.0 miscompiles the following program so badly, that gdb can't even break at the exe's entry point. $ cat main.cpp #include #include using namespace std; int main() { string s = "hello"; cout This is free software: you are free to change