[Bug c++/91950] -Wreturn-type false positive due to CWG 1766

2022-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91950 --- Comment #5 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #4) > (In reply to Eric Gallager from comment #2) > > I think this is actually a dup of another bug that asked the same thing, but > > I forget its number... > >

[Bug c++/91950] -Wreturn-type false positive due to CWG 1766

2019-10-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91950 --- Comment #4 from Jonathan Wakely --- (In reply to Eric Gallager from comment #2) > I think this is actually a dup of another bug that asked the same thing, but > I forget its number... There are dozens of them, because nobody understands how

[Bug c++/91950] -Wreturn-type false positive due to CWG 1766

2019-10-01 Thread john.boyer at tutanota dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91950 --- Comment #3 from John Boyer --- Actually, I believe Jonathan is correct. I misread the CWG. The "range" of an enum class has nothing to do with how many enumerators it has.

[Bug c++/91950] -Wreturn-type false positive due to CWG 1766

2019-10-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91950 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c++/91950] -Wreturn-type false positive due to CWG 1766

2019-10-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91950 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---