This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/12008] New: ICE on legal code, gcc 3.3.1


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12008

           Summary: ICE on legal code, gcc 3.3.1
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rz at linux-m68k dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: m68k-unknown-linux-gnu


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;
}
#############
------- Additional Comments From rz at linux-m68k dot org  2003-08-21 12:38 -------
Fix:

no known fix yet.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]