[Bug c++/86182] [8/9 Regression] gcc crashes when compiling the code
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 18 13:08:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86182
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|accepts-invalid, |ice-on-valid-code,
|ice-on-invalid-code |rejects-valid
CC| |jason at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think the code is valid, so we regressed from rejects-valid to
ice-on-valid-code at r253600
Various small C++ fixes.
* typeck.c (condition_conversion): Assert
!processing_template_decl.
* semantics.c (finish_omp_clauses): Don't
fold_build_cleanup_point_expr if processing_template_decl.
(outer_var_p): A temporary can't be from an outer scope.
* pt.c (type_dependent_expression_p): Fix dependency checking of
functions without DECL_TEMPLATE_INFO.
(instantiate_decl): Use lss_copy.
* constexpr.c (is_valid_constexpr_fn): Fix lambdas before C++17.
More information about the Gcc-bugs
mailing list