This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81761] assembler error on __func__ et al. on attribute target overloads
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Aug 2017 14:54:22 +0000
- Subject: [Bug c++/81761] assembler error on __func__ et al. on attribute target overloads
- Auto-submitted: auto-generated
- References: <bug-81761-4@http.gcc.gnu.org/bugzilla/>
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)