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++/24425] [4.0/4.1 Regression] Rejects code from kdegraphics3



------- Comment #1 from rguenth at gcc dot gnu dot org  2005-10-18 10:22 -------
I guess before we treated the whole expression

 T *cast = dynamic_cast<T *>(element->ownerDoc()->getElementFromHandle(node));

as dependent on T, while afterwards we try to resolve everything for the
argument of the dynamic_cast<>.  Whether the one or the other is the correct
behavior is beyond my current knowledge.

EDG accepts the testcase in non-strict mode, but rejects it with -strict_ansi.
Maybe we can do the same with -fpermissive?


-- 


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


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