[Bug ada/42168] New: GNAT bug box with invalid anonymous access declaration
gcc at coreland dot ath dot cx
gcc-bugzilla@gcc.gnu.org
Tue Nov 24 20:20:00 GMT 2009
Minor problem as the code isn't really valid. GNAT probably shouldn't
explode in this manner, however.
gcc -c timer2.adb
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 (x86_64-portbld-freebsd7.2) Assert_Failure sinfo.adb:2362 |
| Error detected at timer2.adb:6:25 |
| 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.
timer2.adb
list may be incomplete
timer2.adb:6:33: extra ")" ignored
compilation abandoned
gcc -c timer3.adb
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 (x86_64-portbld-freebsd7.2) Assert_Failure sinfo.adb:2362 |
| Error detected at timer3.adb:4:25 |
| 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.
list may be incomplete
raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : namet.adb:616
/gnat/svn/builds/r154285/bin/gcc-r154285 -c timer2.adb
+===========================GNAT BUG DETECTED==============================+
| 4.5.0 20091118 (experimental) (x86_64-unknown-freebsd7.2) Assert_Failure
sinfo.adb:2412|
| Error detected at timer2.adb:6:25 |
| 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).
timer2.adb
timer2.adb:6:33: extra ")" ignored
compilation abandoned
/gnat/svn/builds/r154285/bin/gcc-r154285 -c timer3.adb
+===========================GNAT BUG DETECTED==============================+
| 4.5.0 20091118 (experimental) (x86_64-unknown-freebsd7.2) Assert_Failure
sinfo.adb:2412|
| Error detected at timer3.adb:4:25 |
| 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).
timer3.adb
raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : namet.adb:616
Using built-in specs.
Target: x86_64-portbld-freebsd7.2
Configured with: ./..//gcc-4.4.0/configure --enable-languages=c,ada
--disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local
--program-suffix=44 --bindir=/usr/local/bin/gcc44
--libdir=/usr/local/lib/gcc-4.4.0 --prefix=/usr/local --mandir=/usr/local/man
--infodir=/usr/local/info/gcc44 --build=x86_64-portbld-freebsd7.2
Thread model: posix
gcc version 4.4.0 (GCC)
Using built-in specs.
COLLECT_GCC=/gnat/svn/builds/r154285/bin/gcc-r154285
COLLECT_LTO_WRAPPER=/gnat/svn/builds/r154285/libexec/gcc/x86_64-unknown-freebsd7.2/4.5.0/lto-wrapper
Target: x86_64-unknown-freebsd7.2
Configured with: /gnat/svn/src/configure --enable-languages=c,c++,ada,fortran
--prefix=/gnat/svn/builds/r154285 --with-system-zlib --disable-nls
--program-suffix=-r154285 --enable-libstdcxx-debug
Thread model: posix
gcc version 4.5.0 20091118 (experimental) (GCC)
--
Summary: GNAT bug box with invalid anonymous access declaration
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at coreland dot ath dot cx
GCC host triplet: x86_64-portbld-freebsd7.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168
More information about the Gcc-bugs
mailing list