[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-10-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #2 from Richard Biener

[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 --- Comment #3 from Jakub Jelinek --- Created attachment 45105 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45105&action=edit gcc9-pr86669.patch Indeed, it does. clone_body has code to unshare DECL_INITIAL, but it does so only for FOR_E

[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-11-27 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 --- Comment #4 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #3) > Created attachment 45105 [details] > gcc9-pr86669.patch > > Indeed, it does. clone_body has code to unshare DECL_INITIAL, but it does > so only for FOR_EACH_LOCAL

[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-11-27 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 --- Comment #5 from Iain Sandoe --- (In reply to Iain Sandoe from comment #4) > (In reply to Jakub Jelinek from comment #3) > > Created attachment 45105 [details] > > gcc9-pr86669.patch > > I'll bootstrap/regtest the patch on x86_64-linux and i6

[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-11-27 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 --- Comment #6 from Iain Sandoe --- (In reply to Iain Sandoe from comment #5) > (In reply to Iain Sandoe from comment #4) > > (In reply to Jakub Jelinek from comment #3) > > > Created attachment 45105 [details] > > > gcc9-pr86669.patch > > > > I

[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-12-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 Richard Biener changed: What|Removed |Added Target Milestone|7.4 |7.5

[Bug c++/86669] [7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-12-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Dec 7 15:20:04 2018 New Revision: 266893 URL: https://gcc.gnu.org/viewcvs?rev=266893&root=gcc&view=rev Log: PR c++/86669 * call.c (make_temporary_var_for_ref_to_temp)