https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
--- Comment #1 from Jonathan Wakely ---
I believe GCC is right, as unhelpful as that might seem.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
--- Comment #2 from Mick P. ---
Of course, GCC is always right. Even though other types are not considered
candidates for indexing the array, when the only other use of [] is operator[],
which accepys any type... and switch statements should try
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
--- Comment #4 from Jonathan Wakely ---
All compilers agree, because it's what the standard says should happen.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Mick P. changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #5 from Mick P. ---
Try Vis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Andreas Schwab changed:
What|Removed |Added
Resolution|FIXED |INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Mick P. changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #6 from Mick P. ---
Should
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Andrew Pinski changed:
What|Removed |Added
Resolution|FIXED |INVALID
--- Comment #7 from Andrew Pinsk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
--- Comment #8 from Jonathan Wakely ---
(In reply to Mick P. from comment #5)
> Try Visual Studio's.
I did, and it doesn't compile:
https://godbolt.org/z/Q54kFs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Mick P. changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #9 from Mick P. ---
I began
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Andreas Schwab changed:
What|Removed |Added
Resolution|FIXED |INVALID
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
--- Comment #10 from Jonathan Wakely ---
Can you please stop changing the status to FIXED. That means a bug in GCC was
fixed. Since nothing in GCC changed, nothing has been fixed.
I think all compilers are trying to convert the object to std::pt
12 matches
Mail list logo