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
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.
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
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
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
: 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
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++
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