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++/50096] GCC 4.X doesn't compile Clang on Sparc Solaris


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-08-16
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-16 08:01:56 UTC ---
please read the bug reporting instructions and provide the information
requested:
http://gcc.gnu.org/bugs/ - specifically provide preprocessed source, not a URL.
 Ideally reduce the code to the minimum example demonstrating the problem.

To me the error looks like it would be produced by this incorrect code:

namespace clang
{

struct SourceRange { };

struct Stmt { };

struct AsmStmt : Stmt {
  SourceRange f() const;
};

SourceRange (clang::Stmt::*p)() = &AsmStmt::f;

}


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