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

Reply via email to