aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-07-23 06:22:05 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-07-23 06:22:05 +0000
commit4fa31c2aae72bba8150f3bacb3529d5eb4ed4866 (patch)
treed9f5137d155815ae95eb8edac101fd2d075fbe73 /gcc/gcse.c
parente75abdabb2c3e7a31dfbe7a29022a038e3f2ecc1 (diff)
downloadgcc-4fa31c2aae72bba8150f3bacb3529d5eb4ed4866.zip
gcc-4fa31c2aae72bba8150f3bacb3529d5eb4ed4866.tar.gz
gcc-4fa31c2aae72bba8150f3bacb3529d5eb4ed4866.tar.bz2
defaults.h (obstack_chunk_alloc, [...]): Default definition.
* defaults.h (obstack_chunk_alloc, obstack_chunk_free): Default definition. * gcse.c: Don't define obstack_chunk_free. * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c, flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c, integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c, reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c: Don't define obstack macros. cp: * class.c, method.c, pt.c, search.c: Similarly. From-SVN: r55665
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 7fdcdea..37fa2d6 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -165,8 +165,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "cselib.h"
#include "obstack.h"
+
+/* We don't want to use xmalloc. */
+#undef obstack_chunk_alloc
#define obstack_chunk_alloc gmalloc
-#define obstack_chunk_free free
/* Propagate flow information through back edges and thus enable PRE's
moving loop invariant calculations out of loops.