This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: template auto deduction ICE in the latest gcc master version.


On Sun, 13 Oct 2019 at 19:31, sotrdg sotrdg <euloanty@live.com> wrote:
>
> 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.

This has nothing to do with libstdc++, and bugs should be reported to
bugzilla not by sending email to the gcc-bugs list (which is for
automated replies from bugzilla only).

https://gcc.gnu.org/bugs/


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