Re: 2.3.47 pre[45] does not compile

From: Richard Henderson (rth@twiddle.net)
Date: Sun Feb 20 2000 - 06:58:53 EST


On Fri, Feb 18, 2000 at 09:21:42PM -0800, Linus Torvalds wrote:
> search for the comment with "Gcc-2.7.x has a nasty bug with empty
> initializers" and change it to say "All current versions of gcc have a
> nasty bug with empty initializers",

At least it was a different bug. ;-)

This one required that you use named initializers, and that
both the zero length field and the following field appear
before all previous fields were filled in.

> The egcs people know about this and I'm sure it will get fixed soon...

http://gcc.gnu.org/ml/gcc-patches/2000-02/msg00637.html

Should apply (with a bit of fuzz) to most versions of gcc.

> On the whole, I have to say that these kinds of compiler bugs where the
> compiler aborts during compilation are a LOT easier to find than the
> ones where wrong code is generated ;)

Indeed.

r~

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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:25 EST