[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#262710: gcc-3.3: [sparc] -frename-registers produces wrong code



Package: gcc-3.3
Version: 1:3.3.4-6
Severity: normal

Trying to compile libavcodec/ratecontrol.c from mplayer daily cvs
snapshot from 20040801 fails when -frename-registers is given:

admar@zonne:~/src/mplayer/MPlayer-20040801/libavcodec$ gcc -I../libvo -I../../libvo  -mcpu=v9 -mtune=ultrasparc -O2 -finline-functions -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ratecontrol.o ratecontrol.c
/tmp/ccuoCbhu.s: Assembler messages:
/tmp/ccuoCbhu.s:863: Error: Illegal operands: There are only 32 single precision f registers; [0-31]
/tmp/ccuoCbhu.s:869: Error: Illegal operands: There are only 32 single precision f registers; [0-31]
/tmp/ccuoCbhu.s:873: Error: Illegal operands: There are only 32 single precision f registers; [0-31]
admar@zonne:~/src/mplayer/MPlayer-20040801/libavcodec$ 

The code compiles fine if -frename-registers is not given.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Kernel: Linux 2.6.6-zonne
Locale: LANG=C, LC_CTYPE=nl_NL@euro

Versions of packages gcc-3.3 depends on:
ii  binutils                    2.15-1       The GNU assembler, linker and bina
ii  cpp-3.3                     1:3.3.4-6    The GNU C preprocessor
ii  gcc-3.3-base                1:3.3.4-6    The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.1-4    GCC support library

-- no debconf information



Reply to: