Bug#567533: -O interferes with debugging on amd64 (oprofile doesn't like -fomit-frame-pointers)

2010-01-29 Thread Timothy Brownawell
Package: g++ -O is turning on -fomit-frame-pointers on amd64, which interferes with debugging performance issues (because it prevents oprofile from generating callgraph information). "man g++" says -O also turns on -fomit-frame-pointer on machines where doing so does not interf

Bug#516862: optimization can prevent terminate() from being called on throw from destructor while unwinding

2009-02-23 Thread Timothy Brownawell
Package: g++-4.3 Version: 4.3.2-1.1 , 4.3.3-4 This is also in at least g++-4.1 (4.1.2-25 and 4.1.1-21) and g++-4.2 (4.2.4-6). I don't have a g++-3.x installed to test with. This is on i386. The program at the end of this report should always print "my_terminate()" and exit. If the "WTF dont_cal