Package: gcc-4.5
Version: 4.5.2-9
Severity: normal
I was trying to compile the Executor Macintosh emulator, using the Git
repositories at
https://github.com/ctm/syn68k
https://github.com/ctm/executor
Compiling syn68k went without any obvious problems, but when compiling
executor itself, GCC printed the following error:
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/include
-I../src/config/front-ends/sdl -I../src/config/os/linux
-I../src/config/arch/i386 -g -O2 -MT qIMVxfer.o -MD -MP -MF
.deps/qIMVxfer.Tpo -c -o qIMVxfer.o ../src/qIMVxfer.c
../src/qIMVxfer.c: In function ‘convert_pixmap_with_IMV_mode’:
../src/qIMVxfer.c:699:7: internal compiler error: in gimplify_expr, at
gimplify.c:6896
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
The qIMVxfer.c file is a nightmarish mess of pre-processor magic. I
tried boiling it down to a minimal test case and ended up with this:
int main() {
unsigned long int pixel;
((void)((1 == 2) ? ((void)(0)) : ((pixel) = 0)));
return 0;
}
I saved this as test.c, and got the same error when compiling that:
$ gcc test.c
test.c: In function ‘main’:
test.c:3:3: internal compiler error: in gimplify_expr, at gimplify.c:6896
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
GCC 4.6.0-3 prints an almost identical error. I haven't tried with
anything more recent than that. (I know I should try it with
gcc-snapshot, but it's getting really late here.)
Now, I'll be the first to admit that my boiled-down test case is utter
nonsense, but I figured that even rubbish like that shouldn't cause
internal compiler errors.
Sincerely,
Torbjörn Andersson
-- System Information:
Debian Release: wheezy/sid
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-4.5 depends on:
ii binutils 2.21.0.20110327-3 The GNU assembler, linker
and bina
ii cpp-4.5 4.5.2-9 The GNU C preprocessor
ii gcc-4.5-base 4.5.2-9 The GNU Compiler Collection
(base
ii libc6 2.11.2-11 Embedded GNU C Library:
Shared lib
ii libcloog-ppl0 0.15.9-3 the Chunky Loop Generator
(runtime
ii libelfg0 0.8.13-1 an ELF object file access
library
ii libgcc1 1:4.6.0-3 GCC support library
ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic
library
ii libgmpxx4ldbl 2:5.0.1+dfsg-7 Multiprecision arithmetic
library
ii libgomp1 4.6.0-3 GCC OpenMP (GOMP) support
library
ii libmpc2 0.9-3 multiple precision complex
floatin
ii libmpfr4 3.0.0-9 multiple precision
floating-point
ii libppl-c4 0.11.2-3 Parma Polyhedra Library (C
interfa
ii libppl9 0.11.2-3 Parma Polyhedra Library
(runtime l
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages gcc-4.5 recommends:
ii libc6-dev 2.11.2-11 Embedded GNU C Library:
Developmen
Versions of packages gcc-4.5 suggests:
pn binutils-gold <none> (no description available)
pn gcc-4.5-doc <none> (no description available)
pn gcc-4.5-locales <none> (no description available)
pn gcc-4.5-multilib <none> (no description available)
pn libgcc1-dbg <none> (no description available)
pn libgomp1-dbg <none> (no description available)
pn libmudflap0-4.5-dev <none> (no description available)
pn libmudflap0-dbg <none> (no description available)
pn libppl-c2 <none> (no description available)
pn libppl7 <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dab58af.9090...@telia.com