public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15604] New: Illegal program not detected, ambiguous aggregate
@ 2004-05-23 23:34 ludovic dot brenta at insalien dot org
  2004-05-24  1:06 ` [Bug ada/15604] Ambiguous aggregate -- Accepts invalid pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-05-23 23:34 UTC (permalink / raw)
  To: gcc-bugs

package Test_244496 is
   type T1 is array (boolean) of float;
   type T2 is array (boolean) of integer;

   function f1 (x: T1) return integer;
   function f1 (y: T2) return integer;

   generic
      z: integer;
   package Q is
   end Q;

   package new_Q is new Q (z => f1((1.0, 2.0)));  -- ERROR: ambiguous
end Test_244496;


$ gcc-3.4 -c -gnatc -x ada test_244496.ads 
$

-- 
           Summary: Illegal program not detected, ambiguous aggregate
           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=15604


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

* [Bug ada/15604] Ambiguous aggregate -- Accepts invalid
  2004-05-23 23:34 [Bug ada/15604] New: Illegal program not detected, ambiguous aggregate ludovic dot brenta at insalien dot org
@ 2004-05-24  1:06 ` pinskia at gcc dot gnu dot org
  2004-10-29 13:40 ` pinskia at gcc dot gnu dot org
  2004-10-29 14:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24  1:06 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
            Summary|Illegal program not         |Ambiguous aggregate --
                   |detected, ambiguous         |Accepts invalid
                   |aggregate                   |


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


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

* [Bug ada/15604] Ambiguous aggregate -- Accepts invalid
  2004-05-23 23:34 [Bug ada/15604] New: Illegal program not detected, ambiguous aggregate ludovic dot brenta at insalien dot org
  2004-05-24  1:06 ` [Bug ada/15604] Ambiguous aggregate -- Accepts invalid pinskia at gcc dot gnu dot org
@ 2004-10-29 13:40 ` pinskia at gcc dot gnu dot org
  2004-10-29 14:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 13:40 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

* [Bug ada/15604] Ambiguous aggregate -- Accepts invalid
  2004-05-23 23:34 [Bug ada/15604] New: Illegal program not detected, ambiguous aggregate ludovic dot brenta at insalien dot org
  2004-05-24  1:06 ` [Bug ada/15604] Ambiguous aggregate -- Accepts invalid pinskia at gcc dot gnu dot org
  2004-10-29 13:40 ` pinskia at gcc dot gnu dot org
@ 2004-10-29 14:47 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 14:47 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:21
               date|                            |


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


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

* [Bug ada/15604] Ambiguous aggregate -- Accepts invalid
       [not found] <bug-15604-286@http.gcc.gnu.org/bugzilla/>
  2005-11-15 14:04 ` charlet at gcc dot gnu dot org
@ 2005-11-15 14:10 ` charlet at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-11-15 14:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from charlet at gcc dot gnu dot org  2005-11-15 14:10 -------
Fixed.


-- 

charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

* [Bug ada/15604] Ambiguous aggregate -- Accepts invalid
       [not found] <bug-15604-286@http.gcc.gnu.org/bugzilla/>
@ 2005-11-15 14:04 ` charlet at gcc dot gnu dot org
  2005-11-15 14:10 ` charlet at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-11-15 14:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from charlet at gcc dot gnu dot org  2005-11-15 14:04 -------
Subject: Bug 15604

Author: charlet
Date: Tue Nov 15 14:03:56 2005
New Revision: 107006

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107006
Log:
2005-11-14  Ed Schonberg  <schonberg@adacore.com>
            Javier Miranda  <miranda@adacore.com>

        PR ada/15604

        * sem_type.adb (Covers): In an inlined body, a composite type matches
        a private type whose full view is a composite type.
        (Interface_Present_In_Ancestor): Protect the frontend against
        previously detected errors to ensure that its compilation
        with assertions enabled gives the same output that its
        compilation without assertions.
        (Interface_Present_In_Ancestor): Add support for private types.
        Change name In_Actual to In_Generic_Actual (clean up)
        (Disambiguate): New predicate In_Actual, to recognize expressions that
        appear in the renaming declaration generated for generic actuals, and
        which must be resolved in the outer context.


Modified:
    trunk/gcc/ada/sem_type.adb


-- 


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


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

* [Bug ada/15604] Ambiguous aggregate -- Accepts invalid
       [not found] <20040523092813.15604.ludovic@ludovic-brenta.org>
@ 2005-09-06 14:34 ` charlet at gcc dot gnu dot org
  0 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-09-06 14:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2005-09-06 14:34 -------
Pathological case, so changing severity.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


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

end of thread, other threads:[~2005-11-15 14:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 23:34 [Bug ada/15604] New: Illegal program not detected, ambiguous aggregate ludovic dot brenta at insalien dot org
2004-05-24  1:06 ` [Bug ada/15604] Ambiguous aggregate -- Accepts invalid pinskia at gcc dot gnu dot org
2004-10-29 13:40 ` pinskia at gcc dot gnu dot org
2004-10-29 14:47 ` pinskia at gcc dot gnu dot org
     [not found] <20040523092813.15604.ludovic@ludovic-brenta.org>
2005-09-06 14:34 ` charlet at gcc dot gnu dot org
     [not found] <bug-15604-286@http.gcc.gnu.org/bugzilla/>
2005-11-15 14:04 ` charlet at gcc dot gnu dot org
2005-11-15 14:10 ` charlet 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).