This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52427] [C++11] problem with defaulted copy constructor and -O
- 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, 29 Feb 2012 14:38:47 +0000
- Subject: [Bug c++/52427] [C++11] problem with defaulted copy constructor and -O
- Auto-submitted: auto-generated
- References: <bug-52427-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52427
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-02-29
Summary|problem with defaulted copy |[C++11] problem with
|constructor and -O |defaulted copy constructor
| |and -O
Ever Confirmed|0 |1
Known to fail| |4.5.2, 4.6.2, 4.7.0
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-29 14:38:47 UTC ---
It gets the wrong value on the 17th iteration, when check_advance() is called,
so you can make it fail sooner by change s/16/3/ in hex_iterator::operator++
and the initializer for pre_foo