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]

GCC + GNAT- ADA + BUG


gcc -c hh.adb
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 20050519 (Red Hat 4.0.0-8) (i386-redhat-linux-gnu) GCC error:      |
| in expand_assignment, at expr.c:3824                                     |
| Error detected at hh.adb:19:5                                            |
| 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 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.

hh.adb

hh.adb:4:11: warning: file name does not match unit name, should be "marcin.adb"
compilation abandoned
gnatmake: "hh.adb" compilation error




----------------------------------------------------------------------
Kliknij po wiecej! >>> http://link.interia.pl/f18ed
with ada.direct_io, ada.integer_text_io,ada.text_io;
use  ada.text_io,ada.integer_text_io;

procedure marcin is
   type powiaty is record
      nazwa :  integer;
      imie  :  integer;
   end record;
   package pliki is new ada.direct_io(powiaty);
   use     pliki;

   plik  : pliki.file_type;
--   p     : powiaty := (nazwa => 10, imie => 20);
--   n     : powiaty := (nazwa => 11, imie => 21);i
begin
 --  open(plik,out_file,"dane.bin");
null;
--   if end_of_file(plik) then put("plik pusty"); end if;
end marcin;


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