[Bug libstdc++/51823] reverse iterator instantiated with POD type returns uninitialized values + work around
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 11 14:08:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51823
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-11 14:06:36 UTC ---
(In reply to comment #3)
> The preprocessor strips comments out, so the workaround isn't in the attached
> file.
Fixed by the new attachment
> For a bidirectional iterator the expression *r-- is required to be valid, so
> your type fails that requirement.
Not fixed, this invalid.
More information about the Gcc-bugs
mailing list