[Bug c++/89880] compiles code that should not be compiled

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89880 --- Comment #2 from Andrew Pinski --- ICC accepts the code too

[Bug c++/89880] compiles code that should not be compiled

2019-03-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89880 --- Comment #1 from Andrew Pinski --- Related to PR 86564. This is due to https://en.wikipedia.org/wiki/Most_vexing_parse .