ICE when compiling ide-cd module of Linux kernel. Also happens in 3.3.x Environment: System: Linux rz 2.4.18-14 #1 Wed Sep 4 11:57:57 EDT 2002 i586 i586 i386 GNU/Linux Architecture: i586 <machine, os, target, libraries (multiple lines)> host: i586-pc-linux-gnu build: i586-pc-linux-gnu target: m68k-unknown-linux-gnu configured with: ../gcc-3.3.1-rz/configure --enable-languages=c --enable-checking=misc,tree,rtl --target=m68k-linux --enable-threads=posix --enable-shared --enable-__cxa_atexit How-To-Repeat: Compile as m68k-linux-gcc -da -O2 test1.c ## test1.c ## typedef union { unsigned all :8; } x_t; char test_x (char sv) { x_t error; if (sv) error.all = sv; return error.all; } #############
Fix: no known fix yet.
Confirmed. Occurs only with optimization though (not at -O0) so changing category accordingly.
Does not happen any more on mainline (20030927).
Fixed for 3.4.
Subject: Re: ICE on legal code, gcc 3.3.1 confirmed with 3.4 20031210, compiles and works fine.