This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51823] reverse iterator instantiated with POD type returns uninitialized values + work around
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jan 2012 14:06:36 +0000
- Subject: [Bug libstdc++/51823] reverse iterator instantiated with POD type returns uninitialized values + work around
- Auto-submitted: auto-generated
- References: <bug-51823-4@http.gcc.gnu.org/bugzilla/>
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.