This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/15917] New: Bug box in Gigi, code=103, on legal program


procedure Test_247564 is

   package pak2 is
      type t2(b2: boolean) is private;
   private
      type t2(b2: boolean) is null record;
   end pak2;

   package pak1 is
      type T1(b1 : boolean) is private;
   private
      type T1(b1 : boolean) is new pak2.t2(b1);
   end pak1;

   x: pak1.t1(false);
   b: boolean;
begin
   b := x.b1;
end Test_247564;

$ gcc-3.4 -q -O1 test_247564
+===========================GNAT BUG DETECTED==============================+
| 3.4.0 (Debian) (i486-pc-linux-gnu) Gigi abort, Code=103                  |
| Error detected at test_247564.adb:18:9                                   |
| 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_247564.adb

compilation abandoned
gnatmake: "test_247564.adb" compilation error

-- 
           Summary: Bug box in Gigi, code=103, 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=15917


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]