[Bug c++/49152] Unhelpful diagnostic for iterator dereference

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 22 11:22:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49152

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-22 11:17:36 UTC ---
Also, comment 2 shows another clear bug in the current diagnostics. It doesn't
matter whether you prefer carets or types or reconstructed expressions,
printing x[1] as *(x + 4u) is plain wrong.

So let's keep it open.



More information about the Gcc-bugs mailing list