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++/51188] invalid static_cast from type 'XBase' to type 'int'


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

fabien at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-11-17
                 CC|                            |jason at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #2 from fabien at gcc dot gnu.org 2011-11-17 09:52:40 UTC ---
(In reply to comment #0)
[...]
> if I remove any of the superfluous statements in x.cpp it works fine!

There is a strange thing here, if we reach 7 members in a class, things are
done differently in the compiler.

Jason, I'd like to run the testsuite without this 7 member rule, how could I do
that ?

Thanks.


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