Bug 189289 - gcc (gcc-gnat) fails with "stack overflow" error when compiling any ADA program
gcc (gcc-gnat) fails with "stack overflow" error when compiling any ADA program
Status: CLOSED DUPLICATE of bug 187853
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
5
All Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-18 16:34 EDT by James Hunt
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-18 16:52:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description James Hunt 2006-04-18 16:34:07 EDT
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 16:52:32 EDT

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