From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31784 invoked by alias); 10 Oct 2002 17:56:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31723 invoked by uid 71); 10 Oct 2002 17:56:01 -0000 Date: Thu, 10 Oct 2002 10:56:00 -0000 Message-ID: <20021010175601.31718.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Ian Ollmann Subject: Re: optimization/8049: SSE unaligned vector stores crash with -O0 Reply-To: Ian Ollmann X-SW-Source: 2002-10/txt/msg00389.txt.bz2 List-Id: The following reply was made to PR optimization/8049; it has been noted by GNATS. From: Ian Ollmann To: Jan Hubicka Cc: hubicka@gcc.gnu.org, , , Subject: Re: optimization/8049: SSE unaligned vector stores crash with -O0 Date: Thu, 10 Oct 2002 10:54:51 -0700 On Thu, 10 Oct 2002, Jan Hubicka wrote: > > On 10 Oct 2002 hubicka@gcc.gnu.org wrote: > > > > > Synopsis: SSE unaligned vector stores crash with -O0 > > > > > > State-Changed-From-To: open->closed > > > State-Changed-By: hubicka > > > State-Changed-When: Thu Oct 10 09:45:59 2002 > > > State-Changed-Why: > > > It is runtime bug to not align stack properly for main. > > > It will go away with runtime compiled using gcc 3.2 or can be workarounded by avoiding vector stuff in main. > > > > > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8049 > > > > I see this in functions that are not main(). Didn't I provide an example > > of one? > > I didn't see it. Can you send me some? The original example is one. The three buffers passed into MatrixMultiply happen to be aligned on my system. The actual crash happens when the stack copy of C1 is loaded, before the _mm_store_ps (uninlined) function is called. Ian --------------------------------------------------- Ian Ollmann, Ph.D. iano@cco.caltech.edu ---------------------------------------------------