This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/1696: -fstack-check doesn't seem to be working on intel systems (sigsegv in initialisation phase of function)



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]