[Bug c++/63415] [4.9/5 Regression] internal compiler error: unexpected expression ‘static_cast?=<int>(std::is same<T, A1>{})=?UTF-8?Q?’ of kind static_cast_expr

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 30 13:12:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63415

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|internal compiler error:    |[4.9/5 Regression] internal
                   |unexpected expression       |compiler error: unexpected
                   |‘static_cast<int>(std::is_s |expression
                   |ame<T, A1>{})’ of kind      |‘static_cast<int>(std::is_s
                   |static_cast_expr            |ame<T, A1>{})’ of kind
                   |                            |static_cast_expr

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We (incorrectly) rejected the code with an error before 4.9.0, now we get an
ICE, so marking as a regression.


More information about the Gcc-bugs mailing list