#1075 Bug box when compiling Ada code

gcc (462)

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
--enable-threads --disable-nls
--enable-cxx-flags=-fno-function-sections -fno-data-sections
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.


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.


  • David Gressett

    David Gressett - 2007-08-26

    Ada source code

  • David Gressett

    David Gressett - 2007-08-27

    Logged In: YES
    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.