This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61597] Unexpected behavior at runtime
- From: "adrien.hamelin+gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jun 2014 08:36:38 +0000
- Subject: [Bug c++/61597] Unexpected behavior at runtime
- Auto-submitted: auto-generated
- References: <bug-61597-4 at http dot gcc dot gnu dot org/bugzilla/>
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