This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
target/7839: Misaligned stack in expand_call() on i386, i486 and i586
- From: rschiele at uni-mannheim dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 5 Sep 2002 17:41:38 -0000
- Subject: target/7839: Misaligned stack in expand_call() on i386, i486 and i586
- Reply-to: rschiele at uni-mannheim dot de
>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<<anonymous> >::a(B) [with int <anonymous> =
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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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