c/929: Incorrect code generation on Sparc under -O3
christophe.lyon@st.com
christophe.lyon@st.com
Wed Nov 29 09:56:00 GMT 2000
>Number: 929
>Category: c
>Synopsis: Incorrect code generation on Sparc under -O3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Wed Nov 29 09:56:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Christophe Lyon
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
SunOS 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-60
>Description:
The code generated is incorrect. This test is part of a
commercial C validation suite, and thus is self-testing:
when running the produced executable I get
***** Reached first test *****
ERROR in int1.c at line 80: (2) != (1)
***** 9 successful test cases in int1.c *****
***** 1 error detected in int1.c *****
***** 0 skipped sections in int1.c *****
I have about 10 other tests that fail.
>How-To-Repeat:
gcc -ansi -O3 -c int1.i util.i
gcc int1.o util.o -o int1
./int1
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="int1.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="int1.i"
More information about the Gcc-bugs
mailing list