[Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|8.5 |9.0 Resolution|--- |FIXED --- Comment #21 from Jakub Jelinek --- The GCC 8 branch is being closed, fixed in GCC 9.1.
[Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 Jakub Jelinek changed: What|Removed |Added Target Milestone|8.4 |8.5 --- Comment #20 from Jakub Jelinek --- GCC 8.4.0 has been released, adjusting target milestone.
[Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2019-02-11 CC||dmalcolm at gcc dot gnu.org, ||jakub at gcc dot gnu.org, ||redi at gcc dot gnu.org Target Milestone|--- |8.3 Summary|ICE after casting the this |[8 Regression] ICE after |pointer in the constructor |casting the this pointer in |in C++17 mode |the constructor in C++17 ||mode Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- This started to ICE with r259629 and stopped ICEing with r267272. Not really sure if this is ice-on-invalid (and thus accepts-invalid) on the trunk or just ice-on-valid on the branch, given the reinterpret_casts in the constexpr body.
[Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 --- Comment #3 from Jonathan Wakely --- I think it's valid (but the constructor can't be used in a constant expression).
[Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 Jakub Jelinek changed: What|Removed |Added Known to work||9.0 Summary|[8/9 Regression] ICE after |[8 Regression] ICE after |casting the this pointer in |casting the this pointer in |the constructor in C++17|the constructor in C++17 |mode|mode Known to fail||8.3.0 --- Comment #19 from Jakub Jelinek --- Actually, #c16 comment is incorrect, that was the case of the earlier approach (#c4) but not of what has been actually committed. Keeping this open for 8.x, though the patch is unlikely to be backportable.