This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65175] New: [4.9.2] ICE forming a typedef with an alias template


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]