This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60041] Strange behavior


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]