This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55721] -mabi=64 compilation results in unknown UNSPEC note
- From: "sje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Dec 2012 18:55:30 +0000
- Subject: [Bug target/55721] -mabi=64 compilation results in unknown UNSPEC note
- Auto-submitted: auto-generated
- References: <bug-55721-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55721
--- Comment #2 from Steve Ellcey <sje at gcc dot gnu.org> 2012-12-17 18:55:30 UTC ---
Thanks for the pointer.
Unfortunately, this note also happens when compiling testsuite_abi during the
libstdc++ testsuite, that is where I first noticed it.
Here is a C++ test case based on testsuite_abi.cc.
template<typename _CharT> class basic_string {
public:
long unsigned int find(const _CharT* __s, long unsigned int __n) const;
long unsigned int find(const _CharT* __s) const {
return this->find(__s, 1);
}
};
typedef basic_string<char> string;
struct symbol {
void init(string& data);
};
void symbol::init(string& data) {
data.find("FUNC");
}