public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal
@ 2011-03-06 12:03 demoonlit at panathenaia dot halfmoon.jp
  2014-11-10 12:42 ` [Bug ada/48002] " fxcoudert at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: demoonlit at panathenaia dot halfmoon.jp @ 2011-03-06 12:03 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: internal error on calling inherited, overloaded and
                    abstract subprograms with string literal
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: demoonlit@panathenaia.halfmoon.jp


Created attachment 23560
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23560
minimal bug triggering source code

gcc-4.5.1 and 4.5.2 crash with internal error.

1. declare a type (named A.T) and primitive subprogram (named A.F) having a
String parameter.
2. declare new type (named B.T) derived from A.T, this type has inherited
subprogram B.F from A.F.
3. re-declare B.F as abstract to hide.
4. overload B.F having a Wide_String parameter.
5. call Wide_String version of B.F with string literal.

minimal source:

procedure overload_str is
    package A is
        type T is new Integer;
        procedure F (X : T; Y : String) is null;
    end A;
    package B is
        type T is new A.T;
        procedure F (X : T; Y : Wide_String) is null;
        procedure F (X : T; Y : String) is abstract; -- hide inherited F
    end B;
begin
    B.F (B.T'(0), "ABC"); -- compiler may crash
    B.F (B.T'(0), Wide_String'("ABC")); -- OK
end overload_str;

% gnatmake overload_str
gcc -c overload_str.adb
+===========================GNAT BUG DETECTED==============================+
| 4.5.2 (i686-apple-darwin9) Assert_Failure einfo.adb:1698                 |
| Error detected at overload_str.adb:12:10                                 |
| 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.
Consider also -gnatd.n switch (see debug.adb).

overload_str.adb

compilation abandoned
gnatmake: "overload_str.adb" compilation error


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

* [Bug ada/48002] internal error on calling inherited, overloaded and abstract subprograms with string literal
  2011-03-06 12:03 [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal demoonlit at panathenaia dot halfmoon.jp
@ 2014-11-10 12:42 ` fxcoudert at gcc dot gnu.org
  2014-11-10 14:18 ` charlet at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-10 12:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48002

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|i686-apple-darwin9          |
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-10
                 CC|                            |fxcoudert at gcc dot gnu.org
               Host|i686-apple-darwin9          |
     Ever confirmed|0                           |1
              Build|i686-apple-darwin9          |

--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Confirmed on x86_64-linux with GNATMAKE 4.4.7 20120313.
Fixed on trunk, for both linux and darwin.


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

* [Bug ada/48002] internal error on calling inherited, overloaded and abstract subprograms with string literal
  2011-03-06 12:03 [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal demoonlit at panathenaia dot halfmoon.jp
  2014-11-10 12:42 ` [Bug ada/48002] " fxcoudert at gcc dot gnu.org
@ 2014-11-10 14:18 ` charlet at gcc dot gnu.org
  2015-04-22 11:57 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-11-10 14:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48002

Arnaud Charlet <charlet at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |charlet at gcc dot gnu.org
   Target Milestone|---                         |5.0

--- Comment #2 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Closing then, thanks for checking


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

* [Bug ada/48002] internal error on calling inherited, overloaded and abstract subprograms with string literal
  2011-03-06 12:03 [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal demoonlit at panathenaia dot halfmoon.jp
  2014-11-10 12:42 ` [Bug ada/48002] " fxcoudert at gcc dot gnu.org
  2014-11-10 14:18 ` charlet at gcc dot gnu.org
@ 2015-04-22 11:57 ` jakub at gcc dot gnu.org
  2015-07-16  9:11 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-04-22 11:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48002

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.0                         |5.2

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5.1 has been released.


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

* [Bug ada/48002] internal error on calling inherited, overloaded and abstract subprograms with string literal
  2011-03-06 12:03 [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal demoonlit at panathenaia dot halfmoon.jp
                   ` (2 preceding siblings ...)
  2015-04-22 11:57 ` jakub at gcc dot gnu.org
@ 2015-07-16  9:11 ` rguenth at gcc dot gnu.org
  2015-07-18 10:29 ` demoonlit at panathenaia dot halfmoon.jp
  2015-09-01 23:34 ` demoonlit at panathenaia dot halfmoon.jp
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48002

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


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

* [Bug ada/48002] internal error on calling inherited, overloaded and abstract subprograms with string literal
  2011-03-06 12:03 [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal demoonlit at panathenaia dot halfmoon.jp
                   ` (3 preceding siblings ...)
  2015-07-16  9:11 ` rguenth at gcc dot gnu.org
@ 2015-07-18 10:29 ` demoonlit at panathenaia dot halfmoon.jp
  2015-09-01 23:34 ` demoonlit at panathenaia dot halfmoon.jp
  5 siblings, 0 replies; 7+ messages in thread
From: demoonlit at panathenaia dot halfmoon.jp @ 2015-07-18 10:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48002

--- Comment #5 from yuta tomino <demoonlit at panathenaia dot halfmoon.jp> ---
This bug seems already being fixed as François-Xavier wrote. (it could be
compiled with gcc-5.1)
Thanks.
>From gcc-bugs-return-492733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jul 18 10:39:31 2015
Return-Path: <gcc-bugs-return-492733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90860 invoked by alias); 18 Jul 2015 10:39:31 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 90833 invoked by uid 48); 18 Jul 2015 10:39:27 -0000
From: "anders.jonsson at norsjovallen dot se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug translation/66928] New: Typos in translatable strings
Date: Sat, 18 Jul 2015 10:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: translation
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: anders.jonsson at norsjovallen dot se
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-66928-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg01623.txt.bz2
Content-length: 978

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf928

            Bug ID: 66928
           Summary: Typos in translatable strings
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: translation
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anders.jonsson at norsjovallen dot se
  Target Milestone: ---

Hi,
when reviewing the Swedish translation of gcc 5.1.0 I found some typos in the
original English strings. These are still present in master.


#: gcov-tool.c:185
msgid "Merge subcomand usage:"
#: gcov-tool.c:445
msgid "Overlap subcomand usage:"


These two should be "subcommand"


#: fortran/lang.opt:389
msgid "Unrecognized option to endianess value: %qs"


This should be "endianness"


#: fortran/lang.opt:350
msgid "Eliminate multiple function invokations also for impure functions"

The noun is spelled "invocations".

Regards,
Anders Jonsson


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

* [Bug ada/48002] internal error on calling inherited, overloaded and abstract subprograms with string literal
  2011-03-06 12:03 [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal demoonlit at panathenaia dot halfmoon.jp
                   ` (4 preceding siblings ...)
  2015-07-18 10:29 ` demoonlit at panathenaia dot halfmoon.jp
@ 2015-09-01 23:34 ` demoonlit at panathenaia dot halfmoon.jp
  5 siblings, 0 replies; 7+ messages in thread
From: demoonlit at panathenaia dot halfmoon.jp @ 2015-09-01 23:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48002

yuta tomino <demoonlit at panathenaia dot halfmoon.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from yuta tomino <demoonlit at panathenaia dot halfmoon.jp> ---
I'm unsure about the rule of this Bugzilla, but allow me to close because this
bug has already been fixed.


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

end of thread, other threads:[~2015-09-01 23:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-06 12:03 [Bug ada/48002] New: internal error on calling inherited, overloaded and abstract subprograms with string literal demoonlit at panathenaia dot halfmoon.jp
2014-11-10 12:42 ` [Bug ada/48002] " fxcoudert at gcc dot gnu.org
2014-11-10 14:18 ` charlet at gcc dot gnu.org
2015-04-22 11:57 ` jakub at gcc dot gnu.org
2015-07-16  9:11 ` rguenth at gcc dot gnu.org
2015-07-18 10:29 ` demoonlit at panathenaia dot halfmoon.jp
2015-09-01 23:34 ` demoonlit at panathenaia dot halfmoon.jp

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).