New: Unrecognizable insn (in extract_insn, at recog.c)
6 answers - 647 bytes -
I have the following error when compiling a file from linux kernel (attached). Command line: m68k-elf-gcc -w -c pr.c : pr.c: In function 'nfs_statfs': pr.c:8757: error: unrecognizable insn: (insn 42 40 43 3 (set (mem/s/j:DI (plus:SI (reg/f:SI 26 virtual-stack-vars) (const_int -64 [0xffffffc0])) [0 res.bsize+0 S8 A16]) (zero_extend:DI (mem/s/j:SI (plus:SI (reg/v/f:SI 45 [ sb ]) (const_int 10 [0xa])) [0 <variable>.s_blocksize+0 S4 A16]))) -1 (nil) (nil)) pr.c:8757: internal compiler error: in extract_insn, at recog.c:2084 Last working version: "2005-07-29 12:00:00 UTC"
No.1 | | 125 bytes | |
Additional Comments From loki at gcc dot gnu dot org 2005-08-17 08:12 Created an attachment (id=9512) () Test case
No.2 | | 255 bytes | |
-- What |Removed |Added Keywords| |ice-on-valid-code Summary|Unrecognizable insn (in |[4.1 Regression] |extract_insn, at recog.c) |Unrecognizable insn (in | |extract_insn, at recog.c) Target Milestone| |4.1.0
No.3 | | 86 bytes | |
Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 04:21 Reducing.
No.4 | | 559 bytes | |
Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 05:11 Confirmed, reduced testcase: struct statfs { int f_bsize; }; struct super_block { unsigned long s_blocksize; }; struct nfs_fsinfo { unsigned long long bsize; }; int statfs (struct nfs_fsinfo *); int nfs_statfs(struct super_block *sb, struct statfs *buf) { unsigned char blockbits; struct nfs_fsinfo res; statfs(&res); if (res.bsize == 0) res.bsize = sb->s_blocksize; buf->f_bsize = nfs_block_bits(res.bsize); }
No.5 | | 149 bytes | |
Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 05:03 m68k is not a primary or secondary platform; removing target milestone.
No.6 | | 131 bytes | |
Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 23:40 Bug 23521 has been marked as a duplicate of this bug.
Re: New: Unrecognizable insn (in extract_insn, at recog.c)