public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15612] New: Bug box in Gigi, code=103, on illegal program
@ 2004-05-23 23:42 ludovic dot brenta at insalien dot org
  2004-05-24  1:20 ` [Bug ada/15612] " pinskia at gcc dot gnu dot org
  2004-10-12  3:54 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-05-23 23:42 UTC (permalink / raw)
  To: gcc-bugs

package Test_244945 is
   type T (n: Natural := 10) is private;
    type acct is access t(3);
    x: acct;
    y: integer := x.n;
private
   type T (n: Natural := 10) is null record;
end Test_244945;


I was expectoing an error message like this:
test_244945:7:22: no default value allowed for discriminant N

Instead I get:

+===========================GNAT BUG DETECTED==============================+
| 3.4.0 (Debian) (i486-pc-linux-gnu) Gigi abort, Code=103                  |
| Error detected at test_244945.ads:5:19                                   |
| 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).                   |
+==========================================================================+

-- 
           Summary: Bug box in Gigi, code=103, on illegal 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
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug ada/15612] Bug box in Gigi, code=103, on illegal program
  2004-05-23 23:42 [Bug ada/15612] New: Bug box in Gigi, code=103, on illegal program ludovic dot brenta at insalien dot org
@ 2004-05-24  1:20 ` pinskia at gcc dot gnu dot org
  2004-10-12  3:54 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24  1:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


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


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

* [Bug ada/15612] Bug box in Gigi, code=103, on illegal program
  2004-05-23 23:42 [Bug ada/15612] New: Bug box in Gigi, code=103, on illegal program ludovic dot brenta at insalien dot org
  2004-05-24  1:20 ` [Bug ada/15612] " pinskia at gcc dot gnu dot org
@ 2004-10-12  3:54 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-12  3:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-12 03:54 -------
Fixed on the mainline:
test_244945.ads:5:19: premature usage of incomplete private type "T" defined at line 2


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-10-12  3:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 23:42 [Bug ada/15612] New: Bug box in Gigi, code=103, on illegal program ludovic dot brenta at insalien dot org
2004-05-24  1:20 ` [Bug ada/15612] " pinskia at gcc dot gnu dot org
2004-10-12  3:54 ` pinskia 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).