This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ada/8693: Declaring access-to-subprogram causes bug box but should generate a compilation error


>Number:         8693
>Category:       ada
>Synopsis:       Declaring access-to-subprogram causes bug box but should generate a compilation error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 24 10:16:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     drut_qx@hotmail.com
>Release:        3.2 20020814 (release) (i686-pc-linux-gnu)
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ./configure --enable-languages=c,c++,ada,objc,java
Thread model: posix
gcc version 3.2
>Description:
See attached bug.ads for details.
This bug occurs when compiling code that should generate an
error.  This will not affect valid code.
Compiler output:

[qx@sycorax ~/prog/ws]$ gcc -c bug.ads
+===========================GNAT BUG DETECTED==============================+
| 3.2 20020814 (release) (i686-pc-linux-gnu) Gigi abort, Code=113          |
| Error detected at bug.ads:10:9                                           |
| Please submit a bug report, see http://gcc.gnu.org/bugs.html.            |
| 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

bug.ads

compilation abandoned
>How-To-Repeat:
gcc -c bug.ads
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.ads"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.ads"

cGFja2FnZSBCdWcgaXMKCS0tIFdpdGhvdXQgdGhlIGZvbGxvd2luZyBsaW5lLCB0aGUgRlBfVHlw
ZSBkZWNsYXJhdGlvbiBtYWtlcwoJLS0gZ25hdCBibG93IHVwLgoJLS0gdHlwZSBCdWcgaXMgYWJz
dHJhY3QgdGFnZ2VkIG51bGwgcmVjb3JkOwoKCS0tIElmIHRoZSBmdW5jdGlvbiByZXR1cm5zIGFs
bW9zdCBhbnkgdW5kZWNsYXJlZCB0eXBlLCBhbiBlcnJvcgoJLS0gd2lsbCBiZSBnaXZlbi4gIElm
IHRoZSB0eXBlIGlzIGRlY2xhcmVkLCBpdCB3b3Jrcy4KCS0tIElmIHRoZSB0eXBlIGlzIHVuZGVj
bGFyZWQgYnV0IGhhcyB0aGUgc2FtZSBuYW1lIGFzIHRoZSBwYWNrYWdlLAoJLS0gZ25hdCBibG93
cyB1cC4KCXR5cGUgVGhpc19Jc19CYWQgaXMgYWNjZXNzIGZ1bmN0aW9uIHJldHVybiBCdWc7CmVu
ZDsK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]