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

* [Bug ada/42168] GNAT bug box with invalid anonymous access declaration
  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 ` gcc at coreland dot ath dot cx
  2009-11-24 20:21 ` gcc at coreland dot ath dot cx
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: gcc at coreland dot ath dot cx @ 2009-11-24 20:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from gcc at coreland dot ath dot cx  2009-11-24 20:20 -------
Created an attachment (id=19112)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19112&action=view)
case 1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/42168] GNAT bug box with invalid anonymous access declaration
  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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: gcc at coreland dot ath dot cx @ 2009-11-24 20:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from gcc at coreland dot ath dot cx  2009-11-24 20:21 -------
Created an attachment (id=19113)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19113&action=view)
Assertion failure with with_clause removed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/42168] [4.4/4.5 Regression] GNAT bug box with invalid anonymous access declaration
  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 ` laurent at guerby dot net
  2009-11-25 10:15 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: laurent at guerby dot net @ 2009-11-24 20:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from laurent at guerby dot net  2009-11-24 20:52 -------
Confirmed and this is a regression from 4.3.

$ gcc -c timer3.adb 
+===========================GNAT BUG DETECTED==============================+
| 4.5.0 20091109 (experimental) [trunk revision 154026]
(x86_64-unknown-linux-gnu) |
| Assert_Failure sinfo.adb:2412                                            |
| Error detected at timer3.adb:4:25                                        |

$ gcc -c timer3.adb
+===========================GNAT BUG DETECTED==============================+
| 4.4.1 (x86_64-unknown-linux-gnu) Assert_Failure sinfo.adb:2362           |
| Error detected at timer3.adb:4:25                                        |

$ gcc -c timer3.adb
timer3.adb:4:33: unexpected right parenthesis


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent at guerby dot net
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|x86_64-portbld-freebsd7.2   |
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-24 20:52:44
               date|                            |
            Summary|GNAT bug box with invalid   |[4.4/4.5 Regression] GNAT
                   |anonymous access declaration|bug box with invalid
                   |                            |anonymous access declaration


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/42168] [4.4/4.5 Regression] GNAT bug box with invalid anonymous access declaration
  2009-11-24 20:20 [Bug ada/42168] New: GNAT bug box with invalid anonymous access declaration gcc at coreland dot ath dot cx
                   ` (2 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-25 10:15 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/42168] [4.4/4.5 Regression] GNAT bug box with invalid anonymous access declaration
  2009-11-24 20:20 [Bug ada/42168] New: GNAT bug box with invalid anonymous access declaration gcc at coreland dot ath dot cx
                   ` (3 preceding siblings ...)
  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
  6 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-27 11:31 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/42168] [4.4/4.5 Regression] GNAT bug box with invalid anonymous access declaration
  2009-11-24 20:20 [Bug ada/42168] New: GNAT bug box with invalid anonymous access declaration gcc at coreland dot ath dot cx
                   ` (4 preceding siblings ...)
  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
  6 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-01-21 13:19 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.3                       |4.4.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/42168] [4.4/4.5/4.6 Regression] GNAT bug box with invalid anonymous access declaration
  2009-11-24 20:20 [Bug ada/42168] New: GNAT bug box with invalid anonymous access declaration gcc at coreland dot ath dot cx
                   ` (5 preceding siblings ...)
  2010-01-21 13:19 ` jakub at gcc dot gnu dot org
@ 2010-04-30  9:25 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-30  9:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.4                       |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug ada/42168] [4.4/4.5 Regression] GNAT bug box with invalid anonymous access declaration
       [not found] <bug-42168-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-07 11:02 ` ebotcazou at gcc dot gnu.org
  0 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-07 11:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42168

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
      Known to work|                            |4.3.6
         Resolution|                            |FIXED
   Target Milestone|4.4.6                       |4.6.0
            Summary|[4.4/4.5/4.6 Regression]    |[4.4/4.5 Regression] GNAT
                   |GNAT bug box with invalid   |bug box with invalid
                   |anonymous access            |anonymous access
                   |declaration                 |declaration
      Known to fail|                            |4.4.6, 4.5.3

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-07 10:09:20 UTC ---
Works on the mainline.


^ permalink raw reply	[flat|nested] 9+ messages in thread

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).