public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/26111]  New: Ada ICE in expand_assignment, at expr.c:3824
@ 2006-02-05 22:17 laurent at guerby dot net
  2006-02-05 22:20 ` [Bug ada/26111] [4.0 Regression] " laurent at guerby dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: laurent at guerby dot net @ 2006-02-05 22:17 UTC (permalink / raw)
  To: gcc-bugs

Reported by marcin9@poczta.fm

$ cat marcin.adb
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;
$ gcc -c marcin.adb
+===========================GNAT BUG DETECTED==============================+
| 4.0.2 (i686-pc-linux-gnu) in expand_assignment, at expr.c:3824           |
| Error detected at marcin.adb:19:5                                        |

Note that this compiles fine with gcc version 4.1.0 20060128 (prerelease)
and gcc version 4.2.0 20060126 (experimental), so this is 4.0 only.


-- 
           Summary: Ada ICE in expand_assignment, at expr.c:3824
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-02-03 16:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-05 22:17 [Bug ada/26111] New: Ada ICE in expand_assignment, at expr.c:3824 laurent at guerby dot net
2006-02-05 22:20 ` [Bug ada/26111] [4.0 Regression] " laurent at guerby dot net
2006-02-05 22:25 ` pinskia at gcc dot gnu dot org
2006-02-05 22:26 ` pinskia at gcc dot gnu dot org
2006-02-05 22:28 ` laurent at guerby dot net
2006-02-27 20:33 ` mmitchel at gcc dot gnu dot org
2006-03-11  3:22 ` mmitchel at gcc dot gnu dot org
2007-02-03 16:16 ` gdr at gcc dot gnu dot org

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