This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60041] Strange behavior
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Feb 2014 19:15:02 +0000
- Subject: [Bug c++/60041] Strange behavior
- Auto-submitted: auto-generated
- References: <bug-60041-4 at http dot gcc dot gnu dot org/bugzilla/>
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?