Including <iostream> affects whether or not program freezes?
Andrew Haley
aph@redhat.com
Wed Jul 9 14:35:00 GMT 2008
Andrew Bell wrote:
> On Tue, Jul 8, 2008 at 9:31 PM, James Gregory <james.jrg@gmail.com> wrote:
>> 4. Compile with gcc 4.2.3 (Ubuntu 64 bit), with optimization: my
>> program freezes in a particular function
>
> Kill the process with some signal that will generate a core. This at
> least gives you a exact location of the hang, if you don't already
> know it.
I'll use this opportunity to mention Valgrind's memory checker.
Andrew.
More information about the Gcc-help
mailing list