http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59838
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Mon Jan 20 10:42:29 2014 New Revision: 206795 URL: http://gcc.gnu.org/viewcvs?rev=206795&root=gcc&view=rev Log: PR c++/59838 cp/ * cvt.c (ocp_convert): Don't segfault on non-existing ENUM_UNDERLYING_TYPE. testsuite/ * g++.dg/diagnostic/pr59838.C: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/g++.dg/diagnostic/pr59838.C Modified: branches/gcc-4_8-branch/gcc/cp/ChangeLog branches/gcc-4_8-branch/gcc/cp/cvt.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog