public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/36678]  New: GNAT from svn uses up infinite amount of memory on twisty generic+tagged testcase
@ 2008-06-30 17:06 baldrick at gcc dot gnu dot org
  0 siblings, 0 replies; only message in thread
From: baldrick at gcc dot gnu dot org @ 2008-06-30 17:06 UTC (permalink / raw)
  To: gcc-bugs

$ gcc -c p-c.adb
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 20080630 (experimental) (x86_64-unknown-linux-gnu) Storage_Error heap
exhausted|
| Error detected at p-c.adb:1:1                                            |
| 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.

p-c.adb
p-c.ads
p.ads
f.ads
g.ads

compilation abandoned

$ gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc.fsf.master/configure --prefix=/usr/local/gnat-fsf
--enable-languages=ada,c,c++ --disable-bootstrap --disable-multilib
--enable-checking
Thread model: posix
gcc version 4.4.0 20080630 (experimental) (GCC)

gcc built from svn as of this morning.

-- chop here --
with G;
generic
   type T is private;
package F is
   type R (<>) is tagged private;
   function C return R;
private
   package GI is new G (T);
   type R is new GI.R with null record;
end;
generic
  type T is private;
package G is
   type R is tagged null record;
   procedure P (X : R; Y : T);
end;
package P is end;
with F;
package P.C is
private
   type New_Integer is new Integer;
   package FI is new F (New_Integer);
   type R is new FI.R with null record;
   function C return R;
end;
package body P.C is end;


-- 
           Summary: GNAT from svn uses up infinite amount of memory on
                    twisty generic+tagged testcase
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: baldrick at gcc dot gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-30 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-30 17:06 [Bug ada/36678] New: GNAT from svn uses up infinite amount of memory on twisty generic+tagged testcase baldrick at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).