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

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


(Debian bug #246388)

procedure Test_246388 is
   Type T1 is array (Positive range <>, Positive range <>) of integer;

   type T2 (max: Positive) is record
      a : T1 (1..2, 1 .. max);
   end record;

   procedure p2(x : T2) is
      y: T1 := x.a;
   begin
      null;
   end p2;

begin
   null;
end Test_246388;




+===========================GNAT BUG DETECTED==============================+
| 3.4.0 (Debian) (i486-pc-linux-gnu) in expand_expr_real, at expr.c:6764   |
| Error detected at test_246388.adb:9:7                                    |
| 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_246388.adb

compilation abandoned
gnatmake: "test_246388.adb" compilation error

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



More information about the Gcc-bugs mailing list