public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* GCC + GNAT- ADA + BUG
@ 2006-02-05 16:27 zet
  0 siblings, 0 replies; only message in thread
From: zet @ 2006-02-05 16:27 UTC (permalink / raw)
  To: gcc-bugs

[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]

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

[-- Attachment #2: hh.adb --]
[-- Type: text/x-adasrc, Size: 519 bytes --]

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;


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

only message in thread, other threads:[~2006-02-05 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-05 16:27 GCC + GNAT- ADA + BUG zet

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).