This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] PR18847 Ada.Numerics.xx_Random.Value does not handle junk strings
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: laurent at guerby dot net
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 9 Apr 05 13:22:48 EDT
- Subject: Re: [Ada] PR18847 Ada.Numerics.xx_Random.Value does not handle junk strings
Ok the bug is trivial once I peek into the core dump:
No, you're missing it, I think. When you're in GDB, what it does is
raises an explicit constraint error due to Int'Value, which is what's
expected. However, for some reason when not under GDB, the handling
of the exception causes some SIGSEGV.