This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
- To: gcc-gnats at gcc dot gnu dot org
- Subject: optimization/3906: Internal compiler error in change_address, at emit-rtl.c:1635
- From: tanmoy at lanl dot gov
- Date: 1 Aug 2001 00:06:08 -0000
- Reply-To: tanmoy at lanl dot gov
>Number: 3906
>Category: optimization
>Synopsis: Internal compiler error in change_address, at emit-rtl.c:1635
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Jul 31 17:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Tanmoy Bhattacharya
>Release: gcc version 3.0 (thread model: posix)
>Organization:
>Environment:
SunOS 5.8 Generic_108528-06 sun4u sparc SUNW,Sun-Blade-100
configured by .../configure --prefix=... (i.e. all defaults)
>Description:
gcc -O -c example.c produces i.c.e as reported in synopsis.
I supply a trimmed down example. Any further trimming
makes the problem either go away, or leaves a code that
uses variables without properly initializing them.
>How-To-Repeat:
gcc -O -c example.i
>Fix:
Turn off optimization!!!!
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="example.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="example.i"
IyAxICJleGFtcGxlLmMiCmRvdWJsZSBsb2cxMCgpOwpzdHJ1Y3QgeHkgewogICAgaW50IHhsYmYs
IHh1YmY7CiAgICBpbnQgeHFmOwogICAgZG91YmxlICgqeGYpICgpOwogICAgZG91YmxlIHhsYiwg
eHViOwp9OwoKc3RydWN0IHogewogICAgZG91YmxlIGxiLCB1YiwgbXVsdCwgcXVhbnQ7Cn07Cgpz
ZXRsaW0ocCkKICAgIHJlZ2lzdGVyIHN0cnVjdCB4eSAqcDsKewogICAgZG91YmxlIHQsIGRlbHRh
LCBzaWduOwogICAgc3RydWN0IHogeiA9IHswfTsKICAgIGludCBsbWFya1s1MTJdLCBtYXJrWzUx
Ml07CiAgICBkb3VibGUgbGIsIHViOwogICAgaW50IGxiZiwgdWJmOwoKICAgIGxiID0gcC0+eGxi
OwogICAgdWIgPSBwLT54dWI7CiAgICBkZWx0YSA9IHViIC0gbGI7CiAgICBzaWduID0gMTsKICAg
IGxiZiA9IHAtPnhsYmY7CiAgICB1YmYgPSBwLT54dWJmOwogICAgaWYgKGRlbHRhIDwgMCkgewog
ICAgICAgIHNpZ24gPSAtMTsKICAgIH0KICAgIGlmIChwLT54ZiA9PSBsb2cxMCAmJiBsYiA+IDAg
JiYgdWIgPiBsYikgewogICAgICAgIHNldGxvZ2xpbShsYmYsIHViZiwgbGIsIHViLCAmeik7CiAg
ICB9CiAgICBpZiAoc2lnbiA+IDApIHsKICAgICAgICBwLT54dWIgPSB6LnViOwogICAgfQp9Cg==