-mm: md-merging-fix causes ICE with gcc 2.95

From: Adrian Bunk
Date: Thu Mar 25 2004 - 17:29:01 EST


On Tue, Mar 23, 2004 at 11:25:11PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.5-rc2-mm1:
>...
> +md-merging-fix.patch
>
> Fix RAID merging problem.
>...

I got the following compile error in 2.6.5-rc2-mm3 using the gcc 2.95
from Debian unstable on i386:

<-- snip -->

...
CC drivers/md/linear.o
drivers/md/linear.c: In function `linear_mergeable_bvec':
drivers/md/linear.c:84: Internal compiler error:
drivers/md/linear.c:84: internal error--unrecognizable insn:
(insn/i 49 47 210 (parallel[
(set (reg:SI 0 %eax)
(asm_operands ("") ("=a") 0[
(reg:DI 1 %edx)
]
[
(asm_input:DI ("A"))
] ("drivers/md/linear.c") 41))
(set (reg:SI 1 %edx)
(asm_operands ("") ("=d") 1[
(reg:DI 1 %edx)
]
[
(asm_input:DI ("A"))
] ("drivers/md/linear.c") 41))
] ) -1 (insn_list 44 (nil))
(nil))
cpp0: output pipe has been closed
make[2]: *** [drivers/md/linear.o] Error 1

<-- snip -->


I know that this is on the first hand a compiler bug, but gcc 2.95 is
although no longer supported by the gcc developers still the recommended
compiler for the kernel.


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/