public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/42168]  New: GNAT bug box with invalid anonymous access declaration
@ 2009-11-24 20:20 gcc at coreland dot ath dot cx
  2009-11-24 20:20 ` [Bug ada/42168] " gcc at coreland dot ath dot cx
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: gcc at coreland dot ath dot cx @ 2009-11-24 20:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-42168-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-01-07 10:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 20:20 [Bug ada/42168] New: GNAT bug box with invalid anonymous access declaration gcc at coreland dot ath dot cx
2009-11-24 20:20 ` [Bug ada/42168] " gcc at coreland dot ath dot cx
2009-11-24 20:21 ` gcc at coreland dot ath dot cx
2009-11-24 20:52 ` [Bug ada/42168] [4.4/4.5 Regression] " laurent at guerby dot net
2009-11-25 10:15 ` rguenth at gcc dot gnu dot org
2009-11-27 11:31 ` rguenth at gcc dot gnu dot org
2010-01-21 13:19 ` jakub at gcc dot gnu dot org
2010-04-30  9:25 ` [Bug ada/42168] [4.4/4.5/4.6 " jakub at gcc dot gnu dot org
     [not found] <bug-42168-4@http.gcc.gnu.org/bugzilla/>
2011-01-07 11:02 ` [Bug ada/42168] [4.4/4.5 " ebotcazou at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).