From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7381 invoked by alias); 5 Sep 2002 17:46:03 -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 7355 invoked by uid 71); 5 Sep 2002 17:46:02 -0000 Resent-Date: 5 Sep 2002 17:46:02 -0000 Resent-Message-ID: <20020905174602.7354.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, rschiele@uni-mannheim.de Received: (qmail 5305 invoked by uid 61); 5 Sep 2002 17:41:38 -0000 Message-Id: <20020905174138.5304.qmail@sources.redhat.com> Date: Thu, 05 Sep 2002 10:46:00 -0000 From: rschiele@uni-mannheim.de Reply-To: rschiele@uni-mannheim.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/7839: Misaligned stack in expand_call() on i386, i486 and i586 X-SW-Source: 2002-09/txt/msg00085.txt.bz2 List-Id: >Number: 7839 >Category: target >Synopsis: Misaligned stack in expand_call() on i386, i486 and i586 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Thu Sep 05 10:46:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Robert Schiele >Release: 3.2.1 20020904 (prerelease) and 3.3 20020904 (experimental) >Organization: >Environment: System: Linux vodalia 2.4.18-4GB #1 Tue Jul 30 07:43:42 UTC 2002 i686 unknown Architecture: i686 host: i486-suse-linux-gnu build: i486-suse-linux-gnu target: i486-suse-linux-gnu configured with: /home/schiele/gcccvs/gcc.gcc-3_2-branch/configure --enable-threads=posix --prefix=/opt/Pkg/Linux/i686/gcc321 --enable-languages=c,c++,f77,objc --disable-libgcj --with-gxx-include-dir=/opt/Pkg/Linux/i686/gcc321/include/g++ --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux >Description: On compiling the attached file with -march={i386,i486,i586} I get the following: # gcc -march=i586 -c ice.ii ice.ii: In member function `B D< >::a(B) [with int = 0]': ice.ii:16: instantiated from here ice.ii:10: Internal compiler error in expand_call, at calls.c:3049 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. This does not happen with -march >= i686. >How-To-Repeat: gcc -march=i586 -c ice.ii >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-c++src; name="ice.ii" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ice.ii" Y2xhc3MgQiB7CiAgICB2b2lkKiBhOwogICAgd2NoYXJfdCBiOwogICAgY2hhciBjOwp9OwoKdGVt cGxhdGUgPGludD4gc3RydWN0IEQgewogICAgQiBhKEIgYikgewoJd2NoYXJfdCBlOwoJZyhiLCBi LCAwLCBlLCBlKTsKICAgIH0KfTsKCnRlbXBsYXRlIDxjbGFzcyBCLCBjbGFzcyBDLCBjbGFzcyBB PiB2b2lkIGcoQiYsIEIsIEMsIEEsIEEpOwoKdGVtcGxhdGUgY2xhc3MgRDwwPjsK