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]
Other format: [Raw text]

c/7185: GCC 3.1 crashes with segmentation fault during code compilation on HPUX 11


>Number:         7185
>Category:       c
>Synopsis:       GCC 3.1 crashes with segmentation fault during code compilation on HPUX 11
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 02 07:26:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tim Yunaev
>Release:        GCC 3.1
>Organization:
>Environment:
HP-UX hpuxdev B.11.11 U 9000/785 2005081778 unlimited-user license
host: hppa2.0w-hp-hpux11.11
build: hppa2.0w-hp-hpux11.11
target: hppa2.0w-hp-hpux11.11
configured with: ./configure
>Description:
Compiling d_f_each.c
d_f_each.c: In function `DATA_For_Each':
d_f_each.c:56: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Unfortunately I'm currently unable to attach this file yet :(
Itself the file is 1769 bytes len, it contains two functons, each of them calls each other recursively until the end of the linked list is reached.
Compiler options: -O3 -Wall
It doesn't crash without -O3 option, or with -O2 option instead of -O3
It doesn't crash if I move the other function outside the source file.
It doesn't crash when I make a very simple change (remove the NULL first function ptr check in the beginning of second function)
>How-To-Repeat:

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