From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21472 invoked by alias); 24 Dec 2008 15:23:18 -0000 Received: (qmail 20480 invoked by uid 48); 24 Dec 2008 15:21:55 -0000 Date: Wed, 24 Dec 2008 15:23:00 -0000 Message-ID: <20081224152155.20479.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/38616] [4.3 only] Wrong code when -O3 or -O2 -fstack-protector used In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "socketpair at gmail dot com" 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: 2008-12/txt/msg02222.txt.bz2 ------- Comment #5 from socketpair at gmail dot com 2008-12-24 15:21 ------- -fno-stack-protector really helps. i don't understand why "rep stosl" appear in the middle of string initialization.. gdb said that "rep stosl" is a cause of zero byte after first 8 symbols. also, if this bug does not appear in 4.4.0, i want to see decription of corrected bug (maybe dup of mine) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38616