[gnu.gcc.bug] __builtin_alloca returns bogus value

hrp@boring.cray.com (Hal Peterson) (09/22/89)

I am using GCC version 1.35 with this configuration:

    ./config.h:     symbolic link to config/xm-m68k.h
    ./tm.h:         symbolic link to config/tm-sun3-nfp.h
    ./md:           symbolic link to config/m68k.md
    ./aux-output.c: symbolic link to config/out-m68k.c

I am running on a Sun-3/280 under SunOS 3.5.

The symptoms are complex:  I built GNU Make versions 3.54 and 3.55
using gcc, and then used GNU Make to build TeXPS, a TeX PostScript
software package.  During the TeXPS build, make dumped core.  Gdb told
me that the cause of the SIGSEGV that killed make was a bad pointer.
From reading the Make code I could see that only a few lines before
the SIGSEGV the pointer had been set from an alloca.

I rebuilt Make with Sun's alloca and a similar crash happened, but
much earlier in the TeXPS build.

I rebuilt Make with the alloca.c from Emacs 18.54 and the build of
TeXPS ran to completion.

I realize that this is an inadequate bug report, but an adequate one
would include a TeXPS distribution.  I welcome any suggestions for
smoking out this serious bug.

--
Hal Peterson			Domain:  hrp@cray.com
Cray Research			Old style:  hrp%cray.com@uc.msc.umn.edu
1440 Northland Dr.		UUCP:  uunet!cray!hrp
Mendota Hts, MN  55120  USA	Telephone:  +1 612 681 3145