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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 21 21:51:00 GMT 2011


--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-21 20:16:24 UTC ---
Wow, that one is worthy of its own bug report, it's not just an unclear
diagnostic, it's completely bogus.

x[01] is *(x+1) or *((char*)x + 4) but what G++ prints is just wrong

More information about the Gcc-bugs mailing list