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

-- RM 3.7.2(2)
-- For a prefix A that is of a discriminated type ...
-- the following attribute [A'constrained] is defined
procedure Test_247017 is

    generic
       type T1 (<>) is private;
    procedure p1(x: out T1);

    procedure p1 (x: out T1) is
    b: boolean := x'constrained;   --ERROR: not a discriminated type
    begin
       null;
    end p1;

begin
   null;
end Test_247017;

I expect an error message like this:

test_247017.adb:11:20: "x" has no discriminants, Constraint attribute not defined

But the compiler says nothing.

-- 
           Summary: Illegal program not detected, RM 3.7.2(2)
           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=15843


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

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



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


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


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

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 13:33 -------
I do get a warning on the mainline:
test_247017.adb:8:18: warning: "x" is never assigned a value


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


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


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

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


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

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


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


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

* [Bug ada/15843] Illegal program not detected, RM 3.7.2(2)
       [not found] <bug-15843-4@http.gcc.gnu.org/bugzilla/>
  2011-08-31  4:22 ` nicolas.boulenguez at free dot fr
@ 2014-02-27 14:33 ` nicolas.boulenguez at free dot fr
  1 sibling, 0 replies; 8+ messages in thread
From: nicolas.boulenguez at free dot fr @ 2014-02-27 14:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from nicolas.boulenguez at free dot fr ---
confirm 4.9-20140218


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

* [Bug ada/15843] Illegal program not detected, RM 3.7.2(2)
       [not found] <bug-15843-4@http.gcc.gnu.org/bugzilla/>
@ 2011-08-31  4:22 ` nicolas.boulenguez at free dot fr
  2014-02-27 14:33 ` nicolas.boulenguez at free dot fr
  1 sibling, 0 replies; 8+ messages in thread
From: nicolas.boulenguez at free dot fr @ 2011-08-31  4:22 UTC (permalink / raw)
  To: gcc-bugs

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

nicolas.boulenguez at free dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.boulenguez at free
                   |                            |dot fr

--- Comment #5 from nicolas.boulenguez at free dot fr 2011-08-31 00:57:13 UTC ---
confirmed 4.6.1


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

* [Bug ada/15843] Illegal program not detected, RM 3.7.2(2)
       [not found] <bug-15843-286@http.gcc.gnu.org/bugzilla/>
  2007-12-13 14:11 ` sam at gcc dot gnu dot org
@ 2009-08-06 20:44 ` ludovic at ludovic-brenta dot org
  1 sibling, 0 replies; 8+ messages in thread
From: ludovic at ludovic-brenta dot org @ 2009-08-06 20:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ludovic at ludovic-brenta dot org  2009-08-06 20:44 -------
Confirmed on 4.4.1.


-- 

ludovic at ludovic-brenta dot org changed:

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


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


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

* [Bug ada/15843] Illegal program not detected, RM 3.7.2(2)
       [not found] <bug-15843-286@http.gcc.gnu.org/bugzilla/>
@ 2007-12-13 14:11 ` sam at gcc dot gnu dot org
  2009-08-06 20:44 ` ludovic at ludovic-brenta dot org
  1 sibling, 0 replies; 8+ messages in thread
From: sam at gcc dot gnu dot org @ 2007-12-13 14:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sam at gcc dot gnu dot org  2007-12-13 14:11 -------
Confirmed on 4.3.0 20071213


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gcc dot gnu dot org
   Last reconfirmed|2005-06-14 21:01:04         |2007-12-13 14:11:06
               date|                            |


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


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

end of thread, other threads:[~2014-02-27 14:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-06 10:18 [Bug ada/15843] New: Illegal program not detected, RM 3.7.2(2) ludovic dot brenta at insalien dot org
2004-10-12  4:05 ` [Bug ada/15843] " pinskia at gcc dot gnu dot org
2004-10-29 13:33 ` pinskia at gcc dot gnu dot org
2004-10-29 14:44 ` pinskia at gcc dot gnu dot org
     [not found] <bug-15843-286@http.gcc.gnu.org/bugzilla/>
2007-12-13 14:11 ` sam at gcc dot gnu dot org
2009-08-06 20:44 ` ludovic at ludovic-brenta dot org
     [not found] <bug-15843-4@http.gcc.gnu.org/bugzilla/>
2011-08-31  4:22 ` nicolas.boulenguez at free dot fr
2014-02-27 14:33 ` nicolas.boulenguez at free dot fr

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).