public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sam at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/35920] New: Overriding primitive with a predefined operation renaming Date: Sat, 12 Apr 2008 21:40:00 -0000 [thread overview] Message-ID: <bug-35920-15321@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2008-04-12 21:40 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-12 21:40 sam at gcc dot gnu dot org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-35920-15321@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).