https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61690
Bug ID: 61690 Summary: aliasing base template class variable doesn't work in template derived class, when base class has two or more template parameters Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: siim.schults at gmail dot com Created attachment 33064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33064&action=edit "the preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command" I made a detailed description (minimum code + error msg + compiler version) here: http://stackoverflow.com/questions/24555235/c11-aliasing-base-template-class-variable-doesnt-work-in-template-derived-cla Guys at stackoverflow suggested a gcc bug, so that is why I am writing this. I also downloaded gcc 4.9.0 and same error occurred.