This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/10365: Seems like bug in code generator on Sun Sparc (Sol;aris 8) platform


>Number:         10365
>Category:       c
>Synopsis:       Seems like bug in code generator on Sun Sparc (Sol;aris 8) platform
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 09 20:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     urazov at yahoo dot com
>Release:        gcc version 3.2.2
>Organization:
>Environment:
SunOS ula 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-60
2 processor machine
Configured with: ../configure --host=sparc-sun-solaris2.8 --with-gnu-as --with-gnu-ld --disable-nls --disable-libgcj
Thread model: posix
>Description:
Test of GSL library (version gsl-1.3) is failed in vector subdirectory with message:

FAIL: gsl_vector_complex_float_swap_elements (static) exchanges elements

To work only with that failed test you can do following:
  cd vector
  rm test_static.o
  make test_static
  ./test_static

Trying to pinpoint the problem I did two things: compiled that library with gcc-3.2.2 in different environment and created small test program. The results are following:
  Testing in different environment:
     1) Linux ema 2.2.18 #1 Wed Jan 24 12:28:55 GMT 2001
        i586 unknown
        with compiler gcc version 3.2.2
        All test went correctly. No failure
     2) CYGWIN_NT-5.0 HOOVER 1.3.17(0.67/3/2) 
        2002-11-27 18:54 i686 unknown 
        with compiler gcc version 3.2.2
        All test went correctly. No failure

  Small test program (named vecfloatcomplexswap.c):
     I cut out relevant test function and put it in
     a test program. It shown no failure


Please be advised that attached tar file contains two files: test_static.i is from distribution testbed which is fails and vecfloatcomplexswap.i is my own test program which works correctly.

-----

If you need more information or want me to do some more tests dont hesitate to contact me. I'd be very happy to help you with resolving this issue.
>How-To-Repeat:
On Sparc machine with Solaris 8 in source directory of gsl-1.3 run
  ./configure --disable-nls
  make
  make check > log 2>&1


Alternatively last command may be replaced with:

  cd vector
  make test_static
  ./test_static > log 2>&1
>Fix:
Unknown 
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]