public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* template auto deduction ICE in the latest gcc master version.
@ 2019-10-13 18:31 sotrdg sotrdg
  2019-10-14  8:47 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: sotrdg sotrdg @ 2019-10-13 18:31 UTC (permalink / raw)
  To: gcc-bugs, libstdc++

https://github.com/euloanty/fast_io/blob/master/examples/0036.concepts_check/iostrm.cc



cqwrteur@DESKTOP-7H7UHQ9:/mnt/d/hg/fast_io/examples/build$ ninja
[1/2] Building CXX object CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc.o
FAILED: CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc.o
/usr/local/bin/c++    -O3 -DNDEBUG   -fconcepts -ffast-math -Wall -Wextra -std=gnu++2a -MD -MT CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc.o -MF CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc.o.d -o CMakeFiles/iostrm.dir/0036.concepts_check/iostrm.cc.o -c ../0036.concepts_check/iostrm.cc
../0036.concepts_check/iostrm.cc: In function ‘int main()’:
../0036.concepts_check/iostrm.cc:8:51: error: deduced initializer does not satisfy placeholder constraints
    8 |  fast_io::stream auto fin(std::ifstream("abc.txt"));
      |                                                   ^
../0036.concepts_check/iostrm.cc:8:51: note: constraints not satisfied
c++: internal compiler error: Segmentation fault signal terminated program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
ninja: build stopped: subcommand failed.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-14  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-13 18:31 template auto deduction ICE in the latest gcc master version sotrdg sotrdg
2019-10-14  8:47 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).