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

--- Comment #2 from Javier <javpicorel at gmail dot com> 2011-08-16 09:36:53 UTC ---
(In reply to comment #1)
> 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;
> 
> }

Sorry about that I forgot to read them. 

This code do compile on x86 so this has to be some c++ front-end bug, that is
what clang guys told me.


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