[Bug c++/50096] GCC 4.X doesn't compile Clang on Sparc Solaris
javpicorel at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 16 09:45:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list