C compiler bugs on 386 and 3B2
Steve Friedl
friedl at mtndew.Tustin.CA.US
Fri Sep 21 15:58:07 AEST 1990
Hi folks,
Two problems with the C compiler on the 386 (AT&T SVR3.2.1)
and the 3B2 (SVR3.2). First, try this as root from some subdirectory:
# cc foo.c -o ../bin
where you *really* mean
# cc foo.c -o ../bin/foo
It trashes the mentioned directory and requires an fsck to
reattach the files previously found underneath. Strictly
speaking it's not a bug because it *did* do what I asked, but it
is still unfriendly behavior.
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. This sequence came out by accident, but it still shouldn't
core dump.
Steve
--
Stephen J. Friedl, KA8CMY / I speak for me only / Tustin, CA / 3B2-kind-of-guy
+1 714 544 6561 / friedl at mtndew.Tustin.CA.US / {uunet,attmail}!mtndew!friedl
Jesse Helms for U.S. Supreme Court Justice
More information about the Comp.sys.att
mailing list