[Bug c++/25895] [4.0/4.1/4.2 Regression] wrong code with ?: and derived class pointers

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 14 23:59:00 GMT 2007



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-04-15 00:58 -------
(In reply to comment #6)
> I believe that this change will pessimize alias analysis somewhat; improved
> alias analysis was the reason for my change to model base access with
> COMPONENT_REF.  But I'll leave this alone until I get around to doing that more
> fully (as described in 22488)

Also I think Honza's patch for fold actually might fix this up after the C++
producing the "crazy" code.


-- 


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



More information about the Gcc-bugs mailing list