c/1696: -fstack-check doesn't seem to be working on intel systems (sigsegv in initialisation phase of function)
ungod@goth.net
ungod@goth.net
Thu Jan 18 06:36:00 GMT 2001
>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:
More information about the Gcc-bugs
mailing list