Re: Compiler Bug or what I'm doing wrong?




"Alex R. Mosteo" <devnull@xxxxxxxxxxxxxx> writes:

I'm now, for example, facing a spurious exception case when switching from
GNAT GPL'05 to GPL'06, only when certain compiler switches are used. I have

Have you tried to run that with a debugger? In my case I had
exceptions first and only when running that with the debugger, I found
that it was a SIGSEGV which got translated into a PROGRAM_ERROR by the
signal handler and the run time since this happened in a finalizer.

already found a workaround, and I even know that the problem is related
with interfaces, but I fear that the effort to isolate it will be a waste
of time. So the temptation to move on is big...

In my case: I think I have found a workaround (if my guess on the
nature of the error is correct) and I'll post it here as a reference
for the next users if it actually works.

In my opinion, documentation of "known bugs" and "proved workarounds"
are almost as valuable as fixes. At least they'll spare other users
the time (a) to form suspicions themselves and (b) to think about
workarounds themselves.

It's a pity that GNAT (at least 3.15p? I'm repeating myself ...),
doesn't have some kind of community support side where things as these
could be collected. Or is there such a site?

For now I'm "misusing" c.l.a. for that but I wonder wether that was
right.

This post is really just to show my "condolences" and support. Best luck,

Hey, thanks :-)). And good luck with your problem too.

Regards -- Markus
.



Relevant Pages

  • Re: Compiler Bug or what Im doing wrong?
    ... from GNAT GPL'05 to GPL'06, only when certain compiler switches are used. ... Have you tried to run that with a debugger? ... I guess I'll start to send there too my reports. ...
    (comp.lang.ada)
  • Re: There is no source code available for the current location
    ... I'm running a Windows Forms application under the VS.NET debugger. ... > coming at it from a different direction, so I'm not sure what workaround to ... The bulk of my code is NOT running in a timer event. ... the code I'm testing spawns a number of background threads, ...
    (microsoft.public.vsnet.debugging)
  • Re: Mico32, how good is it?
    ... The only tricky bit will be the debugger, ... Lattice JTAG block. ... Workaround that, and the rest should be no problem ...
    (comp.arch.fpga)
  • Re: What is wrong with Ada?
    ... Why do they like to play with a debugger? ... never need a debugger might be the reason why gdb is so badly ... one of the conceptual bugs I mentioned. ... That was so with my "Gnat doesn't handle controlled types ...
    (comp.lang.ada)
  • Re: What is wrong with Ada?
    ... Why do they like to play with a debugger? ... integrated with Gnat. ... gdb is used with Ada just not so often. ... Sometimes trace messages add line noise and maintaince ...
    (comp.lang.ada)