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

Bug#340951: gcc-4.0: [sparc] ICE in invert_exp_1 with -O3 while compiling mysql 5.0.16



Package: gcc-4.0
Version: 4.0.2-4
Severity: normal


While trying to compile pristine mysql 5.0.16 on Debian/sparc (sparc64
host), gcc gets an ICE while trying to use -O3 optimization. This is the
pristine mysql 5.0.16 distribution, not Debian one, and it selects -O3
by itself.

if g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\""
-DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include
-I../include -I../regex -I.      -O3 -DDBUG_OFF
-fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_analyse.o -MD
-MP -MF ".deps/sql_analyse.Tpo" -c -o sql_analyse.o sql_analyse.cc; \
then mv -f ".deps/sql_analyse.Tpo" ".deps/sql_analyse.Po"; else rm -f
".deps/sql_analyse.Tpo"; exit 1; fi
sql_analyse.cc: In member function 'virtual void field_longlong::add()':
sql_analyse.cc:602: internal compiler error: in invert_exp_1, at
jump.c:1719


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc2-g989e4d6c
Locale: LANG=et_EE, LC_CTYPE=et_EE (charmap=ISO-8859-15)

Versions of packages gcc-4.0 depends on:
ii  binutils             2.16.1cvs20051117-1 The GNU assembler, linker and bina
ii  cpp-4.0              4.0.2-4             The GNU C preprocessor
ii  gcc-4.0-base         4.0.2-4             The GNU Compiler Collection (base 
ii  libc6                2.3.5-8             GNU C Library: Shared libraries an
ii  libgcc1              1:4.0.2-4           GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                     2.3.5-8    GNU C Library: Development Librari
ii  libmudflap0-dev               4.0.2-4    GCC mudflap support libraries (dev

-- debconf-show failed



Reply to: