#1075 Bug box when compiling Ada code

OTHER
closed
gcc (462)
out-of-date
Unknown
2013-02-05
2007-08-26
No

I get a bug box when compiling the Ada source in the attached file adafiles.txt. test2.adb produces the box when it is compiled.

background info:
OS version: Windows 2000 SP4

gcc version:
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.2.1-2-src/configure
--with-gcc
--enable-libgomp
--host=mingw32
--build=mingw32
--target=mingw32
--program-suffix=-dw2
--with-arch=i486
--with-tune=generic
--disable-werror
--prefix=/mingw
--with-local-prefix=/mingw
--enable-threads --disable-nls
--enable-languages=c,c++,fortran,objc,obj-c++,ada
--disable-win32-registry
--disable-sjlj-exceptions
--enable-libstdcxx-debug
--enable-cxx-flags=-fno-function-sections -fno-data-sections
--enable-version-specific-runtime-libs
--disable-bootstrap
Thread model: win32
gcc version 4.2.1-dw2 (mingw32-2)

ld version: not relevant, no linking attempted

MinGW version: 5.1.3

Build environment: Windows command-line (No MSYS)

Here is the bug box, produced with gcc -c test2.adb:
c:/mingw/bin/../libexec/gcc/mingw32/4.2.1-dw2/gnat1.exe -quiet -dumpbase test2.
adb -mtune=generic -march=i486 test2.adb -o test2.s
+===========================GNAT BUG DETECTED==============================+
| 4.2.1-dw2 (mingw32-2) (i386-pc-mingw32) Assert_Failure atree.adb:812 |
| Error detected at test2.adb:12:60 |
| 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.

test2.adb
gwindows.ads
gwindows-types.ads
gwindows-xbase.ads

compilation abandoned

There are 5 ada files concatenated to form the ada source upload., but test2.adb (the main procedure) and gwindows-xbase.adb are the important files.

Discussion

  • David Gressett

    David Gressett - 2007-08-26

    Ada source code

     
  • David Gressett

    David Gressett - 2007-08-27

    Logged In: YES
    user_id=135820
    Originator: YES

    I'm not sure if this is the same thing as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29015.

    "Assert_Failure atree.adb:812" suggests that my bug has something in common with 29015, but the demo code for 29015 makes substantial use of Ada 2005 new features. My sample code is derived from GWindows source code that is entirely Ada 95 and which compiles with the MinGW 3.4.5 Ada compiler.

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-05
    • status: open --> closed
    • resolution: --> out-of-date
    • category: --> Unknown
    • milestone: --> OTHER
     

Log in to post a comment.