This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68597] [6 Regression] ice in check_return_expr, at cp/typeck.c:8635
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Dec 2015 13:53:43 +0000
- Subject: [Bug c++/68597] [6 Regression] ice in check_return_expr, at cp/typeck.c:8635
- Auto-submitted: auto-generated
- References: <bug-68597-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68597
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-12-01
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Target Milestone|--- |6.0
Summary|ice inin check_return_expr, |[6 Regression] ice in
|at cp/typeck.c:8635 |check_return_expr, at
| |cp/typeck.c:8635
Ever confirmed|0 |1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r229629. Before that it was rejected:
pr68597.C: In lambda function:
pr68597.C:4:64: error: inconsistent types âintâ and âdoubleâ deduced for lambda
return type
auto z = [=](double y) { if (y >= 1.0) return 1; else return x; };
^