[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > On the gcc-9 branch the first bad commit is r9-8623-g0296697cf9893d Which was the backport of r11-122. And as expected, the ICE began on gcc-10 with the

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #4 from Jonathan Wakely --- On the gcc-9 branch the first bad commit is r9-8623-g0296697cf9893d commit 0296697cf9893dc9509cdcd8e3fd4ba9fe422527 Author: Jason Merrill Date: Mon May 25 18:38:09 2020 -0400 c++: constexpr and

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #3 from Jonathan Wakely --- An ICE seems to have started on trunk with r11-122 and been fixed by r11-557

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #2 from mauro russo --- If something is removed from sample code (e.g., b made bool instead of a shared_ptr, or some const is removed), the problem disappears.

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|