public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15611] New: Illegal program not detected, RM 3.7(11)
@ 2004-05-23 23:42 ludovic dot brenta at insalien dot org
  2004-05-24  1:20 ` [Bug ada/15611] Invalid " 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-05-23 23:42 UTC (permalink / raw)
  To: gcc-bugs

-- RM 3.7(11)
-- No default expressions are permitted in a known_discriminant_part
-- in a declaration of a tagged type or a generic formal type.
package Test_244943 is
   type T (n: Natural := 10) is private;
private
   type T (n: Natural := 10) is tagged  -- ERROR: no default allowed
      null record;
end Test_244943;

The compiler says nothing; I was expecting something like:

test_244943:7:22: no default value allowed for discriminant N

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


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

* [Bug ada/15611] Invalid program not detected, RM 3.7(11)
  2004-05-23 23:42 [Bug ada/15611] New: Illegal program not detected, RM 3.7(11) ludovic dot brenta at insalien dot org
@ 2004-05-24  1:20 ` pinskia at gcc dot gnu dot org
  2004-10-29 13:43 ` 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-05-24  1:20 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
            Summary|Illegal program not         |Invalid program not
                   |detected, RM 3.7(11)        |detected, RM 3.7(11)


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


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

* [Bug ada/15611] Invalid program not detected, RM 3.7(11)
  2004-05-23 23:42 [Bug ada/15611] New: Illegal program not detected, RM 3.7(11) ludovic dot brenta at insalien dot org
  2004-05-24  1:20 ` [Bug ada/15611] Invalid " pinskia at gcc dot gnu dot org
@ 2004-10-29 13:43 ` 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:43 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug ada/15611] Invalid program not detected, RM 3.7(11)
  2004-05-23 23:42 [Bug ada/15611] New: Illegal program not detected, RM 3.7(11) ludovic dot brenta at insalien dot org
  2004-05-24  1:20 ` [Bug ada/15611] Invalid " pinskia at gcc dot gnu dot org
  2004-10-29 13:43 ` 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:13
               date|                            |


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


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 23:42 [Bug ada/15611] New: Illegal program not detected, RM 3.7(11) ludovic dot brenta at insalien dot org
2004-05-24  1:20 ` [Bug ada/15611] Invalid " pinskia at gcc dot gnu dot org
2004-10-29 13:43 ` 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).