Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ucsd!mvb.saic.com!ncr-sd!ncrcae!cs-col!cc!almira!haug From: haug@almira.uucp (Brian R Haug) Newsgroups: comp.sys.ncr Subject: Re: Latest RCS and gnudiff (Really alloca comments) Message-ID: <1991Mar16.212228.22669@almira.uucp> Date: 16 Mar 91 21:22:28 GMT References: <1991Mar8.205343.18084@seachg.uucp> <1991Mar11.153710.15246@holos0.uucp> <1991Mar13.124251.16346@nncrcae.Columbia.NCR.COM> Reply-To: haug@Columbia.NCR.COM (Brian Haug) Organization: Personal machine, Columbia, SC Lines: 12 In article <1991Mar13.124251.16346@nncrcae.Columbia.NCR.COM> wescott@Columbia.NCR.COM (Mike Wescott) writes: >In article <1991Mar11.153710.15246@holos0.uucp> lbr@holos0.uucp (Len Reed) writes: >> In article <1991Mar8.205343.18084@seachg.uucp> jalsop@seachg.UUCP (John Alsop) writes: >> Don't use -O2 with any Gnu >> stuff--use -O1. High optimization breaks alloca on the Tower, and the Gnu >> folks *love* alloca. > >Use Doug Gwyn's alloca package or add -W2,-a,-a to CFLAGS for just those >files that call alloca. Actually, you need to use -W2,-aat or -W2,-a,-a,-t, this is documented in the warnings section of the cc(1) man page.