This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65175] New: [4.9.2] ICE forming a typedef with an alias template
- From: "ben at pope dot name" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Feb 2015 12:53:38 +0000
- Subject: [Bug c++/65175] New: [4.9.2] ICE forming a typedef with an alias template
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65175
Bug ID: 65175
Summary: [4.9.2] ICE forming a typedef with an alias template
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ben at pope dot name
Created attachment 34843
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34843&action=edit
Preprocessed source
template<class T>
using source_operator_type_t = typename T::source_operator_type;
/home/ben/development/test/ben_rxcpp/Rx/v2/src/rxcpp/operators/rx-concat.hpp:28:54:
internal compiler error: Segmentation fault
typedef rxu::source_operator_type_t<source_type> source_operator_type;
If I manually inline the alias template it compiles fine:
typedef typename source_type::source_operator_type source_operator_type;