[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2020-09-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2020-09-09 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 --- Comment #6 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:81de459ec7ccf46c3e5a776b0c13f01e989d9593 commit r11-3092-g81de459ec7ccf46c3e5a776b0c13f01e989d9593 Author: Marek Polacek Date:

[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2020-09-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 --- Comment #5 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:b1c59b31ef7adc832405209e9e2a77212284abd7 commit r11-2972-gb1c59b31ef7adc832405209e9e2a77212284abd7 Author: Marek Polacek Date:

[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2020-09-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 --- Comment #4 from Marek Polacek --- In C++20, this should also work: new char[4](1,2,3,4);

[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2020-08-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 --- Comment #3 from Marek Polacek --- The problem is probably that we're not doing the {"str_cst"} -> "str_cst" unwrapping that reshape_init / cp_complete_array_type does.

[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2020-08-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2020-08-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/77841] a new expression of a char array cannot be initialized by a string literal

2016-10-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77841 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|