C compiler bugs on 386 and 3B2

Wm E. Davidsen Jr davidsen at sixhub.UUCP
Sun Sep 23 07:27:09 AEST 1990


In article <522 at mtndew.Tustin.CA.US> friedl at mtndew.Tustin.CA.US (Steve Friedl) writes:

| Bug 2 is found on both 3B2 and 386 compilers.  Make a file with just:
| 
| 	static char	foo[] = (char *)"foo";
| 
| This causes a core dump on the 386 and a "compiler error" on the
| 3B2.  

  I tried it on V.4 (386) and it worked fine.

worked = compiler says this is garbage in and terminates normally.
-- 
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.sys.att mailing list