public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15840] New: Illegal program not detected, RM 3.7(14)
@ 2004-06-06 10:14 ludovic dot brenta at insalien dot org
  2004-10-12  4:03 ` [Bug ada/15840] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-06-06 10:14 UTC (permalink / raw)
  To: gcc-bugs

-- RM95 3.7(14)
-- If the parent type is not a tagged type, then each
-- discriminant of the derived type shall be used in
-- the constraint defining the parent subtype;
generic
   type T1 is private;
package Test_247013 is
   type T2 (x: integer) is new T1;  -- ERROR: x not used
end Test_247013;


I expect an error message like this:
test_247013.ads:8:11: Discriminant "x" is not used to constrain the parent
subtype "T1" (RM 3.7(14))

But the compiler says nothing

-- 
           Summary: Illegal program not detected, RM 3.7(14)
           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


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


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

* [Bug ada/15840] Illegal program not detected, RM 3.7(14)
  2004-06-06 10:14 [Bug ada/15840] New: Illegal program not detected, RM 3.7(14) ludovic dot brenta at insalien dot org
@ 2004-10-12  4:03 ` pinskia at gcc dot gnu dot org
  2004-10-29 13:26 ` pinskia at gcc dot gnu dot org
  2004-10-29 14:46 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-12  4:03 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid


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


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

* [Bug ada/15840] Illegal program not detected, RM 3.7(14)
  2004-06-06 10:14 [Bug ada/15840] New: Illegal program not detected, RM 3.7(14) ludovic dot brenta at insalien dot org
  2004-10-12  4:03 ` [Bug ada/15840] " pinskia at gcc dot gnu dot org
@ 2004-10-29 13:26 ` pinskia at gcc dot gnu dot org
  2004-10-29 14:46 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 13:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.0


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


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

* [Bug ada/15840] Illegal program not detected, RM 3.7(14)
  2004-06-06 10:14 [Bug ada/15840] New: Illegal program not detected, RM 3.7(14) ludovic dot brenta at insalien dot org
  2004-10-12  4:03 ` [Bug ada/15840] " pinskia at gcc dot gnu dot org
  2004-10-29 13:26 ` pinskia at gcc dot gnu dot org
@ 2004-10-29 14:46 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 14:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 14:45 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-29 14:45:08
               date|                            |


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


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

end of thread, other threads:[~2004-10-29 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-06 10:14 [Bug ada/15840] New: Illegal program not detected, RM 3.7(14) ludovic dot brenta at insalien dot org
2004-10-12  4:03 ` [Bug ada/15840] " pinskia at gcc dot gnu dot org
2004-10-29 13:26 ` pinskia at gcc dot gnu dot org
2004-10-29 14:46 ` 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).