Bug 189289 - gcc (gcc-gnat) fails with "stack overflow" error when compiling any ADA program
Summary: gcc (gcc-gnat) fails with "stack overflow" error when compiling any ADA program
Keywords:
Status: CLOSED DUPLICATE of bug 187853
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 5
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-18 20:34 UTC by James Hunt
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-04-18 20:52:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Hunt 2006-04-18 20:34:07 UTC
Description of problem:

The GCC "GNAT" Ada translator fails to compile any ADA source files.

Version-Release number of selected component (if applicable):

gcc-gnat-4.1.0-3
gcc-4.1.0-3

How reproducible:

Always.

Steps to Reproduce:
1. create a simple ".adb" file, for example put the lines below in file "hello.adb":

-------------------------------
with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
  Put_Line("hello, world");
end Hello;

-------------------------------
2. Run, "gcc -c hello.adb"
  
Actual results:

+===========================GNAT BUG DETECTED==============================+
| 4.1.0 20060304 (Red Hat 4.1.0-3) (i386-redhat-linux-gnu) Storage_Error stack
overflow (or erroneous memory access)|
| Error detected at a-tags.adb:448:7                                       |
| 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.

hello.adb

compilation abandoned


Expected results:

No errors.

Additional info:

gcc-gnat-4.1.0-3
gcc-4.1.0-3

Comment 1 Jakub Jelinek 2006-04-18 20:52:32 UTC

*** This bug has been marked as a duplicate of 187853 ***


Note You need to log in before you can comment on or make changes to this bug.