This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50096] GCC 4.X doesn't compile Clang on Sparc Solaris
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2011 08:01:56 +0000
- Subject: [Bug c++/50096] GCC 4.X doesn't compile Clang on Sparc Solaris
- Auto-submitted: auto-generated
- References: <bug-50096-4@http.gcc.gnu.org/bugzilla/>
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;
}