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

2016-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 --- Comment #8 from Jason Merrill --- Author: jason Date: Wed Mar 2 02:46:12 2016 New Revision: 233883 URL: https://gcc.gnu.org/viewcvs?rev=233883&root=gcc&view=rev Log: PR c++/69261 * constexpr.c (find_array_ctor_elt): Handle

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

2016-01-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

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

2016-01-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 --- Comment #6 from Jason Merrill --- Author: jason Date: Thu Jan 14 15:32:31 2016 New Revision: 232370 URL: https://gcc.gnu.org/viewcvs?rev=232370&root=gcc&view=rev Log: PR c++/69261 * constexpr.c (find_array_ctor_elt): Handle s

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

2016-01-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 --- Comment #5 from Jason Merrill --- *** Bug 69263 has been marked as a duplicate of this bug. ***

[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] [6 Regression] Copying char arrays during constexpr evaluation does not work reliably

2016-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

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

2016-01-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69261 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|