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

package pak1 is
   generic
   package pak2 is
   end pak2;
end pak1;

--  RM 8.3(8)
--  An inner declaration hides any outer homograph from direct visibility.
with pak1;
package Test_247018 is
   package PAK1 is new pak1.pak2;   --ERROR: illegal reference to pak1
end Test_247018;


I expect an error message like this:
test_247018.ads:4:11: warning: this declaration hides pak1 declared at line 3
test_247018.ads:4:23: pak1 has no selector named pak2


But the compiler says nothing.

-- 
           Summary: Illegal program not detected, RM 8.3(8)
           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=15844


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

* [Bug ada/15844] Illegal program not detected, RM 8.3(8)
  2004-06-06 10:20 [Bug ada/15844] New: Illegal program not detected, RM 8.3(8) ludovic dot brenta at insalien dot org
@ 2004-10-12  4:06 ` pinskia at gcc dot gnu dot org
  2004-11-01  1:36 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-12  4:06 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug ada/15844] Illegal program not detected, RM 8.3(8)
  2004-06-06 10:20 [Bug ada/15844] New: Illegal program not detected, RM 8.3(8) ludovic dot brenta at insalien dot org
  2004-10-12  4:06 ` [Bug ada/15844] " pinskia at gcc dot gnu dot org
@ 2004-11-01  1:36 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-01  1:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-01 01:36 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-01 01:36:06
               date|                            |


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


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

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

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

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


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

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

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

nicolas.boulenguez at free dot fr changed:

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

--- Comment #3 from nicolas.boulenguez at free dot fr 2011-08-31 10:13:46 UTC ---
confirmed 4.6.1


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

* [Bug ada/15844] Illegal program not detected, RM 8.3(8)
       [not found] <bug-15844-286@http.gcc.gnu.org/bugzilla/>
@ 2007-12-13 14:12 ` sam at gcc dot gnu dot org
  0 siblings, 0 replies; 6+ messages in thread
From: sam at gcc dot gnu dot org @ 2007-12-13 14:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 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 20:27:10         |2007-12-13 14:11:56
               date|                            |


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


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-06 10:20 [Bug ada/15844] New: Illegal program not detected, RM 8.3(8) ludovic dot brenta at insalien dot org
2004-10-12  4:06 ` [Bug ada/15844] " pinskia at gcc dot gnu dot org
2004-11-01  1:36 ` pinskia at gcc dot gnu dot org
     [not found] <bug-15844-286@http.gcc.gnu.org/bugzilla/>
2007-12-13 14:12 ` sam at gcc dot gnu dot org
     [not found] <bug-15844-4@http.gcc.gnu.org/bugzilla/>
2011-08-31 10:21 ` nicolas.boulenguez at free dot fr
2014-02-27 14:34 ` 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).