target/5736: bootstraping CVS HEAD on powerpc fails in checked build

pthomas@suse.de pthomas@suse.de
Wed Feb 20 10:36:00 GMT 2002


>Number:         5736
>Category:       target
>Synopsis:       bootstraping CVS HEAD on powerpc fails in checked build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 20 09:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     pthomas@suse.de
>Release:        3.1 20020220
>Organization:
>Environment:
powerpc-suse-linux-gnu

gcc configured with:
--enable-shared --with-system-zlib --enable-threads --host=powerpc-suse-linux-gnu --target=powerpc-suse-linux-gnu --build=powerpc-suse-linux-gnu --enable-checking=misc,tree,rtl,gc,gcac
Thread model: posix

>Description:
Bootstrapping CVS HEAD with -O2 fails when compiling libgcc2, specifically _negdi2 with
cc1: RTL check: expected code `const_int', have `plus' in rs6000_legitimate_address, at config/rs6000/rs6000.c:2014

Compiling at lower optimisation succeeds.

>How-To-Repeat:
Compile attatched _negdi2.i with:
./xgcc -B./ -O2 -DIN_GCC -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fPIC -mstrict-align -DL_negdi2 -c _negdi2.i
>Fix:

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

dHlwZWRlZiBpbnQgU0l0eXBlIF9fYXR0cmlidXRlX18gKChtb2RlIChTSSkpKTsKdHlwZWRlZiB1
bnNpZ25lZCBpbnQgVVNJdHlwZSBfX2F0dHJpYnV0ZV9fICgobW9kZSAoU0kpKSk7CgpzdHJ1Y3Qg
RFdzdHJ1Y3Qge1NJdHlwZSBoaWdoLCBsb3c7fTsKCnR5cGVkZWYgdW5pb24KewogIHN0cnVjdCBE
V3N0cnVjdCBzOwogIERJdHlwZSBsbDsKfSBEV3VuaW9uOwoKREl0eXBlCl9fbmVnZGkyIChESXR5
cGUgdSkKewogIERXdW5pb24gdzsKICBEV3VuaW9uIHV1OwoKICB1dS5sbCA9IHU7CgogIHcucy5s
b3cgPSAtdXUucy5sb3c7CiAgdy5zLmhpZ2ggPSAtdXUucy5oaWdoIC0gKChVU0l0eXBlKSB3LnMu
bG93ID4gMCk7CgogIHJldHVybiB3LmxsOwp9Cg==



More information about the Gcc-bugs mailing list