[Bug c++/98424] The point of destroying temporary objects when initializing an array

2023-05-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98424 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/98424] The point of destroying temporary objects when initializing an array

2021-09-23 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98424 --- Comment #2 from jim x --- Clang destroys them at the end of the full-expression, see https://godbolt.org/z/3xhPjoh8c

[Bug c++/98424] The point of destroying temporary objects when initializing an array

2021-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98424 --- Comment #1 from Andrew Pinski --- Hmm, ICC and MSVC both have the same behavior as GCC.