#246187 Bug box, Storage_Error at system.ads:139:5 on legal program

Package:
gnat-12
Source:
gcc-12
Description:
GNU Ada compiler
Submitter:
Date:
2022-04-04 05:33:12 UTC
Severity:
normal
Tags:
#246187#5
Date:
2004-04-27 18:18:59 UTC
From:
To:
package Test_43 is
   type T1 is private;

private

   type T2 is record
      a: T1;
   end record;
   type T2_Ptr is access T2;

   type T1 is record
      n: T2_Ptr := new T2;
   end record;

end Test_43;


+===========================GNAT BUG DETECTED==============================+
| 3.15p  (20020523) (i486-pc-linux-gnu) Storage_Error stack overflow (or erroneous memory access)|
| Error detected at /usr/lib/gcc-lib/i486-linux/2.8.1/adainclude/system.ads:139:5|
| Please submit bug report by email to report@gnat.com.                    |
| Use a subject line meaningful to you and us to track the bug.            |
| (include your customer number #nnn in the subject line).                 |
| Include the entire contents of this bug box in the report.               |
| Include the exact gnatgcc or gnatmake command that you entered.          |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
| (use plain ASCII or MIME attachment, or FTP to your customer directory). |
| See README.GNATPRO for full info on procedure for submitting bugs.       |
+==========================================================================+

Please include these source files with error report

test_43.ads

compilation abandoned
gnatmake: "test_43.ads" compilation error

#246187#20
Date:
2008-12-29 15:04:23 UTC
From:
To:
teg@burken:~/test/ada/bugs$ gnat -v
GNAT 4.3.2

teg@burken:~/test/ada/bugs$ gnatmake test_43.ads
gcc-4.3 -c test_43.ads
+===========================GNAT BUG
DETECTED==============================+
| 4.3.2 (i486-pc-linux-gnu) Storage_Error stack overflow (or erroneous
memory access)|
| Error detected at system.ads:155:5
|
| 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-4.3 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.

test_43.ads

compilation abandoned
gnatmake: "test_43.ads" compilation error

#246187#31
Date:
2009-08-04 19:12:36 UTC
From:
To:
found 246187 4.4.1-1
thanks

gnatmake test_43.ads
gcc-4.4 -c test_43.ads
+===========================GNAT BUG DETECTED==============================+
| 4.4.1 (i486-pc-linux-gnu) Storage_Error stack overflow (or erroneous
memory access)|
| Error detected at system.ads:153:5                                       |
| 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-4.4 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.

test_43.ads

compilation abandoned
gnatmake: "test_43.ads" compilation error
(sid)root@linux-xavier:~/tests# gnat -v
GNAT 4.4.1

#246187#48
Date:
2013-10-29 11:00:15 UTC
From:
To:
4.8.2 (x86_64-linux-gnu) Storage_Error stack overflow or erroneous memory access
Error detected at system.ads:152:5