Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: possible structure initialization bug Message-ID: <6288@brl-smoke.ARPA> Date: Sat, 15-Aug-87 12:42:11 EDT Article-I.D.: brl-smok.6288 Posted: Sat Aug 15 12:42:11 1987 Date-Received: Tue, 18-Aug-87 03:20:20 EDT References: <352@mcdsun.UUCP> <6277@brl-smoke.ARPA> <353@mcdsun.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 20 In article <353@mcdsun.UUCP> fnf@mcdsun.UUCP (Fred Fish) writes: >I should probably have noted in the original posting that the reason >this question came up, what that there was similar code (with lots >more dimensions and lots more brackets) in a commercial compiler test >suite that I am entangled in at the moment. ... Well, it sounds like the test suite is trying to test dark corners of the language where it was never clear what was "right". I know of three commercial C compiler test suites, and they each try to test a different "flavor" of C (one of them comes in a couple of flavors). Obviously, none of them can yet test against the ANSI standard for C, which will be the most meaningful reference point in the near future. >... Most of the problems appear to be generic pcc type bugs. Certainly PCC (in its various versions) has had lots of bugs and strange ideas what the language rules were. Some test suites actually check for conformance to PCC's idea of the language! (K&R Appendix A is the other popular reference point.)