2.6.14-rc5-mm1: reiser4: ICE with gcc 2.95

From: Adrian Bunk
Date: Sat Oct 29 2005 - 14:46:18 EST


Trying to compile 2.6.14-rc5-mm1 with gcc 2.95 and
CONFIG_REISER4_DEBUG=y results in the following ICE:

<-- snip -->

...
CC fs/reiser4/plugin/space/bitmap.o
fs/reiser4/plugin/space/bitmap.c: In function `parse_blocknr':
fs/reiser4/plugin/space/bitmap.c:608: Internal compiler error:
fs/reiser4/plugin/space/bitmap.c:608: internal error--unrecognizable
insn:
(insn 93 266 269 (parallel[
(set (reg:SI 0 %eax)
(asm_operands ("") ("=a") 0[
(reg:DI 1 %edx)
]
[
(asm_input:DI ("A"))
] ("fs/reiser4/plugin/space/bitmap.c") 603))
(set (reg:SI 1 %edx)
(asm_operands ("") ("=d") 1[
(reg:DI 1 %edx)
]
[
(asm_input:DI ("A"))
] ("fs/reiser4/plugin/space/bitmap.c") 603))
] ) -1 (insn_list 83 (nil))
(nil))
make[2]: *** [fs/reiser4/plugin/space/bitmap.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

<-- snip -->

Although this is technically an error in gcc 2.95, the code should be
fixed to work around this issue since gcc 2.95 is a supported compiler
for compiling kernel 2.6.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/