https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66359

Tim Shen <timshen at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-06-01
                 CC|                            |timshen at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Tim Shen <timshen at gcc dot gnu.org> ---
Thanks for reporting! gcc 5.1 works fine to me:

~ % /usr/bin/g++ --version                           
g++ (GCC) 5.1.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~ % /usr/bin/g++ -DUSE_STD -std=c++11 b.cc && ./a.out
Found it


My current guess is this patch fixed the bug:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=217461.

I can do a backport when I have time.

Reply via email to