[Bug c++/59607] Internal compiler error: Error reporting routines re-entered.

vyf at princeton dot edu gcc-bugzilla@gcc.gnu.org
Fri Dec 27 04:39:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59607

vyf at princeton dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from vyf at princeton dot edu ---
There were bugs in my code:

std::forward(args)... should have been std::forward<Args>(args)...
new (get()) T(std::forward<Args>(args)...) should have been new (get())
optional(std::forward<Args>(args)...). I don't know why gcc had an error during
compilation because of this (it should have just pointed out these problems),
but everything works fine now that I fixed the bugs.



More information about the Gcc-bugs mailing list