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

Bug#485152: gcc-4.3: [PR36466] [3.4 regression, arm/armel] ICE in choose_reload_regs, at reload1.c:6190

Package: gcc-4.3
Version: 4.3.0-5
Severity: important

gcc-4.3 fails to build ziproxy on arm and armel, with the following

arm-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT cfgfile.o -MD -MP -MF .deps/cfgfile.Tpo -c -o cfgfile.o cfgfile.c
cfgfile.c: In function 'ReadCfgFile':
cfgfile.c:274: warning: assignment makes pointer from integer without a cast
cfgfile.c:374: internal compiler error: in choose_reload_regs, at reload1.c:6190
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

Reduced testcase attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'unstable')
Architecture: armel (armv5tejl)

Kernel: Linux 2.6.25-1-versatile
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.3 depends on:
ii  binutils            2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii  cpp-4.3             4.3.0-5              The GNU C preprocessor
ii  gcc-4.3-base        4.3.0-5              The GNU Compiler Collection (base 
ii  libc6               2.7-10               GNU C Library: Shared libraries
ii  libgcc1             1:4.3.0-5            GCC support library
ii  libgomp1            4.3.0-5              GCC OpenMP (GOMP) support library

Versions of packages gcc-4.3 recommends:
ii  libc6-dev                     2.7-10     GNU C Library: Development Librari

-- no debconf information
struct sockaddr_in
  unsigned char sin_zero[12];
} ns_class;
struct __res_state
  int nscount;
  struct sockaddr_in nsaddr_list[3];
extern struct __res_state *__res_state (void);
ReadCfgFile (char *cfg_file)
  void *conf_handler;
  int i;
  struct sockaddr_in nsaddr_list[0];
  char *nserver_str;
  qp_getconf_array_str (conf_handler, "Nameservers", i, &nserver_str, 0);
  (*__res_state ()).nsaddr_list[(*__res_state ()).nscount++] = nsaddr_list[0];

Reply to: