[Bug c++/60041] Strange behavior
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Mon Feb 3 19:15:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60041
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
What would be your expectation about the program behaviour? The Standard says
that the behaviour is undefined and some compilers that I have at my hand
create a segmentation fault - a perfectly reasonable choice when attempting to
use a pointer that has not a well-defined value. Another choice is to output an
arbitrary value. Could you please explain what kind of rationale is the
foundation of this bug report?
More information about the Gcc-bugs
mailing list