[Intel C++ 10.0.025/Linux] ICE on dynamic_cast and local polymoprhic classes ----------------------------------------------------------------------------
Key: STDCXX-473 URL: https://issues.apache.org/jira/browse/STDCXX-473 Project: C++ Standard Library Issue Type: Bug Components: External Reporter: Martin Sebor Intel C++ 10.0.025 on Linux crashes compiling the simple program below: $ cat t.cpp && icc -V t.cpp int main () { struct A { virtual ~A () { } }; struct B: A { } b; struct C: A { }; A &a = b; dynamic_cast<C&>(a); } Intel(R) C Compiler for applications running on Intel(R) 64, Version 10.0 Build 20070613 Package ID: l_cc_c_10.0.025 Copyright (C) 1985-2007 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY Edison Design Group C/C++ Front End, version 3.8 (Jun 13 2007 18:48:37) Copyright 1988-2006 Edison Design Group, Inc. t.cpp(5): internal error: assertion failed at: "shared/edgcpfe/lower_il.c", line 7891 struct C: A { }; ^ compilation aborted for t.cpp (code 4) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.