[Bug c++/33401] New: Unwanted memset in default constructor

2007-09-11 Thread kbateman at seicorp dot com
Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kbateman at seicorp dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org

[Bug c++/33401] Unwanted memset in default constructor

2007-09-11 Thread kbateman at seicorp dot com
--- Comment #1 from kbateman at seicorp dot com 2007-09-11 22:32 --- Sorry, that a.s is from a run without -O2. The memset call is still in the -O2 output, though. a.s: ... movl$65536, (%esp) call_Znwj movl%eax, %ebx movl$65536, %edx

[Bug c++/33401] Unwanted memset in default constructor

2007-09-12 Thread kbateman at seicorp dot com
--- Comment #5 from kbateman at seicorp dot com 2007-09-12 12:52 --- Whaddaya know. Section 5-16, Expressions: If the new-initializer is of the form (), default-initialization shall be performed (8.5); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33401