$ gcc -c e.ads
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20061128 (experimental) (i686-pc-linux-gnu) Assert_Failure
sem_util.adb:1033|
| Error detected at d.ads:3:9 [e.ads:3: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.

e.ads
c.ads
b.ads
d.ads

compilation abandoned

-- chop here --

package B is
   type I is interface;
   procedure P (X : I) is abstract;
end;

with B;
package C is
   type J is new B.I with private;
   overriding procedure P (X : J);
private
   type J is new B.I with null record;
end;

with C;
generic
   type G is new C.J with private;
package D is
   type H is new G with null record;
end;

with C;
with D;
package E is new D (C.J);


-- 
           Summary: ICE using interfaces: Assert_Failure sem_util.adb:1033
           Product: gcc
           Version: 4.3.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: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to