public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/21490] New: Illegal program not detected, RM 3.6(11)
@ 2005-05-10 13:37 ludovic dot brenta at insalien dot org
  2005-06-20  3:43 ` [Bug ada/21490] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2005-05-10 13:37 UTC (permalink / raw)
  To: gcc-bugs

(From the Debian BTS):

procedure Test_306835 is
   generic
      type T1 is private;
   package pak1 is
      type T2 is array(1..10) of aliased T1;
   end pak1;

   type T3 (b: Boolean := False) is null record;
   package new_pak1 is new pak1 (T1 => T3);  --ERROR: T3 unconstrained
begin
   null;
end Test_306835;


the compiler says nothing when it should detect the error.

-- 
Ludovic Brenta.

-- 
           Summary: Illegal program not detected, RM 3.6(11)
           Product: gcc
           Version: 4.0.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


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


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

* [Bug ada/21490] Illegal program not detected, RM 3.6(11)
  2005-05-10 13:37 [Bug ada/21490] New: Illegal program not detected, RM 3.6(11) ludovic dot brenta at insalien dot org
@ 2005-06-20  3:43 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-20  3:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-20 03:43 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid
      Known to fail|                            |4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-20 03:43:54
               date|                            |


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


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

end of thread, other threads:[~2005-06-20  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-10 13:37 [Bug ada/21490] New: Illegal program not detected, RM 3.6(11) ludovic dot brenta at insalien dot org
2005-06-20  3:43 ` [Bug ada/21490] " 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).