[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template since r11-557

2023-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ea718febab2a1f6e58806738abf70f1c73c6a308 commit r13-6376-gea718febab2a1f6e58806738abf70f1c73c6a308 Author: Marek Polacek Date:

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template since r11-557

2023-02-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #4 from Marek

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template since r11-557

2023-02-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template since r11-557

2022-12-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 Jakub Jelinek changed: What|Removed |Added Summary|[11/12/13 Regression] ICE |[11/12/13 Regression] ICE

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template

2022-12-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template

2022-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 --- Comment #2 from Andrew Pinski --- Hmm, the following slightly modified testcase works in GCC 8.5.0 but started to ICE in GCC 9.1.0: ``` struct Q { int n; constexpr const Q* operator()(int) const { return this; } }; constexpr Q q{};

[Bug c++/107938] [11/12/13 Regression] ICE directly returning `this` of `extern` variable in template

2022-11-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107938 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4 Last reconfirmed|