[Bug c++/69261] [6 Regression] Copying char arrays during constexpr evaluation does not work reliably

2016-01-14 Thread jens.auer at cgi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 --- Comment #4 from Jens Auer --- It produces the correct results if you change foo to not use constexpr: void foo() { auto const s1 = s( "bla" ); auto const s2 = s( "blu" ); string_constexpr<7> const s1s2 = concat(s1,s2); auto cons

[Bug c++/69261] Copying char arrays during constexpr evaluation does not work reliably

2016-01-13 Thread jens.auer at cgi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 --- Comment #2 from Jens Auer --- I have submitted a second bug report for the crash: Bug 69263. I don't know if that was appropriate, but the bug has different effects on different versions.

[Bug c++/69263] internal compiler error: in cxx_eval_store_expression

2016-01-13 Thread jens.auer at cgi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69263 --- Comment #1 from Jens Auer --- The source code is same as in bug #69261. On gcc 5.2, it compiles but produces a different output than a program compiled with clang. I have opened two separate bug reports because the effects are different and i

[Bug c++/69263] New: internal compiler error: in cxx_eval_store_expression

2016-01-13 Thread jens.auer at cgi dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.auer at cgi dot com Target Milestone: --- Compilation of the following program with gcc 6.0.0 201601 (from the online compiler http://melpon.org/wandbox, http://melpon.org/wandbox/permlink/CMreVotFuJMgnuI7) crashes

[Bug c++/69261] New: Copying char arrays during constexpr evaluation does not work reliably

2016-01-13 Thread jens.auer at cgi dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.auer at cgi dot com Target Milestone: --- Created attachment 37331 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37331&action=edit Preprocessed source code

[Bug c++/67952] New: Compilation error with boost::signals2 and generic lambda: cannot call member function without object

2015-10-13 Thread jens.auer at cgi dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.auer at cgi dot com Target Milestone: --- Created attachment 36495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36495&acti

[Bug c++/67951] New: Wshadow for type inferenced (auto) lambda parameters

2015-10-13 Thread jens.auer at cgi dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.auer at cgi dot com Target Milestone: --- int f() { auto l = [](int i) {}; int i=0; l(i); return i; } void h() { auto l = [](auto i) {}; int i=0; l(i); } If compiled with "g++

[Bug middle-end/60725] [-Wreturn-type] false positive in trivial switch

2015-09-04 Thread jens.auer at cgi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60725 Jens Auer changed: What|Removed |Added CC||jens.auer at cgi dot com --- Comment #2