Subject: toolchain/23380: ICE in gcc on sparc64 (NetBSD-current)
To: None <>
From: Lloyd Parkes <>
List: netbsd-bugs
Date: 11/07/2003 11:15:24
>Number:         23380
>Category:       toolchain
>Synopsis:       gcc fails to build pkgsrc/graphics/netpbm
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 06 22:21:00 UTC 2003
>Originator:     Lloyd Parkes
>Release:        NetBSD 1.6ZE
Must Have Coffee
System: NetBSD 1.6ZE NetBSD 1.6ZE (GENERIC) #0: Wed Oct 29 08:01:56 NZDT 2003 sparc64
Architecture: sparc64
Machine: sparc64

cc -v
Using built-in specs.
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --build=i386-unknown-netbsdelf --host=i386--netbsdelf --target=i386--netbsdelf : (reconfigured) /usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --build=i386-unknown-netbsdelf1.6W --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.2-nb1


Gcc exits with an internal compiler error.
exif.c: In function `ProcessExifDir':
exif.c:645: error: insn does not satisfy its constraints:
(insn:HI 1314 1309 2057 112 0x40ab06c0 (set (reg:DI 31 %i7 [32])
        (fix:DI (fix:DF (reg:DF 32 %f0 [507])))) 167 {fix_truncdfdi2} (insn_list 1310 (nil))
exif.c:645: internal compiler error: in reload_cse_simplify_operands, at reload1.c:8345
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

contains this error message with a few extra lines of
context. contains
preprocessed C source that triggers this ICE when compiled with 'gcc
-c -O2
contains the complete output from running gcc on bar.c


Type make in pkgsrc/graphics/netpbm or run gcc -c -O2 bar.c. 



 -current from about shortly before Oct 29.