public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/35920]  New: Overriding primitive with a predefined operation renaming
@ 2008-04-12 21:40 sam at gcc dot gnu dot org
  2009-10-02 21:27 ` [Bug ada/35920] " sam at gcc dot gnu dot org
  2009-10-02 21:27 ` sam at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 21:40 UTC (permalink / raw)
  To: gcc-bugs

GNAT 4.4.0 (20080411) crashes when trying to override an inherited primitive
operation by the renaming of a predefined one.

package P1 is
   type T1 is tagged null record;
   function Something (X, Y : T1) return Boolean;
   type T2 is new T1 with null record;
   function Something (X, Y : T2) return Boolean renames "=";
end P1;

% gcc -c p1.ads
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 20080411 (experimental) (x86_64-unknown-linux-gnu) Program_Error
exp_disp.adb:6756 explicit raise|
| Error detected at p1.ads:5:50                                            |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| 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).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.

p1.ads
/local/x86_64-unknown-linux/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/adainclude/s-parame.ads

[incidentally, the path of s-parame.ads is bogus, it lacks a /home/sam prefix]


-- 
           Summary: Overriding primitive with a predefined operation
                    renaming
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sam at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu


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


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

* [Bug ada/35920] Overriding primitive with a predefined operation renaming
  2008-04-12 21:40 [Bug ada/35920] New: Overriding primitive with a predefined operation renaming sam at gcc dot gnu dot org
@ 2009-10-02 21:27 ` sam at gcc dot gnu dot org
  2009-10-02 21:27 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2009-10-02 21:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-02 21:27:36
               date|                            |


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


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

* [Bug ada/35920] Overriding primitive with a predefined operation renaming
  2008-04-12 21:40 [Bug ada/35920] New: Overriding primitive with a predefined operation renaming sam at gcc dot gnu dot org
  2009-10-02 21:27 ` [Bug ada/35920] " sam at gcc dot gnu dot org
@ 2009-10-02 21:27 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2009-10-02 21:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from sam at gcc dot gnu dot org  2009-10-02 21:26 -------
Reconfirmed on SVN trunk.

+===========================GNAT BUG DETECTED==============================+
| 4.5.0 20090930 (experimental) (x86_64-unknown-linux-gnu) Program_Error
exp_disp.adb:7340 explicit raise|
| Error detected at p1.ads:5:50                                            |


-- 


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


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

end of thread, other threads:[~2009-10-02 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-12 21:40 [Bug ada/35920] New: Overriding primitive with a predefined operation renaming sam at gcc dot gnu dot org
2009-10-02 21:27 ` [Bug ada/35920] " sam at gcc dot gnu dot org
2009-10-02 21:27 ` sam 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).