[Bug c++/115730] False positive dangling-reference warning

2024-07-01 Thread igor_anferov at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115730 --- Comment #3 from Igor Anferov --- Thank you Andrew! Thank you for providing the attribute name, I was trying to find something similar, but failed to find https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Attributes.html page

[Bug c++/115730] False positive dangling-reference warning

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115730 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/115730] False positive dangling-reference warning

2024-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115730 --- Comment #1 from Andrew Pinski --- Created attachment 58552 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58552&action=edit testcase Next time please either put the testcase inline or attach it.