[Bug c++/61597] Unexpected behavior at runtime
adrien.hamelin+gcc at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 25 08:36:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597
Adrien Hamelin <adrien.hamelin+gcc at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33002|0 |1
is obsolete| |
--- Comment #9 from Adrien Hamelin <adrien.hamelin+gcc at gmail dot com> ---
Created attachment 33003
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33003&action=edit
Preprocessed file
Sorry to do such mutliple post, this one should be the last, i removed the
custom iterator - it has nothing to do with the bug.
So same as before, the function line 10 does not work when it takes a copy
parameter, and the function line 17 does work when it takes the parameter as
reference.
The new code: http://coliru.stacked-crooked.com/a/9a724fdda9ef1d06
More information about the Gcc-bugs
mailing list