public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15305] New: Bug box in Gigi, code=505
@ 2004-05-06  5:11 ludovic dot brenta at insalien dot org
  2004-10-12  3:50 ` [Bug ada/15305] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 3+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-05-06  5:11 UTC (permalink / raw)
  To: gcc-bugs

with unchecked_conversion;
procedure Test_100 is
   package pak1 is
      type T2 is private;

      function "=" (left, right : T2) return Boolean;
   private

      type T3 is access integer;
      type T2 is new T3;

      function convert is new unchecked_conversion (integer, T3);

   end pak1;

   package body pak1 is

      function "=" (left, right : T2) return Boolean is
      begin
         return false;
      end "=";

   end pak1;

   generic
      type T1 is private;
      x1: in T1;
      x2: in out T1;
   package pak2 is
      b: boolean := x1 = x2;
   end pak2;

   y1: pak1.T2;
   y2: pak1.T2;
   package new_pak2 is new pak2 (pak1.T2, y1, y2);
begin
   null;
end Test_100;


gcc -c -x ada test_100.ada
+===========================GNAT BUG DETECTED==============================+
| 3.5.0 20040327 (experimental) (i686-pc-linux-gnu) Gigi abort, Code=505   |
| Error detected at test_100.ada:30:26 [test_100.ada:35:4]                 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

-- 
           Summary: Bug box in Gigi, code=505
           Product: gcc
           Version: 3.5.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=15305


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

* [Bug ada/15305] Bug box in Gigi, code=505
  2004-05-06  5:11 [Bug ada/15305] New: Bug box in Gigi, code=505 ludovic dot brenta at insalien dot org
@ 2004-10-12  3:50 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-12  3:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-12 03:50 -------
Confirmed on the mainline:
+===========================GNAT BUG 
DETECTED==============================+
| 4.0.0 20041008 (experimental) (powerpc-apple-darwin7.4.1) GCC error:     |
| in build_binary_op, at /ada/utils2.c:875                                 |
| Error detected at test_100.ada:30:26 [test_100.ada:35:4]                 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==============================================================
============+

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-12 03:50:35
               date|                            |


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


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

* [Bug ada/15305] Bug box in Gigi, code=505
       [not found] <bug-15305-286@http.gcc.gnu.org/bugzilla/>
@ 2006-03-19  5:54 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-19  5:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-19 05:54 -------
Fixed in 4.2.0.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-03-19  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06  5:11 [Bug ada/15305] New: Bug box in Gigi, code=505 ludovic dot brenta at insalien dot org
2004-10-12  3:50 ` [Bug ada/15305] " pinskia at gcc dot gnu dot org
     [not found] <bug-15305-286@http.gcc.gnu.org/bugzilla/>
2006-03-19  5:54 ` 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).