https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
--- Comment #9 from MARIO RODRIGUEZ BEJAR ---
*** Bug 120880 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
Andrew Pinski changed:
What|Removed |Added
CC||mario.rodriguezb1 at um dot es
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
--- Comment #7 from Andrew Pinski ---
(In reply to 康桓瑋 from comment #2)
> int main() {
> [] (decltype([]{})) {} ();
> }
This testcase still ICEs.
Note clang, EDG and MSVC all reject it with a similar message here is clang's:
```
:3:3: error:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
--- Comment #6 from Andrew Pinski ---
*** Bug 104137 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
Andrew Pinski changed:
What|Removed |Added
CC||nickhuang99 at hotmail dot com
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
Martin Liška changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
Keywor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
Martin Liška changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #3 from Martin Liška ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
--- Comment #2 from 康桓瑋 ---
Yep, wandbox (https://wandbox.org/permlink/OUJpCz6dFrlA1vod) compiles fine.
This invalid code maybe can reproduce that locally.
int main() {
[] (decltype([]{})) {} ();
}
(wandbox: https://wandbox.org/permlink/re9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99505
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
Sta