public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/56025] New: ARM NEON polynomial types have broken overload resolution
@ 2013-01-18  9:39 Tim.Northover at arm dot com
  2013-01-18  9:52 ` [Bug c++/56025] " rearnsha at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tim.Northover at arm dot com @ 2013-01-18  9:39 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56025
           Summary: ARM NEON polynomial types have broken overload
                    resolution
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Tim.Northover@arm.com


While investigating bug #56024, we discovered this problem in the same area.
Essentially, GCC has semi-special builtin types to cover poly8_t and poly16_t
defined in arm_neon.h.

These types are used by G++ when calculating the overload resolution. The
following two functions can both be defined with no issues in the front-end:

#include <arm_neon.h>
void foo(short s) {}
void foo(__builtin_neon_poly16 s) {}

However, in the resulting assembly they are both mangled as _Z3foos, which
causes a conflict.

This mangling area is likely to be affected by any change fixing 56024, so a
sensible combined solution might be a good idea.


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

end of thread, other threads:[~2015-01-07 14:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18  9:39 [Bug c++/56025] New: ARM NEON polynomial types have broken overload resolution Tim.Northover at arm dot com
2013-01-18  9:52 ` [Bug c++/56025] " rearnsha at gcc dot gnu.org
2015-01-06 17:14 ` [Bug target/56025] " belagod at gcc dot gnu.org
2015-01-06 17:21 ` belagod at gcc dot gnu.org
2015-01-07 14:37 ` belagod 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).