This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81761] assembler error on __func__ et al. on attribute target overloads


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc64le-*-linux,        |
                   |x86_64-*-linux              |
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-08-11
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
Confirmed, message for me is:

$ /usr/local/bin/g++ -c -Wall -Wextra 81761.cc
/var/tmp//ccqm9pwP.s:85:FATAL:Symbol __ZZ3foovE8__func__ already defined.
$

Removing targets because it also happens for me on i386-apple-darwin9.8.0, so
it's not specific to the ones you listed.

(also it'd be nice to improve the testcase to have an explicit __func__ in it,
instead of relying on the expansion of assert() to contain one)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]