[Bug ada/33420] [Ada] crash passing SomeFunctionReturningPointer.all as function argument
jdgressett at amli-denton dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 13 18:48:00 GMT 2007
------- Comment #2 from jdgressett at amli-denton dot com 2007-09-13 18:48 -------
+===========================GNAT BUG DETECTED==============================+
| 4.2.2 20070909 (prerelease) (i686-pc-linux-gnu) 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
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2.2-RC/configure --prefix=/snapshot/gcc
--mandir=/usr/local/share/man --infodir=/usr/local/share/info --enable-shared
--enable-__cxa_atexit --disable-libunwind-exceptions --disable-dssi
--enable-plugin --enable-threads=posix --enable-languages=c,ada,c++,fortran
Thread model: posix
gcc version 4.2.2 20070909 (prerelease)
Test system: Fedora Core
Linux Catriona 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686 i686
i386 GNU/Linux
Problem was originally found in a MinGW port of gcc 4.2.1, but production of a
reduced test case removed all Windows-specific code.
The problem does not occur with the gcc 4.1.2 compiler distributed with Fedora.
Bug #29015 may be related. It is produced when using Ada 2005 new features.
This bug is found in code that uses no Ada 2005 features.
--
jdgressett at amli-denton dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33420
More information about the Gcc-bugs
mailing list