public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44282]  New: GCC allows for function overloading with pointer to function as parameter based on calling convention but assembler complains
@ 2010-05-26 12:59 vadim dot atlygin at gmail dot com
  2010-05-26 13:00 ` [Bug c++/44282] " vadim dot atlygin at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: vadim dot atlygin at gmail dot com @ 2010-05-26 12:59 UTC (permalink / raw)
  To: gcc-bugs

When you have function that gets pointer to a function as parameter, it is
possible to overload it based on calling convention of parameter function. But
apparently compiler generate the same signature anyway and assembler complains
about redefinition.

$ g++ test.cpp
/tmp/ccgIM8Ir.s: Assembler messages:
/tmp/ccgIM8Ir.s:103: Error: symbol `_Z1pIvEvPFT_vE' is already defined


-- 
           Summary: GCC allows for function overloading with pointer to
                    function as parameter based on calling convention but
                    assembler complains
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vadim dot atlygin at gmail dot com
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <bug-44282-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2021-07-27  2:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-26 12:59 [Bug c++/44282] New: GCC allows for function overloading with pointer to function as parameter based on calling convention but assembler complains vadim dot atlygin at gmail dot com
2010-05-26 13:00 ` [Bug c++/44282] " vadim dot atlygin at gmail dot com
2010-05-26 17:30 ` pluto at agmk dot net
2010-05-26 17:43 ` vadim dot atlygin at gmail dot com
2010-07-24 23:17 ` [Bug c++/44282] fastcall is not mangled at all pinskia at gcc dot gnu dot org
     [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
2013-01-05 16:14 ` harald at gigawatt dot nl
2013-11-17  7:57 ` pinskia at gcc dot gnu.org
2015-04-28 19:48 ` jason at gcc dot gnu.org
2015-06-02  2:29 ` jason at gcc dot gnu.org
2015-06-03 21:10 ` jason at gcc dot gnu.org
2015-09-14 19:55 ` jason at gcc dot gnu.org
2021-07-23  1:38 ` pinskia at gcc dot gnu.org
2021-07-27  2:20 ` pinskia 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).