public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44282] fastcall is not mangled at all
       [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
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: harald at gigawatt dot nl @ 2013-01-05 16:14 UTC (permalink / raw)
  To: gcc-bugs


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

Harald van Dijk <harald at gigawatt dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harald at gigawatt dot nl

--- Comment #5 from Harald van Dijk <harald at gigawatt dot nl> 2013-01-05 16:14:02 UTC ---
The description is a bit too narrow: this is not specific to fastcall, the same
problem exists with other attributes that affect the calling convention, at
least stdcall and regparm but possibly more.


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

* [Bug c++/44282] fastcall is not mangled at all
       [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
  2013-01-05 16:14 ` [Bug c++/44282] fastcall is not mangled at all 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
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-17  7:57 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |741911404 at qq dot com

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 59158 has been marked as a duplicate of this bug. ***


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

* [Bug c++/44282] fastcall is not mangled at all
       [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
  2013-01-05 16:14 ` [Bug c++/44282] fastcall is not mangled at all 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
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-04-28 19:48 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 35417
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35417&action=edit
patch

Here's a fix.  I want to get the ABI committee to sign off on the mangling
before I check it in.


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

* [Bug c++/44282] fastcall is not mangled at all
       [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-02  2:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun  2 02:28:19 2015
New Revision: 224007

URL: https://gcc.gnu.org/viewcvs?rev=224007&root=gcc&view=rev
Log:
        PR c++/44282
gcc/cp/
        * mangle.c (attr_strcmp): New.
        (write_CV_qualifiers_for_type): Also write out attributes that
        affect type identity.
        (write_type): Strip all attributes after writing qualifiers.
libiberty/
        * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
        extended qualifier.

Added:
    trunk/gcc/testsuite/g++.dg/abi/mangle-regparm.C
Modified:
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/common.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c
    trunk/gcc/testsuite/g++.dg/abi/macro0.C
    trunk/libiberty/ChangeLog
    trunk/libiberty/cp-demangle.c
    trunk/libiberty/testsuite/demangle-expected


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

* [Bug c++/44282] fastcall is not mangled at all
       [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-03 21:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun  3 21:09:25 2015
New Revision: 224101

URL: https://gcc.gnu.org/viewcvs?rev=224101&root=gcc&view=rev
Log:
        PR c++/44282
        * mangle.c (mangle_decl): Always SET_IDENTIFIER_GLOBAL_VALUE.
        (write_CV_qualifiers_for_type): Set G.need_abi_warning.
        (decl_implicit_alias_p): Split out from maybe_remove_implicit_alias.
        * cp-tree.h (DECL_REALLY_EXTERN): Handle null DECL_LANG_SPECIFIC.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/mangle.c
    trunk/gcc/testsuite/g++.dg/abi/mangle-regparm.C
    trunk/gcc/testsuite/g++.dg/abi/mangle58.C


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

* [Bug c++/44282] fastcall is not mangled at all
       [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-09-14 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Sep 14 19:54:27 2015
New Revision: 227761

URL: https://gcc.gnu.org/viewcvs?rev=227761&root=gcc&view=rev
Log:
        PR c++/44282

        * mangle.c (write_CV_qualifiers_for_type): Also warn about regparm
        mangling with lower -fabi-version.

Added:
    trunk/gcc/testsuite/g++.dg/abi/mangle-regparm1a.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c


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

* [Bug c++/44282] fastcall is not mangled at all
       [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-23  1:38 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jacek at codeweavers dot com

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 79582 has been marked as a duplicate of this bug. ***

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

* [Bug c++/44282] fastcall is not mangled at all
       [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2021-07-23  1:38 ` pinskia at gcc dot gnu.org
@ 2021-07-27  2:20 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-27  2:20 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ondrej.kolacek at centrum dot cz

--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 57227 has been marked as a duplicate of this bug. ***

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

* [Bug c++/44282] fastcall is not mangled at all
  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-07-24 23:17 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-07-24 23:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2010-07-24 23:17 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |assemble-failure
      Known to fail|                            |4.1.2 4.3.2 4.2.2 4.6.0
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-24 23:17:30
               date|                            |
            Summary|GCC allows for function     |fastcall is not mangled at
                   |overloading with pointer to |all
                   |function as parameter based |
                   |on calling convention but   |
                   |assembler complains         |


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


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-44282-4@http.gcc.gnu.org/bugzilla/>
2013-01-05 16:14 ` [Bug c++/44282] fastcall is not mangled at all 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
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-07-24 23:17 ` [Bug c++/44282] fastcall is not mangled at all pinskia 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).