This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66519] New: [C++14] ICE when using decltype to detect callable return type during SFINAE
- From: "krzysztof.sinica at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Jun 2015 10:50:05 +0000
- Subject: [Bug c++/66519] New: [C++14] ICE when using decltype to detect callable return type during SFINAE
- Auto-submitted: auto-generated
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