public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31580] Better error message for not-found operator
[not found] <bug-31580-4@http.gcc.gnu.org/bugzilla/>
@ 2024-04-02 19:52 ` cvs-commit at gcc dot gnu.org
0 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-02 19:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31580
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@gcc.gnu.org>:
https://gcc.gnu.org/g:ca2f7c84927f85b95f0f48f82b93f1460c372db4
commit r14-9760-gca2f7c84927f85b95f0f48f82b93f1460c372db4
Author: Tom Tromey <tom@tromey.com>
Date: Sat Mar 30 13:48:30 2024 -0600
libiberty: Invoke D demangler when --format=auto
Investigating GDB PR d/31580 showed that the libiberty demangler
doesn't automatically demangle D mangled names. However, I think it
should -- like C++ and Rust (new-style), D mangled names are readily
distinguished by the leading "_D", and so the likelihood of confusion
is low. The other non-"auto" cases in this code are Ada (where the
encoded form could more easily be confused by ordinary programs) and
Java (which is long gone, but which also shared the C++ mangling and
thus was just an output style preference).
This patch also fixed another GDB bug, though of course that part
won't apply to the GCC repository.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31580
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30276
libiberty
* cplus-dem.c (cplus_demangle): Try the D demangler with
"auto" format.
* testsuite/d-demangle-expected: Add --format=auto test.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31580] Better error message for not-found operator
2007-04-15 19:00 [Bug fortran/31580] New: " burnus at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-06-29 19:06 ` dfranke at gcc dot gnu dot org
@ 2007-06-29 19:09 ` dfranke at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-06-29 19:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dfranke at gcc dot gnu dot org 2007-06-29 19:09 -------
Fixed in trunk, no backport. Closing.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31580
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31580] Better error message for not-found operator
2007-04-15 19:00 [Bug fortran/31580] New: " burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-06-29 18:50 ` patchapp at dberlin dot org
@ 2007-06-29 19:06 ` dfranke at gcc dot gnu dot org
2007-06-29 19:09 ` dfranke at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-06-29 19:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dfranke at gcc dot gnu dot org 2007-06-29 19:06 -------
Subject: Bug 31580
Author: dfranke
Date: Fri Jun 29 19:05:58 2007
New Revision: 126117
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126117
Log:
gcc/fortran:
2007-06-29 Daniel Franke <franke.daniel@gmail.com>
PR fortran/31580
* resolve.c (resolve_operator): Added check whether a user
defined operator is available.
gcc/testsuite:
2007-06-29 Daniel Franke <franke.daniel@gmail.com>
PR fortran/31580
* gfortran.dg/operator_3.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/operator_3.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31580
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31580] Better error message for not-found operator
2007-04-15 19:00 [Bug fortran/31580] New: " burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-06-29 18:49 ` dfranke at gcc dot gnu dot org
@ 2007-06-29 18:50 ` patchapp at dberlin dot org
2007-06-29 19:06 ` dfranke at gcc dot gnu dot org
2007-06-29 19:09 ` dfranke at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: patchapp at dberlin dot org @ 2007-06-29 18:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from patchapp at dberlin dot org 2007-06-29 18:50 -------
Subject: Bug number PR31580
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-06/msg02115.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31580
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31580] Better error message for not-found operator
2007-04-15 19:00 [Bug fortran/31580] New: " burnus at gcc dot gnu dot org
2007-04-16 12:37 ` [Bug fortran/31580] " tobi at gcc dot gnu dot org
2007-04-16 12:39 ` tobi at gcc dot gnu dot org
@ 2007-06-29 18:49 ` dfranke at gcc dot gnu dot org
2007-06-29 18:50 ` patchapp at dberlin dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-06-29 18:49 UTC (permalink / raw)
To: gcc-bugs
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dfranke at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-04-16 13:37:26 |2007-06-29 18:49:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31580
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31580] Better error message for not-found operator
2007-04-15 19:00 [Bug fortran/31580] New: " burnus at gcc dot gnu dot org
2007-04-16 12:37 ` [Bug fortran/31580] " tobi at gcc dot gnu dot org
@ 2007-04-16 12:39 ` tobi at gcc dot gnu dot org
2007-06-29 18:49 ` dfranke at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-04-16 12:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tobi at gcc dot gnu dot org 2007-04-16 13:39 -------
I think the simplest fix is rewording the error message to, say,
"No interface found for operator .notfound. with operand types REAL(4)/REAL(4)"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31580
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31580] Better error message for not-found operator
2007-04-15 19:00 [Bug fortran/31580] New: " burnus at gcc dot gnu dot org
@ 2007-04-16 12:37 ` tobi at gcc dot gnu dot org
2007-04-16 12:39 ` tobi at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-04-16 12:37 UTC (permalink / raw)
To: gcc-bugs
--
tobi 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 |2007-04-16 13:37:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31580
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-04-02 19:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-31580-4@http.gcc.gnu.org/bugzilla/>
2024-04-02 19:52 ` [Bug fortran/31580] Better error message for not-found operator cvs-commit at gcc dot gnu.org
2007-04-15 19:00 [Bug fortran/31580] New: " burnus at gcc dot gnu dot org
2007-04-16 12:37 ` [Bug fortran/31580] " tobi at gcc dot gnu dot org
2007-04-16 12:39 ` tobi at gcc dot gnu dot org
2007-06-29 18:49 ` dfranke at gcc dot gnu dot org
2007-06-29 18:50 ` patchapp at dberlin dot org
2007-06-29 19:06 ` dfranke at gcc dot gnu dot org
2007-06-29 19:09 ` dfranke 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).