This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/83582] New: GCC is unable to fold the code of identical lambda-expressions
- From: "jeanmichael.celerier at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 Dec 2017 16:15:22 +0000
- Subject: [Bug ipa/83582] New: GCC is unable to fold the code of identical lambda-expressions
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83582
Bug ID: 83582
Summary: GCC is unable to fold the code of identical
lambda-expressions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: jeanmichael.celerier at gmail dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Case 1: https://godbolt.org/g/JvmxJr
Case 2: https://godbolt.org/g/FWo12z
It seems that the compiler should be able to pick up lambda functions with the
same implementation, at least in a given translation unit.