c/10365: Seems like bug in code generator on Sun Sparc (Sol;aris 8) platform
Yuri Urazov
urazov@yahoo.com
Fri Apr 11 21:15:00 GMT 2003
I am sending you missed file and shell script I wrote
to do tests you suggested.
Results of tests is following:
-O0 -O0 : LOG0:PASS:
gsl_vector_complex_float_swap_elements (static)
exchanges elements
-O2 -O0 : LOG1:PASS:
gsl_vector_complex_float_swap_elements (static)
exchanges elements
-O0 -O2 : LOG2:FAIL:
gsl_vector_complex_float_swap_elements (static)
exchanges elements
-O0 : LOG3:PASS:
gsl_vector_complex_float_swap_elements (static)
exchanges elements
-O1 : LOG4:PASS:
gsl_vector_complex_float_swap_elements (static)
exchanges elements
-O2 : LOG5:FAIL:
gsl_vector_complex_float_swap_elements (static)
exchanges elements
Which means that test failed if -O2 or combination -O0
-O2 were used. In other cases it's compiled correctly.
Be advised that function causing trouble is:
swap.i:3912
gsl_vector_complex_float_swap_elements(...)
Could you do me a favor giving a hint about that
combination of optimization flags. I did not find
description of it. Just an idea or reference to
manual?
Regards,
Yuri
--- ebotcazou@gcc.gnu.org wrote:
> Synopsis: Seems like bug in code generator on Sun
> Sparc (Sol;aris 8) platform
>
> State-Changed-From-To: open->feedback
> State-Changed-By: ebotcazou
> State-Changed-When: Fri Apr 11 09:02:04 2003
> State-Changed-Why:
> Hum... the file you sent only contains the test,
> not the
> function that is being tested. You need to
> determine which one is miscompiled: compile with
> (-O0, -O0) then (-O2, -O0)
> and (-O0, -O2) and verify each time if the test
> pass.
>
>
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10365
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: swap.i
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030411/c8465fc6/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compile-swap.sh
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030411/c8465fc6/attachment-0001.ksh>
More information about the Gcc-bugs
mailing list