aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-02-22 19:24:37 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-02-22 19:24:37 +0000
commit4770beb36c35cc8cf6be0bf061f987fb9429fa9a (patch)
tree847b766bd496cefd3030185c4117303caa676190 /gcc/fortran/trans-expr.c
parentfcb141ac220aabc330dff94cb343a9a39da810c3 (diff)
downloadgcc-4770beb36c35cc8cf6be0bf061f987fb9429fa9a.zip
gcc-4770beb36c35cc8cf6be0bf061f987fb9429fa9a.tar.gz
gcc-4770beb36c35cc8cf6be0bf061f987fb9429fa9a.tar.bz2
PR c++/89420 - ICE with CAST_EXPR in explicit-specifier.
* decl.c (build_explicit_specifier): Don't check processing_template_decl. Call instantiation_dependent_expression_p instead of value_dependent_expression_p. Call instantiate_non_dependent_expr_sfinae before build_converted_constant_expr instead of calling instantiate_non_dependent_expr after it. Add processing_template_decl_sentinel. * g++.dg/cpp2a/explicit14.C: New test. From-SVN: r269131
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions