diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-12-02 22:23:22 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-12-02 22:23:22 +0100 |
commit | a3f7c896a55c33e369f9bbb210f4b43a345beabe (patch) | |
tree | 8c04b12d045e1a25891550c03c4dab0edcb8e91b /gcc/fortran/simplify.c | |
parent | 81cff75ff9178e9344e1f4c8935ffd451f66632f (diff) | |
download | gcc-a3f7c896a55c33e369f9bbb210f4b43a345beabe.zip gcc-a3f7c896a55c33e369f9bbb210f4b43a345beabe.tar.gz gcc-a3f7c896a55c33e369f9bbb210f4b43a345beabe.tar.bz2 |
re PR c++/78649 (ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in build_value_init_noctor, at cp/init.c:380))
PR c++/78649
* pt.c (tsubst_init): Don't call build_value_init if decl's type
is error_mark_node.
* g++.dg/cpp0x/pr78649.C: New test.
From-SVN: r243204
Diffstat (limited to 'gcc/fortran/simplify.c')
0 files changed, 0 insertions, 0 deletions