[Bug ada/15800] New: Bug box, Storage_Error at system.ads:150:5 on legal program

ludovic dot brenta at insalien dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 3 19:10:00 GMT 2004


(Debian bug #246187)

package Test_246187 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_246187;


+===========================GNAT BUG DETECTED==============================+
| 3.4.0 (Debian) (i486-pc-linux-gnu) Storage_Error stack overflow (or erroneous
memory access)|
| Error detected at system.ads:150:5                                       |
| 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-3.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_246187.ads

compilation abandoned
gnatmake: "test_246187.ads" compilation error

-- 
           Summary: Bug box, Storage_Error at system.ads:150:5 on legal
                    program
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ludovic dot brenta at insalien dot org
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list