This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/1696: -fstack-check doesn't seem to be working on intel systems (sigsegv in initialisation phase of function)
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/1696: -fstack-check doesn't seem to be working on intel systems (sigsegv in initialisation phase of function)
- From: ungod at goth dot net
- Date: 18 Jan 2001 14:33:46 -0000
- Reply-To: ungod at goth dot net
>Number: 1696
>Category: c
>Synopsis: -fstack-check doesn't seem to be working on intel systems (sigsegv in initialisation phase of function)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 18 06:36:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: ungod@goth.net
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Linux sanctuary 2.2.16-SMP #10 SMP Sun Nov 19 16:04:17 EST 2000 i686 unknown
>Description:
-fstack-check seems to generate wrong code.
with -fstack-check program sigsegv's on initialisation of two 1024 byte arrays. without -fstack-check, program completes successfully.
>How-To-Repeat:
create a config.h with #define KEYSIZE 1024
gcc -DHAVE_CONFIG_H -I. -I. -I../include -fno-default-inline -fno-default-inline -g -O2 -fno-default-inline genrankeys.c -o genrankeys
./genrankeys keyfile
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: