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 target/55721] -mabi=64 compilation results in unknown UNSPEC note


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");
}


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