[Bug c++/66519] New: [C++14] ICE when using decltype to detect callable return type during SFINAE

krzysztof.sinica at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 12 10:50:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66519

            Bug ID: 66519
           Summary: [C++14] ICE when using decltype to detect callable
                    return type during SFINAE
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krzysztof.sinica at gmail dot com
  Target Milestone: ---

Created attachment 35769
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35769&action=edit
Case source code

g++ fails to compile the attached source file in the '-std=c++14' mode. clang
3.6.0 works just fine and generates executable with expected behaviour.

GCC version: g++-5 (Ubuntu 5.1.0-0ubuntu11~14.04.1) 5.1.0



More information about the Gcc-bugs mailing list