[Bug libstdc++/80451] [6/7 Regression] return implicit type conversion to std::experimental::optional does not compile

2017-04-18 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80451 --- Comment #8 from Денис Крыськов --- If I understand correctly, http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1579 is not implemented in gcc 5.4 and 6.3. Which means some code runs slower than is should. To be sure that a fast co

[Bug libstdc++/80451] [6/7 Regression] return implicit type conversion to std::experimental::optional does not compile

2017-04-18 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80451 --- Comment #6 from Денис Крыськов --- Seems like a serious bug in compiler. Jonathan, thanks for quick investigation.

[Bug libstdc++/80451] return implicit type conversion to std::experimental::optional does not compile

2017-04-18 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80451 --- Comment #2 from Денис Крыськов --- None of official documents I read says that optional invokes copy-constructor of T. Jonathan, did you describe a change in specification, or a temporary walkaround?

[Bug c++/80451] New: return implicit type conversion to std::optional does not compile

2017-04-18 Thread krisk0.2017.02.27 at protonmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krisk0.2017.02.27 at protonmail dot com Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu

[Bug tree-optimization/80345] [5 Regression] ICE in rewrite_use_nonlinear_expr with -O2

2017-04-07 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80345 --- Comment #8 from Денис Крыськов --- (In reply to Markus Trippelsdorf from comment #4) > 6.3 branch works fine. > Only 5.4.1 is affected. So it looks like a missing backport. Microarch is Haswell. I failed to reproduce ICE with gcc 6.3. If th

[Bug tree-optimization/80345] [5 Regression] ICE in rewrite_use_nonlinear_expr with -O2

2017-04-07 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80345 --- Comment #7 from Денис Крыськов --- Created attachment 41149 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41149&action=edit gcc5.4 -v stderr/stdout

[Bug tree-optimization/80345] ICE in rewrite_use_nonlinear_expr with -O2

2017-04-06 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80345 --- Comment #2 from Денис Крыськов --- Created attachment 41148 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41148&action=edit the preprocessed file Ah, sorry, I attached uncompressed file, which was rejected due to big size.

[Bug c/80345] New: ICE in rewrite_use_nonlinear_expr with -O2

2017-04-06 Thread krisk0.2017.02.27 at protonmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: krisk0.2017.02.27 at protonmail dot com Target Milestone: --- The bug looks like #68021. But #68021 has been fixed Feb 2016 and gcc-6.3 is dated Dec 2016, so this bug is NOT a duplicate. * the exact version of GCC gcc version

[Bug libstdc++/79743] std::experimental::optional constructor broken in gcc 6.2

2017-03-02 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79743 --- Comment #2 from Денис Крыськов --- ok, will provided standalone .cpp next time. Jonathan, thank you.

[Bug libstdc++/79743] New: std::experimental::optional constructor broken in gcc 6.2

2017-02-28 Thread krisk0.2017.02.27 at protonmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: krisk0.2017.02.27 at protonmail dot com Target Milestone: --- Created attachment 40841 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40841&action=edit all files mentioned