public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/58870] New: ICE on invalid: Assert_Failure sinfo.adb:1933
@ 2013-10-25  7:41 baldrick at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: baldrick at gcc dot gnu.org @ 2013-10-25  7:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58870
           Summary: ICE on invalid: Assert_Failure sinfo.adb:1933
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: baldrick at gcc dot gnu.org

To see this the compiler has to be built with checking enabled.

$ gcc -c m.adb
+===========================GNAT BUG DETECTED==============================+
| 4.9.0 20131014 (experimental) (x86_64-unknown-linux-gnu) Assert_Failure
sinfo.adb:1933|
| Error detected at n.adb:4:14 [m.adb:3:3]                                 |
| 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.
Consider also -gnatd.n switch (see debug.adb).

m.adb
n.ads
n.adb


raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : namet.adb:655

-- chop here --

with N;
procedure M is
  package NI is new N (1, -- missing term
  );
begin null; end;
package body N is
  function F return Integer is
  begin
      return B;
  end;
end;
generic
   A : Integer;
   B : Integer := 0;
package N is
   function F return Integer;
end;


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

only message in thread, other threads:[~2013-10-25  7:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-25  7:41 [Bug ada/58870] New: ICE on invalid: Assert_Failure sinfo.adb:1933 baldrick at gcc dot gnu.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).