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++/11228] [3.3/3.4 regression] ICE on new-expression using array operator new and default-initialization


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11228



------- Additional Comments From austern at apple dot com  2003-06-19 04:27 -------
The main difference is that when T is a POD type, new T[n]() default-initializes the members of the 
array but new T[n] leaves them in an indeterminate value.  Probably not an important difference 
most of the time.


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