[Bug c++/79031] New: [C++17] ICE with class template deduction for std::vector and std::initializer_list

2017-01-09 Thread g++bug at oxyware dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: g++bug at oxyware dot com Target Milestone: --- #include int main() { std::vector v({4}); } //g++ 7.0.0 20170108 (experimental) Compilation with g++ version

[Bug c++/70444] Optimizer removes expression template

2016-03-30 Thread g++bug at oxyware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70444 --- Comment #4 from Hubert Matthews <g++bug at oxyware dot com> --- Doh, mea culpa. My apologies.

[Bug c++/70444] New: Optimizer removes expression template

2016-03-29 Thread g++bug at oxyware dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: g++bug at oxyware dot com Target Milestone: --- The code below crashes with a SIGSEGV when compiled with g++ 5.3.1 and optimization turned on. Gdb shows that the variable v4 has been optimized out and is a null pointer. The code

[Bug c++/56868] New: Constexpr example in 7.1.5/5 fails to compile correctly

2013-04-07 Thread g++bug at oxyware dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56868 Bug #: 56868 Summary: Constexpr example in 7.1.5/5 fails to compile correctly Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/56868] Constexpr example in 7.1.5/5 fails to compile correctly

2013-04-07 Thread g++bug at oxyware dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56868 --- Comment #1 from Hubert Matthews g++bug at oxyware dot com 2013-04-07 18:39:04 UTC --- Compiled with g++-4.7.0 -Wall -Wextra -std=c++11 on Fedora 14, 64-bit.

[Bug c++/53560] New: Internal compiler error with += and void function (invalid source)

2012-06-01 Thread g++bug at oxyware dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53560 Bug #: 53560 Summary: Internal compiler error with += and void function (invalid source) Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED