[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2023-07-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9fdbd7d6fa5e0a76898dd66658934e3184111680 commit r14-2773-g9fdbd7d6fa5e0a76898dd66658934e3184111680 Author: Nathaniel Shead Date:

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2023-05-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 Andrew Pinski changed: What|Removed |Added CC||igkper at gmail dot com --- Comment #6

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2022-01-31 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 --- Comment #5 from Tobias Schlüter --- I've submitted this to clang's bug tracker as well. https://github.com/llvm/llvm-project/issues/53494

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2022-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 --- Comment #4 from Andrew Pinski --- (In reply to Tobias Schlüter from comment #3) > Sorry, in my example, I think actually clang is wrong. What is the order of destruction of tempories here in the following statement: A() << 1 Is A()

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2022-01-30 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 --- Comment #3 from Tobias Schlüter --- Sorry, in my example, I think actually clang is wrong.

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2022-01-30 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 Tobias Schlüter changed: What|Removed |Added CC||tobi at gcc dot gnu.org --- Comment

[Bug c++/98675] Accessing member of temporary outside its lifetime allowed in constexpr function

2021-01-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98675 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|