Re: [patch 2/7] enable unit-at-a-time optimisations for gcc4

Matt Mackall
2006-01-07T00:27:01Z

On Sat, Jan 07, 2006 at 01:05:16AM +0100, Andi Kleen wrote:
> And gcc is really picky about type compatibility between source files
> with program-at-a-time. If any types of the same symbols are
> incompatible even in minor ways you get an ICE. That's technically
> illegal, but tends to happen often in practice (e.g. when people
> use extern) It might end up being quite a lot of work to clean this up.

If it gave a useful error message rather than an ICE, that'd be a
feature.

--
Mathematics is the supreme nostalgia of our time.