public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/3886: compiler seg faults with 02 optimization
@ 2001-12-01 22:26 rodrigc
  0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2001-12-01 22:26 UTC (permalink / raw)
  To: eeeg, gcc-bugs, gcc-gnats, gcc-prs, nobody

Synopsis: compiler seg faults with 02 optimization

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sat Dec  1 22:26:34 2001
State-Changed-Why:
    Problem does NOT occur with gcc version 3.1 20011201.
    
    However, problem DOES occur with gcc version 3.0.3 20011201 
    
    The segfault occurs in:
    
    Program received signal SIGSEGV, Segmentation fault.
    0x08281c2d in make_reorder_chain_1 (bb=0x83941e8, prev=0x0)
        at bb-reorder.c:416
    416           next = (taken ? e_taken : e_fall)->dest;
    
    (gdb) p e_fall
    $2 = 0x0

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


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

* Re: c/3886: compiler seg faults with 02 optimization
@ 2002-02-23 19:24 rodrigc
  0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-02-23 19:24 UTC (permalink / raw)
  To: eeeg, gcc-bugs, gcc-prs, nobody

Synopsis: compiler seg faults with 02 optimization

State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Feb 23 19:22:29 2002
State-Changed-Why:
    Problem reproduced in gcc 3.0.4.
    
    Problem does not occurs in gcc version 3.1 20020217 (experimental) .

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


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

* Re: c/3886: compiler seg faults with 02 optimization
@ 2001-12-01 22:36 rodrigc
  0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2001-12-01 22:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/3886; it has been noted by GNATS.

From: rodrigc@gcc.gnu.org
To: eeeg@rightarm.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
  gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c/3886: compiler seg faults with 02 optimization
Date: 2 Dec 2001 06:26:34 -0000

 Synopsis: compiler seg faults with 02 optimization
 
 State-Changed-From-To: open->analyzed
 State-Changed-By: rodrigc
 State-Changed-When: Sat Dec  1 22:26:34 2001
 State-Changed-Why:
     Problem does NOT occur with gcc version 3.1 20011201.
     
     However, problem DOES occur with gcc version 3.0.3 20011201 
     
     The segfault occurs in:
     
     Program received signal SIGSEGV, Segmentation fault.
     0x08281c2d in make_reorder_chain_1 (bb=0x83941e8, prev=0x0)
         at bb-reorder.c:416
     416           next = (taken ? e_taken : e_fall)->dest;
     
     (gdb) p e_fall
     $2 = 0x0
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3886&database=gcc


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

* c/3886: compiler seg faults with 02 optimization
@ 2001-07-30 15:06 eeeg
  0 siblings, 0 replies; 4+ messages in thread
From: eeeg @ 2001-07-30 15:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3886
>Category:       c
>Synopsis:       compiler seg faults with 02 optimization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 30 15:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     eeeg
>Release:        gcc version 3.0
>Organization:
>Environment:
Red Hat Linux 6.2, GeniuneIntel Pentium III (Coppermine)
>Description:
> /usr/gcc/bin/gcc -c -O2 /home/eeeg/ice_ice/test.c
/home/eeeg/ice_ice/test.c: In function `foo':
/home/eeeg/ice_ice/test.c:64: Internal error: Segmentation fault

Works with optimizations less than 2. 

Works fine all the time with gcc version egcs-2.91.66
>How-To-Repeat:
> /usr/gcc/bin/gcc -c -O2 /home/eeeg/ice_ice/test.c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.c"

dHlwZWRlZiBlbnVtIHsgVVAsIERPV059IERpcmVjdGlvbjsKRGlyZWN0aW9uIHdoaWNoX3dheSA9
IDE7CgpzdGF0aWMgaW50IGZvbyhpbnQgaW5fbGlzdF91bml0cywgaW50ICpsaXN0KQp7CiAgIGlu
dCBudW1iX29mX2NoYW5zID0gMDsKICAgaW50IGxvX2NoYW4sIGk7CgogICBzd2l0Y2goIGluX2xp
c3RfdW5pdHMgKQogICAgICB7CiAgICAgIGNhc2UgNjoKCiAgICAgICAgIGlmICggd2hpY2hfd2F5
ID09IFVQIHx8CiAgICAgICAgICAgICAgIHdoaWNoX3dheSA9PSBET1dOICkgCiAgICAgICAgICAg
CiAgICAgICAgICAgIHsKCiAgICAgICAgICAgIHN3aXRjaCAoIGxpc3RbIDAgXSApCiAgICAgICAg
ICAgICAgIHsKCiAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICBjYXNlIDB4MDE6CiAgICAg
ICAgICAgICAgICAgIGZvciAoIGkgPSAxOyBpID09IDY7IGkrKyApCiAgICAgICAgICAgICAgICAg
ICAgICpsaXN0KysgPSBpOwogICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAg
IAogICAgICAgICAgICAgICBjYXNlIDB4MDI6CiAgICAgICAgICAgICAgICAgIGZvciAoIGkgPSA3
OyBpID09IDEyOyBpKysgKQogICAgICAgICAgICAgICAgICAgICAqbGlzdCsrID0gaTsKICAgICAg
ICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgIAog
ICAgICAgICAgICAgICBjYXNlIDB4MDQ6CiAgICAgICAgICAgICAgICAgIGZvciAoIGkgPSAxMzsg
aSA9PSAxNTsgaSsrICkKICAgICAgICAgICAgICAgICAgICAgKmxpc3QrKyA9IGk7CiAgICAgICAg
ICAgICAgICAgIGZvciAoIGkgPSAxNzsgaSA9PSAxOTsgaSsrICkKICAgICAgICAgICAgICAgICAg
ICAgKmxpc3QrKyA9IGk7CiAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAg
ICAKICAgICAgICAgICAgICAgY2FzZSAweDA4OgogICAgICAgICAgICAgICAgICBmb3IgKCBpID0g
MjA7IGkgPT0gMjU7IGkrKyApCiAgICAgICAgICAgICAgICAgICAgICpsaXN0KysgPSBpOwogICAg
ICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgY2FzZSAweDEwOgogICAgICAgICAg
ICAgICAgICBmb3IgKCBpID0gMjY7IGkgPT0gMzE7IGkrKyApCiAgICAgICAgICAgICAgICAgICAg
ICpsaXN0KysgPSBpOwogICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgfQog
ICAgICAgICAgICB9CiAgICAgICAgIAogICAgICAgICBlbHNlCiAgICAgICAgICAgIHsKCiAgICAg
ICAgICAgIGxvX2NoYW4gPSAoKCBsaXN0WzBdIC0gMSApICogNiApICsgMTsKICAgICAgICAgIAog
ICAgICAgICAgICBudW1iX29mX2NoYW5zID0gNjsKICAgICAgICAgIAogICAgICAgICAgICB9CiAg
ICAgICAgIAogICAgICAgICBicmVhazsKICAgICAgfQoKICAgcmV0dXJuKCBudW1iX29mX2NoYW5z
ICk7Cn0K


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

end of thread, other threads:[~2002-02-24  3:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-01 22:26 c/3886: compiler seg faults with 02 optimization rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2002-02-23 19:24 rodrigc
2001-12-01 22:36 rodrigc
2001-07-30 15:06 eeeg

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).