http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48519
--- Comment #10 from Herbert
2011-04-13 09:07:04 UTC ---
ah ok, thank you very much, this was the bug ;)
regards
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48519
--- Comment #7 from Herbert 2011-04-12
13:41:06 UTC ---
Hi,
I don't know why I am the only one with the bug ..? The bug doesn't happen if I
write a second return at the end of the function, so I can solve the problem,
but anyway it's curious.. M
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48519
--- Comment #5 from Herbert 2011-04-08
18:41:35 UTC ---
by the way, I can replace "string test2;" with "vector test2;" as
example, and there is the same bug..
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48519
--- Comment #3 from Herbert 2011-04-08
18:35:35 UTC ---
oh, sorry, you already wrote it o.O
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48519
--- Comment #2 from Herbert 2011-04-08
18:34:31 UTC ---
it prints 206000. maybe the bug is already fixed in a newer version!? Which
version have you?
regards
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48519
Summary: wrong return-value, with an if () {} after return
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: un