public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/35888] New: ICE: converting a concrete type into a classwide interface
@ 2008-04-09 15:02 sam at gcc dot gnu dot org
2009-10-06 11:50 ` [Bug ada/35888] " sam at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-09 15:02 UTC (permalink / raw)
To: gcc-bugs
The following package spec
package B is
type I is Interface;
type C is new I with null record;
function M return C;
X : I'Class := I'Class (M);
end B;
triggers an infinite recursion in GNAT:
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 20080409 (experimental) (i686-pc-linux-gnu) Storage_Error stack
overflow (or erroneous memory access)|
| Error detected at b.ads:5:20 |
--
Summary: ICE: converting a concrete type into a classwide
interface
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sam at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35888
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug ada/35888] ICE: converting a concrete type into a classwide interface
2008-04-09 15:02 [Bug ada/35888] New: ICE: converting a concrete type into a classwide interface sam at gcc dot gnu dot org
@ 2009-10-06 11:50 ` sam at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: sam at gcc dot gnu dot org @ 2009-10-06 11:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from sam at gcc dot gnu dot org 2009-10-06 11:50 -------
Fixed in trunk
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35888
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-06 11:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09 15:02 [Bug ada/35888] New: ICE: converting a concrete type into a classwide interface sam at gcc dot gnu dot org
2009-10-06 11:50 ` [Bug ada/35888] " sam 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).