I tried to make a small stand-alone test but the test program always worked. The problem is more involved. Of course my first suspicion was corruption of memory coming from somewhere else in my program, but this seems ruled out by the fact that it works fine without optimization and it works fine when I added the dummy code to reference the variable (ii) whose code was getting removed. This is all explained in the original report. My tabular formatting was removed by the bug report utility so it has to be looked at more carefully.
There were no compiler warnings.
I will try the tests with 4.5 and 4.6 tomorrow.
On 08/08/2011 03:21 PM, Matthias Klose wrote:
> - please recheck with GCC 4.5 and GCC 4.6 in oneiric.
> - please attach a self-contained example, including the command options used
> - include the warnings building the file.
>
> ** Changed in: gcc-defaults (Ubuntu)
> Status: New => Incomplete
>
I tried to make a small stand-alone test but the test program always worked. The problem is more involved. Of course my first suspicion was corruption of memory coming from somewhere else in my program, but this seems ruled out by the fact that it works fine without optimization and it works fine when I added the dummy code to reference the variable (ii) whose code was getting removed. This is all explained in the original report. My tabular formatting was removed by the bug report utility so it has to be looked at more carefully.
There were no compiler warnings.
I will try the tests with 4.5 and 4.6 tomorrow.
On 08/08/2011 03:21 PM, Matthias Klose wrote:
> - please recheck with GCC 4.5 and GCC 4.6 in oneiric.
> - please attach a self-contained example, including the command options used
> - include the warnings building the file.
>
> ** Changed in: gcc-defaults (Ubuntu)
> Status: New => Incomplete
>