------- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-25 04:55 ------- Here is a more reduced (and cleaned up) testcase:
class ios_base{}; struct basic_ostream : virtual ios_base{}; namespace { struct Nullostream : basic_ostream{}; } class In { In (); Nullostream nullout; }; In::In (){} This is an interaction between aliasing and anonymous namespaces. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Severity|normal |blocker Keywords| |ice-on-valid-code Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29585