From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16085 invoked by alias); 1 Jun 2007 22:14:48 -0000 Received: (qmail 16060 invoked by uid 48); 1 Jun 2007 22:14:40 -0000 Date: Fri, 01 Jun 2007 22:14:00 -0000 Message-ID: <20070601221440.16059.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/32182] -fstrict-aliasing optimizations cause constructor not to run for object causing segfault In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "epperly2 at llnl dot gov" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-06/txt/msg00061.txt.bz2 ------- Comment #8 from epperly2 at llnl dot gov 2007-06-01 22:14 ------- I've simplified the sample case that demonstrates the problem, and it has *no* casting in C++. In C, it casts the result of malloc to the appropriate pointer type. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32182