public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/7185: GCC 3.1 crashes with segmentation fault during code compilation on HPUX 11
@ 2003-01-06  6:45 neil
  0 siblings, 0 replies; 2+ messages in thread
From: neil @ 2003-01-06  6:45 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, tim

Synopsis: GCC 3.1 crashes with segmentation fault during code compilation on HPUX 11

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Sun Jan  5 22:45:20 2003
State-Changed-Why:
    Need a testcase.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7185


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c/7185: GCC 3.1 crashes with segmentation fault during code compilation on HPUX 11
@ 2002-07-02  7:26 tim
  0 siblings, 0 replies; 2+ messages in thread
From: tim @ 2002-07-02  7:26 UTC (permalink / raw)
  To: gcc-gnats


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-06  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06  6:45 c/7185: GCC 3.1 crashes with segmentation fault during code compilation on HPUX 11 neil
  -- strict thread matches above, loose matches on Subject: below --
2002-07-02  7:26 tim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).