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

Bug#311128: gcc-3.3: internal compiler error: in extract_insn, at recog.c:2175



Jochen Voss writes:
> Package: gcc-3.3
> Version: 1:3.3.6-5
> Severity: normal
> 
> Hello,
> 
> I encountered an internal compiler error in gcc:
> 
>     voss@quiche [~/compier] gcc -O -c kaputt.c
>     kaputt.c: In function `unionfs_readdir':
>     kaputt.c:9166: error: unrecognizable insn:
>     (insn 365 362 368 21 0x31389d40 (set (mem:QI (subreg:SI (reg:DI 175) 4) [0 S1 A8])
> 	    (subreg:QI (reg:DI 175) 7)) -1 (nil)
> 	(nil))
>     kaputt.c:9166: internal compiler error: in extract_insn, at recog.c:2175
>     Please submit a full bug report,
>     with preprocessed source if appropriate.
>     See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>     For Debian GNU/Linux specific bug reporting instructions, see
>     <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
> 
>     voss@quiche [~/compier] gcc --version
>     gcc (GCC) 3.3.6 (Debian 1:3.3.6-5)
>     Copyright (C) 2003 Free Software Foundation, Inc.
>     This is free software; see the source for copying conditions.  There is NO
>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
>     voss@quiche [~/compier] uname -a
>     Linux quiche 2.6.11.8 #1 Sun May 1 19:30:04 BST 2005 ppc GNU/Linux
> 
> You can download the already preprocessed source file "kaputt.c" (63kb
> compressed, 404kb uncompressed) from my homepage at
> http://seehuhn.de/data/kaputt.c.gz .
> 
> The file in question was originally the file "unionfs/file.c" from the
> unionfs-source package.  The version on my homepage is preprocessed
> and manually pruned down a little bit.
> 
> Please let me know whether you need additional information.

unreproducible. 3.3, 3.4 and 4.0 (experimental) show:

$ gcc -c kaputt.c
kaputt.c:1983: error: invalid register name for 'current'

gcc-4.0 has additional output:

$ gcc-4.0 -c kaputt.c
kaputt.c:1983: error: invalid register name for 'current'
kaputt.c:5944: error: array type has incomplete element type



Reply to: