public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/96224] New: -fdump-tree-original could use more sophisticated or mangled procedure names
@ 2020-07-16 19:34 anlauf at gcc dot gnu.org
2020-07-16 19:34 ` [Bug fortran/96224] " anlauf at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-07-16 19:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96224
Bug ID: 96224
Summary: -fdump-tree-original could use more sophisticated or
mangled procedure names
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: anlauf at gcc dot gnu.org
Target Milestone: ---
Consider the following code:
module mod
contains
subroutine init
end subroutine
end module
module init
use mod, only : mod_init => init
implicit none
contains
subroutine sub
call mod_init
call init
contains
subroutine init
end subroutine
end subroutine
end module
Compiling the above (after applying my patch for PR89574; otherwise module init
needs to be renamed) leads to:
init ()
{
}
init ()
{
}
sub ()
{
static void init (void);
init ();
init ();
}
Grepping the resulting assembler suggests that the proper calls are generated:
% grep call foo.s
call __mod_MOD_init
call init.0
So this is likely only a cosmetic problem, although an annoying one.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/96224] -fdump-tree-original could use more sophisticated or mangled procedure names
2020-07-16 19:34 [Bug fortran/96224] New: -fdump-tree-original could use more sophisticated or mangled procedure names anlauf at gcc dot gnu.org
@ 2020-07-16 19:34 ` anlauf at gcc dot gnu.org
2020-07-23 14:35 ` dominiq at lps dot ens.fr
2020-07-23 18:45 ` anlauf at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-07-16 19:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96224
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/96224] -fdump-tree-original could use more sophisticated or mangled procedure names
2020-07-16 19:34 [Bug fortran/96224] New: -fdump-tree-original could use more sophisticated or mangled procedure names anlauf at gcc dot gnu.org
2020-07-16 19:34 ` [Bug fortran/96224] " anlauf at gcc dot gnu.org
@ 2020-07-23 14:35 ` dominiq at lps dot ens.fr
2020-07-23 18:45 ` anlauf at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2020-07-23 14:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96224
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
Last reconfirmed| |2020-07-23
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Could you be more explicit about what you would like?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/96224] -fdump-tree-original could use more sophisticated or mangled procedure names
2020-07-16 19:34 [Bug fortran/96224] New: -fdump-tree-original could use more sophisticated or mangled procedure names anlauf at gcc dot gnu.org
2020-07-16 19:34 ` [Bug fortran/96224] " anlauf at gcc dot gnu.org
2020-07-23 14:35 ` dominiq at lps dot ens.fr
@ 2020-07-23 18:45 ` anlauf at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-07-23 18:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96224
--- Comment #2 from anlauf at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #1)
> Could you be more explicit about what you would like?
How about:
mod::init ()
or
mod.init ()
to indicate the relevant namespace.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-07-23 18:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 19:34 [Bug fortran/96224] New: -fdump-tree-original could use more sophisticated or mangled procedure names anlauf at gcc dot gnu.org
2020-07-16 19:34 ` [Bug fortran/96224] " anlauf at gcc dot gnu.org
2020-07-23 14:35 ` dominiq at lps dot ens.fr
2020-07-23 18:45 ` anlauf at gcc dot gnu.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).