[Bug c++/79790] [C++17] ICE class template argument deduction failed

2017-03-01 Thread jochen.goert...@uni-konstanz.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79790 --- Comment #3 from Jochen Görtler --- This is the error: template_class_deduction.cpp: In function ‘int main()’: template_class_deduction.cpp:4:29: error: class template argument deduction failed: std::array test = {1,2,3};

[Bug c++/79790] [C++17] ICE class template argument deduction failed

2017-03-01 Thread jochen.goert...@uni-konstanz.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79790 --- Comment #2 from Jochen Görtler --- The bug can also be reproduced in the compiler explorer: https://godbolt.org/g/3NBvoL

[Bug c++/79790] [C++17] ICE class template argument deduction failed

2017-03-01 Thread jochen.goert...@uni-konstanz.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79790 --- Comment #1 from Jochen Görtler --- Using built-in specs. COLLECT_GCC=../gcc-bug/bin/g++ COLLECT_LTO_WRAPPER=/home/jochen/Developer/gcc-bug/libexec/gcc/x86_64-pc-linux-gnu/7.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-b

[Bug c++/79790] New: [C++17] ICE class template argument deduction failed

2017-03-01 Thread jochen.goert...@uni-konstanz.de
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jochen.goert...@uni-konstanz.de Target Milestone: --- Created attachment 40865 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40865&action=edit Minimal test case