[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to report this bug?
From: |
Lionel B |
Subject: |
Re: How to report this bug? |
Date: |
Fri, 27 Jul 2007 15:22:40 +0000 (UTC) |
User-agent: |
Pan/0.131 (Ghosts: First Variation) |
On Fri, 27 Jul 2007 13:58:52 +0000, Ulrich Lauther wrote:
> Hi,
>
> I have got a very small piece of code that makes my application crash
> when compiled with optimization:
[...]
> The problem is that this is part of a large library and it will be hard
> to reduce the problem to a few lines of code.
Careful before you blame the compiler! How can we know whether the crash
is not, in fact, due to a bug in your [library] code causing undefined
behaviour, which then only manifests itself when optimisation is turned
on. That's not unheard of.
--
Lionel B