comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: expression function bug or think?
Date: Thu, 16 Jun 2011 22:03:21 +0200
Date: 2011-06-16T22:03:21+02:00	[thread overview]
Message-ID: <4dfa6189$0$7608$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <m2y6111t71.fsf@pushface.org>

On 6/16/11 9:18 PM, Simon Wright wrote:
> ... here, I find the same as Georg; and like you I am on SL 10.6.7!
> Xcode 3.2.6.

Same here.

> With GCC 4.6.0, with -gnatp the code compiles and works fine; without
> it, I get a compiler bomb.

This is what I get, too, with GCC 4.7.0 built on Debian GNU/Linux
from recent FSF sources:

  $ gnatchop -gnat12 -r -w ../fib.ada && gnatmake -gnatl -gnat12 functions.ads -cargs -v
splitting ../fib.ada into:
    functions.ads
    run_fib.adb
gcc -c -gnatl -gnat12 -v functions.ads
Using built-in specs.
COLLECT_GCC=/usr/local//bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.7.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /opt/src/configure --enable-languages=c,ada --disable-nls
Thread model: posix
gcc version 4.7.0 20110610 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-gnatea' '-c' '-gnatl' '-gnat12' '-v' '-gnatez' '-mtune=generic' '-march=pentiumpro'
  /usr/local/libexec/gcc/i686-pc-linux-gnu/4.7.0/gnat1 -quiet -dumpbase functions.ads -auxbase functions -gnatez -gnatea -gnatl -gnat12 -gnatez -mtune=generic -march=pentiumpro functions.ads -o /tmp/cclE8jaZ.s

GNAT 4.7.0 20110610 (experimental)
Copyright 1992-2011, Free Software Foundation, Inc.
+===========================GNAT BUG DETECTED==============================+
| 4.7.0 20110610 (experimental) (i686-pc-linux-gnu) Assert_Failure sinfo.adb:2947|
| Error detected at fib.ada:6:21                                           |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

functions.ads




raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : namet.adb:655
gnatmake: "functions.ads" compilation error
CHROOT-thymian-bauhaus $



  reply	other threads:[~2011-06-16 20:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 11:00 expression function bug or think? georg bauhaus
2011-06-16 11:27 ` AdaMagica
2011-06-16 15:56 ` Adam Beneschan
2011-06-17  3:56   ` Yannick Duchêne (Hibou57)
2011-06-16 16:16 ` Anh Vo
2011-06-16 18:56 ` Bill Findlay
2011-06-16 19:18   ` Simon Wright
2011-06-16 20:03     ` Georg Bauhaus [this message]
2011-06-16 20:03     ` Bill Findlay
2011-06-16 20:31 ` Florian Weimer
2011-06-16 20:41   ` Simon Wright
2011-06-16 21:14     ` Georg Bauhaus
2011-06-16 23:14     ` Bill Findlay
2011-06-17  9:34     ` Martin
2011-06-17 10:33       ` Simon Wright
2011-06-17 10:39         ` Martin
2011-06-17 11:09           ` Niklas Holsti
2011-06-16 21:04   ` Georg Bauhaus
2011-06-17  8:55   ` Georg Bauhaus
2011-06-17  9:10     ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox