------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-19 23:06 ------- Reduced testcase:
class Exchange{ }; struct optional { Exchange const* operator-> () const {} }; namespace pcrxsd { template< typename T, typename V> inline T fundamentalBaseCast() { } void setInfo(optional &a) { a->pcrxsd::fundamentalBaseCast<int> } } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-invalid-code Known to fail| |3.3.3 3.4.0 4.0.0 4.1.0 | |4.2.0 Known to work| |3.2.3 Last reconfirmed|0000-00-00 00:00:00 |2006-02-19 23:06:29 date| | Summary|ICE in |[3.4/4.0/4.1/4.2 Regression] |finish_class_member_access_e|ICE in |xpr, at cp/typeck.c |finish_class_member_access_e | |xpr, at cp/typeck.c Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26365